/* =========================================================
   PHYSIOLUM — Landing redesign
   Base system + 3 direction skins (Clarté / Clinique / Spectre)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

#page {
  /* ---- brand anchors (shared) ---- */
  --wine-50:  #FBF1EF;
  --wine-100: #F4E0D2;
  --wine-200: #E8C4C3;
  --wine-300: #CBA4A9;
  --wine-400: #A87986;
  --wine-500: #5F2032;
  --wine-600: #54202F;
  --wine-700: #3F1221;
  --wine-800: #2F0D18;
  --wine-900: #220811;
  --green: #6a9e8f;
  --gold:  #c79447;

  /* ---- warm sunset / halo system (from Physiolum app DS) ---- */
  --bourgogne: #5C1A33;
  --grenat:    #A52447;
  --orange:    #F26B1F;
  --ambre:     #F5A623;
  --ambre-light: #FFE4B8;
  --halo: linear-gradient(135deg, #5C1A33 0%, #A52447 35%, #F26B1F 70%, #F5A623 100%);
  --halo-glow: radial-gradient(circle at 50% 40%, rgba(245,166,35,0.35), rgba(242,107,31,0.18) 35%, transparent 70%);
  --f-ui: "Sora", system-ui, sans-serif;

  /* ---- tweakable gradient band backgrounds ---- */
  --color-primary: var(--bourgogne);   /* base for the tonal wash */
  --grad-tonal: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 88%, white 12%) 0%, var(--color-primary) 100%);

  /* ---- semantic (overridden per direction) ---- */
  --bg:        #FAF6F2;
  --bg-alt:    #F2E9E3;
  --ink:       #2C2126;
  --ink-soft:  #6a5a60;
  --hair:      rgba(95,32,50,0.14);
  --brand:     var(--wine-500);
  --brand-deep:var(--wine-700);
  --accent:    var(--green);
  --on-brand:  #FBF1EF;

  /* ---- type ---- */
  --f-head: "Cormorant Garamond", Georgia, serif;
  --f-body: "Lato", system-ui, sans-serif;
  --display-weight: 500;
  --title-tracking: -0.01em;
  --eyebrow-tracking: 0.26em;

  /* ---- rhythm ---- */
  --shell: 1180px;
  --gut: clamp(20px, 5vw, 76px);
  --sec-y: clamp(72px, 11vw, 152px);
  --radius: 18px;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- font tweaks ---- */
#page[data-headfont="libre"]   { --f-head: "Libre Baskerville", Georgia, serif; --display-weight: 400; --title-tracking: -0.005em; }
#page[data-headfont="lora"]    { --f-head: "Lora", Georgia, serif; --display-weight: 500; }
#page[data-headfont="fraunces"]{ --f-head: "Fraunces", Georgia, serif; --display-weight: 400; }
#page[data-bodyfont="dm"]      { --f-body: "DM Sans", system-ui, sans-serif; }
#page[data-bodyfont="instrument"] { --f-body: "Instrument Sans", system-ui, sans-serif; }

/* ---- accent tweaks ---- */
#page[data-accent="gold"]  { --accent: var(--gold); }
#page[data-accent="wine"]  { --accent: var(--wine-400); }
#page[data-accent="green"] { --accent: var(--green); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gut); }
section[id] { scroll-margin-top: 104px; }

/* ---------- shared typographic atoms ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.section-title {
  font-family: var(--f-head);
  font-weight: var(--display-weight);
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: var(--title-tracking);
  color: var(--brand-deep);
  margin: 0 0 0.55em;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--brand); }
.section-lede {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  max-width: 30ch;
}
#page[data-uppercase="on"] .section-title,
#page[data-uppercase="on"] .hero-title {
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.02em;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
}
#page[data-uppercase="on"] .section-title em,
#page[data-uppercase="on"] .hero-title em { font-style: normal; }

/* ---------- buttons — Physiolum app style (rounded-rect, Sora, halo) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--f-ui); font-weight: 500; font-size: 15px;
  letter-spacing: -0.005em;
  height: 54px; padding: 0 26px; border-radius: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn .arr { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 16px rgba(92,26,51,0.22);
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 26px rgba(92,26,51,0.28); }
.btn-gradient {
  background: var(--halo); color: #fff; background-size: 140% 140%; background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 22px rgba(242,107,31,0.26);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background-position .5s ease, box-shadow .25s;
}
.btn-gradient:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 32px rgba(242,107,31,0.34); }
.btn-ghost {
  color: var(--brand-deep);
  background: color-mix(in srgb, #fff 52%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border-color: color-mix(in srgb, #fff 70%, transparent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 22px rgba(92,26,51,0.14);
}
.btn-ghost:hover {
  border-color: #fff;
  background: color-mix(in srgb, #fff 70%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 12px 28px rgba(92,26,51,0.2);
}
.btn-light { background: var(--on-brand); color: var(--brand-deep); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 22px rgba(0,0,0,0.18); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.26); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap;
  font-family: var(--f-ui); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand); text-decoration: none;
}
.link-arrow span { transition: transform .3s; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow.strong { font-size: 14px; }
.link-quiet { font-size: 14px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 2px; }
.link-quiet:hover { color: var(--brand); border-color: var(--brand); }
.link-quiet.on-dark { color: var(--wine-200); border-color: rgba(255,255,255,.25); }
.link-quiet.on-dark:hover { color: #fff; border-color: #fff; }

/* RDV band sits on a warm sphere glow — the halo-gradient button blends into
   it and loses definition. Swap to a high-contrast cream button (deep-wine
   text) that reads crisply on the dark band, and brighten the secondary link. */
.rdv .btn-gradient {
  background: #FBF1EF; background-image: none; color: var(--bourgogne);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 30px rgba(20,8,14,.36);
}
.rdv .btn-gradient:hover {
  background: #fff; background-image: none; background-position: 0 0;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 16px 40px rgba(20,8,14,.46);
}
.rdv .link-quiet.on-dark { color: #FBF1EF; border-color: rgba(255,255,255,.5); }
.rdv .link-quiet.on-dark:hover { color: #fff; border-color: #fff; }

/* ---------- media slots ---------- */
.media-slot { display: block; width: 100%; background: var(--bg-alt); }
.media-tall { height: clamp(440px, 46vw, 600px); }
.media-portrait { height: clamp(440px, 42vw, 580px); }
image-slot { box-shadow: 0 30px 60px -30px rgba(95,32,50,.35); }

/* =========================================================
   HEADER
   ========================================================= */
/* shared brand wordmark (header + footer) */
.brand {
  font-family: var(--f-head); font-weight: 600; font-size: 27px;
  letter-spacing: 0.01em; color: var(--brand-deep); text-decoration: none;
}
.brand sup { font-size: 0.42em; top: -1.1em; font-weight: 400; }

/* ---- floating pill header ---- */
.hx {
  position: fixed; top: clamp(12px, 1.7vw, 24px); left: 50%; transform: translateX(-50%);
  z-index: 80; width: calc(100% - 26px); max-width: 1180px;
}
.hx-bar {
  display: flex; align-items: center; gap: 1.1rem; height: 64px;
  padding: 0 12px 0 18px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 1px 2px rgba(34,8,17,.05), 0 12px 30px -14px rgba(95,32,50,.2), 0 30px 60px -34px rgba(95,32,50,.28);
}
.hx-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.hx-badge {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--halo);
  box-shadow: inset 0 0 9px rgba(255,255,255,.45), 0 5px 14px -5px rgba(92,26,51,.55);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hx-badge-img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 5px; }
.hx-brand:hover .hx-badge { transform: scale(1.06); }
.hx-brand-name { font-family: var(--f-head); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; color: var(--brand-deep); white-space: nowrap; }
.hx-brand-name sup { font-size: 0.42em; top: -1.05em; font-weight: 400; opacity: .8; }

.hx-nav { display: flex; align-items: center; gap: clamp(6px, 1.3vw, 20px); margin-left: auto; }
.hx-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-ui); font-size: 14.5px; font-weight: 500; letter-spacing: -0.012em;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  white-space: nowrap; padding: 4px 2px;
}
.hx-link::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--brand); transition: width .22s ease; }
.hx-link:hover { color: var(--brand); }
.hx-link:hover::after { width: 100%; }

.hx-methodes { position: relative; }
.hx-methodes-trigger { padding: 7px 13px; border-radius: 999px; transition: background .2s, color .2s, transform .25s; }
.hx-methodes-trigger::after { display: none; }
.hx-methodes:hover .hx-methodes-trigger { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); transform: translateY(-1px); }
.hx-chev { font-size: 13px; opacity: .6; transition: transform .3s cubic-bezier(.16,1,.3,1); display: inline-block; }
.hx-methodes:hover .hx-chev { transform: rotate(180deg); }

.hx-dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%; width: 360px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .32s cubic-bezier(.16,1,.3,1), visibility 0s linear .25s;
}
.hx-dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.hx-methodes:hover .hx-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.hx-dropdown-panel {
  display: flex; flex-direction: column; gap: 2px; border-radius: 22px; overflow: hidden;
  background: color-mix(in srgb, var(--bg-alt) 70%, var(--hair));
  border: 1px solid var(--hair);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 7%, transparent), 0 26px 54px -18px rgba(95,32,50,.3), 0 48px 80px -24px rgba(34,8,17,.16);
}
.hx-method-card { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; text-decoration: none; }
.hx-method-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.16,1,.3,1); }
.hx-method-card:hover img { transform: scale(1.07); }
.hx-method-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(34,8,17,.82) 0%, rgba(34,8,17,.32) 46%, transparent 76%); transition: background .3s; }
.hx-method-card:hover .hx-method-scrim { background: linear-gradient(to top, rgba(34,8,17,.88) 0%, rgba(34,8,17,.4) 50%, transparent 80%); }
.hx-method-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 15px 18px; display: flex; flex-direction: column; gap: 2px; }
.hx-method-title { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; line-height: 1.15; color: #fff; }
.hx-method-desc { font-size: 13px; color: rgba(255,255,255,.82); }

.hx-cta {
  display: inline-flex; align-items: center; gap: 9px; margin-left: 4px;
  font-family: var(--f-ui); font-weight: 500; font-size: 14px; letter-spacing: -0.005em;
  padding: 8px 9px 8px 18px; border-radius: 13px; text-decoration: none; white-space: nowrap;
  background: var(--halo); color: #fff; background-size: 140% 140%; background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 22px rgba(242,107,31,0.26);
  transition: transform .25s, box-shadow .25s, background-position .5s ease;
}
.hx-cta:hover { transform: translateY(-1px); background-position: 100% 50%; box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 32px rgba(242,107,31,0.34); }
.hx-cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.26); font-size: 13px; transition: transform .25s, background .25s; }
.hx-cta:hover .hx-cta-icon { transform: translateX(2px); background: rgba(255,255,255,.32); }

.hx-burger {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center; flex: none;
  border-radius: 13px; border: 1px solid var(--hair); margin-left: auto;
  background: color-mix(in srgb, var(--brand) 5%, transparent); color: var(--brand-deep);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s;
}
.hx-burger:hover { background: color-mix(in srgb, var(--brand) 11%, transparent); }

