/* ===========================================================
   ASP Neurosurgery Geneva — Dr Benoit Jenny
   Premium stylesheet — deep blue & champagne
   =========================================================== */

:root {
  --navy: #0d2136;
  --navy-light: #16324d;
  --navy-deep: #081727;
  --gold: #ab8a52;
  --gold-dark: #93753f;
  --gold-soft: #d9c08c;
  --gold-light: #f7f2e8;
  --sand: #faf8f4;
  --gray-50: #f8f9fb;
  --gray-100: #edeff2;
  --gray-300: #cfd6dd;
  --gray-500: #68737f;
  --gray-700: #38424d;
  --text: #22303c;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 14px 40px rgba(13, 33, 54, 0.10);
  --shadow-sm: 0 4px 16px rgba(13, 33, 54, 0.06);
  --maxw: 1160px;
  --serif: "Cormorant Garamond", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-light); color: var(--navy); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--gray-700); }

ul { color: var(--gray-700); }

.eyebrow {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1em;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-head:not(.left) .eyebrow { padding-left: 0; }
.section-head:not(.left) .eyebrow::before { display: none; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #b9c8d4;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}
.topbar .lang { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .topbar .lang { position: static; transform: none; } }
.topbar a { color: #b9c8d4; transition: color .15s; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .lang a { padding: 0 6px; }
.topbar .lang a.active { color: var(--gold-soft); font-weight: 700; }

/* ---------- Header / nav ---------- */
header.site-header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  width: 190px;
  height: 96px;
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
  background-image: url('../images/logo-header.png');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
}
.brand-text { display: none; }
.brand-text .name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.18rem; }
.brand-text .role { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); }

nav.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav.main-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--navy);
  border: 1px solid #e9ddc4;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.phone-pill:hover { background: #f1e7d2; border-color: var(--gold-soft); }
.phone-pill svg { color: var(--gold-dark); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  /* Jour : voile bleu plus léger pour laisser passer la lumière (titre gardé lisible en haut) */
  --hero-veil: linear-gradient(160deg, rgba(8,23,39,0.86) 0%, rgba(12,30,50,0.60) 38%, rgba(20,46,72,0.28) 66%, rgba(22,50,77,0.22) 100%);
  --hero-jet: url("../images/jet-eau-jour.jpg") center 45% / cover no-repeat;
  --hero-colonne: url("../images/colonne-dessin.png") left center / auto 122% no-repeat;
  /* Opacité de la colonne (jour) : monter la valeur = plus claire / plus visible */
  --hero-colonne-opacity: 0.55;
  background:
    url("../images/cerveau-hero.png") 100% 2% / 330px auto no-repeat,
    var(--hero-veil),
    var(--hero-jet);
  color: var(--white);
  padding: 110px 0 124px;
  position: relative;
  overflow: hidden;
}
/* Colonne sur son propre calque, au-dessus du voile : plus claire mais gardée transparente */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-colonne);
  opacity: var(--hero-colonne-opacity);
  z-index: 0;
  pointer-events: none;
}
/* Nuit (20h–6h) : ajouté par JS via la classe .theme-night sur <html> */
.theme-night .hero {
  --hero-veil: linear-gradient(160deg, rgba(8,23,39,0.90) 0%, rgba(13,33,54,0.80) 52%, rgba(22,50,77,0.68) 100%);
  --hero-jet: url("../images/jet d'eau nuit.jpeg") center 88% / cover no-repeat;
  --hero-colonne: url("../images/colonne-dessin.png") left center / auto 122% no-repeat;
  --hero-colonne-opacity: 0.42;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,192,140,0.55), transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: var(--white); max-width: 760px; font-weight: 500; }
