/* ===========================================================================
   BALACCO : Design system
   Cabinet dentaire Inès Balacco, Belfort
   Bleu nuit + or · sérif éditoriale + sans-serif claire
   Mobile-first · sans framework · ~1 fichier
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------ */
:root {
  /* Bleus */
  --navy-900: #08192e;
  --navy-800: #0d2440;
  --navy-700: #133155;
  --navy-600: #1b4570;
  --navy-500: #2c6291;
  --navy-300: #7f9dbb;
  --navy-100: #e4ecf4;

  /* Ors */
  --gold-700: #8c6d2e;
  /* Or assombri, réservé aux textes de petite taille sur fond clair :
     #a8863f ne passe pas le seuil AA (3,4:1), celui-ci atteint 5:1 minimum. */
  --gold-ink: #7d6128;
  --gold-600: #a8863f;
  --gold-500: #c2a15e;
  --gold-400: #d5bb87;
  --gold-200: #ecdcbd;
  --gold-100: #f6eedd;

  /* Neutres chauds */
  --cream: #fbf8f3;
  --sand: #f4ede3;
  --white: #ffffff;
  --ink: #16202f;
  --muted: #56657c;
  --line: rgba(19, 49, 85, 0.13);
  --line-strong: rgba(19, 49, 85, 0.22);

  /* Sémantique */
  --alert-bg: #fdf2ee;
  --alert-border: #e09070;
  --alert-ink: #8a3c17;

  /* Typographie
     Titres : Bricolage Grotesque (variable). Texte : Inter.
     Échelle volontairement resserrée : le corps de texte reste à 16 px, seuls
     les titres portent la hiérarchie. */
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-xs: 0.8125rem;   /* mentions, légendes */
  --fs-sm: 0.9375rem;   /* textes secondaires : descriptions de cartes, notes */
  --fs-ui: 0.8125rem;   /* interface : boutons, étiquettes */
  --fs-base: 1rem;
  --fs-md: clamp(1rem, 0.15vw + 0.97rem, 1.06rem);
  --fs-lg: clamp(1.09rem, 0.35vw + 1rem, 1.25rem);
  --fs-xl: clamp(1.32rem, 0.9vw + 1.08rem, 1.7rem);
  --fs-2xl: clamp(1.7rem, 1.7vw + 1.18rem, 2.35rem);
  --fs-3xl: clamp(2.1rem, 2.9vw + 1.1rem, 3.35rem);

  /* Espacement */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 7vw, 7rem);

  /* Structure */
  --wrap: 1240px;
  --wrap-content: 1200px;  /* colonne de lecture + colonne latérale : une seule
                              largeur pour tout ce qui porte du texte, afin que
                              bandeau de titre, contenu et encadrés s'alignent */
  --wrap-narrow: 820px;
  --wrap-wide: 1440px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 25, 46, 0.05), 0 2px 8px rgba(8, 25, 46, 0.04);
  --shadow: 0 4px 12px rgba(8, 25, 46, 0.07), 0 16px 40px -18px rgba(8, 25, 46, 0.18);
  --shadow-lg: 0 8px 24px rgba(8, 25, 46, 0.09), 0 36px 70px -30px rgba(8, 25, 46, 0.3);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* ---------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.62;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.16; text-wrap: balance; }
p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
a { color: var(--navy-600); text-decoration-color: var(--gold-400); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
strong, b { font-weight: 600; color: var(--navy-800); }
button { font: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--gold-200); color: var(--navy-900); }