.hx-mobile { display: none; }
.hx-mobile-card { display: flex; align-items: center; gap: 13px; padding: 11px; border-radius: 16px; text-decoration: none; transition: background .18s; }
.hx-mobile-card:hover { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.hx-mobile-thumb { width: 58px; height: 44px; border-radius: 11px; overflow: hidden; flex: none; }
.hx-mobile-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hx-mobile-mtitle { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; color: var(--brand-deep); line-height: 1.2; }
.hx-mobile-msub { font-size: 12.5px; color: var(--ink-soft); }
.hx-mobile-link { display: block; padding: 14px 12px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; border-top: 1px solid var(--hair); }
.hx-mobile-link:hover { color: var(--brand); }
.hx-mobile-cta { margin-top: 14px; width: 100%; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(600px, 88vh, 900px); overflow: hidden; padding-top: clamp(70px, 7vw, 96px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(96deg,
    color-mix(in srgb, var(--bg) 95%, transparent) 0%,
    color-mix(in srgb, var(--bg) 90%, transparent) 30%,
    color-mix(in srgb, var(--bg) 58%, transparent) 50%,
    color-mix(in srgb, var(--bg) 14%, transparent) 72%,
    transparent 92%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(40px,6vw,72px); padding-bottom: clamp(40px,6vw,72px); }

/* optional warm ShaderGradient glow over the hero photo — kept very faint and
   screen-blended so it only lifts the warm highlights (data-heroshader) */
.hero-shader { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; mix-blend-mode: screen; transition: opacity 1.4s ease; }
.hero-shader canvas { display: block; width: 100% !important; height: 100% !important; }
#page[data-heroshader="on"] .hero-shader.is-on { opacity: .42; }
.hero-copy { max-width: 37rem; }
.hero-title {
  font-family: var(--f-head); font-weight: var(--display-weight);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.14;
  letter-spacing: var(--title-tracking); color: var(--brand-deep);
  margin: 0 0 28px;
}
.hero-title em { font-style: italic; color: var(--brand); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); margin: 0 0 34px; max-width: 32rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--hair); }
.hero-trust li { position: relative; font-family: var(--f-ui); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; padding-left: 18px; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }

/* hero layout variants */
#page[data-hero="centre"] .hero { text-align: center; justify-content: center; }
#page[data-hero="centre"] .hero-scrim { background: color-mix(in srgb, var(--bg) 60%, transparent); }
#page[data-hero="centre"] .hero-copy { max-width: 760px; margin: 0 auto; }
#page[data-hero="centre"] .hero-title { font-size: clamp(2.3rem, 4.8vw, 4rem); }
#page[data-hero="centre"] .hero-sub { margin-inline: auto; }
#page[data-hero="centre"] .hero-actions, #page[data-hero="centre"] .hero-trust { justify-content: center; }
#page[data-hero="centre"] .hero-trust { display: inline-flex; }

#page[data-hero="split"] .hero { background: var(--bg); min-height: clamp(520px, 72vh, 740px); }
#page[data-hero="split"] .hero-img { left: auto; right: 0; width: 47%; }
#page[data-hero="split"] .hero-scrim { display: none; }

/* --- BAS — cinematic, copy pinned to the bottom over a full-bleed photo --- */
#page[data-hero="bas"] .hero { align-items: flex-end; }
#page[data-hero="bas"] .hero-img { object-position: 60% center; }
#page[data-hero="bas"] .hero-scrim {
  background: linear-gradient(0deg,
    color-mix(in srgb, var(--bg) 94%, transparent) 0%,
    color-mix(in srgb, var(--bg) 76%, transparent) 26%,
    color-mix(in srgb, var(--bg) 30%, transparent) 58%,
    transparent 88%);
}
#page[data-hero="bas"] .hero-inner { padding-bottom: clamp(44px, 6vw, 88px); }
#page[data-hero="bas"] .hero-copy { max-width: 46rem; }
#page[data-hero="bas"] .hero-title { font-size: clamp(2.9rem, 6.2vw, 5.3rem); line-height: 1.07; margin-bottom: 22px; }
#page[data-hero="bas"] .hero-sub { max-width: 34rem; }

/* --- CARTE — copy housed in a frosted glass panel floating on the image --- */
#page[data-hero="carte"] .hero-scrim {
  background: linear-gradient(96deg,
    color-mix(in srgb, var(--bg) 34%, transparent) 0%,
    color-mix(in srgb, var(--bg) 10%, transparent) 46%,
    transparent 72%);
}
#page[data-hero="carte"] .hero-copy {
  max-width: 37rem;
  padding: clamp(30px, 3.4vw, 50px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid color-mix(in srgb, var(--brand-deep) 12%, transparent);
  border-radius: 22px;
  box-shadow: 0 40px 90px -48px rgba(20, 14, 8, 0.55);
}

/* --- ÉDITORIAL — oversized title, thin accent rule, refined left margin --- */
#page[data-hero="editorial"] .hero-scrim {
  background: linear-gradient(96deg,
    color-mix(in srgb, var(--bg) 96%, transparent) 0%,
    color-mix(in srgb, var(--bg) 88%, transparent) 36%,
    color-mix(in srgb, var(--bg) 40%, transparent) 64%,
    transparent 90%);
}
#page[data-hero="editorial"] .hero-copy { max-width: 44rem; padding-left: clamp(22px, 2.4vw, 34px); border-left: 2px solid var(--accent); }
#page[data-hero="editorial"] .eyebrow { margin-bottom: 6px; }
#page[data-hero="editorial"] .hero-title { font-size: clamp(3rem, 7vw, 6rem); line-height: 1.04; letter-spacing: -0.012em; margin-bottom: 26px; }
#page[data-hero="editorial"] .hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.32rem); max-width: 33rem; }

/* --- HAUT — copy anchored to the top, scrim falling from above --- */
#page[data-hero="haut"] .hero { align-items: flex-start; }
#page[data-hero="haut"] .hero-scrim {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg) 95%, transparent) 0%,
    color-mix(in srgb, var(--bg) 80%, transparent) 26%,
    color-mix(in srgb, var(--bg) 30%, transparent) 58%,
    transparent 86%);
}
#page[data-hero="haut"] .hero-inner { padding-top: clamp(18px, 2.4vw, 36px); padding-bottom: 0; }
#page[data-hero="haut"] .hero-copy { max-width: 44rem; }

/* --- ANGLE — copy pushed to the right, right-aligned, scrim from that side --- */
#page[data-hero="angle"] .hero { justify-content: flex-end; text-align: right; }
#page[data-hero="angle"] .hero-img { object-position: 28% center; }
#page[data-hero="angle"] .hero-scrim {
  background: linear-gradient(264deg,
    color-mix(in srgb, var(--bg) 95%, transparent) 0%,
    color-mix(in srgb, var(--bg) 88%, transparent) 34%,
    color-mix(in srgb, var(--bg) 40%, transparent) 64%,
    transparent 90%);
}
#page[data-hero="angle"] .hero-copy { max-width: 40rem; margin-left: auto; }
#page[data-hero="angle"] .hero-sub { margin-left: auto; }
#page[data-hero="angle"] .hero-actions { justify-content: flex-end; }

/* --- RUBAN — copy housed in a solid deep-brand block at the bottom --- */
#page[data-hero="ruban"] .hero { align-items: flex-end; }
#page[data-hero="ruban"] .hero-scrim {
  background: linear-gradient(0deg,
    color-mix(in srgb, var(--bg) 24%, transparent) 0%,
    transparent 64%);
}
#page[data-hero="ruban"] .hero-inner { padding-bottom: 0; }
#page[data-hero="ruban"] .hero-copy {
  max-width: 42rem;
  padding: clamp(34px, 3.6vw, 56px);
  background: var(--brand-deep);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -30px 80px -50px rgba(20, 14, 8, 0.6);
}
#page[data-hero="ruban"] .eyebrow { color: color-mix(in srgb, var(--accent) 72%, white); }
#page[data-hero="ruban"] .hero-title { color: var(--on-brand); }
#page[data-hero="ruban"] .hero-title em { color: color-mix(in srgb, var(--accent) 78%, white); }
#page[data-hero="ruban"] .hero-sub { color: color-mix(in srgb, #fff 82%, transparent); }
#page[data-hero="ruban"] .hero-copy .btn-ghost {
  color: #fbf1ef; -webkit-text-fill-color: #fbf1ef;
  background: color-mix(in srgb, #fff 12%, transparent);
  border-color: color-mix(in srgb, #fff 34%, transparent);
}
#page[data-hero="ruban"] .hero-copy .btn-ghost:hover {
  border-color: #fff; background: color-mix(in srgb, #fff 10%, transparent);
}

/* =========================================================
   BANNER (pull quote)
   ========================================================= */
.banner { background: var(--bg-alt); padding: var(--sec-y) 0; text-align: center; }
.banner-quote { font-family: var(--f-head); font-weight: var(--display-weight); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.16; color: var(--brand-deep); margin: 0; letter-spacing: var(--title-tracking); }
.banner-quote .muted { color: var(--wine-300); }
.banner-quote em { font-style: italic; color: var(--brand); }
.banner-alt { background: var(--bg); }
.banner-alt .accent-ink { color: var(--brand); }

/* =========================================================
   BANNER « douleur » — alternate designs (data-bquote)
   centre (default) · souligne · echo. Layout/treatment only —
   colours inherit from the active band so every direction stays readable.
   ========================================================= */
/* SOULIGNÉ — left-aligned, oversized, accent underline under the 2nd line */
#page[data-bquote="souligne"] .banner.tone-dark { text-align: left; }
#page[data-bquote="souligne"] .banner.tone-dark .banner-quote {
  margin: 0 auto 0 0; max-width: 20ch;
  font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.1;
}
#page[data-bquote="souligne"] .banner.tone-dark .banner-quote .muted {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 98%;
  background-size: 100% 0.09em; padding-bottom: 0.08em;
}

/* ÉCHO — small kicker lead-in, huge focal statement underneath */
#page[data-bquote="echo"] .banner.tone-dark .banner-quote {
  font-family: var(--f-ui); font-weight: 600;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.2em; text-transform: uppercase;
}
#page[data-bquote="echo"] .banner.tone-dark .banner-quote br { display: none; }
#page[data-bquote="echo"] .banner.tone-dark .banner-quote .muted {
  display: block; margin-top: 18px; text-transform: none;
  font-family: var(--f-head); font-weight: var(--display-weight);
  font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.06;
  letter-spacing: var(--title-tracking);
}
/* on a gradient band: gold kicker, bright focal line for max contrast */
#page[data-bquote="echo"][data-bands="tonal"] .banner.tone-dark .banner-quote,
#page[data-bquote="echo"][data-bands="halo"]  .banner.tone-dark .banner-quote { color: var(--ambre-light); }
#page[data-bquote="echo"][data-bands="tonal"] .banner.tone-dark .banner-quote .muted,
#page[data-bquote="echo"][data-bands="halo"]  .banner.tone-dark .banner-quote .muted { color: #fff; }