.hero p.lead {
  font-size: 1.14rem;
  color: #ccdae4;
  max-width: 640px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.btn-primary {
  background: linear-gradient(180deg, #b9975f, var(--gold));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(171,138,82,0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(171,138,82,0.40);
  background: linear-gradient(180deg, #c2a26c, var(--gold-dark));
}
.btn-ghost { border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.75); }
.btn-outline { border-color: var(--gold); color: var(--gold-dark); background: transparent; }
.btn-outline:hover { background: var(--gold-light); }

/* Small compact page hero (secondary pages) */
.page-hero {
  background:
    radial-gradient(ellipse 480px 320px at 90% -20%, rgba(171,138,82,0.22), transparent 65%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0 68px;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,192,140,0.5), transparent);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; font-weight: 500; }
.page-hero .lead { color: #ccdae4 !important; }
.breadcrumb { font-size: 0.8rem; color: #9fb3c2; margin-bottom: 16px; letter-spacing: 0.04em; }
.breadcrumb a { color: #9fb3c2; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---------- Image placeholder blocks (until real photos are supplied) ---------- */
.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.img-frame img { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.img-frame:hover img { transform: scale(1.045); }
.img-placeholder {
  background: linear-gradient(135deg, var(--gold-light), var(--gray-50));
  border: 1px dashed #ddceac;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-500);
  min-height: 220px;
  padding: 20px;
  gap: 8px;
}
.img-placeholder svg { width: 34px; height: 34px; color: var(--gold); }
.img-placeholder span { font-size: 0.78rem; line-height: 1.4; max-width: 220px; }
.img-frame img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; }

/* ---------- Insurance / affiliation logos strip ---------- */
.insurance-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; margin-top: 20px; }
.insurance-strip img { height: 40px; width: auto; object-fit: contain; filter: grayscale(35%); opacity: 0.85; transition: filter .2s, opacity .2s; }
.insurance-strip img:hover { filter: grayscale(0%); opacity: 1; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 52px; text-align: left; }

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-top-color: var(--gold); }
.card h3 { margin-bottom: 0.5em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card a.card-link { color: var(--gold-dark); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em; }
.card a.card-link:hover { color: var(--navy); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 0.9fr 1.1fr; }
.two-col.reverse .img-col { order: 0; }

.pill-list { list-style: none; margin: 0; padding: 0; }
.pill-list li {
  padding: 11px 0 11px 30px;
  position: relative;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.pill-list li:last-child { border-bottom: none; }
.pill-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.numbered-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding: 26px 30px 26px 88px;
  margin: 0 0 22px 26px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.numbered-steps li:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 12px 30px rgba(13, 33, 54, 0.08);
  transform: translateY(-2px);
}
.numbered-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -22px;
  height: 22px;
  border-left: 2px dotted var(--gold-soft);
}
.numbered-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -26px; top: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 4px var(--gold-light), 0 6px 16px rgba(13, 33, 54, 0.18);
}
.numbered-steps h3 { margin-bottom: 0.35em; font-size: 1.25rem; }
.numbered-steps h3::after {
  content: "";
  display: block;
  width: 34px; height: 2px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 2px;
}
.numbered-steps li > p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .numbered-steps li { margin-left: 20px; padding: 20px 18px 20px 46px; }
  .numbered-steps li::before { left: -20px; width: 40px; height: 40px; font-size: 1.05rem; top: 18px; }
}

.callout {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--navy-light);
  margin: 26px 0;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  margin-top: 30px;
  padding-top: 16px;
}

/* ---------- Tabs (bio / CV) ---------- */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 36px;
}
.tabs a {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.tabs a.active { color: var(--navy); border-bottom-color: var(--gold); }
.tabs a:hover { color: var(--navy); }

.cv-block { margin-bottom: 36px; }
.cv-block h3 { color: var(--navy); border-bottom: 1px solid #e9ddc4; padding-bottom: 10px; }
.cv-entry { margin-bottom: 16px; }
.cv-entry .when { font-weight: 700; color: var(--gold-dark); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 2px;}
.cv-entry .what { color: var(--gray-700); }
.pub-entry { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--gray-100); }
.pub-entry:last-child { border-bottom: none; }
.pub-entry .journal { font-style: italic; }
.pub-entry .impact { display: block; color: var(--gray-500); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 14px; }
.contact-card .row { display: flex; gap: 12px; margin-bottom: 10px; font-size: 0.94rem; color: var(--gray-700); }
.contact-card .row svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 60px 0 24px;
  margin-top: 40px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
footer.site-footer h4 { color: var(--gold-soft); }
footer.site-footer p { color: #ffffff; }
footer.site-footer a { color: #ffffff; transition: color .15s; }
footer.site-footer a:hover { color: var(--gold-soft); }
.footer-grid p, .footer-grid div { font-size: 0.9rem; line-height: 1.9; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #e2eaf1;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Sticky tabs bar + tab panels ---------- */
.tabs-bar {
  position: sticky;
  top: var(--header-h, 96px);
  z-index: 40;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 8px 20px rgba(13,33,54,0.04);
}
.tabs-bar .tabs {
  margin-bottom: 0;
  border-bottom: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-bar .tabs::-webkit-scrollbar { display: none; }
.tabs-bar .tabs a { white-space: nowrap; border-bottom-width: 3px; padding: 16px 18px; }
.tab-panel { display: none; padding-top: 52px; }
.tab-panel.active { display: block; }

/* ---------- Symptom rows (photo left, text right) ---------- */
.symptom-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.symptom-row .img-col { order: -1; }
.symptom-row .img-frame img { min-height: 0; height: 320px; object-fit: cover; }
.symptom-row h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.7em;
}
.symptom-row h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}
.symptom-row p { font-size: 1.02rem; line-height: 1.85; }
@media (max-width: 900px) {
  .symptom-row { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .symptom-row .img-frame img { height: 240px; }
}

/* ---------- Stats band (key figures) ---------- */
.stats-band {
  background:
    radial-gradient(ellipse 480px 300px at 12% 120%, rgba(171,138,82,0.20), transparent 65%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 56px 0;
  border-top: 1px solid rgba(217,192,140,0.25);
  border-bottom: 1px solid rgba(217,192,140,0.25);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .stat-num, .stat .stat-suffix {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.1;
}
.stat .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cddae5;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; } }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #e9ddc4;
  background: var(--white);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .15s;
  z-index: 60;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold-light); }

/* ---------- Quote band (mission du docteur) ---------- */
.quote-band { padding: 76px 0; background: var(--gold-light); }
.site-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-top: 46px;
}
.site-quote::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 6.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
}
.site-quote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}
.site-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---------- CTA band (prise de rendez-vous) ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 560px 360px at 85% -20%, rgba(171,138,82,0.28), transparent 65%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); font-weight: 500; }
.cta-band p { color: #ccdae4; max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- FAQ (accordéon) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
details.faq-item { border-bottom: 1px solid var(--gray-100); }
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  padding: 18px 34px 18px 0;
  position: relative;
  transition: color .15s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
}
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item summary:hover { color: var(--gold-dark); }
details.faq-item p { padding: 0 26px 20px 0; margin: 0; }

