/* ============================================================
   Dr Sarra Gattoussi — Ophtalmologie, Paris 11
   Système visuel : éditorial, quiet luxury, lumière naturelle
   ============================================================ */

:root {
  /* Palette */
  --ivory:      #F6F1EA;
  --card:       #FBF8F3;
  --ink:        #2A2724;
  --muted:      #6B655C;
  --terracotta: #B9785F;
  --terracotta-deep: #9c5f48;
  --sage:       #A7B0A2;
  --sage-soft:  #eceee9;
  --taupe:      #CFC6B8;
  --rule:       #E6DFD4;

  /* Typographie */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Mulish", system-ui, -apple-system, sans-serif;

  /* Forme */
  --r:   3px;
  --r-s: 2px;

  /* Rythme */
  --pad: clamp(20px, 5vw, 88px);
  --maxw: min(92vw, 1760px);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 350;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Primitives ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0;
}
.eyebrow.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.1; letter-spacing: 0.005em; }

.lede { color: var(--muted); font-weight: 350; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--sans); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.btn .arrow { transition: transform .35s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--terracotta); color: var(--ivory); }
.btn-primary:hover { background: var(--terracotta-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--taupe); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--terracotta); }
.btn-outline:hover { background: var(--terracotta); color: var(--ivory); }

.btn-link {
  font-family: var(--sans); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.04em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.55em; white-space: nowrap;
  padding-bottom: 3px; border-bottom: 1px solid var(--taupe);
  transition: border-color .35s ease, gap .35s ease;
}
.btn-link:hover { border-color: var(--terracotta); gap: 0.9em; }
.btn-link .arrow { transition: transform .35s ease; }
.btn-link:hover .arrow { transform: translateX(3px); }

/* Monogram (legacy text mark) */
.monogram {
  font-family: var(--serif); font-weight: 600;
  font-size: 22px; letter-spacing: 0.02em;
  display: inline-flex; align-items: baseline; gap: 1px;
  color: var(--ink);
}
.monogram .dot { color: var(--terracotta); }

/* Brand logo, verrou vertical : monogramme + nom + ligne de spécialité */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand--lockup {
  flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; line-height: 1; gap: 0;
}
.brand--lockup .bl-mono { display: block; line-height: 0; }
.brand--lockup .bl-mono img { display: block; width: auto; }
.brand--lockup .bl-name {
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  white-space: nowrap; line-height: 1;
}
.brand--lockup .bl-cap { font-weight: 600; }
.brand--lockup .bl-rule { display: block; height: 1px; background: var(--terracotta); opacity: .7; }
.brand--lockup .bl-tag {
  font-family: var(--sans); text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* Header, logo grand et condensé (aligné sur Sarfati) */
.brand--header .bl-mono img { height: 56px; margin-bottom: 4px; }
.brand--header .bl-name { font-size: 30px; letter-spacing: .04em; }
.brand--header .bl-cap { font-size: 34px; }
.brand--header .bl-rule { width: 52px; margin: 5px 0 4px; }
.brand--header .bl-tag { font-size: 11.5px; letter-spacing: .16em; }

/* Menu mobile */
.brand--mobile .bl-mono img { height: 34px; margin-bottom: 7px; }
.brand--mobile .bl-name { font-size: 15px; letter-spacing: .1em; }
.brand--mobile .bl-cap { font-size: 18px; }
.brand--mobile .bl-rule { width: 30px; margin: 6px 0 5px; }
.brand--mobile .bl-tag { font-size: 7.5px; letter-spacing: .2em; }

/* Footer, sur fond ivoire, aligné à gauche */
.brand--footer { align-items: flex-start; text-align: left; }
.brand--footer .bl-mono img { height: 56px; margin-bottom: 14px; }
.brand--footer .bl-name { font-size: 26px; letter-spacing: .1em; color: var(--ink); }
.brand--footer .bl-cap { font-size: 32px; }
.brand--footer .bl-rule { width: 44px; margin: 13px 0 11px; }
.brand--footer .bl-tag { font-size: 10.5px; letter-spacing: .22em; color: var(--muted); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease, background .4s ease;
}
.site-header.scrolled { border-color: var(--rule); }

/* Bloc méta (drapeau + réseaux + adresse) à gauche du logo, à sa hauteur */
.header-meta {
  position: absolute; left: clamp(24px, 3vw, 60px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
}
.header-meta-top { display: flex; align-items: center; gap: 14px; }
.util-lang { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); }
.util-lang svg:first-child { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px var(--rule); display: block; }
.util-social { display: flex; align-items: center; gap: 5px; }
.util-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--muted); transition: color .25s ease, background .25s ease, transform .25s ease;
}
.util-soc svg { width: 19px; height: 19px; }
.util-soc:hover { color: var(--terracotta-deep); background: var(--sage-soft); transform: translateY(-1px); }
.util-addr {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; text-transform: uppercase;
}
.util-addr svg { color: var(--terracotta); flex: none; width: 16px; height: 16px; }
.util-addr:hover { color: var(--ink); }