/* ---------------------------------------------------------------------------
   3. UTILITAIRES DE STRUCTURE
   ------------------------------------------------------------------------ */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--content { width: min(100% - 2.5rem, var(--wrap-content)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

/*
 * Colonne de lecture.
 * Une ligne de texte confortable fait 70 à 80 caractères : la colonne ne peut
 * donc pas occuper les 1080 px du conteneur. Deux compositions cohabitent :
 *  - pages à colonne latérale (rubrique, page santé, article) : la colonne de
 *    lecture est alignée à gauche, la colonne latérale occupe la droite ;
 *  - pages à une seule colonne (cabinet, rendez-vous, mentions légales) : la
 *    colonne est centrée, comme le bandeau de titre, pour éviter le bloc
 *    déséquilibré collé à gauche avec un grand vide à droite.
 */
.wrap--content:not(.hub-intro):not(.article-layout) > .prose { max-width: 48rem; }
.contenu-centre .wrap--content:not(.hub-intro):not(.article-layout) > .prose { margin-inline: auto; }

/* Encadré latéral « en bref » : une liste de faits, pas du texte suivi.
   Il remplit la colonne de droite des pages qui n'ont pas de sommaire. */
.factbox {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-5);
}
.factbox__title {
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: var(--sp-4);
}
.factbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.factbox li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.factbox svg { width: 17px; height: 17px; color: var(--gold-ink); flex: none; margin-top: 2px; }
.factbox strong { display: block; color: var(--navy-800); font-weight: 600; margin-bottom: 1px; }
.wrap--wide { width: min(100% - 2.5rem, var(--wrap-wide)); margin-inline: auto; }
@media (max-width: 600px) { .wrap, .wrap--content, .wrap--narrow, .wrap--wide { width: calc(100% - 2rem); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-800); color: #e9eff6; }
.section--navy h2, .section--navy h3 { color: var(--white); }
/* Les boutons gardent leur propre couleur de texte : sans le :not(.btn),
   cette règle repeignait le libellé d'un bouton doré en doré, donc illisible. */
.section--navy a:not(.btn) { color: var(--gold-400); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  background: var(--navy-800); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------------------------------------------------------------------------
   4. TYPOGRAPHIE DE MARQUE
   ------------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-ink);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: var(--gold-500); flex: none; border-radius: 2px;
}
.section--navy .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow,
.quote-band .eyebrow { color: var(--gold-400); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3xl);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.title-xl { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.title-lg { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; line-height: 1.16; letter-spacing: -0.02em; }
.script { font-family: var(--font-display); font-weight: 500; color: var(--gold-700); }
.lead {
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
}
/* Seuls les chapôs isolés sur fond sombre gardent un corps légèrement supérieur :
   aucun texte courant ne les jouxte, la comparaison de taille n'existe pas. */
.hero__lead,
.page-hero .lead { font-size: var(--fs-md); }
.section--navy .lead { color: #c3d2e2; }

.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head p { margin-top: var(--sp-4); }

/* ---------------------------------------------------------------------------
   5. BOUTONS
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.68em 1.25em;
  font-size: var(--fs-ui);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); }
/* Sur fond sombre, un liseré clair détache nettement le bouton du bleu nuit. */
.section--navy .btn--gold,
.cta-band .btn--gold,
.aside-cta .btn--gold,
.hero .btn--gold { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }

.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }

.btn--outline { border-color: var(--line-strong); color: var(--navy-700); background: transparent; }
.btn--outline:hover { border-color: var(--navy-600); background: var(--navy-100); color: var(--navy-800); }

.btn--lg { padding: 0.8em 1.5em; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: var(--fs-sm);
  color: var(--navy-600); text-decoration: none;
}
.link-arrow::after {
  content: "→"; transition: transform 0.25s var(--ease); color: var(--gold-ink);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   6. EN-TÊTE
   ------------------------------------------------------------------------ */
.topbar {
  background: var(--navy-900);
  color: #b9c9db;
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 40px; }
.topbar__list { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 0.45em; }
.topbar a { color: #dbe6f1; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 14px; height: 14px; color: var(--gold-500); flex: none; }
.topbar__status { display: inline-flex; align-items: center; gap: 0.45em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5fbf8f; flex: none; box-shadow: 0 0 0 3px rgba(95, 191, 143, 0.2); }
.dot--off { background: #b9744f; box-shadow: 0 0 0 3px rgba(185, 116, 79, 0.2); }
@media (max-width: 900px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 26px -16px rgba(8, 25, 46, 0.55); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; flex: none; }
.brand__mark { width: 30px; height: 39px; flex: none; color: var(--gold-600); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--navy-800); white-space: nowrap;
}
.brand__sub {
  font-size: 0.7rem; color: var(--gold-ink); font-weight: 500; margin-top: 1px; white-space: nowrap;
}

/* Navigation principale */
.nav-primary > ul { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(0.25rem, 0.8vw, 0.95rem); list-style: none; margin: 0; padding: 0; min-width: 0; }
.nav-primary li { position: relative; }
.nav-primary > ul > li > a {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.6rem 0.25rem;
  font-size: 0.82rem; font-weight: 500; color: var(--navy-800);
  text-decoration: none; letter-spacing: 0.005em;
  white-space: nowrap;
}
.nav-primary > ul > li > a::after {
  content: ""; position: absolute; left: 0.25rem; right: 0.25rem; bottom: 0.25rem;
  height: 1.5px; background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-primary > ul > li > a:hover::after,
.nav-primary > ul > li.is-open > a::after,
.nav-primary > ul > li.current-menu-item > a::after,
.nav-primary > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-primary .menu-item-has-children > a .caret {
  width: 9px; height: 9px; transition: transform 0.25s var(--ease); color: var(--gold-600);
}
.nav-primary li.is-open > a .caret { transform: rotate(180deg); }

/* Sous-menu déroulant */
.nav-primary .sub-menu {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translate(-50%, 8px);
  min-width: 290px; list-style: none; margin: 0; padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-primary li.is-open > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-primary .sub-menu::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.nav-primary .sub-menu a {
  display: block; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--navy-700); text-decoration: none; line-height: 1.4;
}
.nav-primary .sub-menu a:hover { background: var(--cream); color: var(--navy-900); }
.nav-primary .sub-menu .menu-item-hub > a { font-weight: 600; color: var(--navy-800); }
.nav-primary .sub-menu .menu-item-hub { border-bottom: 1px solid var(--line); margin-bottom: 0.35rem; padding-bottom: 0.35rem; }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.header__tel {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.92rem; color: var(--navy-800); text-decoration: none;
  white-space: nowrap;
}
.header__tel svg { width: 16px; height: 16px; color: var(--gold-600); }
.header__tel:hover { color: var(--gold-700); }
@media (max-width: 1400px) { .header__tel { display: none; } }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.burger span { position: relative; display: block; width: 20px; height: 1.5px; background: var(--navy-800); transition: 0.3s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--navy-800); transition: 0.3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1279px) {
  .burger { display: inline-flex; }
  .nav-primary {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(420px, 100%);
    background: var(--white); border-left: 1px solid var(--line);
    padding: var(--sp-5) var(--sp-5) var(--sp-8);
    overflow-y: auto; transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-primary.is-open { transform: translateX(0); }
  .nav-primary > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-primary > ul > li { border-bottom: 1px solid var(--line); }
  .nav-primary > ul > li > a { padding: 1rem 0; font-size: 1.05rem; justify-content: space-between; width: 100%; }
  .nav-primary > ul > li > a::after { display: none; }
  .nav-primary .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 0.75rem 0.5rem;
    display: none; background: transparent;
  }
  .nav-primary .sub-menu::before { display: none; }
  .nav-primary li.is-open > .sub-menu { display: block; }
  .nav-primary .sub-menu a { padding: 0.55rem 0.5rem; border-left: 2px solid var(--gold-200); border-radius: 0; }
  .nav-mobile-cta { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
}
@media (min-width: 1280px) { .nav-mobile-cta { display: none; } }

/* Très petits écrans : la barre d'action fixe en bas prend le relais du bouton
   d'en-tête, et l'identité se compacte pour ne jamais provoquer de débordement. */
@media (max-width: 620px) {
  :root { --header-h: 64px; }
  .header__actions .btn { display: none; }
  .brand { min-width: 0; }
  .brand__mark { width: 26px; height: 34px; }
  .brand__name { font-size: 1.05rem; letter-spacing: 0.04em; }
  .brand__sub { font-size: 0.64rem; }
}
@media (max-width: 360px) {
  .brand__sub { display: none; }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(8, 25, 46, 0.42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: 0.3s var(--ease); z-index: 80;
}
.nav-scrim.is-on { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 25, 46, 0.94) 0%, rgba(8, 25, 46, 0.82) 38%, rgba(8, 25, 46, 0.35) 68%, rgba(8, 25, 46, 0.2) 100%),
    linear-gradient(to top, rgba(8, 25, 46, 0.75), transparent 45%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  display: grid; gap: var(--sp-5);
}
.hero .display { color: #fff; }
.hero__title { max-width: 22ch; }
.hero__title span { display: block; }
.hero .display em { display: block; font-style: normal; font-weight: 500; color: var(--gold-400); }

/* Le bas du hero occupe toute la largeur : texte à gauche, actions à droite.
   Le bloc cesse ainsi de ressembler à une colonne posée sur une image. */
.hero__bottom { display: grid; gap: var(--sp-5); align-items: end; }
@media (min-width: 1000px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-8); }
  .hero__bottom .hero__cta { justify-content: flex-end; }
}
.hero__lead { font-size: var(--fs-md); color: #cfdcea; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-sm); color: #b9cbdd;
}
.hero__badges span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__badges svg { width: 15px; height: 15px; color: var(--gold-400); flex: none; }

/* Bandeau de réassurance sous le hero */
.trustbar { background: var(--navy-800); color: #dce6f1; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255, 255, 255, 0.09);
}
.trustbar__item {
  background: var(--navy-800); padding: 1.6rem 1.4rem;
  display: flex; gap: 0.9rem; align-items: flex-start;
}
.trustbar__item svg { width: 24px; height: 24px; color: var(--gold-500); flex: none; margin-top: 2px; }
.trustbar__item strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.trustbar__item span { font-size: var(--fs-sm); color: #a9bdd2; line-height: 1.5; }
@media (max-width: 980px) { .trustbar__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trustbar__grid { grid-template-columns: 1fr; } }

/* Hero interne (pages) */
.page-hero {
  position: relative; background: var(--navy-800); color: #fff; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(194, 161, 94, 0.28), transparent 65%),
    radial-gradient(700px 400px at -10% 110%, rgba(44, 98, 145, 0.5), transparent 60%);
}
/* Le bandeau de titre s'aligne par défaut sur le bord gauche de la grille,
   comme le contenu. Il ne se centre que sur les pages à colonne unique centrée. */
.page-hero__inner { position: relative; max-width: 48rem; }
.contenu-centre .page-hero__inner { margin-inline: auto; }
.page-hero h1 { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.035em; color: #fff; margin-bottom: var(--sp-4); }
.page-hero .lead { color: #cadaea; }
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }

/* ---------------------------------------------------------------------------
   8. FIL D'ARIANE
   ------------------------------------------------------------------------ */
.breadcrumb { font-size: var(--fs-xs); letter-spacing: 0.02em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45em; list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.45em; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--gold-500); }
.breadcrumb a { color: inherit; text-decoration: none; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { font-weight: 600; }
.page-hero .breadcrumb { color: #a9c0d6; }
.page-hero .breadcrumb a { color: #cfe0ef; }

/* ---------------------------------------------------------------------------
   9. CARTES « SYMPTÔMES » : l'élément signature de l'accueil
   ------------------------------------------------------------------------ */
.symptom-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.symptom-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 310px; padding: var(--sp-5);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-700); color: #fff; text-decoration: none;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.symptom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.symptom-card__bg { position: absolute; inset: 0; z-index: -2; }
.symptom-card__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.symptom-card:hover .symptom-card__bg img { transform: scale(1.06); }
.symptom-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8, 25, 46, 0.93) 12%, rgba(8, 25, 46, 0.55) 48%, rgba(8, 25, 46, 0.18) 100%);
}
.symptom-card__icon {
  width: 42px; height: 42px; margin-bottom: auto;
  color: var(--gold-400);
}
.symptom-card h3 {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 600;
  letter-spacing: -0.025em; color: #fff; margin-bottom: 0.4rem;
}
.symptom-card p { font-size: var(--fs-sm); color: #c5d5e5; margin-bottom: 0.9rem; line-height: 1.5; }
.symptom-card__more {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--fs-sm); font-weight: 600; color: var(--gold-400);
}
.symptom-card__more::after { content: "→"; transition: transform 0.3s var(--ease); }
.symptom-card:hover .symptom-card__more::after { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   10. CARTES UNIVERS (rubriques piliers)
   ------------------------------------------------------------------------ */
.universe-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.universe-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.universe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-400); color: inherit; }
.universe-card__media { aspect-ratio: 16 / 10; background: var(--navy-100); overflow: hidden; }
.universe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.universe-card:hover .universe-card__media img { transform: scale(1.05); }
.universe-card__body { padding: var(--sp-5) var(--sp-5) var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.universe-card h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.025em; color: var(--navy-800); margin-bottom: 0.5rem; }
.universe-card p { font-size: var(--fs-sm); color: var(--muted); }
.universe-card__list { list-style: none; margin: var(--sp-4) 0 var(--sp-5); padding: 0; display: grid; gap: 0.45rem; }
.universe-card__list li { position: relative; padding-left: 1.2rem; font-size: var(--fs-sm); color: var(--navy-700); }
.universe-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}
.universe-card .link-arrow { margin-top: auto; }

/* ---------------------------------------------------------------------------
   11. BLOCS DE CONTENU RICHE (shortcodes)
   ------------------------------------------------------------------------ */

/* Réponse directe (GEO/AEO) : le paragraphe que les moteurs IA citent */
.answer-box {
  position: relative;
  background: linear-gradient(135deg, var(--gold-100), var(--cream));
  border: 1px solid var(--gold-200);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  margin: 0 0 var(--sp-6);
}
.answer-box__label {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  color: var(--gold-ink); margin-bottom: 0.4rem;
}
.answer-box p { font-size: var(--fs-md); line-height: 1.58; color: var(--navy-800); margin: 0; }

/* Chiffres / faits clés */
.keyfacts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: var(--sp-6) 0; }
.keyfacts__item { background: var(--white); padding: var(--sp-5); }
.keyfacts__value { display: block; font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; letter-spacing: -0.03em; color: var(--navy-700); line-height: 1; }
.keyfacts__label { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 0.45rem; }

/* Encadré */
.callout {
  display: flex; gap: var(--sp-4);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
  margin: var(--sp-6) 0;
}
.callout__icon { width: 26px; height: 26px; flex: none; color: var(--gold-600); margin-top: 2px; }
.callout h4,
.callout__title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: 0.4rem;
}
.callout p { font-size: var(--fs-base); color: var(--muted); line-height: 1.6; }
.callout--alert { background: var(--alert-bg); border-color: var(--alert-border); }
.callout--alert .callout__icon { color: var(--alert-ink); }
.callout--alert h4,
.callout--alert .callout__title { color: var(--alert-ink); }
.callout--navy { background: var(--navy-800); border-color: var(--navy-700); }
.callout--navy h4,
.callout--navy .callout__title { color: #fff; }
.callout--navy p { color: #bfd0e1; }
.callout--navy .callout__icon { color: var(--gold-400); }

/* Étapes */
.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--sp-6) 0; display: grid; gap: var(--sp-5); }
.steps > li { position: relative; padding-left: 4rem; }
.steps > li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -0.15em;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--gold-500); line-height: 1;
}
.steps > li::after {
  content: ""; position: absolute; left: 1.35rem; top: 2.3rem; bottom: -1.5rem;
  width: 1px; background: var(--line);
}
.steps > li:last-child::after { display: none; }
.steps h4,
.steps__title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: 0.4rem;
}
.steps p { font-size: var(--fs-base); color: var(--muted); line-height: 1.6; }

