/* ================================
   Styles spécifiques "site public" (homepage & pages vitrines)
   Dépend de: base.css (variables, reset, boutons, sections)
   ================================ */

/* Utilities (harmonisation structure) */
.link-muted { color: var(--text); text-decoration: none; }
.link-primary { color: var(--primary); text-decoration: underline; }
.no-underline { text-decoration: none; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left  { text-align: left; }

.text-light { color: var(--text-light); }
.text-sm    { font-size: 0.9rem; }

.mt-1   { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mb-2   { margin-bottom: 2rem; }
.ml-2   { margin-left: 2rem; }

.d-none  { display: none !important; }
.fw-600  { font-weight: 600; }
.text-white { color: var(--white); }
.text-white-90 { color: rgba(255,255,255,0.9); }

/* Sections utilitaires */
.lighter-section { background: var(--lighter-bg); border: none; }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-top {
  background: var(--lighter-bg);
  color: var(--text);
  padding: 0.5rem 2rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.header-top-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.5px;
}

.logo i {
  color: var(--accent);
  font-size: 2rem;
}

.logo-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
  letter-spacing: 0.3px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

nav a:hover { color: var(--primary); }
nav a:hover::after { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg,
    var(--lighter-bg) 0%,
    var(--light-bg) 50%,
    var(--white) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 10rem 2rem 6rem;
  margin-top: 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left h1 {
  font-size: 4rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-left .subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.5;
}

.hero-left .highlight {
  color: var(--accent);
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.hero-stat { text-align: left; }

.hero-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.hero-stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hero-right { position: relative; }

.hero-features { display: grid; gap: 1.5rem; }

.hero-feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s;
}
.hero-feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hero-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  flex-shrink: 0;
}

.hero-feature-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.hero-feature-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title .label {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.section-title h2 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.section-title p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Valeurs */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.value-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.4s;
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 12px 12px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
}
.value-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.value-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.value-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-image img {
  transform: scale(1.1);
}
.service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 2rem;
  text-align: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  display: none; /* Hidden when image is present, or we can toggle */
}
.service-icon::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.service-content { padding: 2.5rem; }
.service-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.service-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 5rem 2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.contact-card { text-align: center; padding: 2rem; }
.contact-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.contact-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.contact-card p { opacity: 0.9; line-height: 1.8; }

/* Footer */
footer {
  background: var(--text);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-section h3 {
  font-family: 'Inter', sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.footer-section p, .footer-section li {
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.footer-section ul { list-style: none; }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Mobile navigation toggle */
.nav-toggle { background: transparent; border: 0; font-size: 1.6rem; color: var(--primary); cursor: pointer; display:none; }
@media (max-width: 768px) {
  .header-top { display: none; }
  
  #nav-toggle { display: inline-block; }
  header { 
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  body { padding-top: 80px; }

  #main-nav ul { display: none; }
  #main-nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    margin: 0;
    z-index: 2000;
  }
  
  .header-container { padding: 1rem; }
  .logo-text small { display: none; }
  
  .hero-left h1 { font-size: 2.5rem; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* Responsive hero cols */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 4rem; }
  .hero-left h1 { font-size: 3rem; }
}

/* Cookie banner (CNIL-friendly) */
.cookie-consent {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: linear-gradient(90deg, rgba(26,77,109,0.98), rgba(43,122,157,0.98));
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 2000;
  transform: translateY(0);
}
.cookie-consent p { margin: 0; color: rgba(255,255,255,0.95); font-size: 0.95rem; }
.cookie-consent .cookie-actions { margin-left: auto; display: flex; gap: 0.5rem; }
.cookie-btn { background: var(--white); color: var(--primary); padding: 0.5rem 0.9rem; border-radius: 6px; font-weight: 600; border: none; cursor: pointer; }
.cookie-btn.ghost { background: transparent; color: rgba(255,255,255,0.95); border: 1px solid rgba(255,255,255,0.15); }

/* Breadcrumb */
.breadcrumb { max-width: 1400px; margin: 6.5rem auto 1.5rem; padding: 0 2rem; }
.breadcrumb ol { list-style: none; display: flex; gap: 0.5rem; align-items: center; padding: 0; margin: 0; }
.breadcrumb li { color: var(--text-light); font-size: 0.95rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb li + li::before { content: '›'; margin: 0 0.6rem; color: var(--border); }

/* Modal Espace Pro - Connexion/Inscription */
.modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 3000;
  align-items: center; justify-content: center;
  animation: fadeIn 0.3s;
}
.modal-overlay.active { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 500px; width: 90%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 2rem;
  text-align: center;
  border-radius: 16px 16px 0 0;
}
.modal-header h2 { margin-bottom: 0.5rem; font-size: 1.8rem; }
.modal-header p { opacity: 0.9; font-size: 0.95rem; }

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none; color: var(--white);
  font-size: 1.5rem; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }

.modal-body { padding: 2.5rem; }

/* Tabs */
.form-tabs {
  display: flex; gap: 1rem; margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}
.form-tab {
  flex: 1; padding: 1rem; border: none; background: transparent;
  color: var(--text-light); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.3s; position: relative;
}
.form-tab.active { color: var(--primary); }
.form-tab.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent);
}

/* Formulaires */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; margin-bottom: 0.5rem;
  color: var(--text); font-weight: 500; font-size: 0.95rem;
}
.form-group label .required { color: #e74c3c; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.9rem; border: 2px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 0.95rem;
  transition: all 0.3s; background: var(--light-bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.checkbox-group {
  display: flex; align-items: start; gap: 0.75rem; margin-bottom: 1.5rem;
}
.checkbox-group input[type="checkbox"] { width: auto; margin-top: 0.25rem; }
.checkbox-group label { margin: 0; font-size: 0.9rem; color: var(--text-light); }

.submit-btn {
  width: 100%; padding: 1rem; background: var(--primary); color: var(--white);
  border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; margin-top: 1rem;
}
.submit-btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 77, 109, 0.3); }
.submit-btn:disabled { background: var(--border); cursor: not-allowed; transform: none; }