/* Header centré : logo au-dessus, bandeau menu en dessous */
.header-top {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 18px clamp(24px, 3vw, 60px) 14px;
  transition: padding .35s ease;
}
.header-bar {
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: flex-start;
  padding-block: 13px;
  padding-left: clamp(40px, 11vw, 200px);
  padding-right: clamp(60px, 28vw, 480px);
}
.header-bar .nav { width: 100%; justify-content: space-between; gap: 18px; }
/* boutons pilule flanquant le logo centré, hamburger à droite (mobile) */
.header-rdv, .header-contact { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 999px; }
.header-rdv { left: clamp(24px, 3vw, 60px); }
.header-contact { right: clamp(24px, 3vw, 60px); }
.site-header--center .menu-toggle { display: none; position: absolute; right: clamp(24px, 3vw, 60px); top: 50%; transform: translateY(-50%); }

/* Repli au scroll : le verrou se réduit, le bandeau reste accessible */
.site-header.scrolled .header-top { padding-top: 9px; padding-bottom: 7px; }
.site-header.scrolled .brand--header .bl-mono img { height: 22px; margin-bottom: 3px; }
.site-header.scrolled .brand--header .bl-rule,
.site-header.scrolled .brand--header .bl-tag { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.site-header.scrolled .brand--header .bl-name { font-size: 13px; }
.site-header.scrolled .brand--header .bl-cap { font-size: 15px; }
.brand--header .bl-mono img,
.brand--header .bl-name, .brand--header .bl-cap,
.brand--header .bl-rule, .brand--header .bl-tag { transition: all .35s ease; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a, .nav-mega-trigger {
  font-family: var(--sans);
  font-size: 16px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.015em; position: relative; padding: 4px 0; white-space: nowrap;
  transition: color .3s ease;
}
.nav-mega-trigger {
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-mega-trigger .chev { transition: transform .3s ease; opacity: .7; }
.site-header.mega-open .nav-mega-trigger .chev { transform: rotate(180deg); }
.nav a::after, .nav-mega-trigger::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--terracotta); transition: right .35s ease;
}
.nav a:hover, .nav-mega-trigger:hover { color: var(--ink); }
.nav a:hover::after, .nav-mega-trigger:hover::after,
.site-header.mega-open .nav-mega-trigger::after { right: 0; }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { right: 0; }

.menu-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* Hero portrait pleine largeur / pleine hauteur, proportions façon Sarfati */
.hero--portrait {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: calc(100svh - var(--header-h, 180px));
  padding: 0;
  background: linear-gradient(118deg, #EFE2D6 0%, #F2E9DE 44%, var(--ivory) 100%);
}
.hero--portrait .hero-wrap { width: 100%; max-width: none; padding-inline: clamp(40px, 11vw, 200px); position: relative; z-index: 2; }
.hero--portrait .hero-copy {
  max-width: clamp(380px, 40vw, 540px); padding-block: clamp(28px, 5vw, 64px);
}
/* Figure : tête près du haut, corps coupé en bas, ancrée à droite avec marge */
.hero--portrait .hero-figure {
  position: absolute; z-index: 1; right: clamp(36px, 12vw, 200px);
  top: 3%; bottom: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero--portrait .hero-figure img {
  display: block; height: 100%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 28px 44px rgba(42,39,36,.16));
}
/* Monogramme SG en filigrane, grand, en haut au centre (derrière texte et figure) */
.hero-mono {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  left: 12%; top: 3%;
  font-family: var(--serif); font-weight: 600; line-height: .78;
  font-size: clamp(320px, 46vw, 760px);
  color: var(--terracotta); opacity: .11; letter-spacing: -.02em;
}
.hero-mono .g { margin-left: -.06em; }
.hero-mono .dot { color: var(--terracotta-deep); }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-eyebrow .tick { width: 34px; height: 1px; background: var(--terracotta); }

.hero-name { margin: 0 0 26px; }
.hero-name .first {
  display: block; font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px); color: var(--ink);
  margin-bottom: -0.08em; letter-spacing: 0.01em;
}
.hero-name .last {
  display: block; font-weight: 500;
  font-size: clamp(62px, 10.5vw, 134px);
  line-height: 0.9; letter-spacing: 0.004em;
}

.hero-sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.4vw, 27px); color: var(--terracotta);
  margin: 0 0 22px;
}
.hero-intro { max-width: 46ch; margin: 0 0 38px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* Portrait */
.hero-portrait { position: relative; }
.portrait-frame {
  position: relative; z-index: 2;
  border: 1px solid var(--rule);
  padding: 12px; background: var(--card);
  border-radius: var(--r);
}
.hero-portrait image-slot {
  display: block; width: 100%; height: clamp(440px, 48vw, 600px);
}
.portrait-img {
  display: block; width: 100%; height: clamp(440px, 48vw, 604px);
  object-fit: cover; object-position: 50% 20%;
  border-radius: var(--r);
}
.portrait-back {
  position: absolute; z-index: 1;
  top: -22px; right: -22px; width: 64%; height: 70%;
  background: var(--sage-soft);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.portrait-caption {
  position: absolute; z-index: 3; left: -10px; bottom: 26px;
  background: var(--ivory); border: 1px solid var(--rule);
  padding: 10px 16px; border-radius: var(--r-s);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

/* Foliage shadow */
.foliage { position: absolute; pointer-events: none; opacity: .14; mix-blend-mode: multiply; z-index: 0; filter: blur(1.2px); }
.foliage svg { width: 100%; height: 100%; }
.foliage--hero { top: -30px; right: -40px; width: 380px; height: 460px; opacity: .12; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); }
.section-head p { margin: 22px 0 0; color: var(--muted); max-width: 54ch; }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ============================================================
   Expertise tiles
   ============================================================ */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tile {
  position: relative; background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: 26px 24px 26px; min-height: 312px;
  display: flex; flex-direction: column; color: inherit;
  transition: border-color .4s ease, transform .4s ease, background .4s ease;
}
.tile::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--taupe); }
.tile:hover::before { transform: scaleX(1); }

