:root {
  --navy:    #0D2240;
  --navy2:   #0A1A33;
  --teal:    #1A6B72;
  --teal2:   #2A8F98;
  --teal-lt: #D6EDEF;
  --gold:    #C8942A;
  --gold-lt: #F0B840;
  --cream:   #F8F5F0;
  --cream2:  #F0EDE8;
  --white:   #FFFFFF;
  --g1:      #F2F0ED;
  --g2:      #DDD9D3;
  --g3:      #8A8278;
  --g4:      #4A4540;
  --text:    #1E1A17;
  --fd: 'DM Serif Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); font-size: 15px; line-height: 1.7; color: var(--text); background: var(--cream); overflow-x: hidden; }

/* ── PAGES ── */
.page { display: none; animation: fadeIn .35s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(248,245,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g2);
  padding: 0 48px;
  display: flex; align-items: center;
  height: 70px; gap: 8px;
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(13,34,64,.12); }
.nav-logo {
  font-family: var(--fd); font-size: 18px; color: var(--navy);
  cursor: pointer; margin-right: auto; letter-spacing: -.01em;
}
.nav-logo span { color: var(--teal); font-style: italic; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  font-family: var(--fb); font-size: 14px; font-weight: 500;
  color: var(--g4); padding: 8px 14px; border-radius: 8px;
  cursor: pointer; border: none; background: none;
  transition: all .15s; white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: var(--g1); }
.nav-link.active { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: white; font-weight: 600;
  font-size: 14px; padding: 10px 22px; border-radius: 10px;
  cursor: pointer; border: none; margin-left: 12px;
  transition: all .15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--teal2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,107,114,.35); }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 55% 45%;
  min-height: calc(100vh - 70px);
}
.hero-img {
  background: linear-gradient(160deg, #1a3a5c 0%, var(--navy) 60%, #0a1a33 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-img-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 40%, rgba(42,143,152,.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(200,148,42,.1) 0%, transparent 40%);
}
.hero-img-text {
  position: relative; padding: 48px;
  background: linear-gradient(to top, rgba(13,34,64,.9) 0%, transparent 100%);
  width: 100%;
}
.hero-img-text .specialty-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.specialty-chip {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px; letter-spacing: .04em;
}
.specialty-chip.active { background: var(--teal); border-color: var(--teal); }

.hero-content {
  background: var(--cream); padding: 80px 64px 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  font-family: var(--fb); font-size: 12px; font-weight: 700;
  color: var(--teal); letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-h1 {
  font-family: var(--fd); font-size: clamp(32px, 3.5vw, 48px);
  color: var(--navy); line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-h1 em { font-style: italic; color: var(--teal); }
.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--g4);
  line-height: 1.75; margin-bottom: 36px; max-width: 420px;
}
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.btn-primary {
  background: var(--teal); color: white; font-weight: 600;
  font-size: 15px; padding: 16px 28px; border-radius: 12px;
  cursor: pointer; border: none; transition: all .2s;
  display: flex; align-items: center; gap: 10px;
  text-align: center; justify-content: center;
}
.btn-primary:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,114,.35); }
.btn-secondary {
  background: transparent; color: var(--navy); font-weight: 600;
  font-size: 15px; padding: 14px 28px; border-radius: 12px;
  cursor: pointer; border: 2px solid var(--g2); transition: all .2s;
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.hero-trust {
  display: flex; gap: 20px; padding-top: 28px;
  border-top: 1px solid var(--g2);
}
.trust-item { text-align: center; }
.trust-num { font-family: var(--fd); font-size: 24px; color: var(--navy); display: block; }
.trust-label { font-size: 11px; color: var(--g3); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ── SECTIONS ── */
.section { padding: 80px 80px; }
.section-sm { padding: 56px 80px; }
.section-navy { background: var(--navy); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-teal { background: var(--teal); }

.section-tag {
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  color: var(--teal); letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--teal); }
.section-title {
  font-family: var(--fd); font-size: clamp(28px, 3vw, 40px);
  color: var(--navy); line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-title.white { color: white; }
.section-sub {
  font-size: 16px; font-weight: 300; color: var(--g4);
  max-width: 560px; line-height: 1.75; margin-bottom: 48px;
}
.section-sub.white { color: rgba(255,255,255,.7); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 48px 80px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--fd); font-size: 32px; color: var(--gold-lt); display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 400; line-height: 1.4; }
.stat-sub { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 4px; }

/* ── SPECIALTY CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.specialty-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--g2); transition: all .25s; cursor: pointer;
}
.specialty-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(13,34,64,.14); border-color: var(--teal); }
.card-color-bar { height: 4px; }
.card-color-bar.epaule { background: var(--teal); }
.card-color-bar.hanche { background: var(--navy); }
.card-color-bar.genou  { background: var(--gold); }
.card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.specialty-card:hover .card-img { transform: scale(1.04); }
.card-img-wrap { overflow: hidden; }
.card-body { padding: 32px; }
.card-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.card-title { font-family: var(--fd); font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.card-desc { font-size: 14px; color: var(--g4); line-height: 1.7; margin-bottom: 20px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.card-tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  background: var(--teal-lt); color: var(--teal);
}
.card-link { color: var(--teal); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

/* ── SURGEON SECTION ── */
.surgeon-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.surgeon-img-wrap {
  position: relative;
}
.surgeon-img-box {
  background: linear-gradient(135deg, var(--navy) 0%, #163352 100%);
  border-radius: 20px; aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.surgeon-img-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 30%, rgba(42,143,152,.3) 0%, transparent 60%);
}
.surgeon-placeholder {
  font-size: 80px; opacity: .4; position: relative; z-index: 1;
}
.surgeon-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: white; border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(13,34,64,.18);
  border: 1px solid var(--g2);
}
.sb-num { font-family: var(--fd); font-size: 36px; color: var(--teal); display: block; line-height: 1; }
.sb-label { font-size: 12px; color: var(--g3); font-weight: 500; }
.surgeon-content {}
.surgeon-bio { font-size: 15px; color: var(--g4); line-height: 1.8; margin-bottom: 28px; }
.surgeon-creds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px;
}
.cred-item {
  background: var(--g1); border-radius: 10px; padding: 14px 16px;
  border-left: 3px solid var(--teal);
}
.cred-title { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cred-sub { font-size: 11px; color: var(--g3); }

/* ── TESTIMONIALS ── */
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex; gap: 24px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  background: white; border-radius: 16px; padding: 32px;
  border: 1px solid var(--g2); min-width: calc(33.33% - 16px);
  flex-shrink: 0;
}
.tc-stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.tc-quote { font-family: var(--fd); font-size: 16px; font-style: italic; color: var(--navy); line-height: 1.6; margin-bottom: 18px; }
.tc-patient { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.tc-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.tc-detail { font-size: 12px; color: var(--g3); }
.tc-tag { background: var(--teal-lt); color: var(--teal); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; margin-left: auto; }
.testimonial-nav { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.tnav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g2); cursor: pointer; transition: all .2s; border: none; }
.tnav-dot.active { background: var(--teal); transform: scale(1.4); }