/* ---------- Frise chronologique (titres du Dr) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.tl-item {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #e9ddc4;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.tl-year {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.tl-label { font-size: 0.88rem; color: var(--gray-700); line-height: 1.5; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-item { text-align: left; padding: 12px 0 12px 26px; border-top: none; border-left: 2px solid #e9ddc4; }
  .tl-item::before { left: -6px; top: 22px; transform: none; }
}

/* ---------- Affiliations ---------- */
.affil-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.affil-strip a {
  padding: 11px 20px;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .15s, color .15s, transform .15s;
}
.affil-strip a:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }

/* ---------- Scroll reveal (subtle) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .img-col { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 72px 0 84px; }
}
@media (max-width: 700px) {
  nav.main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--gray-100);
    background: var(--white);
  }
  .header-inner.open nav.main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone-pill span.txt { display: none; }
  section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .hero { padding: 66px 0 76px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .two-col, .two-col.reverse { gap: 26px; }
  .section-head { margin-bottom: 36px; }
  .brand-mark { width: 140px; height: 72px; }
  .back-top { right: 14px; bottom: 14px; }
}

/* Drapeau suisse (header) */
.topbar .ch-flag{display:inline-block;vertical-align:-1.5px;margin-right:6px;flex-shrink:0;}

/* Note prise de rendez-vous par téléphone */
.rdv-note{background:var(--gold-light);border-left:3px solid var(--gold);padding:14px 18px;border-radius:0 8px 8px 0;margin-bottom:26px;color:var(--navy);}
.rdv-note a{color:var(--gold-dark);font-weight:600;text-decoration:none;}
.rdv-note a:hover{text-decoration:underline;}

/* Badge suisse (hero) */
.ch-badge{display:inline-flex;align-items:center;gap:8px;margin:14px 0 4px;padding:7px 16px;border:1px solid rgba(217,192,140,0.45);border-radius:999px;background:rgba(255,255,255,0.07);backdrop-filter:blur(4px);}
.ch-badge span{font-size:0.78rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--gold-soft);font-weight:600;}

/* Barre d'appel fixe (mobile) */
.call-bar{display:none;}
@media (max-width: 700px){
  .call-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:90;background:var(--navy);border-top:2px solid var(--gold);padding:10px 16px calc(10px + env(safe-area-inset-bottom));}
  .call-bar a{display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;text-decoration:none;font-weight:600;font-size:1rem;}
  .call-bar svg{flex-shrink:0;color:var(--gold-soft);}
  body{padding-bottom:64px;}
  .back-top{bottom:84px !important;}
}

/* Parcours en 3 étapes */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:10px;}
.step-card{background:#fff;border:1px solid var(--gray-100);border-radius:14px;padding:34px 26px;text-align:center;}
.step-num{display:block;font-family:var(--serif);font-size:2.6rem;font-weight:700;color:var(--gold);line-height:1;margin-bottom:14px;}
.step-card h3{margin:0 0 10px;}
@media (max-width: 860px){.steps-grid{grid-template-columns:1fr;}}

/* Variante CV : pastille sans numéro */
.numbered-steps.no-num li::before {
  content: "";
  width: 16px; height: 16px;
  left: -8px; top: 34px;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-light);
}
@media (max-width: 700px) { .numbered-steps.no-num li::before { width: 14px; height: 14px; left: -7px; } }

/* Logos assurances */
.ins-logos{display:flex;gap:44px;justify-content:center;align-items:center;flex-wrap:wrap;margin:30px auto 0;max-width:820px;}
.ins-logos img{height:46px;width:auto;max-width:130px;object-fit:contain;}
@media (max-width: 700px){.ins-logos{gap:26px;}.ins-logos img{height:36px;}}