.tile-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--terracotta); }
.tile-icon { margin: 8px 0 auto; color: var(--ink); }
.tile-icon svg { width: 34px; height: 34px; }
.tile h3 { font-size: 23px; margin: 24px 0 10px; line-height: 1.1; }
.tile p { font-size: 14px; line-height: 1.58; color: var(--muted); margin: 0; }
.tile-go { margin-top: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); transition: color .3s ease, transform .3s ease; }
.tile:hover .tile-go { color: var(--terracotta); transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: 16px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terracotta-deep);
  background: color-mix(in srgb, var(--terracotta) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--terracotta) 28%, transparent);
  padding: 5px 11px; border-radius: 999px;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); }

/* Iris tile (visual) */
.tile--iris {
  padding: 0; overflow: hidden; align-items: stretch; justify-content: flex-end;
  background: radial-gradient(120% 120% at 30% 25%, #fbf8f3 0%, #efe7da 100%);
}
.tile--iris::before { display: none; }
.tile--iris .iris-holder { position: absolute; inset: 0; display: grid; place-items: center; }
.tile--iris .iris-holder svg { width: 78%; height: auto; }
.tile--iris .iris-label {
  position: relative; z-index: 2; margin: auto 28px 28px;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 11px; font-weight: 700; color: var(--muted);
}

/* ============================================================
   Domaines d'expertise (accueil) : mise en avant + 3 pôles
   ============================================================ */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card, .exp-feature {
  display: flex; flex-direction: column; color: inherit;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 34px 32px 34px; position: relative; overflow: hidden;
  box-shadow: 0 20px 44px -34px rgba(42, 39, 36, .45);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.exp-card::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.exp-card:hover, .exp-feature:hover {
  transform: translateY(-5px); border-color: var(--taupe);
  box-shadow: 0 30px 56px -32px rgba(42, 39, 36, .34);
}
.exp-card:hover::before { transform: scaleX(1); }

.exp-num { font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--terracotta); line-height: 1; }
.exp-ic { align-self: center; margin-top: 30px; color: var(--terracotta); }
.exp-ic svg { width: 128px; height: 128px; display: block; }
.exp-card h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.08; margin: 34px 0 12px; }
.exp-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.exp-go {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--ink);
  transition: color .3s ease, gap .3s ease;
}
.exp-card:hover .exp-go { color: var(--terracotta); gap: 12px; }
.exp-go .arrow { transition: transform .3s ease; }
.exp-card:hover .exp-go .arrow { transform: translateX(3px); }