/* =========================================================
   METHODS
   ========================================================= */
.methods { padding: calc(var(--sec-y) * 1.4) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 68px); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); }
.method-card {
  position: relative; background: var(--bg-alt); border: 1px solid var(--hair);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.method-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(95,32,50,.4); }
.method-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.method-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.method-card:hover .method-photo img { transform: scale(1.045); }
.method-body { padding: clamp(26px, 3vw, 42px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.method-swatch { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 20px; }
.swatch-red { background: linear-gradient(140deg, #e0533f, #b81e2e); box-shadow: inset 0 0 22px rgba(255,180,140,.5); }
.swatch-spectrum { background: conic-gradient(from 210deg, #e0533f, #e9a23d, #6a9e8f, #5577b8, #8c5aa8, #e0533f); }
.method-name { font-family: var(--f-head); font-weight: var(--display-weight); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--brand-deep); margin: 0 0 12px; }
.method-desc { color: var(--ink-soft); margin: 0 0 26px; max-width: 34ch; flex: 1; }
/* =========================================================
   LM MÉTHODES — dark diptych (recreated from reference)
   ========================================================= */
.lm-section {
  position: relative; overflow: clip;
  padding: clamp(5.5rem, 8.5vw, 8rem) 0;
  background: #241019; color: var(--wine-50);
  z-index: 0;
}
.lm-glow, .lm-grain { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
/* glow removed — the méthodes ground stays a uniform #241019 so the
   organic seam above it reads cleanly with no abrupt top-edge step. */
.lm-glow { display: none; }
.lm-grain {
  opacity: .05; mix-blend-mode: screen; background-size: 180px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjU2IDI1NicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nNCcgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPjwvc3ZnPg==");
}
.lm-shell {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gut);
  display: grid; gap: clamp(2.25rem, 4.5vw, 3.5rem);
}
.lm-intro { display: grid; gap: 1.1rem; justify-items: center; text-align: center; max-width: 44rem; margin: 0 auto; }
/* editorial eyebrow — mirrors the shared .eyebrow (leading rule + wide tracking),
   tuned amber so it reads on the dark méthodes ground */
.lm-kicker {
  display: inline-flex; align-items: center; gap: 0.9em;
  margin: 0; font-family: var(--f-ui); font-size: 12px; font-weight: 600;
  letter-spacing: var(--eyebrow-tracking); text-transform: uppercase;
  color: color-mix(in srgb, var(--ambre) 86%, white);
}
.lm-kicker::before {
  content: ""; flex: none; width: clamp(20px, 2.4vw, 34px); height: 1px;
  background: currentColor; opacity: .5;
}
.lm-title {
  margin: 0; max-width: 20ch; font-family: var(--f-head); font-weight: var(--display-weight);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.14; letter-spacing: var(--title-tracking);
  color: #fff; text-wrap: balance;
}
/* match the shared .section-title em treatment — italic, colored, no underline */
.lm-title-emph {
  font-style: italic;
  color: color-mix(in srgb, var(--ambre) 92%, white);
}
/* lead reads like the shared italic-serif .section-lede */
.lm-lead {
  margin: 0; max-width: 32ch; font-family: var(--f-head); font-style: italic;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.42; color: rgba(255,255,255,.8);
}
.lm-diptych { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; justify-items: center; }
.lm-entry { display: grid; gap: .75rem; justify-items: center; text-align: center; text-decoration: none; color: inherit; padding-inline: clamp(0rem, 1vw, .75rem); }
.lm-entry-figure {
  position: relative; width: clamp(16rem, 32vw, 22rem); aspect-ratio: 4 / 5;
  border-radius: 1.1rem; overflow: hidden; isolation: isolate;
  background: color-mix(in srgb, var(--ambre-light) 26%, white);
  --lm-glow-color: color-mix(in srgb, var(--orange) 55%, transparent);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.7);
}
.lm-entry-photo { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.lm-entry-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: radial-gradient(circle at 50% 50%, var(--lm-glow-color) 0%, transparent 44%);
  animation: lm-light-pulse 5.4s ease-in-out infinite; will-change: opacity, transform;
}
.lm-entry:nth-of-type(1) .lm-entry-figure { --lm-glow-color: #F5A623; animation: lm-hue-wobble 7.6s ease-in-out infinite; }
.lm-entry:nth-of-type(2) .lm-entry-figure { animation: lm-hue-cycle 22s linear infinite; }
/* method names rendered as editorial serif headings, like the shared .method-name */
.lm-entry-label {
  margin-top: .65rem; font-family: var(--f-head); font-weight: var(--display-weight);
  font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.1; letter-spacing: var(--title-tracking);
  text-transform: none; color: #fff;
}
.lm-entry-text { margin: 0; max-width: 28ch; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.72); }
.lm-entry-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-family: var(--f-ui); font-size: .82rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; color: color-mix(in srgb, var(--ambre) 88%, white); }
.lm-entry-cta-text { border-bottom: 1px solid color-mix(in srgb, var(--ambre) 42%, transparent); padding-bottom: 2px; transition: border-color .3s ease; }
.lm-entry-arrow { display: inline-block; transition: transform .3s ease; }
@media (hover: hover) {
  .lm-entry:hover .lm-entry-photo { transform: scale(1.035); }
  .lm-entry:hover .lm-entry-arrow { transform: translateX(.28rem); }
  .lm-entry:hover .lm-entry-cta-text { border-color: color-mix(in srgb, var(--ambre) 78%, transparent); }
}
.lm-cta { display: flex; justify-content: center; }
.lm-ghost-btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.6em;
  font-family: var(--f-ui); font-size: 15px; font-weight: 600; letter-spacing: .01em; color: #fff;
  background: var(--halo); background-size: 140% 140%; background-position: 0% 50%;
  border: 0; border-radius: 9999px; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 22px rgba(242,107,31,0.26);
  transition: background-position .5s ease, box-shadow .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.lm-ghost-btn:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 32px rgba(242,107,31,0.34); }
.lm-footnote { margin: 0 auto; max-width: 38ch; text-align: center; font-size: .92rem; line-height: 1.7; color: rgba(255,255,255,.58); }
@keyframes lm-light-pulse { 0%, 100% { opacity: .34; transform: scale(.96); } 50% { opacity: .62; transform: scale(1.06); } }
@keyframes lm-hue-wobble { 0%, 100% { filter: hue-rotate(-14deg); } 50% { filter: hue-rotate(6deg); } }
@keyframes lm-hue-cycle { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lm-entry-figure, .lm-entry-figure::after { animation: none !important; }
}
/* schemax infographic sits as a light inset panel within the dark méthodes */
.lm-section .schemax { margin-top: clamp(1rem, 2vw, 2rem); box-shadow: 0 40px 90px -50px rgba(0,0,0,.75); }

.method-schema { margin: clamp(36px,5vw,64px) 0 0; text-align: center; }

/* === Native infographic (replaces the raster schema) === */
.schemax {
  margin: clamp(44px, 6vw, 80px) 0 0;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 3.4vw, 48px) clamp(26px, 3.4vw, 44px);
  background:
    radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--ambre) 16%, transparent), transparent 58%),
    var(--bg);
  border: 1px solid var(--hair);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 30px 70px -46px rgba(95,32,50,.42);
  text-align: left;
}
.schemax-head { text-align: center; max-width: 40ch; margin: 0 auto clamp(26px, 3vw, 40px); }
.schemax-title {
  font-family: var(--f-head); font-weight: var(--display-weight);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: var(--title-tracking);
  color: var(--brand-deep); margin: 0;
}
.schemax-title em { font-style: italic; color: var(--grenat); }
.schemax-sub {
  font-family: var(--f-head); font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-soft);
  margin: .5em auto 0; max-width: 36ch;
}

.schemax-stage {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}

/* benefit columns */
.schemax-col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 34px); }
.schemax-item { display: flex; align-items: flex-start; gap: 15px; }
.schemax-col--r .schemax-item { flex-direction: row-reverse; text-align: right; }
.schemax-ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--grenat) 11%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--grenat) 22%, transparent);
  color: var(--brand);
}
.schemax-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.schemax-tx { font-size: clamp(.94rem, 1.4vw, 1.04rem); line-height: 1.4; color: var(--ink-soft); padding-top: 4px; max-width: 22ch; }
.schemax-tx strong { display: block; font-weight: 700; color: var(--brand-deep); }