.form-footer {
  text-align: center; margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light);
}
.form-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }

.form-section { display: none; }
.form-section.active { display: block; }

.success-message {
  background: #d4edda; color: #155724; padding: 1rem; border-radius: 8px;
  margin-bottom: 1rem; border: 1px solid #c3e6cb;
}
.error-message {
  background: #f8d7da; color: #721c24; padding: 1rem; border-radius: 8px;
  margin-bottom: 1rem; border: 1px solid #f5c6cb;
}

/* Dashboard (mini) dans la modal après connexion */
.dashboard { display: none; padding: 2rem; }
.dashboard.active { display: block; }
.dashboard-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--border);
}
.dashboard-welcome h3 { color: var(--primary); margin-bottom: 0.5rem; }
.dashboard-info { background: var(--light-bg); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.dashboard-info h4 { color: var(--primary); margin-bottom: 1rem; }
.info-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 1rem;
  margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-label { font-weight: 600; color: var(--text); }
.info-value { color: var(--text-light); }

.logout-btn {
  padding: 0.6rem 1.5rem; background: transparent; color: var(--primary);
  border: 2px solid var(--primary); border-radius: 6px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.logout-btn:hover { background: var(--primary); color: var(--white); }

/* Mobile ajustes pour la modal */
@media (max-width: 768px) {
  .modal-content { width: 95%; max-height: 95vh; }
  .modal-body { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ================================
   Styles pour pages internes (ok/)
   ================================ */

/* Page Hero (pour pages internes) */
.page-hero {
  background: linear-gradient(135deg, rgba(26, 77, 109, 0.9) 0%, rgba(43, 122, 157, 0.8) 100%), url('https://placehold.co/1920x1080/1a4d6d/ffffff?text=Laboratoire+TRSCAN');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 12rem 2rem 8rem;
  margin-top: 96px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--white);
}
.page-hero p, .page-hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
}

/* Breadcrumb amélioré */
.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
}
.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb i {
  margin: 0 0.5rem;
  color: var(--border);
  font-size: 0.7rem;
}
.breadcrumb span {
  color: var(--text-light);
}

/* FAQ Navigation */
.faq-nav {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}
.faq-nav h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}
.faq-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}
.faq-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}
.faq-nav li a:hover {
  border-left-color: var(--accent-gold);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.faq-nav li a i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

/* FAQ Sections */
.faq-section {
  margin-bottom: 4rem;
  scroll-margin-top: 120px;
}
.faq-section-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 2rem;
  border-radius: 12px 12px 0 0;
  margin-bottom: 2rem;
}
.faq-section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.faq-section-header p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* FAQ Items */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.faq-question {
  background: var(--light-bg);
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all 0.3s;
}
.faq-question:hover {
  background: var(--lighter-bg);
}
.faq-question i {
  color: var(--accent-gold);
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.faq-item.active .faq-question i {
  transform: rotate(90deg);
}
.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}
.faq-item.active .faq-answer {
  padding: 2rem;
  max-height: 5000px;
}
.faq-answer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}
.faq-answer p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.faq-answer ul, .faq-answer ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text);
}
.faq-answer li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.faq-answer strong {
  color: var(--primary);
  font-weight: 600;
}

/* Tables de comparaison */
.comparison-table, .cost-table, .delays-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.comparison-table th, .cost-table th, .delays-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.comparison-table td, .cost-table td, .delays-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td, .cost-table tr:last-child td, .delays-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:nth-child(even) {
  background: var(--light-bg);
}
.delays-table tr:hover {
  background: var(--light-bg);
}
.cost-table tr:last-child td {
  font-weight: 600;
}