/* ── CTA BOOKING BAND ── */
.cta-band {
  background: var(--teal); padding: 64px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta-band-text {}
.cta-band h2 { font-family: var(--fd); font-size: 36px; color: white; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.75); font-size: 15px; font-weight: 300; }
.cta-band-actions { display: flex; flex-direction: column; gap: 10px; min-width: 280px; }
.btn-white {
  background: white; color: var(--teal); font-weight: 700;
  font-size: 15px; padding: 16px 28px; border-radius: 12px;
  cursor: pointer; border: none; transition: all .2s; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-outline-white {
  background: transparent; color: white; font-weight: 600;
  font-size: 14px; padding: 12px 24px; border-radius: 10px;
  cursor: pointer; border: 2px solid rgba(255,255,255,.5); transition: all .2s;
  text-align: center;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,.1); }

/* ── SPECIALITY PAGE ── */
.page-hero-compact {
  background: linear-gradient(135deg, var(--navy) 0%, #163352 100%);
  padding: 64px 80px 56px;
  position: relative; overflow: hidden;
}
.page-hero-compact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(42,143,152,.2) 0%, transparent 60%);
}
.breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 20px;
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: rgba(255,255,255,.5); cursor: pointer; text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.ph-h1 {
  font-family: var(--fd); font-size: clamp(32px, 4vw, 52px);
  color: white; line-height: 1.1; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.ph-h2 { font-size: 16px; color: rgba(255,255,255,.65); font-weight: 300; position: relative; z-index: 1; max-width: 580px; }

.speciality-body {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 48px; padding: 64px 80px; max-width: 1200px; margin: 0 auto;
}
.spec-main {}
.spec-section-title { font-family: var(--fd); font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.spec-body-text { font-size: 15px; color: var(--g4); line-height: 1.8; margin-bottom: 32px; }
.spec-benefits { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.benefit-item {
  background: white; border-radius: 12px; padding: 24px;
  border-left: 4px solid var(--teal); border: 1px solid var(--g2);
  border-left: 4px solid var(--teal);
}
.benefit-title { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.benefit-desc { font-size: 14px; color: var(--g4); line-height: 1.7; }
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--g2); }
.faq-q {
  padding: 18px 0; font-weight: 600; color: var(--navy); font-size: 15px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q:hover { color: var(--teal); }
.faq-q .chevron { transition: transform .25s; font-size: 12px; color: var(--teal); }
.faq-q.open .chevron { transform: rotate(180deg); }
.faq-a { font-size: 14px; color: var(--g4); line-height: 1.75; padding-bottom: 18px; display: none; }
.faq-a.open { display: block; }

.spec-sidebar {}
.sidebar-card {
  background: white; border-radius: 16px; padding: 28px;
  border: 1px solid var(--g2); box-shadow: 0 4px 24px rgba(13,34,64,.08);
  position: sticky; top: 90px;
}
.sidebar-card h3 { font-family: var(--fd); font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.sidebar-card p { font-size: 13px; color: var(--g3); margin-bottom: 20px; }
.sidebar-info { font-size: 13px; color: var(--g4); margin-top: 16px; line-height: 1.6; }
.sidebar-info strong { color: var(--navy); }
.avail-badge {
  background: #E8F8F2; border: 1px solid #B7E4D0; color: #1A7A4A;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
}
.avail-badge::before { content: '●'; font-size: 8px; color: #2ECC71; }

/* ── CHIRURGIEN PAGE ── */
.chir-hero {
  display: grid; grid-template-columns: 1fr 1fr;
}
.chir-img {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2a4a 100%);
  min-height: 500px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.chir-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(42,143,152,.25) 0%, transparent 55%);
}
.chir-placeholder { font-size: 120px; opacity: .25; position: relative; }
.chir-content {
  background: var(--navy); padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.chir-content .section-tag { color: var(--gold-lt); }
.chir-content .section-tag::before { background: var(--gold-lt); }
.chir-h1 { font-family: var(--fd); font-size: clamp(28px, 3vw, 40px); color: white; line-height: 1.15; margin-bottom: 14px; }
.chir-h2 { font-size: 14px; color: var(--teal2); line-height: 1.6; margin-bottom: 24px; }
.chir-rpps { font-size: 12px; color: rgba(255,255,255,.35); font-family: monospace; }

.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 48px 80px; background: white; }
.cred-card {
  background: var(--g1); border-radius: 12px; padding: 20px 18px;
  border-top: 3px solid var(--gold); text-align: center;
}
.cred-card .cc-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.cred-card .cc-title { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.cred-card .cc-sub { font-size: 11px; color: var(--g3); line-height: 1.4; }

.techniques-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card {
  background: white; border-radius: 16px; padding: 32px;
  border: 1px solid var(--g2); transition: all .25s;
}
.tech-card:hover { border-color: var(--teal); box-shadow: 0 8px 32px rgba(26,107,114,.12); }
.tech-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.tech-title { font-family: var(--fd); font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.tech-desc { font-size: 14px; color: var(--g4); line-height: 1.7; }

.clinics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.clinic-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--g2);
}
.clinic-map-placeholder {
  height: 160px; background: linear-gradient(135deg, #e8f4f5 0%, var(--teal-lt) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.clinic-info { padding: 24px; }
.clinic-name { font-family: var(--fd); font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.clinic-addr { font-size: 14px; color: var(--g3); line-height: 1.6; margin-bottom: 16px; }

/* ── CLINICS FULL ── */
.clinics-full { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.clinic-full-card {
  background: white; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--g2); box-shadow: 0 4px 24px rgba(13,34,64,.08);
}
.clinic-map-frame { width: 100%; height: 260px; border: none; display: block; }
.clinic-full-body { padding: 28px; }
.clinic-full-name { font-family: var(--fd); font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.clinic-full-addr { font-size: 14px; color: var(--g3); line-height: 1.7; margin-bottom: 20px; }
.clinic-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.clinic-btn-primary {
  background: var(--teal); color: white; font-weight: 600; font-size: 13px;
  padding: 10px 18px; border-radius: 10px; cursor: pointer; border: none;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.clinic-btn-primary:hover { background: var(--teal2); }
.clinic-btn-secondary {
  background: var(--g1); color: var(--navy); font-weight: 600; font-size: 13px;
  padding: 10px 18px; border-radius: 10px; cursor: pointer; border: 1px solid var(--g2);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.clinic-btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.nearby-section { border-top: 1px solid var(--g2); padding-top: 20px; }
.nearby-title { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--g3); margin-bottom: 12px; }
.nearby-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.nearby-item {
  background: var(--g1); border-radius: 10px; padding: 12px;
  text-align: center; border: 1px solid var(--g2);
}
.nearby-icon { font-size: 20px; display: block; margin-bottom: 4px; }
.nearby-label { font-size: 11px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 2px; }
.nearby-detail { font-size: 10px; color: var(--g3); line-height: 1.4; }
.access-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.access-chip {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
  background: var(--teal-lt); color: var(--teal); display: flex; align-items: center; gap: 4px;
}

/* ── RDV PAGE ── */
.rdv-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 64px 80px; max-width: 1200px; margin: 0 auto; }
.rdv-widget-box {
  background: white; border-radius: 20px; padding: 40px;
  border: 1px solid var(--g2); box-shadow: 0 8px 40px rgba(13,34,64,.1);
}
.rdv-widget-box h2 { font-family: var(--fd); font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.rdv-widget-box p { font-size: 14px; color: var(--g3); margin-bottom: 28px; }
.doctolib-mock {
  background: var(--g1); border-radius: 12px; padding: 32px;
  border: 2px dashed var(--g2); text-align: center;
}
.doctolib-mock p { color: var(--g3); font-size: 13px; line-height: 1.6; }
.doctolib-mock .dml { font-size: 24px; margin-bottom: 8px; }
.steps-guide { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.step-item { display: flex; align-items: flex-start; gap: 14px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--teal);
  color: white; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-text { font-size: 14px; color: var(--g4); }
.step-title { font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.rdv-sidebar {}
.rdv-sidebar-card {
  background: white; border-radius: 16px; padding: 28px;
  border: 1px solid var(--g2); margin-bottom: 16px;
}
.rdv-sidebar-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.checklist { list-style: none; padding: 0; }
.checklist li {
  font-size: 14px; color: var(--g4); padding: 8px 0;
  border-bottom: 1px solid var(--g1); display: flex; align-items: center; gap: 10px;
}
.checklist li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.checklist li:last-child { border-bottom: none; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trust-chip {
  font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  background: var(--teal-lt); color: var(--teal);
}

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 64px 80px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--fd); font-size: 22px; color: white; margin-bottom: 12px; }
.footer-logo span { color: var(--teal2); font-style: italic; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; margin-bottom: 20px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; cursor: pointer; transition: color .15s; }
.footer-links a:hover { color: white; }
.footer-rpps { font-family: monospace; font-size: 13px; color: var(--gold-lt); background: rgba(200,148,42,.1); padding: 6px 12px; border-radius: 6px; display: inline-block; margin-top: 8px; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.3); text-decoration: none; cursor: pointer; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.2); margin-top: 12px; line-height: 1.5; }

/* ── STICKY BOOKING BAR ── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--teal); padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(13,34,64,.2);
  transform: translateY(100%); transition: transform .3s;
}
.sticky-bar.visible { transform: translateY(0); }
.sb-text { color: white; font-size: 14px; font-weight: 500; }
.sb-text strong { font-family: var(--fd); font-size: 16px; display: block; }

/* ── ACTIVE FILTER BADGE ── */
.active-badge {
  display: inline-flex; align-items: center;
  background: rgba(26,107,114,.1); color: var(--teal);
  border: 1px solid rgba(26,107,114,.25);
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 20px; gap: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-content { padding: 60px 40px; }
  .section, .section-sm, .stats-bar, .speciality-body, .rdv-layout { padding-left: 32px; padding-right: 32px; }
  .cta-band { padding: 48px 32px; flex-direction: column; }
  .cards-grid, .creds-grid, .techniques-grid { grid-template-columns: 1fr 1fr; }
  .speciality-body, .rdv-layout { grid-template-columns: 1fr; }
  .chir-hero { grid-template-columns: 1fr; }
  .chir-img { display: none; }
  .surgeon-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

  --fd: 'DM Serif Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --terra: #C4624A;
  --terra-lt: #FAF0ED;
  --terra2: #D4725A;
}

/* ══ Q6 HERO SPLIT ══ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  overflow: hidden;
}
.hero-photo-side {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-photo-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(26,107,114,.25) 0%, transparent 70%);
}
.hero-photo-wrap {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
}
.hero-doctor-photo {
  width: 100%;
  height: 82vh;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 24px 24px 0 0;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
}
.hero-photo-badge {
  position: absolute;
  bottom: 40px;
  left: -16px;
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(13,34,64,.25);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hpb-num {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.hpb-txt {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.hero-photo-badge2 {
  position: absolute;
  top: 32px;
  right: -8px;
  background: var(--gold);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(200,148,42,.4);
}
.hero-content-split {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 80px 40px;
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-photo-side {
    height: 50vw;
    min-height: 280px;
    padding: 0;
  }
  .hero-doctor-photo {
    height: 100%;
    border-radius: 0;
  }
  .hero-content-split {
    padding: 40px 24px;
  }
  .hero-photo-badge { display: none; }
  .hero-photo-badge2 { display: none; }
}

/* ── Q5 TERRACOTTA accent for human sections ── */
.section-human { background: var(--terra-lt); }
.accent-terra { color: var(--terra); }
.border-terra { border-color: var(--terra) !important; }

/* ── Q3 PHONE BUTTON ── */
.nav-phone {
  font-size: 13px; font-weight: 700; color: var(--navy);
  padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--g2);
  background: white; cursor: pointer; display: flex; align-items: center; gap: 6px;
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.nav-phone:hover { border-color: var(--teal); color: var(--teal); }
.nav-phone .phone-icon { font-size: 14px; }

/* ── MOBILE FLOATING PHONE BUTTON ── */
.float-phone {
  display: none;
  position: fixed; bottom: 80px; right: 20px; z-index: 950;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: white; font-size: 22px;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(13,34,64,.35);
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .2s;
}
.float-phone:hover { transform: scale(1.1); }
@media (max-width: 768px) {
  .float-phone { display: flex; }
  .nav-phone { display: none; }
}

/* ── CHATBOT BUBBLE ── */
.chatbot-bubble {
  position: fixed; bottom: 20px; right: 20px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); color: white; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(26,107,114,.4);
  cursor: pointer; border: none; transition: transform .2s;
  animation: pulse-chat 2.5s infinite;
}
.chatbot-bubble:hover { transform: scale(1.08); }
@keyframes pulse-chat {
  0%,100% { box-shadow: 0 4px 20px rgba(26,107,114,.4); }
  50% { box-shadow: 0 4px 32px rgba(26,107,114,.7); }
}
.chatbot-panel {
  position: fixed; bottom: 90px; right: 20px; z-index: 949;
  width: 360px; max-height: 520px;
  background: white; border-radius: 20px;
  box-shadow: 0 8px 48px rgba(13,34,64,.18);
  border: 1px solid var(--g2);
  display: none; flex-direction: column; overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chat-header {
  background: var(--navy); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.chat-header-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--teal2); overflow: hidden; flex-shrink: 0;
}
.chat-header-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chat-header-info { flex: 1; }
.chat-header-name { font-size: 14px; font-weight: 700; color: white; }
.chat-header-status { font-size: 11px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 4px; }
.chat-header-status::before { content: "●"; color: #2ECC71; font-size: 8px; }
.chat-close { color: rgba(255,255,255,.5); background: none; border: none; font-size: 20px; cursor: pointer; padding: 4px; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  max-height: 320px;
}
.chat-msg { display: flex; gap: 8px; align-items: flex-end; }
.chat-msg.bot { flex-direction: row; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 16px;
  font-size: 13px; line-height: 1.5;
}
.chat-msg.bot .chat-bubble { background: var(--g1); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--teal); color: white; border-bottom-right-radius: 4px; }
.chat-avatar-sm {
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: white; flex-shrink: 0;
}
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-chip {
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
  background: var(--teal-lt); color: var(--teal); border: 1px solid rgba(26,107,114,.2);
  cursor: pointer; transition: all .15s;
}
.chat-chip:hover { background: var(--teal); color: white; }
.chat-chip.urgent { background: rgba(196,98,74,.1); color: var(--terra); border-color: rgba(196,98,74,.2); }
.chat-chip.urgent:hover { background: var(--terra); color: white; }
.chat-input-row {
  padding: 12px 16px; border-top: 1px solid var(--g2);
  display: flex; gap: 8px; align-items: center;
}
.chat-input {
  flex: 1; padding: 10px 14px; border-radius: 20px;
  border: 1.5px solid var(--g2); font-size: 13px; font-family: var(--fb);
  outline: none;
}
.chat-input:focus { border-color: var(--teal); }
.chat-send {
  width: 36px; height: 36px; border-radius: 50%; background: var(--teal);
  color: white; border: none; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.chat-send:hover { background: var(--teal2); }

/* ── SURGICAL FORM MODAL ── */
.surg-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(13,34,64,.65); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.surg-modal-overlay.open { display: flex; }
.surg-modal {
  background: white; border-radius: 20px; padding: 36px;
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(13,34,64,.3);
}
.surg-modal h2 { font-family: var(--fd); font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.surg-modal p { font-size: 14px; color: var(--g4); margin-bottom: 24px; line-height: 1.6; }
.surg-priority-badge {
  background: rgba(196,98,74,.1); border: 1px solid var(--terra);
  color: var(--terra); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 20px; display: inline-flex;
  align-items: center; gap: 6px; margin-bottom: 20px;
}
.surg-field { margin-bottom: 16px; }
.surg-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; display: block; }
.surg-input, .surg-select, .surg-textarea {
  width: 100%; padding: 11px 15px; border-radius: 10px;
  border: 1.5px solid var(--g2); font-size: 14px; font-family: var(--fb);
  color: var(--text); background: white; transition: border-color .15s;
}
.surg-input:focus, .surg-select:focus, .surg-textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,114,.1);
}
.surg-textarea { resize: vertical; min-height: 80px; }
.surg-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.surg-submit {
  width: 100%; padding: 14px; background: var(--terra); color: white;
  font-weight: 700; font-size: 15px; border: none; border-radius: 12px;
  cursor: pointer; transition: all .2s; margin-top: 8px;
}
.surg-submit:hover { background: var(--terra2); transform: translateY(-1px); }
.surg-close-btn {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 22px; cursor: pointer;
  color: var(--g3);
}

/* ── RGPD COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: var(--navy); padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
.cookie-banner.hidden { display: none; }
.cookie-text { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; flex: 1; }
.cookie-text a { color: var(--gold-lt); text-decoration: underline; cursor: pointer; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--teal); color: white; font-weight: 700; font-size: 13px;
  padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer;
  transition: background .15s;
}
.cookie-accept:hover { background: var(--teal2); }
.cookie-refuse {
  background: transparent; color: rgba(255,255,255,.6); font-size: 13px;
  padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; transition: all .15s;
}
.cookie-refuse:hover { border-color: rgba(255,255,255,.4); color: white; }

/* ── MASONRY TESTIMONIALS ── */
.testi-masonry {
  columns: 3; column-gap: 20px;
}
@media (max-width: 900px) { .testi-masonry { columns: 2; } }
@media (max-width: 600px) { .testi-masonry { columns: 1; } }
.testi-masonry .testimonial-card { break-inside: avoid; margin-bottom: 20px; }

/* ── PATIENT JOURNEY ── */
.journey-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative; margin: 32px 0;
}
.journey-steps::before {
  content: ''; position: absolute; top: 28px; left: 16.66%; right: 16.66%;
  height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 0;
}
.journey-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.journey-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 20px; font-weight: 700;
  margin: 0 auto 14px; border: 3px solid white;
  box-shadow: 0 4px 16px rgba(13,34,64,.12);
}
.journey-num.s1 { background: var(--teal); color: white; }
.journey-num.s2 { background: var(--navy); color: white; }
.journey-num.s3 { background: var(--gold); color: white; }
.journey-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.journey-desc { font-size: 12px; color: var(--g4); line-height: 1.6; }

/* ── BLOG CARD ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media(max-width:900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--g2); transition: all .25s; cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(13,34,64,.12); }
.blog-card-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px; display: block;
}
.blog-card-title { font-family: var(--fd); font-size: 17px; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.blog-card-excerpt { font-size: 13px; color: var(--g4); line-height: 1.6; margin-bottom: 12px; }
.blog-card-meta { font-size: 11px; color: var(--g3); display: flex; gap: 12px; }
.blog-card-body { padding: 20px 22px 22px; }
.blog-card-img { height: 160px; background: var(--g1); display: flex; align-items: center; justify-content: center; font-size: 48px; }

/* ── LANG SWITCH ── */
.lang-switch {
  display: flex; gap: 2px; background: var(--g1);
  border-radius: 8px; padding: 3px;
}
.lang-btn {
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px;
  border: none; background: none; cursor: pointer; color: var(--g3);
  transition: all .15s;
}
.lang-btn.active { background: white; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.1); }

/* ── RISK ENCART ── */
.risk-encart {
  background: rgba(196,98,74,.06); border: 1px solid rgba(196,98,74,.2);
  border-radius: 10px; padding: 14px 16px; margin-top: 16px;
}
.risk-encart-title { font-size: 12px; font-weight: 700; color: var(--terra); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.risk-encart ul { margin: 0; padding-left: 16px; }
.risk-encart li { font-size: 12px; color: var(--g4); line-height: 1.7; }

/* ── CONFRERES ── */
.confr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.confr-card {
  background: var(--navy); border-radius: 14px; padding: 24px;
  color: white;
}
.confr-card-title { font-size: 15px; font-weight: 700; color: var(--gold-lt); margin-bottom: 8px; }
.confr-card-body { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.7; }

/* ── NEWSLETTER ── */
.newsletter-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 48px 80px; display: flex; align-items: center; gap: 48px;
}
.newsletter-text { flex: 1; }
.newsletter-text h3 { font-family: var(--fd); font-size: 24px; color: white; margin-bottom: 6px; }
.newsletter-text p { font-size: 14px; color: rgba(255,255,255,.65); }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; min-width: 380px; }
.newsletter-input {
  flex: 1; padding: 12px 18px; border-radius: 10px;
  border: none; font-size: 14px; font-family: var(--fb);
}
.newsletter-btn {
  padding: 12px 22px; background: var(--teal); color: white;
  font-weight: 700; font-size: 14px; border: none; border-radius: 10px;
  cursor: pointer; white-space: nowrap; transition: background .15s;
}
.newsletter-btn:hover { background: var(--teal2); }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }
.form-input {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--g2); background: white; font-size: 14px; color: var(--text);
  font-family: var(--fb); transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,114,.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ══ PAGE LAYOUT ══ */