/* Carte de mise en avant */
.exp-feature { background: radial-gradient(125% 95% at 28% 12%, #fcf9f4 0%, #ece3d4 100%); }
.exp-feature .eyebrow { margin-bottom: 4px; }
.exp-feature .exp-iris { flex: 1; display: grid; place-items: center; padding: 14px 0 8px; }
.exp-feature .exp-iris svg { width: 152px; height: auto; }
.exp-feature h3 { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.1; margin: 0 0 14px; }
.exp-feature .exp-go { margin-top: 0; color: var(--terracotta); }
.exp-feature:hover .exp-go { gap: 12px; }

@media (max-width: 1080px) {
  .exp-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ============================================================
   Prévention & Longévité
   ============================================================ */
.prevention { background: var(--card); border-block: 1px solid var(--rule); overflow: hidden; }
.prevention-grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.prevention-visual { position: relative; display: grid; place-items: center; padding: 20px; }
.prevention-visual .iris-disc {
  width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(120% 120% at 35% 30%, #fcf9f4 0%, #e7ddcd 100%);
  border: 1px solid var(--rule);
  display: grid; place-items: center; overflow: hidden;
  position: relative; z-index: 2;
}
.prevention-visual .iris-disc svg { width: 86%; height: auto; }
.prevention-visual .ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--rule);
  width: min(480px, 116%); aspect-ratio: 1; z-index: 1;
}
.prevention-copy { max-width: 50ch; }
.prevention-copy h2 { font-size: clamp(32px, 4.2vw, 54px); margin: 22px 0 28px; }
.prevention-copy .lede { margin: 0 0 34px; }
.singularity {
  display: grid; gap: 0; margin: 0 0 36px; border-top: 1px solid var(--rule);
}
.singularity li {
  list-style: none; padding: 16px 0; border-bottom: 1px solid var(--rule);
  display: flex; gap: 16px; align-items: baseline;
}
.singularity .k { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 18px; flex: none; width: 26px; }
.singularity .v { font-size: 15px; color: var(--muted); }
.singularity .v strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   Bloc autorité
   ============================================================ */
.authority { text-align: center; }
.quote {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(26px, 3.8vw, 46px); line-height: 1.22;
  max-width: 20ch; margin: 0 auto; letter-spacing: 0.005em;
}
.quote .accent { color: var(--terracotta); }
.quote-by { margin-top: 30px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(50px, 6vw, 84px);
  border-top: 1px solid var(--rule);
}
.stat { padding: 38px 22px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--serif); font-size: clamp(40px, 5vw, 62px); line-height: 1; color: var(--ink); }
.stat .n em { font-style: italic; color: var(--terracotta); }
.stat .l { margin-top: 14px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ============================================================
   Avis patients (marquee)
   ============================================================ */
.reviews { position: relative; overflow: hidden; background: var(--ivory); }
.reviews-head { max-width: 720px; margin: 0 auto; text-align: center; }
.reviews-head .eyebrow { margin-bottom: 20px; }
.reviews-head h2 { font-size: clamp(30px, 4.4vw, 52px); }

.rev-score { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 10px; }
.rev-stars { display: inline-flex; gap: 3px; }
.rev-stars svg { width: 22px; height: 22px; fill: #C8902F; }
.rev-num { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--ink); }
.rev-num em { font-style: normal; font-size: 19px; color: var(--muted); }
.rev-count { font-size: 14px; color: var(--muted); }
.rev-verified { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.rev-verified svg { width: 16px; height: 16px; color: var(--sage); flex-shrink: 0; }

.rev-marquee {
  margin-top: clamp(40px, 5vw, 60px); position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rev-track { display: flex; gap: 24px; width: max-content; animation: rev-scroll 70s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes rev-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rev-card {
  flex: 0 0 340px; background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 30px 30px 26px; margin: 0;
  display: flex; flex-direction: column; min-height: 210px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.rev-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -26px rgba(42,39,36,.45); }
.rev-card-stars { display: inline-flex; gap: 2px; margin-bottom: 16px; }
.rev-card-stars svg { width: 15px; height: 15px; fill: #C8902F; }
.rev-card-txt { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--ink); margin: 0; flex: 1; font-style: italic; }
.rev-card-txt::before { content: "\201C"; color: var(--terracotta); margin-right: 2px; }
.rev-card-who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.rev-av { width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; flex-shrink: 0; }
.rev-meta { display: flex; flex-direction: column; line-height: 1.3; }
.rev-nm { font-family: var(--sans); font-weight: 700; font-size: 14px; }
.rev-src { font-size: 12.5px; color: var(--muted); }

.rev-cta { text-align: center; margin-top: clamp(40px, 5vw, 56px); }

@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; }
  .rev-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   Bloc pratique sombre
   ============================================================ */
.practical { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.practical .foliage { mix-blend-mode: screen; opacity: .08; }
.practical .foliage--p { bottom: -80px; left: -60px; width: 460px; height: 480px; }
.practical-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: start; position: relative; z-index: 2;
}
.practical .eyebrow { color: var(--terracotta); }
.practical h2 { font-size: clamp(32px, 4.4vw, 56px); color: var(--ivory); margin: 20px 0 0; }
.practical-lede { color: color-mix(in srgb, var(--ivory) 72%, transparent); margin: 26px 0 34px; max-width: 42ch; }

.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.info-item { border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent); padding-top: 16px; }
.info-item .t { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 8px; }
.info-item .d { font-family: var(--serif); font-size: 21px; color: var(--ivory); line-height: 1.3; }
.info-item .d small { display: block; font-family: var(--sans); font-size: 13px; color: color-mix(in srgb, var(--ivory) 66%, transparent); margin-top: 4px; letter-spacing: 0; }

.btn-doctolib { background: var(--terracotta); color: var(--ivory); }
.btn-doctolib:hover { background: var(--terracotta-deep); }
.urgences {
  margin-top: 28px; font-size: 13px;
  color: color-mix(in srgb, var(--ivory) 66%, transparent);
}
.urgences strong { color: var(--ivory); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ivory); padding-block: 54px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--rule); }
.footer-mono { max-width: 30ch; }
.footer-mono p { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.footer-links { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink); padding: 5px 0; transition: color .3s ease; }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 12px; color: var(--muted); }
.footer-bottom .legal { display: flex; gap: 26px; flex-wrap: wrap; }

/* ============================================================
   Entrance animations
   ============================================================ */