/* Grids de bénéfices/conseils */
.benefit-grid, .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.benefit-card, .tip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-gold);
  transition: all 0.3s;
}
.benefit-card:hover, .tip-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.benefit-card i, .tip-card i {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}
.benefit-card h4, .tip-card h4 {
  font-family: 'Inter', sans-serif;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.benefit-card p, .tip-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Boxes d'information */
.protocol-box {
  background: var(--light-bg);
  border-left: 4px solid var(--info);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.protocol-box h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.protocol-box ol {
  margin-left: 1.5rem;
}
.protocol-box li {
  margin-bottom: 0.75rem;
}
.warning-box {
  background: #FEF3C7;
  border-left: 4px solid var(--warning);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.warning-box p {
  color: #92400E;
  margin: 0;
}
.success-box {
  background: #D1FAE5;
  border-left: 4px solid var(--success);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.success-box p {
  color: #065F46;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 4rem 0;
}
.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}
.btn {
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Logo avec gradient pour pages internes */
.logo i {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header top avec gradient */
.header-top {
  background: linear-gradient(135deg, var(--lighter-bg) 0%, var(--light-bg) 100%);
}
.header-top i {
  color: var(--accent-gold);
}

/* Navigation avec gradient underline */
nav a::after {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent));
}

/* Gallery Grid (cas-cliniques) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.case-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s;
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.case-image {
  background: linear-gradient(135deg, var(--lighter-bg), var(--light-bg));
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-image i {
  font-size: 5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.case-content {
  padding: 2rem;
}
.case-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.case-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.case-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.case-tag {
  background: var(--lighter-bg);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.case-tag i {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}
.stat-card {
  padding: 2rem;
}
.stat-number {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, var(--accent-gold), rgba(255,255,255,0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--light-bg);
}
.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
}
.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--accent-gold);
  opacity: 0.2;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
}
.testimonial-info h4 {
  font-family: 'Inter', sans-serif;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.testimonial-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Section Title avec label gradient */
.section-title .label {
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* CTA Section alternative */
.cta-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.cta-section p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive pour pages internes */
@media (max-width: 768px) {
  .page-hero {
    padding: 8rem 2rem 4rem;
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
  .faq-nav ul, .benefit-grid, .tips-grid {
    grid-template-columns: 1fr;
  }
  .header-top-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid, .advantages-grid, .properties-grid, .applications-grid {
    grid-template-columns: 1fr;
  }
  .workflow-step::after {
    display: none;
  }
  .zircone-intro, .research-content {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Styles technologie.html
   ================================ */

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.tech-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s;
}
.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.tech-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 3rem;
  text-align: center;
  font-size: 3.5rem;
}
.tech-content {
  padding: 2.5rem;
}
.tech-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.tech-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.tech-features {
  list-style: none;
}
.tech-features li {
  padding: 0.5rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tech-features li i {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* Workflow Section */
.workflow-section {
  background: var(--light-bg);
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.workflow-step {
  text-align: center;
  position: relative;
}
.workflow-step::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 2rem;
  font-size: 2rem;
  color: var(--accent-gold);
}
.workflow-step:last-child::after {
  display: none;
}
.workflow-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.workflow-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.workflow-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Advantages Grid (technologie.html) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.advantage-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid;
  border-image: linear-gradient(135deg, var(--accent-gold), var(--accent)) 1;
}
.advantage-card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.advantage-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.advantage-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ================================
   Styles zircone.html
   ================================ */

/* Zircone Intro */
.zircone-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.zircone-intro-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.zircone-intro-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.zircone-intro-features {
  list-style: none;
}
.zircone-intro-features li {
  padding: 0.75rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}
.zircone-intro-features li i {
  color: var(--accent-gold);
  font-size: 1.2rem;
  width: 30px;
}
.zircone-image {
  background: linear-gradient(135deg, var(--lighter-bg), var(--light-bg));
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border);
}
.zircone-image i {
  font-size: 12rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Properties Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.property-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.property-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}
.property-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}
.property-label {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}
.property-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Research Section */
.research-section {
  background: var(--light-bg);
}
.research-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.research-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.research-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.research-highlights {
  list-style: none;
  margin-top: 2rem;
}
.research-highlights li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: start;
  gap: 1rem;
}
.research-highlights li:last-child {
  border-bottom: none;
}
.research-highlights i {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}
.research-box {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid;
  border-image: linear-gradient(135deg, var(--accent-gold), var(--accent)) 1;
}
.research-box h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.research-stats {
  display: grid;
  gap: 1.5rem;
}
.research-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--lighter-bg);
  border-radius: 8px;
}
.research-stat-label {
  color: var(--text);
  font-weight: 500;
}
.research-stat-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Advantages Section (zircone.html - version avec fond gradient) */
.advantages-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.advantages-section .advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.advantages-section .advantage-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}
.advantages-section .advantage-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}
.advantages-section .advantage-card i {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}
.advantages-section .advantage-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.advantages-section .advantage-card p {
  opacity: 0.95;
  line-height: 1.7;
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.application-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.application-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.application-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 2.5rem;
  text-align: center;
}
.application-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.application-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}
.application-content {
  padding: 2rem;
}
.application-content ul {
  list-style: none;
}
.application-content li {
  padding: 0.75rem 0;
  color: var(--text-light);
  display: flex;
  align-items: start;
  gap: 0.75rem;
}
.application-content li i {
  color: var(--accent-gold);
  margin-top: 0.25rem;
}

/* Responsive pour zircone et technologie */
@media (max-width: 1024px) {
  .zircone-intro, .research-content {
    grid-template-columns: 1fr;
  }
}