/* Mini-cartes internes */
.minicards { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: var(--sp-6) 0; }
.minicard {
  display: block; padding: var(--sp-5); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.minicard:hover { border-color: var(--gold-400); transform: translateY(-3px); box-shadow: var(--shadow-sm); color: inherit; }
.minicard__icon { width: 28px; height: 28px; color: var(--gold-600); margin-bottom: var(--sp-3); }
.minicard h4,
.minicard__title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: 0.45rem;
}
.minicard p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* FAQ : accordéon natif <details> */
.faq { margin: var(--sp-7) 0; }
.faq__item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item > summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: 1.1rem 0.25rem;
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em;
  color: var(--navy-800); cursor: pointer; list-style: none; line-height: 1.32;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: 0.4em;
  border-right: 1.8px solid var(--gold-600); border-bottom: 1.8px solid var(--gold-600);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(-135deg); }
.faq__item > summary:hover { color: var(--gold-700); }
.faq__answer { padding: 0 0.25rem 1.5rem; max-width: 72ch; }
.faq__answer p { font-size: var(--fs-base); color: var(--muted); line-height: 1.62; }
.faq__answer p:first-child { margin-top: 0; }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; margin: var(--sp-6) 0; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: var(--fs-sm); }
.table-wrap tbody tr:nth-child(even) { background: var(--cream); }
.table-wrap td:first-child { font-weight: 600; color: var(--navy-800); }