html.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
html.anim .reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 24px; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 460px; margin-inline: auto; order: -1; }
  .hero--portrait { min-height: 0; display: block; }
  .hero--portrait .hero-copy { max-width: none; margin-inline: auto; text-align: center; padding-top: 34px; padding-bottom: 14px; }
  .hero--portrait .hero-eyebrow { justify-content: center; }
  .hero--portrait .hero-actions { justify-content: center; }
  .hero--portrait .hero-intro { margin-inline: auto; }
  .hero--portrait .hero-figure { position: static; width: 100%; max-width: 360px; margin: 0 auto; }
  .hero--portrait .hero-figure img { height: auto; width: 100%; }
  .hero-mono { font-size: clamp(220px, 62vw, 380px); top: 40%; right: 50%; transform: translate(50%, -50%); opacity: .06; }
  .prevention-grid, .practical-grid { grid-template-columns: 1fr; }
  .header-bar, .header-rdv, .header-contact, .header-meta { display: none; }
  .site-header--center .menu-toggle { display: inline-flex; }
  .header-top { padding-block: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .info-list { grid-template-columns: 1fr; }
  .footer-links { gap: 30px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--ivory);
  display: flex; flex-direction: column; padding: 24px var(--pad);
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.mobile-menu.open { transform: none; }
.mobile-menu .mm-head { display: flex; align-items: flex-start; justify-content: space-between; min-height: 52px; }
.mobile-menu .btn { margin-top: 32px; justify-content: center; }
.icon-btn { background: none; border: 0; cursor: pointer; color: var(--ink); padding: 8px; display: inline-flex; }

/* ============================================================
   Mega-menu (Expertises)
   ============================================================ */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  box-shadow: 0 26px 50px -30px rgba(42,39,36,.28);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .32s ease, transform .32s ease;
}
.site-header.mega-open .mega { opacity: 1; transform: none; pointer-events: auto; }
.mega { max-height: calc(100vh - var(--header-h, 132px)); overflow-y: auto; overscroll-behavior: contain; }
.mega-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 40px clamp(28px, 5vw, 72px) 46px;
}
/* ---- Méga-menu : 3 colonnes pôles tout-visible + carte Prévention ---- */
.mega-master { display: block; }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.mega-col { min-width: 0; padding: 2px clamp(26px, 3vw, 52px); }
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child { padding-right: 0; }
.mega-col + .mega-col { border-left: 1px solid color-mix(in srgb, var(--rule) 65%, transparent); }

.mega-pole-h {
  display: inline-flex; align-items: baseline; gap: .34em;
  font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 1.55vw, 25px);
  line-height: 1.1; color: var(--ink); letter-spacing: .005em; transition: color .25s ease;
}
.mega-pole-h:hover { color: var(--terracotta); }
.mega-pole-arr { font-size: .6em; color: var(--terracotta); transition: transform .25s ease; }
.mega-pole-h:hover .mega-pole-arr { transform: translateX(4px); }
.mega-pole-note {
  margin: 7px 0 4px; font-family: var(--sans); font-size: 12.5px; line-height: 1.45;
  color: var(--muted); max-width: 32ch;
}

.mega-grp { margin-top: 18px; }
.mega-grp-h {
  display: inline-block; margin: 0 0 4px;
  font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--terracotta-deep); transition: color .2s ease;
}
a.mega-grp-h:hover { color: var(--terracotta); }
.mega-grp-h--static { color: var(--muted); }

.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { display: block; }
.mega-list a {
  display: flex; align-items: baseline; gap: 8px; padding: 5px 0;
  color: var(--ink); transition: color .2s ease, padding-left .2s ease;
}
.mega-list a:hover { color: var(--terracotta); padding-left: 6px; }
.mega-l { font-family: var(--serif); font-size: 16.5px; line-height: 1.3; }
.mega-tag {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta);
}

/* Carte de mise en avant Prévention & Longévité */
.mega-feature {
  display: block; margin-top: 26px; padding: clamp(16px, 1.4vw, 22px);
  background: var(--sage-soft); border-radius: 3px; transition: background .25s ease;
}
.mega-feature:hover { background: color-mix(in srgb, var(--sage) 32%, var(--sage-soft)); }
.mega-feature-eyebrow {
  display: block; font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-deep);
}
.mega-feature-title {
  display: block; margin: 7px 0; font-family: var(--serif); font-weight: 600;
  font-size: 20px; line-height: 1.15; color: var(--ink);
}
.mega-feature-txt {
  display: block; font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.mega-feature-cta {
  display: inline-block; margin-top: 11px; font-family: var(--sans); font-weight: 700;
  font-size: 11.5px; letter-spacing: .05em; color: var(--terracotta-deep); transition: color .2s ease;
}
.mega-feature:hover .mega-feature-cta { color: var(--terracotta); }

.mega-badge {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--terracotta-deep); background: color-mix(in srgb, var(--terracotta) 13%, var(--card));
  border: 1px solid color-mix(in srgb, var(--terracotta) 30%, transparent);
  padding: 3px 9px; border-radius: 999px;
}

/* ============================================================
   Mobile menu — accordéon Expertises
   ============================================================ */
.mobile-menu .mm-scroll { overflow-y: auto; margin-top: 22px; flex: 1; }
.mm-nav { display: flex; flex-direction: column; gap: 0; margin: 0; }

/* Niveau 0 : entrées de navigation principales (serif, fort contraste) */
.mm-nav > a,
.mm-expert-t { font-family: var(--serif); font-size: 23px; line-height: 1.15; color: var(--ink); }
.mm-nav > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mm-expert { border-bottom: 1px solid var(--rule); padding: 14px 0 10px; }
.mm-expert-t { display: block; margin-bottom: 4px; }

/* Niveau 1 : titre de pôle repliable (calqué sur .mega-pole-h du desktop) */
.mm-group { padding: 4px 0; border-bottom: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); }
.mm-group:last-child { border-bottom: 0; }
.mm-group-head { display: flex; align-items: center; gap: 8px; }
.mm-group-t { flex: 1; display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 8px 0; }
.mm-group-link { color: var(--ink); text-decoration: none; }
.mm-acc-toggle { flex: none; background: none; border: 0; cursor: pointer; color: var(--terracotta); padding: 10px 4px 10px 12px; display: inline-flex; align-items: center; }
.mm-acc-chev { transition: transform .25s ease; }
.mm-group.is-open .mm-acc-chev { transform: rotate(180deg); }
.mm-group-body { padding-bottom: 6px; }