/* center diagram */
.schemax-core { align-self: stretch; display: flex; flex-direction: column; align-items: center; }
.schemax-emitters { display: grid; grid-template-columns: repeat(3, 1fr); width: 86%; max-width: 220px; margin-bottom: 6px; }
.schemax-emit { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.schemax-nm {
  font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-deep);
}
.schemax-nm i { font-style: normal; font-size: 9px; opacity: .62; margin-left: 1px; }
.schemax-ring {
  width: 26px; height: 11px; border-radius: 50%;
  background: radial-gradient(60% 90% at 50% 50%, #ff6a4d, #d62f3a 70%);
  box-shadow: 0 0 14px 2px rgba(242,107,31,.8), 0 0 4px rgba(255,120,80,.9);
}
.schemax-tissue {
  position: relative; width: 100%; min-height: clamp(230px, 30vw, 300px);
  border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(180deg,
      #f7ddd2 0%, #f3c9c4 24%,
      #e7a9ad 24%, #d98f9a 50%,
      #c06d73 50%, #a8525c 74%,
      #efe2dd 74%, #f6efe9 100%);
  box-shadow: inset 0 0 0 1px rgba(95,32,50,.12), inset 0 14px 30px -18px rgba(34,8,17,.4);
}
/* light beams penetrating to different depths (940nm deepest) */
.schemax-beam {
  position: absolute; top: 0; width: 18%;
  background: linear-gradient(180deg, rgba(255,170,120,.95), rgba(245,90,70,.5) 55%, rgba(214,47,58,0) 100%);
  filter: blur(2px); mix-blend-mode: screen;
}
.schemax-beam--1 { left: 17%; height: 56%; }
.schemax-beam--2 { left: 41%; height: 70%; }
.schemax-beam--3 { left: 65%; height: 86%; }
.schemax-depths {
  position: absolute; left: 0; top: 0; height: 100%; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 9px 0 7px; pointer-events: none;
}
.schemax-depths i {
  font-family: var(--f-ui); font-style: normal; font-size: 9.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(58,16,28,.62); padding-left: 12px;
}
.schemax-depths i:nth-child(3) { color: rgba(255,255,255,.82); }
.schemax-foot {
  margin: clamp(26px, 3.2vw, 40px) auto 0; max-width: 60ch;
  text-align: center; font-size: 14.5px; color: var(--ink-soft);
}

@media (max-width: 820px) {
  .schemax-stage { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 34px); }
  .schemax-core { order: -1; max-width: 320px; margin: 0 auto; }
  .schemax-col { gap: 22px; }
  .schemax-col--r .schemax-item { flex-direction: row; text-align: left; }
  .schemax-tx { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .schemax-ring { animation: schemax-pulse 3.2s ease-in-out infinite; }
  .schemax-emit:nth-child(2) .schemax-ring { animation-delay: .5s; }
  .schemax-emit:nth-child(3) .schemax-ring { animation-delay: 1s; }
}
@keyframes schemax-pulse {
  0%, 100% { box-shadow: 0 0 12px 1px rgba(242,107,31,.6), 0 0 4px rgba(255,120,80,.8); }
  50% { box-shadow: 0 0 20px 4px rgba(242,107,31,.95), 0 0 7px rgba(255,140,90,1); }
}

/* =========================================================
   BANNER 1 — kinetic "problem" panel (adapted from zip)
   ========================================================= */
.pk-section {
  --font-serif: var(--f-head);
  --color-text-main: var(--wine-50);
  --color-primary: var(--orange);
  --color-support-green: var(--ambre);
  --motion-ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --home6-bg-b:
    linear-gradient(90deg, rgba(34,8,17,0.58) 0%, rgba(34,8,17,0.14) 48%, rgba(34,8,17,0) 72%),
    var(--halo);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--home6-bg-b);
  padding: clamp(7.5rem, 12vw, 13rem) 0;
}
.pk-section--clip {
  clip-path: url(#pkWaveTop);
  margin-top: clamp(-72px, -6vw, -46px);
  position: relative;
  z-index: 2;
  /* fade the banner's foot into the méthodes ground (#241019) so the
     organic seam dips orange → dark cleanly, with no muddy wine sliver
     showing through the transparent crest of the wave below. */
  background:
    linear-gradient(to bottom,
      transparent 56%,
      color-mix(in srgb, #241019 70%, transparent) 80%,
      #241019 100%),
    var(--home6-bg-b);
}
.pk-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--shell);
  margin: 0 auto; padding-inline: var(--gut);
}
.pk-headline {
  margin: 0; max-width: 22ch;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 0.96; letter-spacing: -0.02em;
  color: var(--color-text-main); text-align: left; text-transform: none;
}
.pk-line { display: block; position: relative; }
.pk-word-wrap { display: inline-block; position: relative; overflow: visible; vertical-align: baseline; }
.pk-word-wrap + .pk-word-wrap { margin-left: 0.28em; }
.pk-word { display: inline-block; }
.pk-word--emph {
  font-style: italic;
  /* white → mauve/purple wash drawn from the wine palette */
  background: linear-gradient(150deg, var(--wine-50) 0%, var(--wine-300) 46%, var(--wine-400) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.pk-section[data-revealed] .pk-word {
  animation: pk-word-in 880ms var(--motion-ease-emphasized) both;
  animation-delay: calc(260ms + (var(--line-i, 0) * 220ms) + (var(--word-i, 0) * 70ms));
}
.pk-section[data-revealed] .pk-word--emph {
  animation:
    pk-word-in 880ms var(--motion-ease-emphasized) both,
    pk-emph-pulse 3.2s ease-in-out infinite;
  animation-delay:
    calc(260ms + (var(--line-i, 0) * 220ms) + (var(--word-i, 0) * 70ms)),
    calc(260ms + (var(--line-i, 0) * 220ms) + (var(--word-i, 0) * 70ms) + 1400ms);
  transform-origin: center bottom; will-change: transform, text-shadow;
}
.pk-underline {
  position: absolute; left: 0; right: 0; bottom: -0.12em;
  width: 100%; height: 0.28em; fill: none;
  stroke: color-mix(in oklch, var(--color-primary) 72%, transparent);
  stroke-width: 1.4; stroke-linecap: round;
}
.pk-section[data-revealed] .pk-underline {
  animation:
    pk-underline-draw 900ms var(--motion-ease-emphasized) both,
    pk-underline-reink 14s ease-in-out infinite;
  animation-delay:
    calc(260ms + (var(--line-i, 0) * 220ms) + (var(--word-i, 0) * 70ms) + 520ms),
    calc(260ms + (var(--line-i, 0) * 220ms) + (var(--word-i, 0) * 70ms) + 520ms + 4200ms);
}
@keyframes pk-emph-pulse {
  0%, 100% { text-shadow: 0 0 0 transparent, 0 0 0 transparent; transform: scale(1); }
  18% { text-shadow: 0 0 14px color-mix(in oklch, var(--color-primary) 34%, transparent), 0 0 28px color-mix(in oklch, var(--color-primary) 14%, transparent); transform: scale(1.018); }
  30% { text-shadow: 0 0 6px color-mix(in oklch, var(--color-primary) 14%, transparent), 0 0 12px color-mix(in oklch, var(--color-primary) 6%, transparent); transform: scale(1.004); }
  46% { text-shadow: 0 0 20px color-mix(in oklch, var(--color-primary) 42%, transparent), 0 0 38px color-mix(in oklch, var(--color-support-green) 14%, transparent); transform: scale(1.028); }
  64% { text-shadow: 0 0 10px color-mix(in oklch, var(--color-primary) 20%, transparent), 0 0 20px color-mix(in oklch, var(--color-primary) 8%, transparent); transform: scale(1.01); }
}
/* Position-only entrance: words slide up but are NEVER hidden, so they stay
   visible if the animation timeline never advances (backgrounded tab,
   print/PDF export, html-to-image capture) — content is the base state. */
@keyframes pk-word-in { from { transform: translate3d(0, 0.9em, 0); } to { transform: none; } }
.pk-word { opacity: 1; }
@keyframes pk-underline-draw { from { stroke-dasharray: 120; stroke-dashoffset: 120; } to { stroke-dasharray: 120; stroke-dashoffset: 0; } }
@keyframes pk-underline-reink { 0%, 78%, 100% { stroke-opacity: 1; } 88% { stroke-opacity: 0.45; } }

/* background motion */
.pk-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  mix-blend-mode: overlay; z-index: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjU2IDI1NicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPSc0JyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
  background-size: 220px 220px;
}
.pk-beam-tilt { position: absolute; inset: -10% -20%; pointer-events: none; z-index: 0; }
.pk-beam-sway { position: absolute; inset: 0; transform-origin: 50% 50%; }
.pk-section[data-revealed] .pk-beam-sway { animation: pk-beam-sway 12s ease-in-out 2.6s infinite; }
@keyframes pk-beam-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.pk-beam-stem {
  position: absolute; top: 25%; left: -10%; width: 120%;
  height: clamp(14rem, 28vw, 26rem); margin-top: calc(clamp(14rem, 28vw, 26rem) / -2);
  transform: rotate(-24deg); transform-origin: 50% 50%;
  background: radial-gradient(ellipse 70% 100% at 50% 50%,
    color-mix(in oklch, var(--color-primary) 18%, transparent) 0%,
    color-mix(in oklch, var(--color-primary) 8%, transparent) 35%, transparent 75%);
  filter: blur(18px); opacity: 0;
}
.pk-section[data-revealed] .pk-beam-stem { animation: pk-beam-in 1800ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both; }
@keyframes pk-beam-in { from { opacity: 0; transform: rotate(-28deg) scaleX(0.9); } to { opacity: 1; transform: rotate(-24deg) scaleX(1); } }
.pk-flare {
  position: absolute; top: 25%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in oklch, var(--color-primary) 90%, white) 0%,
    color-mix(in oklch, var(--color-primary) 50%, transparent) 35%, transparent 70%);
  filter: blur(1px); opacity: 0; pointer-events: none;
}
.pk-section[data-revealed] .pk-flare { animation: pk-flare-drift 18s ease-in-out 4s infinite; }
@keyframes pk-flare-drift {
  0% { transform: translate3d(-32vw, 14vh, 0) rotate(-24deg); opacity: 0; }
  6% { opacity: 0.85; }
  18% { transform: translate3d(32vw, -14vh, 0) rotate(-24deg); opacity: 0.7; }
  22% { opacity: 0; }
  100% { transform: translate3d(32vw, -14vh, 0); opacity: 0; }
}

/* editorial seal */
.pk-seal { margin-top: clamp(2.5rem, 4.5vw, 4rem); display: flex; align-items: center; gap: 0.95rem; opacity: 0; }
.pk-section[data-revealed] .pk-seal { animation: pk-seal-in 1.2s var(--motion-ease-emphasized) 2.4s both; }
@keyframes pk-seal-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.pk-seal-rule {
  display: block; height: 1px; width: 0; flex: 0 0 auto;
  background: linear-gradient(90deg,
    color-mix(in oklch, var(--color-primary) 55%, transparent) 0%,
    color-mix(in oklch, var(--color-primary) 18%, transparent) 70%, transparent 100%);
}
.pk-section[data-revealed] .pk-seal-rule { animation: pk-seal-rule-grow 1.6s var(--motion-ease-emphasized) 2.6s both; }
@keyframes pk-seal-rule-grow { from { width: 0; } to { width: clamp(3rem, 7vw, 5.5rem); } }
.pk-seal-mark { position: relative; width: 1.625rem; height: 1.625rem; flex: 0 0 auto; }
.pk-seal-disc {
  position: absolute; top: 50%; left: 50%; width: 0.42rem; height: 0.42rem;
  margin: -0.21rem 0 0 -0.21rem; border-radius: 50%; background: var(--color-primary);
}
.pk-section[data-revealed] .pk-seal-disc { animation: pk-seal-disc-breath 5.6s ease-in-out 3.6s infinite; }
@keyframes pk-seal-disc-breath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in oklch, var(--color-primary) 0%, transparent); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 5px color-mix(in oklch, var(--color-primary) 6%, transparent); }
}
.pk-seal-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--color-primary) 20%, transparent); opacity: 0; transform: scale(0.78); }
.pk-section[data-revealed] .pk-seal-ring { animation: pk-seal-ring-in 1.4s var(--motion-ease-emphasized) 3s both; }
@keyframes pk-seal-ring-in { from { opacity: 0; transform: scale(0.78); } to { opacity: 1; transform: scale(1); } }
.pk-seal-orbit { position: absolute; inset: 0; transform-origin: 50% 50%; opacity: 0; }
.pk-seal-orbit--inner { inset: 22%; }
.pk-section[data-revealed] .pk-seal-orbit--outer { animation: pk-seal-orbit-in 1.4s var(--motion-ease-emphasized) 3.4s both, pk-seal-orbit-spin 36s linear 4s infinite; }
.pk-section[data-revealed] .pk-seal-orbit--inner { animation: pk-seal-orbit-in 1.4s var(--motion-ease-emphasized) 3.8s both, pk-seal-orbit-spin-reverse 22s linear 4.4s infinite; }
@keyframes pk-seal-orbit-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pk-seal-orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pk-seal-orbit-spin-reverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.pk-seal-satellite { position: absolute; top: -2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: color-mix(in oklch, var(--color-primary) 70%, transparent); box-shadow: 0 0 6px color-mix(in oklch, var(--color-primary) 40%, transparent); }
.pk-seal-satellite--inner { width: 2px; height: 2px; margin-left: -1px; top: -1px; background: color-mix(in oklch, var(--color-support-green) 70%, transparent); box-shadow: 0 0 4px color-mix(in oklch, var(--color-support-green) 40%, transparent); }
@media (max-width: 640px) {
  .pk-headline { font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.08; }
  .pk-seal { margin-top: 2.25rem; gap: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pk-section[data-revealed] .pk-word,
  .pk-section[data-revealed] .pk-word--emph,
  .pk-section[data-revealed] .pk-underline,
  .pk-section[data-revealed] .pk-seal,
  .pk-section[data-revealed] .pk-seal-rule,
  .pk-section[data-revealed] .pk-seal-disc,
  .pk-section[data-revealed] .pk-seal-ring,
  .pk-section[data-revealed] .pk-seal-orbit,
  .pk-section[data-revealed] .pk-beam-sway,
  .pk-section[data-revealed] .pk-beam-stem,
  .pk-section[data-revealed] .pk-flare { animation: none !important; }
  .pk-beam-stem { opacity: 1; transform: rotate(-24deg) scaleX(1); }
  .pk-flare { opacity: 0; }
  .pk-seal, .pk-seal-rule, .pk-seal-ring, .pk-seal-orbit { opacity: 1; transform: none; }
  .pk-seal-rule { width: clamp(3rem, 7vw, 5.5rem); }
}
.method-foot { margin: clamp(30px,4vw,46px) 0 0; font-style: italic; font-family: var(--f-head); font-size: 1.2rem; color: var(--ink-soft); text-align: center; }

/* --- méthode card details (index + spec line) --- */
.method-body { position: relative; }
.method-spec {
  font-family: var(--f-ui); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.method-index {
  position: absolute; top: clamp(20px, 2.4vw, 30px); right: clamp(22px, 2.6vw, 38px);
  font-family: var(--f-head); font-weight: var(--display-weight); line-height: 1;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: color-mix(in oklch, var(--brand) 26%, transparent);
  pointer-events: none;
}

/* === TWEAK: Disposition des méthodes (data-mlayout) === */
/* "magazine" — editorial alternating rows */
#page[data-mlayout="magazine"] .method-grid { grid-template-columns: 1fr; gap: clamp(18px, 2.4vw, 28px); }
#page[data-mlayout="magazine"] .method-card { flex-direction: row; align-items: stretch; }
#page[data-mlayout="magazine"] .method-card:nth-child(2) { flex-direction: row-reverse; }
#page[data-mlayout="magazine"] .method-photo { aspect-ratio: auto; flex: 0 0 44%; min-height: 340px; }
#page[data-mlayout="magazine"] .method-body { justify-content: center; padding: clamp(30px, 4vw, 60px); }
/* "compact" — text-only tinted cards */
#page[data-mlayout="compact"] .method-photo { display: none; }
#page[data-mlayout="compact"] .method-card { border-top: 3px solid var(--accent); }
#page[data-mlayout="compact"] .method-body { padding: clamp(28px, 3.2vw, 46px); }
#page[data-mlayout="compact"] .method-name { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
/* "empile" uses the base stacked layout */

/* "immersif" — full-bleed photo with a frosted-glass copy panel (premium feature card) */
#page[data-mlayout="immersif"] .method-grid { grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); }
#page[data-mlayout="immersif"] .method-card {
  min-height: clamp(460px, 52vw, 560px);
  border: none; background: #2a0f17;
  box-shadow: 0 34px 76px -42px rgba(95,32,50,.6);
}
#page[data-mlayout="immersif"] .method-photo {
  position: absolute; inset: 0; aspect-ratio: auto; height: 100%; z-index: 0;
}
#page[data-mlayout="immersif"] .method-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(36,10,17,0.94) 0%, rgba(36,10,17,0.78) 26%,
    rgba(36,10,17,0.30) 56%, rgba(36,10,17,0.02) 82%);
}
#page[data-mlayout="immersif"] .method-card:hover .method-photo img { transform: scale(1.06); }
#page[data-mlayout="immersif"] .method-body {
  position: relative; z-index: 2;
  margin: auto clamp(14px, 1.6vw, 20px) clamp(14px, 1.6vw, 20px);
  flex: 0 0 auto;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 16px;
  background: color-mix(in srgb, #2a0f17 46%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 40px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}
#page[data-mlayout="immersif"] .method-swatch {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.16), inset 0 0 20px rgba(255,180,140,.5);
}
#page[data-mlayout="immersif"] .method-name { color: #fff; }
#page[data-mlayout="immersif"] .method-spec { color: var(--ambre-light); }
#page[data-mlayout="immersif"] .method-desc { color: rgba(255,255,255,0.82); }
#page[data-mlayout="immersif"] .method-index {
  color: rgba(255,255,255,0.62);
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
#page[data-mlayout="immersif"] .link-arrow { color: #fff; }
#page[data-mlayout="immersif"] .link-arrow:hover { color: var(--ambre-light); }