/* Sources / références : signal E-E-A-T fort */
.sources {
  margin: var(--sp-7) 0 0; padding: var(--sp-5);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
}
.sources h2, .sources h3 {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: var(--sp-3);
}
.sources ol, .sources ul { margin: 0; padding-left: 1.2rem; }
.sources li { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.5rem; }
.sources a { color: var(--navy-600); }

/* Bloc auteur / relecture médicale : cœur de l'E-E-A-T */
.author-box {
  display: flex; gap: var(--sp-5); align-items: flex-start;
  margin: var(--sp-7) 0 0; padding: var(--sp-5);
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500); border-radius: var(--radius);
}
.author-box__avatar {
  width: 78px; height: 78px; flex: none; border-radius: 50%; overflow: hidden;
  background: var(--navy-100); display: grid; place-items: center; color: var(--navy-500);
}
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); }
.author-box__role { font-size: var(--fs-xs); color: var(--gold-ink); font-weight: 500; margin: 0.1rem 0 0.7rem; }
.author-box p { font-size: var(--fs-sm); color: var(--muted); }
.author-box__meta { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.author-box__meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.author-box__meta svg { width: 13px; height: 13px; color: var(--gold-600); }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

/* Avertissement médical */
.medical-notice {
  margin-top: var(--sp-6); padding: var(--sp-4) var(--sp-5);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-xs); color: var(--muted); line-height: 1.6;
}
.medical-notice strong { color: var(--navy-700); }