/* Mini-CTA de fin d'onglet */
.tab-cta{margin-top:34px;padding:16px 20px;background:var(--gold-light);border-radius:10px;color:var(--navy);font-weight:500;}
.tab-cta a{color:var(--gold-dark);font-weight:700;text-decoration:none;white-space:nowrap;}
.tab-cta a:hover{text-decoration:underline;}

/* Sélecteur de langue dans l'en-tête */
.header-cta .lang{font-size:0.88rem;letter-spacing:0.05em;white-space:nowrap;color:var(--gray-500);}
.header-cta .lang a{color:var(--gray-700);padding:4px 2px;text-decoration:none;}
.header-cta .lang a:hover{color:var(--navy);}
.header-cta .lang a.active{color:var(--gold-dark);font-weight:700;}
@media (max-width: 700px){.header-cta .lang{font-size:0.82rem;}}

/* Étape en cours de lecture */
.numbered-steps li.focus {
  transform: scale(1.025);
  border-color: var(--gold-soft);
  box-shadow: 0 16px 38px rgba(13, 33, 54, 0.12);
}
@media (prefers-reduced-motion: reduce) { .numbered-steps li.focus { transform: none; } }

/* Confort de lecture */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-size: 1.045rem; line-height: 1.75; }
section[id] { scroll-margin-top: 120px; }

/* Robustesse tous appareils */
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
.img-frame img { height: 100%; }
body { overflow-x: clip; }
.map-frame iframe { width: 100%; }



/* Hero : texte à gauche, Dr Jenny au bloc opératoire à droite */
.hero-split{display:flex;align-items:center;gap:64px;flex-wrap:wrap;}
.hero-text{flex:1 1 480px;min-width:300px;}
.hero-media{flex:0 1 360px;min-width:260px;margin:0 0 0 auto;}
.hero-media img{width:100%;height:auto;display:block;border-radius:16px 16px 0 0;}
.hero-media figcaption{background:rgba(255,255,255,0.08);border:1px solid rgba(217,192,140,0.35);border-top:none;border-radius:0 0 16px 16px;padding:12px 16px;font-size:0.88rem;color:var(--gold-soft);text-align:center;letter-spacing:0.03em;}
@media (max-width: 900px){.hero-media{margin:26px auto 0;}}

/* eyebrow sans tiret (cartes actualités) */
.eyebrow[style*="--no-dash"]::before{display:none;}

/* Icônes illustratives dans les cartes "Deux domaines de prise en charge" */
.card-icon { display:block; width:auto; margin:0 0 14px; }
.card-icon-spine { height:84px; }
.card-icon-brain { height:60px; }
@media (max-width:700px){ .card-icon-spine{height:70px;} .card-icon-brain{height:52px;} }

/* Photo du Dr Jenny en salle d'opération, sous les cartes "Deux domaines" */
.op-photo { margin: 46px auto 0; max-width: 360px; }
.op-photo img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); }
@media (max-width:700px){ .op-photo{ max-width: 280px; } }

/* Assurances : deux groupes de logos (suisses / international) */
.ins-group { margin-top: 34px; }
.ins-label { display:block; text-align:center; font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold-dark); font-weight:600; margin-bottom:2px; }
.ins-group .ins-logos { margin-top: 14px; max-width: 980px; }

/* Bloc photo bloc opératoire + citation */
.op-block { display:flex; align-items:center; justify-content:center; gap:48px; margin-top:46px; flex-wrap:wrap; }
.op-block .op-photo { margin:0; max-width:330px; flex:0 0 auto; }
.op-quote { flex:1 1 360px; max-width:520px; margin:0; padding:4px 0 4px 26px; border-left:3px solid var(--gold); }
.op-quote p { font-family:var(--serif); font-style:italic; font-size:1.4rem; line-height:1.5; color:var(--navy); margin:0 0 14px; }
.op-quote cite { font-style:normal; font-weight:600; letter-spacing:.03em; color:var(--gold-dark); }
@media (max-width:820px){ .op-block{ gap:26px; } .op-quote{ flex-basis:280px; padding-left:18px; } .op-quote p{ font-size:1.15rem; } }

/* Galerie "Accès au cabinet" (page contact) */
.access-block h2 { margin-bottom: 6px; }
.access-intro { margin-bottom: 4px; }
.access-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:22px; margin-top:18px; }
.access-grid figure { margin:0; }
.access-grid img { width:100%; height:280px; object-fit:cover; border-radius:12px; box-shadow:var(--shadow-sm); display:block; }
.access-grid figcaption { margin-top:9px; font-size:0.92rem; color:var(--gray-700); line-height:1.5; text-align:center; }
@media (max-width:600px){ .access-grid img { height:230px; } }