/* === TWEAK: Numéros (data-mnum) === */
#page[data-mnum="off"] .method-index { display: none; }

/* === TWEAK: Schéma (data-mschema) === */
#page[data-mschema="off"] .method-schema { display: none; }

/* =========================================================
   POUR QUI
   ========================================================= */
.forwho { background: var(--bg-alt); padding: var(--sec-y) 0; }
.forwho-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 6vw, 84px); align-items: start; }
.forwho-head .section-lede { margin-bottom: 30px; }
.signal-list { list-style: none; margin: 0; padding: 0; }
.signal-list li { display: flex; gap: 22px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--hair); }
.signal-list li:last-child { border-bottom: 1px solid var(--hair); }
.signal-dot {
  flex: none; width: 7px; height: 7px; margin-top: 0.62em;
  border-radius: 50%; background: var(--halo); opacity: .9;
}
.signal-list p { margin: 0; font-family: var(--f-head); font-size: clamp(1.25rem, 2.3vw, 1.7rem); line-height: 1.25; color: var(--brand-deep); text-wrap: pretty; }
/* highlighted signals — the two strongest symptom hooks (sunset gradient) */
.signal-list li.is-key { gap: 18px; padding-top: 28px; padding-bottom: 28px; }
.signal-list li.is-key .signal-dot {
  width: 11px; height: 11px; margin-top: 0.5em; opacity: 1;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--orange) 22%, transparent);
}
.signal-list li.is-key p em {
  font-style: normal; font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1;
  background: var(--halo);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: var(--sec-y) 0; }
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 34px 70px -34px rgba(95,32,50,.4); }
.about-photo img { width: 100%; height: clamp(460px, 44vw, 600px); object-fit: cover; object-position: center 22%; display: block; }
.about-sign {
  position: absolute; right: -10px; bottom: 26px;
  font-family: var(--f-head); font-style: italic; font-size: 1.5rem; color: var(--brand-deep);
  background: var(--bg); padding: 10px 20px; border-radius: 999px; border: 1px solid var(--hair);
  box-shadow: 0 14px 30px -16px rgba(95,32,50,.4);
}
.about-copy .section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 30px; }
.about-desc { color: var(--ink-soft); margin: 0 0 18px; max-width: 56ch; }
.about-desc .lede { color: var(--brand-deep); font-weight: 600; }
.about-pills { list-style: none; margin: 30px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-pills li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14.5px; color: var(--brand-deep); }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-size: 12px; flex: none; }
.about-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 30px; }

/* =========================================================
   AVIS — Google reviews / social proof
   Dark wine band · featured pull-quote + white support cards
   ========================================================= */
.avis {
  position: relative; overflow: hidden;
  /* warm halo wash layered over the wine ground — echoes the gradient bands
     elsewhere (RDV / hero glow), with the brightest point pushed down and to
     the right so the top seam still transitions in cleanly. */
  background:
    radial-gradient(80% 70% at 78% 64%, rgba(242,107,31,.26) 0%, rgba(245,166,35,.10) 34%, transparent 66%),
    radial-gradient(70% 60% at 16% 8%, rgba(165,36,71,.34) 0%, transparent 58%),
    linear-gradient(165deg, #54202F 0%, #3F1221 60%, #2F0D18 100%);
  color: var(--wine-50);
  padding: var(--sec-y) 0;
}
.avis > .shell { position: relative; z-index: 1; }

/* head — eyebrow + title on the left, floating rating chip on the right */
.avis-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: clamp(38px, 5vw, 56px);
}
.avis-head-text { max-width: 720px; }
.avis .eyebrow { color: var(--ambre); }
.avis .section-title { color: var(--wine-50); }
.avis .section-title em { color: var(--ambre); }

.avis-rating {
  display: flex; align-items: center; gap: 18px;
  margin: 0; padding: 14px 24px 14px 18px;
  background: var(--bg); border: 1px solid rgba(251,241,239,.18);
  border-radius: 999px; box-shadow: 0 24px 50px -34px rgba(0,0,0,.6);
}
.avis-score-num { font-family: var(--f-head); font-size: 2.6rem; font-weight: 600; color: var(--brand-deep); line-height: 1; }
.avis-score-meta { display: flex; flex-direction: column; gap: 5px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); }
.avis-stars { display: inline-flex; color: var(--gold); letter-spacing: 2px; line-height: 1; }
.avis-rating .avis-stars { font-size: 16px; }

/* layout — featured + support column */
.avis-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 2vw, 26px); align-items: stretch; }

.avis-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  font-family: var(--f-head); font-size: 1.05rem; font-weight: 600; line-height: 1;
}
.avis-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.avis-name { font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; color: var(--brand-deep); line-height: 1.15; white-space: nowrap; }
.avis-meta { font-family: var(--f-ui); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }

/* white cards (shared surface) */
.avis-card {
  background: var(--bg); border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 34px 64px -46px rgba(0,0,0,.6);
}
.avis-card .avis-stars { color: var(--gold); }
.avis-quote { margin: 0; font-family: var(--f-head); line-height: 1.42; color: var(--ink); text-wrap: pretty; }

/* featured pull-quote */
.avis-feature {
  margin: 0; /* clear the default <figure> UA margin so the card's top/bottom
                align flush with the support column (Aurélie / Céline) */
  position: relative; overflow: hidden;
  border-radius: 24px; padding: clamp(34px, 3.4vw, 50px) clamp(30px, 3vw, 48px) clamp(30px, 2.8vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.avis-feature::before {
  content: ""; position: absolute; inset: -36% -28% auto auto; width: 64%; height: 110%;
  background: radial-gradient(circle at 72% 28%, rgba(245,166,35,.20), rgba(242,107,31,.07) 46%, transparent 70%);
  pointer-events: none;
}
.avis-mark { position: relative; font-family: var(--f-head); font-size: 5rem; line-height: .6; color: var(--orange); }
.avis-feature .avis-quote { position: relative; font-weight: 500; font-size: clamp(1.4rem, 1.9vw, 1.95rem); line-height: 1.34; margin-top: 18px; }
.avis-by { position: relative; display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 3vw, 36px); }
.avis-by .avis-name { font-size: 1.25rem; }

/* support column */
.avis-support { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 22px); }
.avis-support .avis-card { padding: clamp(22px, 2.2vw, 28px); flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; }
.avis-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avis-support .avis-stars { font-size: 13px; margin-bottom: 8px; }
.avis-support .avis-quote { font-size: clamp(1.08rem, 1.3vw, 1.18rem); line-height: 1.4; }