/* ---------------------------------------------------------------------------
   12. ARTICLE / CONTENU ÉDITORIAL
   ------------------------------------------------------------------------ */
.prose { font-size: var(--fs-base); color: #2c3a4d; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700;
  letter-spacing: -0.03em; color: var(--navy-800);
  margin-top: 2.2em; margin-bottom: 0.5em; line-height: 1.14;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em; color: var(--navy-700); margin-top: 1.8em; margin-bottom: 0.35em; }
.prose h4 { font-size: var(--fs-base); font-weight: 600; color: var(--navy-800); margin-top: 1.6em; margin-bottom: 0.3em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--gold-ink); }
.prose blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 500;
  letter-spacing: -0.015em; color: var(--navy-700); line-height: 1.4;
}
.prose blockquote p { margin-bottom: 0.5em; }
.prose blockquote cite { display: block; font-family: var(--font-sans); font-size: var(--fs-sm); font-style: normal; color: var(--muted); }
.prose img { border-radius: var(--radius); margin-block: var(--sp-6); }
.prose figure { margin: var(--sp-6) 0; }
.prose figcaption { font-size: var(--fs-xs); color: var(--muted); text-align: center; margin-top: 0.6rem; }
.prose a { font-weight: 500; }
.prose abbr { text-decoration: underline dotted; cursor: help; }