/* Niveau 2 : sous-groupe (calqué sur .mega-grp-h : petit label terracotta) */
.mm-subhead { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-deep); margin: 14px 0 4px; padding-left: 13px; }

/* Niveau 3 : liens de pages (serif lisible, indenté sous le filet) */
.mm-group a { display: block; font-family: var(--serif); font-size: 16.5px; line-height: 1.3; color: var(--ink); padding: 8px 0 8px 13px; border-left: 1px solid var(--rule); }
.mm-group a:hover { color: var(--terracotta); }

.mobile-menu .mm-scroll > .btn { margin-top: 24px; width: 100%; }

/* ============================================================
   Sous-pages : bandeau, fil d'Ariane, contenu, CTA
   ============================================================ */
.page-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.page-band--soft { background: var(--card); }
.page-band-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 80px);
  align-items: center; padding-block: clamp(40px, 5vw, 72px);
}
.page-band--center .page-band-grid { grid-template-columns: 1fr; max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); margin-bottom: 26px; letter-spacing: .02em; }
.crumbs a { color: var(--muted); transition: color .25s ease; }
.crumbs a:hover { color: var(--terracotta); }
.crumbs .sep { color: var(--taupe); }
.crumbs .here { color: var(--ink); }
.page-eyebrow { margin-bottom: 18px; }
.page-band h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; margin: 0; }
.page-lead { margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 52ch; }
.page-band-actions { margin-top: 34px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Header d'expertise avec photo (texte à gauche, photo à droite) */
.page-band--photo .page-band-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.band-photo { position: relative; }
.band-photo img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: var(--r); border: 1px solid var(--rule);
  box-shadow: 0 34px 64px -42px rgba(42,39,36,.5);
}

.band-visual { position: relative; display: grid; place-items: center; }
.band-visual .iris-disc {
  width: min(380px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(120% 120% at 35% 30%, #fcf9f4 0%, #e7ddcd 100%);
  border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden;
}
.band-visual .iris-disc svg { width: 86%; height: auto; }
.band-visual .ring { position: absolute; border-radius: 50%; border: 1px solid var(--rule); width: min(430px, 112%); aspect-ratio: 1; }

/* Prose */
.page-body { padding-block: clamp(56px, 7vw, 96px); }
.prose-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) clamp(260px, 22vw, 320px); gap: clamp(32px, 3.4vw, 60px); align-items: start; }
.prose-aside { position: sticky; top: 104px; }
.prose-aside .eyebrow { margin-bottom: 16px; }
.prose-aside ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.prose-aside li a { display: block; padding: 11px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--rule); transition: color .25s ease, padding-left .25s ease; }
.prose-aside li a:hover { color: var(--terracotta); padding-left: 6px; }
.prose { max-width: 76ch; font-size: 17.5px; line-height: 1.72; }
.prose-rail { position: sticky; top: 104px; }
.rail-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(20px, 1.5vw, 28px); }
.rail-eyebrow { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-deep); }
.rail-title { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.12; color: var(--ink); margin: 9px 0 10px; }
.rail-txt { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.rail-btn { width: 100%; justify-content: center; text-align: center; }
.rail-link { display: inline-block; margin-top: 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--terracotta-deep); transition: color .2s ease; }
.rail-link:hover { color: var(--terracotta); }
@media (max-width: 1100px) {
  .prose-grid { grid-template-columns: 1fr; }
  .prose-aside, .prose-rail { position: static; }
  .prose-rail { max-width: 520px; }
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.8em; line-height: 1.12; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; font-family: var(--serif); font-weight: 600; margin-top: 1.5em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { color: var(--muted); padding-left: 0; list-style: none; margin-top: 1.1em; }
.prose ul li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--rule); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 7px; height: 1px; background: var(--terracotta); }
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--rule); counter-increment: step; }
.prose ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 17px; }
.prose .callout { background: var(--card); border: 1px solid var(--rule); border-left: 2px solid var(--terracotta); border-radius: var(--r); padding: 20px 24px; margin-top: 1.6em; }
.prose .callout p { margin: 0; color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 19px; }
.page-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta-deep); background: color-mix(in srgb, var(--terracotta) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--terracotta) 28%, transparent); padding: 6px 13px; border-radius: 999px;
}
.page-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.cta-band .foliage { mix-blend-mode: screen; opacity: .08; bottom: -90px; right: -50px; width: 420px; height: 460px; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 2; padding-block: clamp(54px, 6vw, 86px); }
.cta-band .eyebrow { color: var(--terracotta); }
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); color: var(--ivory); margin: 18px 0 0; }
.cta-band p { color: color-mix(in srgb, var(--ivory) 72%, transparent); margin: 22px 0 0; max-width: 44ch; }
.cta-actions { display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3vw, 46px); }
.blog-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; color: inherit;
  transition: border-color .3s ease, transform .3s ease;
}
.blog-card[aria-disabled="true"] { cursor: default; }
.blog-card:hover { border-color: var(--taupe); transform: translateY(-3px); }
.blog-card-media {
  display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 25%, #fbf8f3 0%, #ece3d4 100%);
  border-bottom: 1px solid var(--rule);
}
.blog-card-media svg { width: 58%; height: auto; opacity: .9; }
.blog-card-body { display: flex; flex-direction: column; gap: 11px; padding: clamp(24px, 2vw, 34px) clamp(24px, 2vw, 34px) clamp(26px, 2.2vw, 36px); flex: 1; }
.blog-card .r-k { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.blog-card-title { font-family: var(--serif); font-size: clamp(24px, 1.9vw, 30px); line-height: 1.14; color: var(--ink); }
.blog-card-ex { font-size: 15px; color: var(--muted); line-height: 1.6; }
.blog-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blog-card .r-arrow { color: var(--muted); font-size: 13.5px; }
.blog-card:hover .r-arrow { color: var(--terracotta); }
.blog-soon {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: var(--ivory); border: 1px solid var(--rule);
  padding: 4px 10px; border-radius: 999px;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form .field { display: flex; flex-direction: column; gap: 9px; }
.contact-form label { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-s);
  padding: 14px 16px; width: 100%; transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--taupe); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--terracotta) 14%, transparent);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .form-foot { display: flex; }