.seam--into-avis { --seam-fill: var(--wine-600); }

/* =========================================================
   RDV
   ========================================================= */
.rdv { position: relative; background: var(--brand-deep); color: var(--on-brand); padding: calc(var(--sec-y) * 1.5) 0; text-align: center; overflow: hidden; }
.rdv-glow { position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%); opacity: .55; }
.rdv-inner { position: relative; z-index: 1; max-width: 720px; }
.rdv .eyebrow { color: color-mix(in srgb, var(--accent) 75%, white); }
.rdv .section-title { color: var(--on-brand); }
.rdv .section-title em { color: color-mix(in srgb, var(--accent) 70%, white); }
.rdv-text { color: var(--wine-200); font-size: 1.15rem; margin: 0 auto 36px; max-width: 46ch; }
.rdv-actions { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; align-items: center; }

/* RDV background: real treatment photo + dark veil (replaces the shader) */
.rdv-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/rdv.jpg') center/cover no-repeat;
}
.rdv-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(75% 60% at 50% 38%, rgba(26,7,13,.62) 0%, rgba(26,7,13,.5) 60%, rgba(26,7,13,.66) 100%),
    linear-gradient(180deg, rgba(26,7,13,.62) 0%, rgba(26,7,13,.5) 45%, rgba(26,7,13,.68) 100%);
}
/* animated ShaderGradient sphere behind the CTA */
.rdv-shader { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.rdv-shader.is-on { opacity: 1; }
.rdv-shader canvas {
  display: block; width: 100% !important; height: 100% !important;
  /* same diffuse-light treatment as the banner: blur melts the bands,
     scale-up hides the blurred edges */
  filter: blur(46px) saturate(1.08);
  transform: scale(1.28);
  transform-origin: 50% 45%;
}
/* once the live shader is on, retire the static radial glow */
.rdv-shader.is-on ~ .rdv-glow { display: none; }
/* gentle wine vignette behind the headline so the warm sphere stays readable */
.rdv-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(66% 56% at 50% 40%, color-mix(in oklch, var(--bourgogne) 42%, transparent) 0%, transparent 68%),
    linear-gradient(180deg, color-mix(in oklch, var(--bourgogne) 22%, transparent) 0%, transparent 30%, transparent 64%, color-mix(in oklch, var(--bourgogne) 30%, transparent) 100%);
}
.rdv-inner { z-index: 2; }

/* animated ShaderGradient sphere behind the « douleur » pull-quote — same
   warm halo treatment as the RDV band */
.banner { position: relative; overflow: hidden; }
.banner > .shell { position: relative; z-index: 2; }
.banner-shader { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.banner-shader.is-on { opacity: 1; }
.banner-shader canvas {
  display: block; width: 100% !important; height: 100% !important;
  /* read as diffuse light, not a sphere with crisp gradient lines:
     blur melts the color bands together, the scale-up hides blurred edges */
  filter: blur(46px) saturate(1.08);
  transform: scale(1.28);
  transform-origin: 50% 45%;
}
.banner-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(66% 56% at 50% 42%, color-mix(in oklch, var(--bourgogne) 40%, transparent) 0%, transparent 68%),
    linear-gradient(180deg, color-mix(in oklch, var(--bourgogne) 24%, transparent) 0%, transparent 30%, transparent 64%, color-mix(in oklch, var(--bourgogne) 30%, transparent) 100%);
}
/* once the live shader is on, retire the static fx and keep the quote bright */
.banner-shader.is-on ~ .band-fx { display: none; }
#page .banner-shader.is-on ~ .shell .banner-quote { color: #fff; }
#page .banner-shader.is-on ~ .shell .banner-quote em { color: var(--ambre-light); }
#page .banner-shader.is-on ~ .shell .banner-quote .muted { color: color-mix(in srgb, #fff 62%, transparent); }

/* =========================================================
   PRO
   ========================================================= */
.pro { padding: calc(var(--sec-y) * 1.4) 0; }
.pro-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 6vw, 72px); align-items: center; }
.pro-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 64px -38px rgba(95,32,50,.4); }
.pro-media img { width: 100%; height: clamp(380px, 42vw, 540px); object-fit: cover; display: block; }
.pro-content { display: flex; flex-direction: column; align-items: flex-start; }
.pro-content .section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 24px; }
.pro-content .link-arrow { margin-top: 30px; }
.pro-tag { display: inline-block; font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.28em; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 14px; margin-bottom: 22px; }
.pro-text { color: var(--ink-soft); margin: 0 0 28px; max-width: 46ch; }
.pro-steps { list-style: none; margin: 0; padding: 0; width: 100%; }
.pro-steps li { display: flex; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.pro-steps li:first-child { border-top: 1px solid var(--hair); }
.pro-step-num { font-family: var(--f-head); font-size: 1.5rem; color: var(--accent); min-width: 44px; }
.pro-steps p { margin: 0; font-size: 1.05rem; color: var(--brand-deep); }

/* ---- green palette, scoped to the PRO section only ---- */
.pro {
  /* sage-green family, sharing the wine palette's lightness/chroma feel */
  --g-deep:  #25453B;
  --g-mid:   #3F7A66;
  --g-accent:#4E907A;
  --g-hair:  rgba(37,69,59,0.16);
  --g-wash:  #EDF3F0;

  /* remap the semantic vars used by .pro children */
  --brand-deep: var(--g-deep);
  --accent:     var(--g-accent);
  --hair:       var(--g-hair);

  background: linear-gradient(180deg, var(--g-wash) 0%, #F3F7F5 100%);
  border-top: 1px solid var(--g-hair);
  border-bottom: 1px solid var(--g-hair);
}
.pro .eyebrow { color: var(--g-accent); }
.pro-media { box-shadow: 0 30px 64px -38px rgba(25,60,48,.42); }
.pro-tag {
  color: var(--g-deep);
  background: color-mix(in srgb, var(--g-accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--g-accent) 45%, transparent);
}
.pro-step-num { color: var(--g-mid); }
/* solid, high-contrast CTA button (was a faint text link that washed out on mobile) */
.pro-content .link-arrow {
  align-self: stretch;
  justify-content: center;
  white-space: normal;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  margin-top: 36px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--g-deep);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 10px 24px rgba(25,60,48,0.28);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background-color .25s, box-shadow .25s;
}
.pro-content .link-arrow:hover {
  color: #fff;
  background: var(--g-mid);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 16px 32px rgba(25,60,48,0.34);
}
@media (min-width: 760px) {
  /* on wider layouts keep it sized to its content rather than full width */
  .pro-content .link-arrow { align-self: flex-start; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  /* deep wine wash — primary mixed toward near-black ink */
  background: color-mix(in oklch, var(--color-primary) 76%, var(--wine-900));
  border-top: 1px solid var(--hair);
  padding-top: clamp(56px, 7vw, 92px);
  /* light-on-dark overrides so child rules invert cleanly */
  --ink-soft:   color-mix(in oklch, var(--wine-50) 80%, transparent);
  --brand:      var(--wine-50);
  --brand-deep: var(--wine-50);
  --hair:       rgba(255,255,255,0.14);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-mission { color: var(--ink-soft); font-size: 14.5px; max-width: 34ch; margin: 18px 0 0; }
.footer-h { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin: 0 0 18px; }
.footer-col a, .footer-contact p { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; margin-bottom: 11px; line-height: 1.5; }
.footer-col a:hover { color: var(--brand); }
.footer-contact a { display: inline; margin: 0; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-soft); }
.footer-base a { color: var(--ink-soft); text-decoration: none; }
.footer-base a:hover { color: var(--brand); }

/* =========================================================
   DIRECTION SKINS
   ========================================================= */

/* ---- CLARTÉ — editorial light, airy, premium ---- (default tokens above) */
#page[data-direction="clarte"] .method-card { background: var(--bg); }
#page[data-direction="clarte"] .hero-glow { opacity: .42; }

/* ---- CLINIQUE — warm clinical trust, structured ---- */
#page[data-direction="clinique"] {
  --bg: #ffffff;
  --bg-alt: #F5EEEA;
  --ink: #322229;
  --ink-soft: #6f5d63;
  --hair: rgba(95,32,50,0.16);
  --radius: 10px;
  --display-weight: 600;
  --title-tracking: -0.018em;
}
#page[data-direction="clinique"] .hero-glow { display: none; }
#page[data-direction="clinique"] .hero { border-bottom: 1px solid var(--hair); }
#page[data-direction="clinique"] .section-title { line-height: 1.1; }
#page[data-direction="clinique"] .hero-title { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.14; }
#page[data-direction="clinique"] .section-lede { font-style: normal; font-family: var(--f-body); font-weight: 400; }
#page[data-direction="clinique"] .method-card { background: var(--bg); box-shadow: 0 1px 0 var(--hair); }
#page[data-direction="clinique"] .method-card:hover { box-shadow: 0 24px 50px -30px rgba(95,32,50,.4); }
#page[data-direction="clinique"] .btn { border-radius: 8px; }
#page[data-direction="clinique"] .eyebrow { display: inline-block; background: color-mix(in srgb, var(--accent) 14%, transparent); color: color-mix(in srgb, var(--accent) 80%, black); padding: 6px 12px; border-radius: 6px; letter-spacing: 0.16em; }
#page[data-direction="clinique"] .banner { background: var(--brand-deep); }
#page[data-direction="clinique"] .banner-quote { color: var(--on-brand); }
#page[data-direction="clinique"] .banner-quote .muted { color: var(--wine-300); }
#page[data-direction="clinique"] .banner-alt { background: var(--bg-alt); }
#page[data-direction="clinique"] .banner-alt .banner-quote { color: var(--brand-deep); }
#page[data-direction="clinique"] .signal-list li { background: var(--bg); border: 1px solid var(--hair); border-radius: 10px; padding: 20px 24px; margin-bottom: 12px; }
#page[data-direction="clinique"] .signal-list li:last-child { border-bottom: 1px solid var(--hair); }
#page[data-direction="clinique"] .media-slot { border-radius: 10px; }
#page[data-direction="clinique"] image-slot { box-shadow: 0 1px 0 var(--hair), 0 30px 60px -40px rgba(95,32,50,.3); }

/* ---- SPECTRE — chromatic & sensory, alternating light + dark sections ---- */
/* Draws on the original Physiolum site: Cormorant + Lato type, the gold /
   support-green / support-blue palette, and photobiomodulation light-beams. */
#page[data-direction="spectre"] {
  --bg: #FBF4F1;
  --bg-alt: #F4E8E2;
  --ink: #2C2126;
  --ink-soft: #6a5a60;
  --hair: rgba(95,32,50,0.14);
  --brand: var(--wine-500);
  --brand-deep: var(--wine-700);
  --on-brand: #FBF1EF;
  --display-weight: 500;
  --radius: 22px;
  /* match the original brand: Lato for UI/labels (no Sora here) */
  --f-ui: var(--f-body);
  /* original support palette */
  --lgold: #E1AE57;
  --lgold-soft: #F2D9A7;
  --sgreen: #6a9e8f;
  --sblue: #5e94a0;
}
/* chromatic signature — primary buttons carry the halo in spectre */
#page[data-direction="spectre"] .btn-primary,
#page[data-direction="spectre"] .btn-light {
  background: var(--halo); background-size: 140% 140%; background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 22px rgba(242,107,31,.26);
}
#page[data-direction="spectre"] .btn-primary:hover,
#page[data-direction="spectre"] .btn-light:hover { background-position: 100% 50%; }
#page[data-direction="spectre"] .hx-badge { background: conic-gradient(from 210deg, #5C1A33, #A52447, #F26B1F, #F5A623, #6a9e8f, #5577b8, #8c5aa8, #5C1A33); }
#page[data-direction="spectre"] .method-card { background: var(--bg); }
#page[data-direction="spectre"] .hero-scrim {
  background: linear-gradient(96deg,
    color-mix(in srgb, var(--bg) 94%, transparent) 0%,
    color-mix(in srgb, var(--bg) 82%, transparent) 30%,
    color-mix(in srgb, var(--bg) 46%, transparent) 54%,
    color-mix(in srgb, var(--bg) 10%, transparent) 78%,
    transparent 94%);
}