/* ---------------------------------------------------------------------------
   12 bis. BLOCS ÉDITORIAUX À L'INTÉRIEUR DE .prose
   Les règles de .prose sont volontairement larges (elles habillent du contenu
   rédigé librement). Les composants insérés via shortcode doivent conserver
   leur propre typographie : on rétablit ici ce que .prose écraserait.
   ------------------------------------------------------------------------ */
.prose .callout h4, .prose .callout__title,
.prose .minicard h4, .prose .minicard__title,
.prose .steps h4, .prose .steps__title { margin-top: 0; }
.prose .callout--navy h4,
.callout--navy .callout__title { color: #fff; }
.prose .callout--navy p { color: #bfd0e1; }
.prose .callout--alert h4,
.callout--alert .callout__title { color: var(--alert-ink); }
.prose .callout p,
.prose .minicard p,
.prose .steps p,
.prose .sources li,
.prose .faq__answer p { font-size: var(--fs-base); line-height: 1.62; }
.prose .answer-box p { color: var(--navy-800); }

.prose .faq h2 { border-top: 0; padding-top: 0; }
.prose .sources h2,
.prose .sources h3 {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy-800);
  border-top: 0; padding-top: 0; margin-top: 0; margin-bottom: var(--sp-3);
}
.prose .sources li { font-size: var(--fs-sm); color: var(--muted); }

.prose .steps { padding-left: 0; }
.prose .steps > li { margin-bottom: 0; }
.prose .toc ol { padding-left: 0; }
.prose .toc li { margin-bottom: 0; }
.prose .minicards,
.prose .keyfacts { margin-block: var(--sp-6); }
/* Dans une colonne de lecture, deux cartes par ligne se répartissent mieux
   que trois : on évite la dernière carte esseulée. */
.prose .minicards { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.prose .table-wrap ul,
.prose .table-wrap ol { margin: 0; }

/* Sommaire ancré */
.toc {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-5); margin-bottom: var(--sp-6);
}
.toc__title { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: var(--sp-3); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 0.4rem; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.6rem; font-size: var(--fs-sm); color: var(--navy-700); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold-ink); font-weight: 600; flex: none; }
.toc a:hover { color: var(--gold-700); text-decoration: underline; }

/* Introduction de rubrique : texte à gauche, accès direct aux pages filles à
   droite. Évite la colonne centrée isolée au milieu d'une page large. */
.hub-intro {
  display: grid; gap: clamp(1.75rem, 2.5vw, 2.75rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1040px) {
  .hub-intro { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .hub-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--sp-5); }
}
.hub-aside .toc { margin-bottom: 0; }

/* Layout article avec colonne latérale */
.article-layout {
  display: grid; gap: clamp(1.75rem, 2.5vw, 2.75rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1040px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--sp-5); }
}
.article-aside .toc { margin-bottom: 0; }

/* Un seul sommaire visible à la fois : en tête d'article sur mobile,
   dans la colonne latérale dès que celle-ci existe. */
.toc-mobile { margin-bottom: var(--sp-6); }
.toc-mobile .toc { margin-bottom: 0; }
@media (min-width: 1040px) {
  .toc-mobile { display: none; }
}
@media (max-width: 1039px) {
  /* Seul le sommaire se masque ici, et il est toujours un <nav> : les encarts
     de la colonne latérale qui réutilisent l'habillage .toc (horaires, accès)
     doivent rester visibles sur mobile. */
  .article-aside nav.toc:first-child { display: none; }
}