.page-hero-content {
  max-width: 700px;
  padding: 80px;
}
@media(max-width:768px){ .page-hero-content { padding: 40px 24px; } }

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 80px;
}
@media(max-width:768px){ .page-content { padding: 32px 20px; } }

/* ══ SPECIALTY LAYOUT ══ */
.specialty-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
@media(max-width:1024px){ .specialty-layout { grid-template-columns: 1fr; } }

.specialty-main {}
.specialty-sidebar { position: sticky; top: 90px; }

.specialty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media(max-width:900px){ .specialty-cards { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .specialty-cards { grid-template-columns: 1fr; } }

.spec-card {
  background: white;
  border: 1.5px solid var(--g2);
  border-radius: 18px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all .25s;
}
.spec-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,34,64,.1);
}
.spec-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.spec-title { font-family: var(--fd); font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.spec-desc { font-size: 13px; color: var(--g4); line-height: 1.7; margin-bottom: 14px; }
.spec-link { font-size: 13px; font-weight: 700; color: var(--teal); }

/* ══ ANATOMY BLOCK ══ */
.anatomy-block {
  background: var(--g1);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  border-left: 4px solid var(--teal);
}

/* ══ PATHOLOGIE ACCORDION ══ */
.pathologie-item {
  border: 1.5px solid var(--g2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color .2s;
}
.pathologie-item:hover { border-color: var(--teal); }

.pathologie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: white;
  transition: background .15s;
  gap: 16px;
}
.pathologie-header:hover { background: var(--g1); }

.pathologie-title {
  font-family: var(--fd);
  font-size: 17px;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.pathologie-arrow {
  font-size: 13px;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform .2s;
  font-weight: 700;
}

.pathologie-body {
  padding: 24px 22px;
  border-top: 1.5px solid var(--g2);
  background: white;
}

/* ══ SIDEBAR ELEMENTS ══ */
.sidebar-title {
  font-family: var(--fd);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
}
.sidebar-doctolib {
  width: 100%;
  background: var(--teal);
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 4px;
}
.sidebar-doctolib:hover { background: var(--teal2); }
.sidebar-divider {
  height: 1px;
  background: var(--g2);
  margin: 16px 0;
}
.sidebar-urgent {
  width: 100%;
  background: rgba(196,98,74,.08);
  color: var(--terra);
  font-weight: 700;
  font-size: 13px;
  padding: 11px;
  border-radius: 10px;
  border: 1.5px solid rgba(196,98,74,.25);
  cursor: pointer;
  transition: all .15s;
  margin-top: 4px;
}
.sidebar-urgent:hover { background: var(--terra); color: white; }

/* ══ FOOTER MISSING PIECES ══ */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col { }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.footer-social a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  background: rgba(255,255,255,.07);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
}
.footer-social a:hover { color: white; background: rgba(255,255,255,.12); }

/* ══ HERO TRUST BAR ══ */
.trust-icon { font-size: 14px; }
.trust-sep { color: rgba(255,255,255,.25); font-size: 14px; margin: 0 4px; }


/* ══ PANNEAU ADMIN ══ */
#admin-overlay {
  position:fixed;inset:0;z-index:9999;background:rgba(13,34,64,.85);backdrop-filter:blur(8px);
  display:none;align-items:center;justify-content:center;
}
#admin-overlay.open { display:flex; }
#admin-panel {
  background:white;border-radius:20px;padding:0;width:min(900px,95vw);
  max-height:90vh;overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 32px 80px rgba(0,0,0,.3);
}
#admin-header {
  background:var(--navy);color:white;padding:20px 28px;display:flex;
  align-items:center;justify-content:space-between;flex-shrink:0;
}
#admin-header h2 { font-family:var(--fd);font-size:20px;margin:0; }
#admin-close { background:rgba(255,255,255,.15);border:none;color:white;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center; }
#admin-close:hover { background:rgba(255,255,255,.3); }
#admin-body { padding:28px;overflow-y:auto;flex:1; }
#admin-tabs { display:flex;gap:6px;margin-bottom:24px;border-bottom:2px solid var(--g2);padding-bottom:0; }
.admin-tab { padding:8px 18px;border:none;background:none;font-weight:700;font-size:13px;color:var(--g3);border-bottom:3px solid transparent;margin-bottom:-2px;cursor:pointer; }
.admin-tab.active { color:var(--teal);border-bottom-color:var(--teal); }
.admin-section { display:none; }
.admin-section.active { display:block; }
.admin-field { margin-bottom:20px; }
.admin-field label { display:block;font-size:12px;font-weight:700;color:var(--navy);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px; }
.admin-field input, .admin-field textarea {
  width:100%;padding:10px 14px;border:1.5px solid var(--g2);border-radius:8px;
  font-size:14px;color:var(--navy);font-family:inherit;box-sizing:border-box;
  transition:border-color .15s;
}
.admin-field input:focus, .admin-field textarea:focus { outline:none;border-color:var(--teal); }
.admin-field textarea { min-height:80px;resize:vertical;line-height:1.6; }
.admin-save-btn {
  background:var(--teal);color:white;border:none;padding:12px 28px;border-radius:10px;
  font-weight:700;font-size:14px;cursor:pointer;transition:all .2s;
}
.admin-save-btn:hover { background:var(--teal2); }
.admin-grid2 { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.admin-hint { font-size:11px;color:var(--g3);margin-top:4px; }
#admin-badge {
  position:fixed;bottom:80px;right:20px;z-index:948;
  width:36px;height:36px;border-radius:50%;
  background:var(--navy);color:rgba(255,255,255,.3);
  font-size:14px;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:all .3s;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
#admin-badge:hover { color:white;background:var(--teal); }

/* ==========================================================
   GALERIE CABINET & BLOC OPÉRATOIRE  (ajout 18/04/2026)
   ========================================================== */
.facilities-section { padding: 80px 0; background: var(--cream); }
.facilities-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.facilities-head { text-align: center; margin-bottom: 48px; }
.facilities-head .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 10px;
}
.facilities-head h2 {
  font-family: var(--fd); font-size: clamp(28px, 4vw, 42px);
  color: var(--navy); line-height: 1.15; margin-bottom: 14px;
}
.facilities-head p {
  font-size: 15px; color: var(--g4); max-width: 640px;
  margin: 0 auto; line-height: 1.7;
}
.facilities-tabs {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.facilities-tab {
  background: transparent; border: 1.5px solid rgba(13, 34, 64, 0.15);
  color: var(--navy); padding: 10px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: var(--fb);
}
.facilities-tab:hover { border-color: var(--teal); color: var(--teal); }
.facilities-tab.active { background: var(--navy); color: white; border-color: var(--navy); }
.facilities-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px; gap: 14px;
}
.facilities-grid.hidden { display: none; }
.facility-card {
  position: relative; overflow: hidden; border-radius: 14px;
  cursor: pointer; background: var(--g1);
  box-shadow: 0 2px 12px rgba(13, 34, 64, 0.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.facility-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(13, 34, 64, 0.18); }
.facility-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.facility-card:hover img { transform: scale(1.06); }
.facility-card .facility-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(to top, rgba(13,34,64,.92) 0%, rgba(13,34,64,0) 100%);
  color: white; font-size: 13px; font-weight: 600; line-height: 1.3;
}
.facility-card.span-7 { grid-column: span 7; grid-row: span 2; }
.facility-card.span-5 { grid-column: span 5; grid-row: span 1; }
.facility-card.span-6 { grid-column: span 6; grid-row: span 1; }
.facility-card.span-4 { grid-column: span 4; grid-row: span 1; }
.facility-card.span-3 { grid-column: span 3; grid-row: span 1; }
.facility-card.span-8 { grid-column: span 8; grid-row: span 1; }
@media (max-width: 900px) {
  .facilities-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 140px; }
  .facility-card.span-7, .facility-card.span-8 { grid-column: span 6; grid-row: span 2; }
  .facility-card.span-5, .facility-card.span-6 { grid-column: span 6; }
  .facility-card.span-4, .facility-card.span-3 { grid-column: span 3; }
}
@media (max-width: 520px) {
  .facilities-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .facility-card.span-7, .facility-card.span-8, .facility-card.span-5,
  .facility-card.span-6, .facility-card.span-4, .facility-card.span-3 {
    grid-column: span 1; grid-row: span 1;
  }
}
.facilities-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(13, 34, 64, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 30px; backdrop-filter: blur(4px);
}
.facilities-lightbox.open { display: flex; }
.facilities-lightbox img { max-width: 95%; max-height: 85vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.facilities-lightbox .lb-close {
  position: absolute; top: 24px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: white; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.facilities-lightbox .lb-close:hover { background: rgba(255,255,255,.2); }
.facilities-lightbox .lb-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600;
  background: rgba(0,0,0,.4); padding: 10px 20px; border-radius: 999px;
}
.tech-strip {
  margin: 40px 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #0D2240 0%, #1A6B72 100%);
  color: white; display: grid; grid-template-columns: 1fr 1.2fr;
}
.tech-strip-img { position: relative; min-height: 320px; }
.tech-strip-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-strip-text { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.tech-strip-text .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  color: rgba(255,255,255,.55); text-transform: uppercase; margin-bottom: 12px;
}
.tech-strip-text h3 { font-family: var(--fd); font-size: 28px; line-height: 1.2; margin-bottom: 12px; }
.tech-strip-text p { font-size: 14px; opacity: .85; line-height: 1.7; }
.tech-strip-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.tech-strip-specs .spec {
  font-size: 12px; line-height: 1.5;
  padding: 10px 12px; background: rgba(255,255,255,.08);
  border-radius: 8px; border-left: 2px solid var(--gold);
}
.tech-strip-specs .spec strong { display: block; color: var(--gold); margin-bottom: 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 800px) {
  .tech-strip { grid-template-columns: 1fr; }
  .tech-strip-img { min-height: 220px; }
  .tech-strip-text { padding: 28px; }
}