/* alternating dark bands — chromatic, atmospheric */
#page[data-direction="spectre"] .tone-dark {
  --bg: #1a1014;
  --bg-alt: #221319;
  --ink: #ecdfe2;
  --ink-soft: #b59aa3;
  --hair: rgba(255,255,255,0.12);
  --brand: #f0c2c9;
  --brand-deep: #f8eef0;
  --on-brand: #1a1014;
  position: relative; overflow: hidden;
  background: var(--bg); color: var(--ink);
}
#page[data-direction="spectre"] .tone-dark > * { position: relative; z-index: 1; }
.band-fx { display: none; }
.band-fx, .hero-fx, .about-glow { pointer-events: none; }
#page[data-direction="spectre"] .tone-dark > .band-fx {
  display: block; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(42% 58% at 84% 4%, color-mix(in srgb, var(--lgold) 34%, transparent), transparent 70%),
    radial-gradient(48% 62% at 6% 96%, color-mix(in srgb, var(--sgreen) 28%, transparent), transparent 72%),
    radial-gradient(64% 72% at 52% 50%, color-mix(in srgb, var(--sblue) 14%, transparent), transparent 78%);
}
/* photobiomodulation light-beam (from the original) */
#page[data-direction="spectre"] .band-beam {
  position: absolute; top: 22%; left: -12%; width: 124%;
  height: clamp(7rem, 15vw, 13rem); transform: rotate(-19deg); transform-origin: 50% 50%;
  filter: blur(14px); opacity: .9;
  background: radial-gradient(ellipse 58% 100% at 50% 50%,
    color-mix(in srgb, var(--lgold-soft) 70%, transparent) 0%,
    color-mix(in srgb, var(--lgold) 28%, transparent) 32%, transparent 72%);
}
#page[data-direction="spectre"] .banner-quote .muted { color: var(--wine-300); }

/* hero — soft ambient gold/green wash (lm-glow motif) */
.hero-fx { display: none; }
#page[data-direction="spectre"] .hero-fx {
  display: block; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(40% 50% at 90% 14%, color-mix(in srgb, var(--lgold) 22%, transparent), transparent 60%),
    radial-gradient(36% 46% at 3% 86%, color-mix(in srgb, var(--sgreen) 15%, transparent), transparent 62%);
}
/* about portrait — warm gold halo behind the photo (ab-photo-glow) */
.about-glow { display: none; }
#page[data-direction="spectre"] .about-glow {
  display: block; position: absolute; inset: -18%; z-index: 0; filter: blur(40px);
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--lgold) 30%, transparent), transparent 70%);
}
#page[data-direction="spectre"] .about-photo { position: relative; z-index: 1; }
#page[data-direction="spectre"] .about-sign { z-index: 2; }

/* RDV — gold halo + light-beam over deep ground */
#page[data-direction="spectre"] .rdv { background: #160d11; }
#page[data-direction="spectre"] .rdv-glow {
  opacity: .92;
  background:
    radial-gradient(52% 78% at 50% 0%, color-mix(in srgb, var(--lgold) 42%, transparent), transparent 64%),
    radial-gradient(42% 64% at 16% 102%, color-mix(in srgb, var(--sgreen) 26%, transparent), transparent 70%);
}
#page[data-direction="spectre"] .footer-h { color: var(--brand); }
#page[data-direction="spectre"] image-slot { box-shadow: 0 40px 80px -40px rgba(95,32,50,.4); }

/* =========================================================
   GRADIENT BANDS (tweakable)  — data-bands: none | tonal | halo
   Applied to the two pull-quote banners + the RDV call-to-action.
   ========================================================= */
#page[data-bands="tonal"] .banner,
#page[data-bands="tonal"] .rdv { background: var(--grad-tonal); }
#page[data-bands="halo"]  .banner,
#page[data-bands="halo"]  .rdv { background: var(--halo); }

/* keep the second pull-quote (banner-alt) light so it doesn't echo the
   deep RDV band that follows — light quote → dark CTA rhythm */
#page[data-bands="tonal"] .banner-alt,
#page[data-bands="halo"]  .banner-alt { background: var(--bg-alt); }
#page[data-bands="tonal"] .banner-alt .banner-quote,
#page[data-bands="halo"]  .banner-alt .banner-quote { color: var(--brand-deep); }
#page[data-bands="tonal"] .banner-alt .banner-quote em,
#page[data-bands="halo"]  .banner-alt .banner-quote em,
#page[data-bands="tonal"] .banner-alt .accent-ink,
#page[data-bands="halo"]  .banner-alt .accent-ink { color: var(--brand); }

/* light text on the gradient bands */
#page[data-bands="tonal"] .banner-quote,
#page[data-bands="halo"]  .banner-quote,
#page[data-bands="tonal"] .banner-quote em,
#page[data-bands="halo"]  .banner-quote em { color: #fff; }
#page[data-bands="tonal"] .banner-quote .muted,
#page[data-bands="halo"]  .banner-quote .muted { color: color-mix(in srgb, #fff 62%, transparent); }
#page[data-bands="tonal"] .banner-quote em,
#page[data-bands="halo"]  .banner-quote em { color: var(--ambre-light); }

/* RDV sits on the gradient — keep its copy bright and calm the radial glow */
#page[data-bands="tonal"] .rdv,
#page[data-bands="halo"]  .rdv { color: #fff; }
#page[data-bands="tonal"] .rdv .section-title,
#page[data-bands="halo"]  .rdv .section-title,
#page[data-bands="tonal"] .rdv .section-title em,
#page[data-bands="halo"]  .rdv .section-title em { color: #fff; }
#page[data-bands="tonal"] .rdv .eyebrow,
#page[data-bands="halo"]  .rdv .eyebrow { color: var(--ambre-light); }
#page[data-bands="tonal"] .rdv-text,
#page[data-bands="halo"]  .rdv-text { color: color-mix(in srgb, #fff 82%, transparent); }
#page[data-bands="halo"]  .rdv-glow { opacity: .35; }

/* CTA button must read against the gradient — swap halo button for a solid light one */
#page[data-bands="tonal"] .rdv .btn-gradient,
#page[data-bands="halo"]  .rdv .btn-gradient {
  background: #fff; color: var(--bourgogne);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 10px 26px rgba(0,0,0,0.22);
}
#page[data-bands="tonal"] .rdv .btn-gradient:hover,
#page[data-bands="halo"]  .rdv .btn-gradient:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.3);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 940px) {
  #page { font-size: 16px; }
  .hx-nav { display: none; }
  .hx-burger { display: inline-flex; }
  .hx-bar { padding-right: 14px; }
  .hx-mobile {
    display: block; margin-top: 10px; border-radius: 24px; overflow: hidden; padding: 8px;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border: 1px solid var(--hair); box-shadow: 0 28px 60px -24px rgba(95,32,50,.35);
    max-height: 0; opacity: 0; pointer-events: none; transform: translateY(-6px);
    transition: max-height .42s cubic-bezier(.22,1,.36,1), opacity .3s ease, transform .3s ease;
  }
  .hx[data-open="true"] .hx-mobile { max-height: 80vh; opacity: 1; pointer-events: auto; transform: translateY(0); overflow-y: auto; }
  .forwho-grid, .about-grid, .pro-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .avis-head { display: block; }
  .avis-rating { margin-top: 22px; }
  .hero-copy, .forwho-head .section-lede { max-width: none; }
  .hero-img { left: 0 !important; right: 0 !important; width: 100% !important; }
  #page[data-hero="split"] .hero-scrim { display: block; }
  .pro-media { order: -1; }
  .about-media { max-width: 460px; }
  .method-grid { grid-template-columns: 1fr; }
  #page[data-mlayout="immersif"] .method-grid { grid-template-columns: 1fr; }
  #page[data-mlayout="immersif"] .method-card { min-height: clamp(440px, 92vw, 520px); }
  #page[data-mlayout="magazine"] .method-card,
  #page[data-mlayout="magazine"] .method-card:nth-child(2) { flex-direction: column; }
  #page[data-mlayout="magazine"] .method-photo { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .rdv-actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   PREMIUM REFINEMENTS  (v26 — layered on top of the base system)
   Editorial detailing, refined type rendering, depth, texture
   and a tasteful scroll-reveal motion layer.
   ========================================================= */

/* ---- refined font rendering across the page ---- */
#page {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-optical-sizing: auto;
}
.section-title, .hero-title, .banner-quote,
.method-name, .signal-list p, .section-lede,
.about-sign, .hx-brand-name, .brand {
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}
/* a hair tighter + cleaner optics on the big display cuts */
.hero-title, .section-title, .banner-quote { word-spacing: -0.01em; }

/* ---- editorial eyebrow: short leading rule before the label ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9em;
}
.eyebrow::before {
  content: ""; flex: none;
  width: clamp(20px, 2.4vw, 34px); height: 1px;
  background: currentColor; opacity: 0.5;
}
/* clinique keeps its solid badge eyebrow — no rule */
#page[data-direction="clinique"] .eyebrow { display: inline-block; }
#page[data-direction="clinique"] .eyebrow::before { display: none; }

/* ---- depth: a soft resting lift on the method cards (clarté/spectre) ---- */
#page[data-direction="clarte"] .method-card,
#page[data-direction="spectre"] .method-card {
  box-shadow:
    0 1px 1px rgba(95,32,50,.04),
    0 2px 6px -2px rgba(95,32,50,.06),
    0 22px 48px -34px rgba(95,32,50,.30);
}
#page[data-direction="clarte"] .method-card:hover,
#page[data-direction="spectre"] .method-card:hover {
  box-shadow:
    0 1px 1px rgba(95,32,50,.05),
    0 36px 70px -38px rgba(95,32,50,.42);
}