.contact-form .form-note {
  font-size: 13px; color: var(--muted); line-height: 1.6; margin: 4px 0 0;
  padding: 16px 18px; background: var(--card); border: 1px solid var(--rule);
  border-left: 2px solid var(--sage); border-radius: var(--r);
}
.contact-form .form-note a { color: var(--terracotta); border-bottom: 1px solid color-mix(in srgb, var(--terracotta) 40%, transparent); }

/* ============================================================
   Lot Rétine : cadres image, cartes pilier, correspondants, flag
   ============================================================ */

/* Cadres image placeholder */
.img-frame {
  position: relative; width: 100%; display: grid; place-content: center; justify-items: center;
  gap: 9px; text-align: center; padding: 30px;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--rule) 45%, transparent) 11px 12px),
    var(--card);
  border: 1px solid var(--rule); border-radius: var(--r); color: var(--muted); overflow: hidden;
}
.img-frame::before {
  content: ""; position: absolute; inset: 11px; border: 1px dashed var(--taupe);
  border-radius: 2px; pointer-events: none; opacity: .8;
}
.img-frame > * { position: relative; }
.img-frame .img-ic { color: var(--sage); }
.img-frame .img-ic svg { width: 40px; height: 40px; }
.img-frame .cap { font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.img-frame .sub { font-size: 12.5px; color: var(--taupe); max-width: 30ch; }
.img-frame--portrait { aspect-ratio: 4 / 5; }
.img-frame--wide { aspect-ratio: 16 / 9; margin: 1.7em 0; }

/* Cartes pilier (sous-pôles / pathologies) */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  display: flex; flex-direction: column; gap: 8px; background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r); padding: 30px 28px; color: inherit;
  position: relative; overflow: hidden; transition: border-color .35s ease, transform .35s ease;
}
.pillar::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.pillar:hover { border-color: var(--taupe); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .p-k { font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.pillar h3 { font-size: 25px; line-height: 1.1; margin: 3px 0; }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.pillar .go { margin-top: auto; padding-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; transition: color .3s ease, transform .3s ease; }
.pillar:hover .go { color: var(--terracotta); transform: translateX(3px); }

/* Bloc espace correspondants */
.correspondants { background: var(--ink); color: var(--ivory); border-radius: var(--r); padding: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
/* position: absolute ré-affirmé : la règle .correspondants > * ci-dessous le
   passerait en relative, et le décor occuperait 380px de haut dans le flux. */
.correspondants .foliage { position: absolute; mix-blend-mode: screen; opacity: .08; bottom: -90px; right: -40px; width: 360px; height: 380px; }
.correspondants > * { position: relative; z-index: 2; }
.correspondants .eyebrow { color: var(--terracotta); }
.correspondants h2 { color: var(--ivory); font-size: clamp(26px, 3vw, 40px); margin: 16px 0 0; }
.correspondants p { color: color-mix(in srgb, var(--ivory) 74%, transparent); margin: 18px 0 0; max-width: 62ch; }
.correspondants .corr-actions { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.correspondants .btn-ghost { color: var(--ivory); border-color: color-mix(in srgb, var(--ivory) 38%, transparent); }
.correspondants .btn-ghost:hover { border-color: var(--ivory); }

/* Marqueur éditorial [À VALIDER] */
.flag {
  display: inline; vertical-align: baseline;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--terracotta-deep); background: color-mix(in srgb, var(--terracotta) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--terracotta) 28%, transparent);
  padding: 1px 7px; border-radius: 4px; line-height: 1.7;
}
.flag b { font-weight: 700; text-transform: uppercase; font-size: 9.5px; letter-spacing: .1em; }
.flag em { font-style: normal; font-weight: 500; color: var(--muted); }
.prose .retour { margin-top: 2em; display: inline-flex; }

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Related cards */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a {
  display: flex; flex-direction: column; gap: 8px; background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r); padding: 26px 24px 28px;
  transition: border-color .3s ease, transform .3s ease;
}
.related a:hover { border-color: var(--taupe); transform: translateY(-3px); }
.related .r-k { font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.related .r-t { font-family: var(--serif); font-size: 22px; line-height: 1.12; }
.related .r-arrow { margin-top: auto; color: var(--muted); font-size: 13px; }

/* Generic list cards (publications, lieux) */
.stack { display: flex; flex-direction: column; }
.stack-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--rule); }
.stack-row:last-child { border-bottom: 1px solid var(--rule); }
.stack-row .yr { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 19px; }
.stack-row .ti { color: var(--ink); }
.stack-row .ti small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.stack-row .go { font-size: 12px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.stack-row .go:hover { color: var(--terracotta); }

@media (max-width: 1040px) {
  .mega-col { padding: 2px clamp(16px, 2vw, 30px); }
  .mega-l { font-size: 16px; }
}
@media (max-width: 900px) {
  .page-band-grid { grid-template-columns: 1fr; }
  /* Hero photo : forcer une seule colonne (sinon la règle .page-band--photo
     .page-band-grid à 2 colonnes l'emporte par spécificité et écrase la photo). */
  .page-band--photo .page-band-grid { grid-template-columns: 1fr; }
  .band-visual { order: -1; max-width: 360px; margin-inline: auto; }
  .page-band--photo .band-photo { order: -1; margin: 0 0 8px; }
  .page-band--photo .band-photo img {
    width: 100%; max-width: 520px; margin-inline: auto;
    aspect-ratio: 4 / 3;
  }
  .prose-grid { grid-template-columns: 1fr; }
  .prose-aside { position: static; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stack-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   Kit de contenu : onglets, frise d'étapes, carte à retenir, visuel
   ============================================================ */

/* --- Onglets --- */
.tabs { margin: 1.8em 0; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.tab {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 11px 18px; border-radius: var(--r) var(--r) 0 0; position: relative;
  transition: color .25s ease, background .25s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--terracotta); }
.tab.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--terracotta);
}
.tab-panel { display: none; animation: tabFade .25s ease; }
.tab-panel.is-active { display: block; }
@keyframes tabFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tab-panel h4 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin: 0 0 8px; }