.aside-cta {
  background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: var(--sp-5);
}
.aside-cta h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin-bottom: 0.5rem; }
.aside-cta p { font-size: var(--fs-sm); color: #bed0e2; margin-bottom: var(--sp-4); }
.aside-cta .btn { width: 100%; }
.aside-cta__tel { display: block; margin-top: var(--sp-3); text-align: center; font-size: var(--fs-sm); color: var(--gold-400); text-decoration: none; font-weight: 600; }

/* ---------------------------------------------------------------------------
   13. SECTIONS SPÉCIFIQUES
   ------------------------------------------------------------------------ */

/* Bloc image + texte alterné */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split--reverse .split__media { order: 2; }
@media (max-width: 899px) { .split--reverse .split__media { order: 0; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--framed::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--gold-400); border-radius: var(--radius-lg); z-index: -1;
}
.split__body h2 { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; color: var(--navy-800); margin-bottom: var(--sp-4); }
.split__list { list-style: none; padding: 0; margin: var(--sp-5) 0; display: grid; gap: var(--sp-4); }
.split__list li { display: flex; gap: var(--sp-3); }
.split__list svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; margin-top: 3px; }
.split__list strong { display: block; font-size: var(--fs-base); color: var(--navy-800); margin-bottom: 3px; }
.split__list span { font-size: var(--fs-base); color: var(--muted); line-height: 1.6; }

/* Bandeau citation praticienne */
.quote-band { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.quote-band::before {
  content: "”"; position: absolute; top: -4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 14rem;
  color: rgba(194, 161, 94, 0.12); line-height: 1;
}
.quote-band__inner { position: relative; text-align: center; max-width: 46rem; margin-inline: auto; }
.quote-band blockquote {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.3; color: #fff; margin: 0 0 var(--sp-5);
}
.quote-band cite { font-style: normal; font-size: var(--fs-sm); color: var(--gold-400); font-weight: 500; }

/* Bande CTA finale */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 60%, var(--navy-600));
  color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 320px at 82% 12%, rgba(194, 161, 94, 0.3), transparent 62%);
}
.cta-band__inner {
  position: relative; display: grid; gap: var(--sp-6); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; gap: var(--sp-8); } }
.cta-band h2 { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; color: #fff; margin-bottom: var(--sp-4); }
.cta-band p { color: #c6d6e6; }
.cta-band__actions { display: grid; gap: var(--sp-3); }
.cta-band__phone {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); text-decoration: none; color: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cta-band__phone:hover { background: rgba(255, 255, 255, 0.11); border-color: var(--gold-400); color: #fff; }
.cta-band__phone svg { width: 30px; height: 30px; color: var(--gold-400); flex: none; }
.cta-band__phone small { display: block; font-size: var(--fs-sm); color: #a8bed4; }
.cta-band__phone strong { display: block; font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }

/* Grille équipe */
.team-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.team-card { text-align: center; }
.team-card__photo {
  aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-100); margin-bottom: var(--sp-4);
  display: grid; place-items: center; color: var(--navy-300);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); }
.team-card__role { font-size: var(--fs-xs); color: var(--gold-ink); font-weight: 500; margin-top: 0.2rem; }
.team-card p { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-3); }

/* Galerie */
.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-100); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* Technologies */
.tech-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tech-item {
  padding: var(--sp-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center;
}
.tech-item__icon {
  width: 52px; height: 52px; margin: 0 auto var(--sp-4);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-700);
}
.tech-item__icon svg { width: 25px; height: 25px; }
.tech-item h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: 0.3rem; }
.tech-item p { font-size: var(--fs-sm); color: var(--muted); }