/* ---- richer, more dimensional portrait & pro framing ---- */
.about-photo, .pro-media {
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 2px 8px -2px rgba(95,32,50,.10),
    0 44px 84px -40px rgba(95,32,50,.46);
}
.about-photo::after, .pro-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(95,32,50,.07);
}
.about-photo, .pro-media { position: relative; }

/* keep the PRO framing green to match its scoped palette */
.pro-media {
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 2px 8px -2px rgba(25,60,48,.12),
    0 44px 84px -40px rgba(25,60,48,.48);
}
.pro-media::after { box-shadow: inset 0 0 0 1px rgba(25,60,48,.08); }

/* ---- refined hairline beneath the floating header on scroll feel ---- */
.hx-bar { box-shadow:
  0 1px 2px rgba(34,8,17,.05),
  0 10px 26px -16px rgba(95,32,50,.22),
  0 34px 64px -38px rgba(95,32,50,.30); }

/* ---- premium focus-visible affordance ---- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .hx-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 80%, white);
  outline-offset: 3px; border-radius: 6px;
}

/* ---- film-grain / paper-tooth texture (very faint, fixed) ---- */
.fx-grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  mix-blend-mode: multiply; opacity: 0.05;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdHlwZT0nc2F0dXJhdGUnIHZhbHVlcz0nMCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPjwvc3ZnPg==");
  background-size: 180px 180px;
}

/* =========================================================
   SCROLL REVEAL  (opt-in, only when motion is welcome)
   Elements get [data-reveal] from JS; siblings stagger via
   --reveal-delay. If JS never runs, nothing is hidden.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* --- base block reveal: fade-up + soft unblur --- */
  [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(7px);
    transition:
      opacity .9s cubic-bezier(.16,1,.3,1),
      transform 1s cubic-bezier(.16,1,.3,1),
      filter .9s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
  }
  [data-reveal].is-visible { opacity: 1; transform: none; filter: blur(0); }

  /* --- directional variants (set via JS for rhythm/variety) --- */
  [data-reveal="left"]  { transform: translate3d(-46px, 8px, 0); }
  [data-reveal="right"] { transform: translate3d(46px, 8px, 0); }
  [data-reveal="scale"] { transform: scale(.93); }
  [data-reveal="left"].is-visible,
  [data-reveal="right"].is-visible,
  [data-reveal="scale"].is-visible { transform: none; }

  /* --- framed-image reveal: rise, scale-settle + upward clip wipe --- */
  [data-reveal-media] {
    opacity: 0;
    transform: scale(1.09);
    clip-path: inset(0 0 100% 0);
    transition:
      opacity 1s ease,
      transform 1.4s cubic-bezier(.16,1,.3,1),
      clip-path 1.25s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, clip-path;
  }
  [data-reveal-media].is-visible {
    opacity: 1; transform: none; clip-path: inset(0 0 0 0);
  }

  /* --- per-word reveal for headings & short lines --- */
  [data-words] .rw {
    display: inline-block;
    opacity: 0;
    transform: translateY(.6em) rotate(1.4deg);
    filter: blur(6px);
    transition:
      opacity .7s cubic-bezier(.16,1,.3,1),
      transform .82s cubic-bezier(.16,1,.3,1),
      filter .7s ease;
    transition-delay: calc(var(--wi, 0) * 50ms + var(--reveal-delay, 0ms));
    will-change: opacity, transform, filter;
  }
  [data-words].is-visible .rw { opacity: 1; transform: none; filter: blur(0); }
}

/* =========================================================
   ORGANIC SECTION SEAMS  (curved dividers replace flat edges)
   A standalone wave element overlaps the section above it; the
   wave is filled with the colour of the section *below*, so the
   lower band appears to rise organically into the one above —
   no straight horizontal edges anywhere on the page.
   ========================================================= */
.seam {
  position: relative; z-index: 3; pointer-events: none; line-height: 0;
  height: clamp(46px, 6vw, 94px);
  margin-top: clamp(-94px, -6vw, -46px);
  margin-bottom: -1px; /* hide sub-pixel hairline where the wave meets the band */
}
.seam svg { display: block; width: 100%; height: 100%; }
.seam path { fill: var(--seam-fill, var(--bg)); transition: fill .35s ease; }

/* per-seam fills — default config (Clarté · bands tonal) */
.seam--into-methodes   { --seam-fill: #241019; }
.seam--into-forwho     { --seam-fill: var(--bg-alt); }
.seam--into-about      { --seam-fill: var(--bg); }
.seam--into-banner-alt { --seam-fill: var(--bg-alt); }
.seam--into-footer     { --seam-fill: color-mix(in oklch, var(--color-primary) 76%, var(--wine-900)); }

/* spectre → the « pour qui » band is the dark chromatic ground */
#page[data-direction="spectre"] .seam--into-forwho { --seam-fill: #1a1014; }

/* on tall viewports the wave should not look stretched */
@media (min-width: 1500px) { .seam { height: 100px; margin-top: -100px; } }

/* =========================================================
   SHADERED BANDS — self-clipped organic edges
   The pull-quote band and the RDV CTA carry an animated gradient
   sphere + a tonal/halo gradient ground. Each band carves its OWN
   morphing wavy top + bottom via an SVG clipPath (drawn + animated
   by dividers.js) and tucks under its neighbours, so the shader +
   gradient fill the entire organic silhouette right up into the
   wave peaks — no straight edge anywhere. Clipping is colour-
   agnostic, so it holds across every tweak (tonal / halo / none /
   clinique / spectre).
   ========================================================= */
.banner.tone-dark,
.rdv {
  position: relative;
  z-index: 2;
  margin-top: -90px;
  margin-bottom: -90px;
}
.banner.tone-dark { -webkit-clip-path: url(#clip-banner); clip-path: url(#clip-banner); }
.rdv             { -webkit-clip-path: url(#clip-rdv);    clip-path: url(#clip-rdv); }

/* taller « douleur » pull-quote band */
.banner.tone-dark { padding-top: calc(var(--sec-y) * 2.5); padding-bottom: calc(var(--sec-y) * 2.5); }
/* taller « énergie » pull-quote band */
.banner.banner-alt { padding-top: calc(var(--sec-y) * 1.85); padding-bottom: calc(var(--sec-y) * 1.85); }

/* =========================================================
   MÉTHODES — dark "light-as-a-clinical-tool" treatment
   A deep warm-ink ground so the colour swatches, the method
   photos and the wavelength schema read as luminous against
   the dark. Applied on the light directions (clarté · clinique);
   spectre keeps its own chromatic skin.
   ========================================================= */
#page[data-direction="clarte"] .methods,
#page[data-direction="clinique"] .methods {
  position: relative;
  isolation: isolate;
  background: #190f14;
  --bg:         #241820;   /* lifted card surface */
  --bg-alt:     #190f14;
  --ink:        #FBF1EF;
  --ink-soft:   rgba(251,241,239,.66);
  --brand:      #FBF1EF;
  --brand-deep: #FBF1EF;
  --accent:     #86b8a8;   /* a touch brighter so the green sings on dark */
  --hair:       rgba(255,255,255,.13);
}
/* soft warm halo so the dark ground reads atmospheric, not flat */
#page[data-direction="clarte"] .methods::before,
#page[data-direction="clinique"] .methods::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(125% 62% at 50% -10%, color-mix(in oklch, var(--orange) 26%, transparent), transparent 60%),
    radial-gradient(85% 55% at 86% 6%, color-mix(in oklch, var(--grenat) 22%, transparent), transparent 64%);
  opacity: .6;
}
/* cards: thin top-light + a deep rest shadow on the dark ground */
#page[data-direction="clarte"] .methods .method-card,
#page[data-direction="clinique"] .methods .method-card {
  background: var(--bg);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 64px -40px rgba(0,0,0,.72);
}
#page[data-direction="clarte"] .methods .method-card:hover,
#page[data-direction="clinique"] .methods .method-card:hover {
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.09) inset, 0 44px 86px -44px rgba(0,0,0,.82);
}
/* the wavelength schema keeps its light card → a luminous lab figure on the dark */
#page[data-direction="clarte"] .methods .method-schema img,
#page[data-direction="clinique"] .methods .method-schema img {
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 34px 76px -36px rgba(0,0,0,.74);
}

/* parallax-driven elements: promote + keep cover-images from exposing edges */
[data-parallax] { will-change: transform; }
.about-photo, .pro-media, .method-photo { overflow: hidden; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* =========================================================
   MOBILE REFINEMENTS (v60) — phone polish ≤600px / ≤380px
   Layered last so it wins over the base system without touching it.
   ========================================================= */
@media (max-width: 600px) {
  /* --- eyebrows: long labels (e.g. hero "Photobiomodulation & Chromothérapie")
         used to overflow the viewport because the inline-flex text item could
         not shrink. Switch to a block so the text wraps, keep the leading rule
         inline. Clinique keeps its badge eyebrow (higher specificity). --- */
  #page { --eyebrow-tracking: 0.16em; }
  .eyebrow { display: block; }
  .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 0.7em; }

  /* --- hero: tighten height, guarantee copy legibility over the photo,
         and stack the two CTAs full-width --- */
  .hero { min-height: clamp(540px, 84vh, 760px); }
  .hero-scrim {
    background: linear-gradient(92deg,
      color-mix(in srgb, var(--bg) 96%, transparent) 0%,
      color-mix(in srgb, var(--bg) 90%, transparent) 44%,
      color-mix(in srgb, var(--bg) 64%, transparent) 74%,
      color-mix(in srgb, var(--bg) 36%, transparent) 100%);
  }
  .hero-copy { max-width: none; }
  .hero-title { margin-bottom: 20px; }
  .hero-sub { margin-bottom: 26px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* --- dial back the very tall band paddings so sections don't read as
         huge empty fields on a small screen --- */
  .pk-section { padding-block: clamp(4.25rem, 17vw, 6.5rem); }
  .banner.tone-dark { padding-top: calc(var(--sec-y) * 1.55); padding-bottom: calc(var(--sec-y) * 1.55); }
  .banner.banner-alt { padding-top: calc(var(--sec-y) * 1.1); padding-bottom: calc(var(--sec-y) * 1.1); }

  /* --- méthodes diptych + avis feature: a touch tighter --- */
  .lm-diptych { gap: 2.5rem; }
  .avis-feature { padding: 26px 22px 24px; }

  /* --- primary actions go full-width wherever they sit in a copy column --- */
  .forwho-head .btn,
  .about-actions .btn { width: 100%; justify-content: center; }

  /* --- avis rating chip wraps comfortably under the heading --- */
  .avis-rating { margin-top: 18px; }
}

@media (max-width: 380px) {
  #page { --gut: 16px; }
  .hero-title { font-size: clamp(2rem, 10.6vw, 2.55rem); }
  .section-title { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .lm-title { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .banner-quote { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .pk-headline { font-size: clamp(1.9rem, 9.6vw, 2.7rem); }
}