/* --- Frise d'étapes --- (override des listes .prose) */
.prose ol.steps { list-style: none; counter-reset: none; margin: 1.6em 0; padding: 0; display: grid; gap: 4px; }
.prose ol.steps li.step {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 0; counter-increment: none; align-items: start;
}
.prose ol.steps li.step::before { content: none; }
.prose ol.steps li.step + li.step { border-top: 1px solid var(--rule); }
.step-n {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; color: var(--terracotta);
  border: 1px solid color-mix(in srgb, var(--terracotta) 45%, transparent);
  background: color-mix(in srgb, var(--terracotta) 7%, var(--card));
}
.step-c h4 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 6px 0 4px; }
.step-c p { margin: 0; color: var(--muted); }

/* --- Carte « À retenir » --- */
.keyfacts {
  background: var(--sage-soft); border: 1px solid color-mix(in srgb, var(--sage) 55%, transparent);
  border-radius: var(--r); padding: 24px 26px; margin: 1.8em 0;
}
.keyfacts-h {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 700;
  color: var(--sage); margin: 0 0 14px; display: flex; align-items: center; gap: 9px;
}
.keyfacts-h::before { content: ""; width: 18px; height: 1px; background: var(--sage); }
.prose .keyfacts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.prose .keyfacts ul li { position: relative; padding: 0 0 0 24px; border-bottom: 0; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.prose .keyfacts ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--terracotta);
}

/* --- Emplacement visuel (illustration / photo à venir) --- */
.fig--img .img-slot {
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--terracotta) 7%, transparent), transparent 60%),
    var(--card);
  color: var(--muted); text-align: center; padding: 24px;
}
.img-slot .img-slot-mark { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--terracotta); }
.img-slot .img-slot-note { font-size: 13px; line-height: 1.55; letter-spacing: .01em; max-width: 46ch; }

/* ===================== Pages-pôles : navigation par cartes photo (hub) ===================== */
.hub-grid { display: grid; gap: 18px; }
.hub-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hub-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hub-sub { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--ink); margin: 44px 0 18px; display: flex; align-items: center; gap: 14px; }
.hub-sub:first-child { margin-top: 0; }
.hub-sub::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.hub-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; background: var(--ink); }
.hub-grid--3 .hub-card { aspect-ratio: 3 / 4; }
.hub-grid--2 .hub-card { aspect-ratio: 16 / 10; }
.hub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hub-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(42,39,36,.12) 0%, rgba(42,39,36,0) 30%, rgba(42,39,36,.52) 62%, rgba(42,39,36,.88) 100%); }
.hub-card:hover img, .hub-card:focus-visible img { transform: scale(1.06); }
.hub-card .hc-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 24px; }
.hub-card .hc-k { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 10px; }
.hub-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.06; margin: 0; color: #fff; }
.hub-card p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.9); max-width: 42ch; }
.hub-card .hc-go { margin-top: 15px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.hub-card .hc-go .arrow { transition: transform .3s; }
.hub-card:hover .hc-go .arrow, .hub-card:focus-visible .hc-go .arrow { transform: translateX(5px); }
@media (max-width: 900px) {
  .hub-grid--3 { grid-template-columns: 1fr 1fr; }
  .hub-grid--2 { grid-template-columns: 1fr; }
  .hub-grid--3 .hub-card { aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  .hub-grid--3 { grid-template-columns: 1fr; }
  .hub-grid--3 .hub-card, .hub-grid--2 .hub-card { aspect-ratio: 16 / 10; }
}