/* Horaires */
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { padding: 0.62rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 500; color: var(--navy-700); }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-700); font-weight: 600; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td .hours__range { display: block; }
.hours__flag { display: block; margin-top: 0.12rem; font-size: var(--fs-xs); color: var(--muted); }
.hours tr.is-closed td { color: var(--muted); }
.hours__legend { margin: 0.7rem 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.section--navy .hours th,
.site-footer .hours th { color: #dbe6f1; }
.section--navy .hours td,
.site-footer .hours td { color: #a9bdd2; }
.section--navy .hours th, .section--navy .hours td,
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255, 255, 255, 0.12); }
/* Colonne étroite dans le pied de page : on compacte pour éviter les retours à la ligne. */
.site-footer .hours { font-size: var(--fs-xs); }
.site-footer .hours th, .site-footer .hours td { padding-block: 0.5rem; }
.site-footer .hours td .hours__range { white-space: nowrap; }
.site-footer .hours tr.is-today th,
.site-footer .hours tr.is-today td { color: var(--gold-400); }

.section--navy .hours__flag,
.section--navy .hours__legend,
.site-footer .hours__flag,
.site-footer .hours__legend { color: #93a9c0; }
.section--navy .hours tr.is-closed td,
.site-footer .hours tr.is-closed td { color: #8ba0b6; }

/* Blog */
.post-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--navy-100); margin-bottom: var(--sp-4); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { font-size: var(--fs-xs); color: var(--gold-ink); font-weight: 500; margin-bottom: 0.4rem; }
.post-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.025em; color: var(--navy-800); margin-bottom: 0.45rem; line-height: 1.2; }
.post-card:hover h3 { color: var(--gold-700); }
.post-card p { font-size: var(--fs-sm); color: var(--muted); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: var(--sp-7); }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.6rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--navy-700); font-size: var(--fs-sm); font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--gold-400); background: var(--cream); }
.pagination .current { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* Navigation entre pages sœurs */
.sibling-nav { margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.sibling-nav__title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: var(--sp-4); }
.sibling-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sibling-nav a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--navy-700); text-decoration: none;
}
.sibling-nav a:hover { border-color: var(--gold-400); color: var(--navy-900); }
.sibling-nav a::before { content: "→"; color: var(--gold-ink); }
.sibling-nav li.is-current a { background: var(--navy-700); border-color: var(--navy-700); color: #fff; pointer-events: none; }
.sibling-nav li.is-current a::before { color: var(--gold-400); }

/* ---------------------------------------------------------------------------
   14. FORMULAIRE
   ------------------------------------------------------------------------ */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.field .req { color: var(--gold-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem;
  font: inherit; font-size: var(--fs-sm); color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(194, 161, 94, 0.18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--alert-border); }
.field .error { font-size: var(--fs-xs); color: var(--alert-ink); }
.field--check { display: flex; gap: 0.7rem; align-items: flex-start; grid-column: 1 / -1; }
.field--check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--gold-600); }
.field--check label { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius-sm); font-size: var(--fs-sm); display: none; }
.form-status.is-ok { display: block; background: #edf7f1; border: 1px solid #a6d6bc; color: #1d6644; }
.form-status.is-ko { display: block; background: var(--alert-bg); border: 1px solid var(--alert-border); color: var(--alert-ink); }
.btn[aria-busy="true"] { opacity: 0.65; pointer-events: none; }

/* ---------------------------------------------------------------------------
   15. PIED DE PAGE
   ------------------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #a9bdd2; font-size: var(--fs-sm); }
.footer__main { padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer__grid > div:first-child { grid-column: span 1; }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer h2, .footer__title {
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.02em;
  color: #fff; margin-bottom: var(--sp-4);
}
.site-footer a { color: #cfdcea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.footer__brand .brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: var(--gold-400); }
.footer__brand p { margin-top: var(--sp-4); max-width: 34ch; color: #9db2c8; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__contact { display: grid; gap: 0.85rem; }
.footer__contact div { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold-500); flex: none; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: #7f96ae;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); list-style: none; margin: 0; padding: 0; }

/* Barre d'action mobile fixe */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem; gap: 0.5rem;
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom));
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
}
.mobile-bar svg { width: 16px; height: 16px; }
.mobile-bar__call { background: var(--gold-500); color: var(--navy-900); }
.mobile-bar__rdv { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 76px; }
}

/* ---------------------------------------------------------------------------
   16. PAGE 404 / RECHERCHE
   ------------------------------------------------------------------------ */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.notfound__code { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; font-size: clamp(4rem, 11vw, 8rem); color: var(--gold-200); line-height: 1; }
.search-form { display: flex; gap: 0.5rem; max-width: 460px; margin-inline: auto; }
.search-form input { flex: 1; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--cream); font: inherit; font-size: var(--fs-sm); }
.search-form button { border: 0; }

/* ---------------------------------------------------------------------------
   16 bis. VISUELS DE REMPLACEMENT
   Tant que les photographies du cabinet ne sont pas disponibles, un motif SVG
   occupe exactement la place de la future image (mêmes proportions, même
   arrondi) : la mise en page ne bougera pas au moment du remplacement.
   ------------------------------------------------------------------------ */
.placeholder { display: block; width: 100%; height: 100%; }
.hero__media .placeholder,
.page-hero__media .placeholder { width: 100%; height: 100%; }
.split__media .placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.universe-card__media .placeholder,
.post-card__media .placeholder,
.symptom-card__bg .placeholder,
.team-card__photo .placeholder,
.gallery .placeholder { height: 100%; min-height: 100%; }
.team-card__photo .placeholder { aspect-ratio: 3 / 4; }
.gallery .placeholder { aspect-ratio: 4 / 3; }

/* ---------------------------------------------------------------------------
   17. ANIMATIONS D'APPARITION (discrètes)
   ------------------------------------------------------------------------ */
/* Sans JavaScript, le contenu doit rester visible : l'état masqué n'est appliqué
   que lorsque la classe « js » a été posée sur <html> par le script d'amorçage. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------------
   18. IMPRESSION
   ------------------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .mobile-bar, .cta-band, .nav-scrim, .topbar { display: none !important; }
  body { padding: 0; color: #000; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}
