/* =========================================================
   LEVERDIGITAL — Feuille de style principale
   Proposition de refonte — page d'accueil
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */
:root {
  /* Palette — dérivée du logo (bordeaux) et de l'accent sable existant */
  --ink:            #17110f;
  --ink-2:          #241a17;
  --ink-3:          #33251f;

  --burgundy:       #8a2222;
  --burgundy-deep:  #63160f;
  --burgundy-soft:  #a83a33;

  --sand:           #e4a259;
  --sand-2:         #f2c793;
  --sand-deep:      #c07f33;

  --cream:          #fbf7f1;
  --cream-2:        #f3ebe0;
  --line-cream:     #e4d8c8;

  --slate:          #3e4c59;
  --slate-soft:     #6b7783;

  /* Rôles (redéfinis localement par .section--dark / --burgundy) */
  --bg:             var(--cream);
  --fg:             var(--slate);
  --fg-strong:      var(--ink);
  --fg-muted:       var(--slate-soft);
  --accent:         var(--burgundy);
  --line:           var(--line-cream);

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rythme */
  --shell:         1240px;
  --shell-narrow:  820px;
  --gutter:        clamp(1.25rem, 4vw, 3rem);
  --section-y:     clamp(4.5rem, 10vw, 9rem);
  --radius:        18px;
  --radius-lg:     26px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Autorise la transition de height:auto (FAQ) sur navigateurs récents */
:root { interpolate-size: allow-keywords; }


/* ---------------------------------------------------------
   2. RESET
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  font-weight: 350;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> ne doit pas s'intercaler dans les layouts flex/grid */
picture { display: contents; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--fg-strong);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

strong { font-weight: 600; color: var(--fg-strong); }

sup { font-size: .5em; vertical-align: super; line-height: 0; }

::selection { background: var(--sand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--sand);
  color: var(--ink);
  padding: .75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }


/* ---------------------------------------------------------
   3. LAYOUT
   --------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  color: var(--fg);
}

/* --- Thèmes de section --- */
.section--cream   { --bg: var(--cream); }
.section--cream-2 { --bg: var(--cream-2); --line: #e0d2be; }

.section--dark {
  --bg: var(--ink);
  --fg: #cdc2b8;
  --fg-strong: #fdfaf6;
  --fg-muted: #9b8d82;
  --accent: var(--sand);
  --line: rgba(255,255,255,.12);
  background: var(--bg);
  color: var(--fg);
}

.section--burgundy {
  --bg: var(--burgundy-deep);
  --fg: #efd8d2;
  --fg-strong: #fff7f2;
  --fg-muted: #d0a79e;
  --accent: var(--sand);
  --line: rgba(255,255,255,.16);
  background:
    radial-gradient(120% 90% at 85% 0%, #8a2222 0%, transparent 60%),
    var(--burgundy-deep);
  color: var(--fg);
}


/* ---------------------------------------------------------
   4. TYPO UTILITAIRE
   --------------------------------------------------------- */
.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.eyebrow--accent { color: var(--sand); }
.eyebrow--light  { color: var(--sand-2); }

.h-display {
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.05;
}
.h-display--light { color: var(--fg-strong); }
.h-display__accent {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

.h-section {
  font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3rem);
  line-height: 1.12;
}

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--center .eyebrow { justify-content: center; }

.lede {
  font-size: 1.18em;
  font-weight: 400;
  color: var(--fg-strong);
}


/* ---------------------------------------------------------
   5. BOUTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 1.05rem 1.9rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s,
              border-color .3s, box-shadow .35s var(--ease);
}
.btn::after {
  content: "→";
  font-size: 1.05em;
  transition: transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(228,162,89,.75);
}
.btn--accent:hover {
  background: var(--sand-2);
  box-shadow: 0 18px 40px -14px rgba(228,162,89,.9);
}

.btn--ink {
  background: var(--ink);
  color: #fdfaf6;
}
.btn--ink:hover {
  background: var(--burgundy);
  box-shadow: 0 16px 34px -16px rgba(138,34,34,.8);
}


/* ---------------------------------------------------------
   6. HEADER
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
  /* Transition transparent → opaque pilotée par le scroll (CSS pur) */
  animation: header-solid linear both;
  animation-timeline: scroll(root block);
  animation-range: 40px 140px;
}
@keyframes header-solid {
  to {
    background: rgba(23,17,15,.9);
    border-bottom-color: rgba(255,255,255,.09);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}
/* Variante sans backdrop-filter : utilisée en mobile, où le panneau de menu est
   en position:fixed dans le header. Un backdrop-filter animé n'est jamais « none »,
   il crée un contexte d'empilement qui rognerait le panneau. */
@keyframes header-solid-flat {
  to {
    background: rgba(23,17,15,.96);
    border-bottom-color: rgba(255,255,255,.09);
  }
}
/* Repli pour les navigateurs sans scroll-driven animations */
@supports not (animation-timeline: scroll(root block)) {
  .site-header {
    animation: none;
    background: rgba(23,17,15,.92);
    border-bottom-color: rgba(255,255,255,.09);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand img { width: clamp(148px, 15vw, 190px); height: auto; }
.brand { transition: opacity .3s; }
.brand:hover { opacity: .8; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  font-size: .93rem;
  font-weight: 450;
}
.nav > a {
  position: relative;
  color: #e8ded4;
  padding-block: .35rem;
  transition: color .3s;
  white-space: nowrap;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav > a:hover { color: #fff; }
.nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav > a.is-current { color: var(--sand); }
.nav > a.is-current::after { transform: scaleX(1); }

.nav__cta {
  padding: .62rem 1.4rem !important;
  border: 1px solid rgba(228,162,89,.55);
  border-radius: 100px;
  color: var(--sand) !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--sand); color: var(--ink) !important; border-color: var(--sand); }

/* Menu mobile — CSS pur (checkbox). La case reste focusable au clavier ;
   l'anneau de focus est reporté visuellement sur le bouton burger. */
.nav-toggle { display: none; }   /* pas de tabulation fantôme sur desktop */
.burger { display: none; }
.nav-toggle:focus-visible ~ .burger {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 8px;
}


/* ---------------------------------------------------------
   7. HERO
   --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -84px;   /* le header se superpose */
  padding-top: calc(84px + clamp(3rem, 7vw, 6rem));
  padding-bottom: 0;
  background:
    radial-gradient(90% 70% at 12% 8%, #2b1f1a 0%, transparent 58%),
    var(--ink);
}

.hero__glow {
  position: absolute;
  inset: auto -10% -30% 30%;
  height: 70vh;
  background: radial-gradient(closest-side, rgba(228,162,89,.20), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__copy { padding-bottom: clamp(3.5rem, 8vw, 7rem); }

.hero__title {
  font-size: clamp(2.05rem, 1rem + 3.9vw, 4.05rem);
  line-height: 1.04;
  color: #fdfaf6;
  max-width: 17ch;
}
.hero__title em {
  font-style: italic;
  color: var(--sand);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.hero__method {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, .95rem + .7vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--sand-2);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.hero__lead {
  margin-top: 1.75rem;
  max-width: 52ch;
  color: #bfb2a7;
  font-size: 1.02em;
}

.hero__actions { margin: 2.35rem 0 0; }

/* Média */
.hero__media {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}
.hero__disc {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: min(115%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-deep) 55%, var(--burgundy) 115%);
  opacity: .95;
}
.hero__disc::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  border: 1px solid rgba(228,162,89,.28);
}
.hero__portrait {
  position: relative;
  width: min(100%, 460px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}

/* Animation d'entrée du hero */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero__title, .hero__method, .hero__lead, .hero__actions, .hero__media {
  animation: hero-in .9s var(--ease) both;
}
.hero__method  { animation-delay: .1s; }
.hero__lead    { animation-delay: .18s; }
.hero__actions { animation-delay: .26s; }
.hero__media   { animation-delay: .12s; }


/* ---------------------------------------------------------
   8. CONSTAT
   --------------------------------------------------------- */
.constat__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.constat__head { position: sticky; top: 130px; }
.constat__body { padding-top: .5rem; }
.constat__body .p-strong {
  margin-top: 1.75rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--sand);
  font-weight: 450;
  color: var(--fg-strong);
}
.constat__actions { margin-top: 2.4rem; }


/* ---------------------------------------------------------
   9. POINTS DE DOULEUR
   --------------------------------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pain {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.pain:hover {
  transform: translateY(-5px);
  border-color: var(--sand);
  box-shadow: 0 24px 48px -30px rgba(23,17,15,.5);
}
.pain__num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  transition: background-color .45s, color .45s;
}
.pain:hover .pain__num { background: var(--sand); color: var(--ink); }
.pain p { font-size: .99em; }

/* Pivot */
.pivot {
  margin-top: clamp(3rem, 6vw, 5rem);
  max-width: 68ch;
}
.pivot__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.9vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--fg-strong);
  margin-bottom: .85rem;
}
.pivot__text { font-size: 1.06em; }
.pivot__text strong {
  color: var(--burgundy);
  font-weight: 600;
  background: linear-gradient(transparent 62%, rgba(228,162,89,.4) 62%);
}


/* ---------------------------------------------------------
   10. ÉQUATION
   --------------------------------------------------------- */
.equation { overflow: hidden; }
.equation__glow {
  position: absolute;
  inset: -20% 20% auto 20%;
  height: 60vh;
  background: radial-gradient(closest-side, rgba(228,162,89,.16), transparent 70%);
  pointer-events: none;
}
.equation .shell { position: relative; }
.equation .eyebrow { justify-content: center; text-align: center; }

/* L'équation est composée en fraction : « POTENTIEL ÷ INTERFÉRENCES »
   se lit à l'identique, tient sur une ligne et n'orpheline jamais l'opérateur. */
.equation__formula {
  --eq-size: clamp(1.35rem, .5rem + 3.2vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 1.8vw, 1.7rem);
  margin: clamp(1rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.eq-term {
  font-family: var(--font-display);
  font-size: var(--eq-size);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fdfaf6;
}
.eq-term--accent { color: var(--sand); }
.eq-op {
  font-family: var(--font-display);
  font-size: calc(var(--eq-size) * .8);
  color: var(--sand);
  opacity: .9;
}
.eq-fraction {
  display: inline-grid;
  justify-items: center;
  gap: .3em;
  padding-inline: .4em;
  flex: none;            /* garde la largeur du terme le plus long : la barre reste alignée */
}
.eq-bar {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sand) 25%, transparent),
    var(--sand) 22%, var(--sand) 78%,
    color-mix(in srgb, var(--sand) 25%, transparent));
}

.equation__body {
  max-width: 66ch;
  margin-inline: auto;
  text-align: center;
}
.equation__body .lede { color: var(--sand-2); font-family: var(--font-display); font-style: italic; }


/* ---------------------------------------------------------
   11. POURQUOI — double casquette
   --------------------------------------------------------- */
.why__intro {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 1.06em;
}
.why__label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--fg-strong);
  margin-bottom: 1.5rem;
}

.hats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hat {
  position: relative;
  padding: clamp(1.9rem, 3vw, 2.6rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -40px rgba(23,17,15,.6);
}
.hat__num {
  position: absolute;
  top: clamp(1.9rem, 3vw, 2.6rem);
  right: clamp(1.9rem, 3vw, 2.6rem);
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--sand);
  opacity: .35;
}
.hat__title {
  font-size: 1.42rem;
  margin-bottom: 1.1rem;
  padding-right: 3rem;
}
.hat__title span {
  display: block;
  font-size: .78em;
  font-weight: 400;
  font-style: italic;
  color: var(--fg-muted);
  margin-top: .25rem;
}
.hat p { font-size: .98em; }


/* ---------------------------------------------------------
   12. CE QUE JE SUIS / NE SUIS PAS
   --------------------------------------------------------- */
.stance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.stance__col {
  padding: clamp(1.9rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.stance__col--no {
  background: var(--cream-2);
  color: var(--slate-soft);
}
.stance__col--yes {
  background: var(--ink);
  border-color: transparent;
  color: #cdc2b8;
}
.stance__title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.stance__title em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
}
.stance__col--no .stance__title { color: var(--slate); }
.stance__col--no .stance__title em { color: var(--slate-soft); }
.stance__col--yes .stance__title { color: #fdfaf6; }
.stance__col--yes .stance__title em { color: var(--sand); }

.stance__list { display: grid; gap: 1rem; }
.stance__list li {
  position: relative;
  padding-left: 2.15rem;
  font-size: .98em;
  line-height: 1.6;
}
.stance__list li::before {
  position: absolute;
  left: 0;
  top: .05em;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-body);
}
.stance__col--no li::before {
  content: "✕";
  background: #e2d5c4;
  color: #8b7f72;
}
.stance__col--yes li::before {
  content: "✓";
  background: var(--sand);
  color: var(--ink);
}


/* ---------------------------------------------------------
   13. 3 PILIERS
   --------------------------------------------------------- */
.pillars .section__head { max-width: 34ch; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.pillar {
  position: relative;
  padding: clamp(1.9rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .45s var(--ease), background-color .45s, border-color .45s;
}
.pillar:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.09);
  border-color: rgba(228,162,89,.45);
}
.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--sand);
  margin-bottom: 1.4rem;
}
.pillar__title {
  font-size: clamp(1.6rem, 1.2rem + .9vw, 2.1rem);
  color: #fff7f2;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.pillar p { font-size: .97em; color: #efd8d2; }
.pillar p em {
  font-style: italic;
  color: var(--sand-2);
  font-weight: 500;
}


/* ---------------------------------------------------------
   14. FAQ
   --------------------------------------------------------- */
.faq__list {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, .95rem + .5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--fg-strong);
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--burgundy); }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 26px; height: 26px;
  margin-top: .2em;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--accent), var(--accent)) center/11px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/1.5px 11px no-repeat;
  transition: transform .4s var(--ease), background-size .4s var(--ease),
              background-color .3s, border-color .3s;
}
.faq__item[open] summary::after {
  transform: rotate(180deg);
  background-size: 11px 1.5px, 0 11px;
  background-color: var(--sand);
  border-color: var(--sand);
}

.faq__answer {
  padding: 0 clamp(0rem, 4vw, 3.5rem) 1.9rem 0;
  max-width: 68ch;
  color: var(--fg);
}
.faq__answer p { margin-bottom: .9em; font-size: .99em; }

/* Ouverture animée (navigateurs récents) */
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition: block-size .45s var(--ease), opacity .35s var(--ease),
              content-visibility .45s allow-discrete;
}
.faq__item[open]::details-content {
  block-size: auto;
  opacity: 1;
}


/* ---------------------------------------------------------
   15. CONTACT
   --------------------------------------------------------- */
.contact { overflow: hidden; }
.contact__glow {
  position: absolute;
  inset: -25% -10% auto auto;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(138,34,34,.5), transparent 70%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__copy { position: sticky; top: 130px; }

.offer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .55rem;
  margin: 2rem 0 1.5rem;
  padding: 1.05rem 1.6rem;
  border: 1px solid rgba(228,162,89,.35);
  border-radius: 100px;
  background: rgba(228,162,89,.08);
}
.offer__label {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: #fdfaf6;
}
.offer__price {
  font-size: .95rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: .01em;
}
.contact__text { color: #bfb2a7; max-width: 48ch; }

/* Le script d'embed LeadConnector met l'iframe en position:absolute tant que
   le formulaire n'a pas renvoyé sa hauteur. Sans réservation d'espace, le
   conteneur s'effondre à la hauteur de son padding et la colonne paraît vide.
   On réserve donc la place côté conteneur, pas côté iframe. */
.contact__form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.9);
  min-height: 640px;
  display: grid;
  align-content: start;
}
.contact__form iframe {
  width: 100%;
  min-height: 610px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
/* form_embed.js masque l'iframe (position:absolute; visibility:hidden; left:-9999px)
   jusqu'à ce que le formulaire lui renvoie sa hauteur par postMessage. Ce dialogue
   échoue par intermittence — et le formulaire reste alors invisible, sans erreur.
   On force donc son affichage : le script continue de piloter la hauteur (non
   surchargée ici), mais il ne peut plus rendre le formulaire inaccessible. */
.contact__form iframe {
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  left: auto !important;
}


/* ---------------------------------------------------------
   16. UNE DERNIÈRE CHOSE
   --------------------------------------------------------- */
.last__inner { text-align: center; }
.last__inner .eyebrow { justify-content: center; }
.last__inner .h-display { margin-bottom: 1rem; }

.last__or {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  color: var(--sand-deep);
  margin-bottom: 2rem;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.last__inner > p { max-width: 62ch; margin-inline: auto; }
.last__punch {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
}
.last__actions { margin-top: 2.5rem; }


/* ---------------------------------------------------------
   17. FOOTER
   --------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #a1948a;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer__resonance {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #fdfaf6;
  margin: 0;
}
.footer__resonance strong { color: var(--sand); font-weight: 500; }

.footer__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.9rem;
  justify-content: space-between;
}
.brand--footer img { width: 170px; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  font-size: .93rem;
}
.footer__nav a { color: #a1948a; transition: color .3s; }
.footer__nav a:hover { color: var(--sand); }

.footer__bottom {
  padding-top: 1.75rem;
  font-size: .84rem;
  letter-spacing: .04em;
  color: #7d7169;
}
.footer__bottom p { margin: 0; }


/* =========================================================
   COMPOSANTS DES PAGES INTERNES
   ========================================================= */

/* --- Hero de page interne --- */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: -84px;
  padding-top: calc(84px + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(80% 70% at 10% 10%, #2b1f1a 0%, transparent 60%),
    var(--ink);
  color: var(--fg);
}
.page-hero__glow {
  position: absolute;
  inset: auto -5% -40% 45%;
  height: 60vh;
  background: radial-gradient(closest-side, rgba(228,162,89,.18), transparent 72%);
  pointer-events: none;
}
.page-hero .shell { position: relative; }

.page-hero__title {
  font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem);
  line-height: 1.03;
  color: #fdfaf6;
  max-width: 18ch;
  margin-bottom: 1.4rem;
}
.page-hero__lead {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  color: #cdc2b8;
}
.page-hero__tags {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sand-2);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.page-hero__actions { margin-top: 2.4rem; margin-bottom: 0; }

/* --- Fil d'Ariane --- */
.breadcrumb { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: .75rem; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--sand);
  opacity: .5;
}
.breadcrumb a { color: var(--sand); transition: opacity .3s; }
.breadcrumb a:hover { opacity: .75; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--fg-muted); }

/* --- Blocs de texte --- */
.prose { max-width: 68ch; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.prose__label {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg-strong);
}
.prose__more { margin-top: 2.25rem; }

.h-sub {
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  margin: 2rem 0 .9rem;
}
.h-sub:first-child { margin-top: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .97rem;
  color: var(--burgundy);
  border-bottom: 1px solid color-mix(in srgb, var(--burgundy) 35%, transparent);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s, gap .3s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: .85rem; border-color: var(--burgundy); }
.section--dark .link-arrow,
.section--burgundy .link-arrow { color: var(--sand); border-color: color-mix(in srgb, var(--sand) 40%, transparent); }

/* --- Listes à puces cochées --- */
.check-list { display: grid; gap: .8rem; }
.check-list li {
  position: relative;
  padding-left: 1.95rem;
  font-size: .99em;
  line-height: 1.62;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sand) 22%, transparent);
}
.check-list--light li { color: inherit; }
.check-list em { font-style: italic; color: var(--burgundy); font-weight: 500; }
.section--dark .check-list em,
.section--burgundy .check-list em { color: var(--sand-2); }

/* --- Méthode : gros blocs numérotés --- */
.method { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.method__block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.method__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  opacity: .8;
}
.method__title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem);
  color: var(--fg-strong);
  margin-bottom: 1rem;
}
.method__title span {
  display: block;
  font-size: .62em;
  font-style: italic;
  font-weight: 400;
  color: var(--fg-muted);
  margin-top: .3rem;
}
.method__sub {
  margin: 1.6rem 0 .8rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.method__label { margin-top: 1.4rem; font-weight: 500; color: var(--fg-strong); }
.method__result {
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.method__result strong { color: var(--accent); }

/* Variante sur fond clair */
.section--cream .method__block,
.section--cream-2 .method__block {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 20px 50px -42px rgba(23,17,15,.55);
}

/* --- Deux colonnes --- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -40px rgba(23,17,15,.6);
}
.panel__title {
  font-size: 1.08rem;
  margin-bottom: 1rem;
  color: var(--fg-strong);
}
.panel__title + .check-list { margin-bottom: 1.9rem; }
.panel .check-list:last-child { margin-bottom: 0; }

/* --- Bénéfices --- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.benefit {
  padding: clamp(1.7rem, 3vw, 2.3rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s var(--ease);
}
.benefit:hover {
  transform: translateY(-5px);
  border-color: var(--sand);
  box-shadow: 0 24px 48px -30px rgba(23,17,15,.45);
}
.benefit__title {
  font-size: 1.22rem;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--burgundy);
}

/* --- Bloc tarif --- */
.price { text-align: center; }
.price__amount {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem);
  color: #fdfaf6;
  margin-bottom: 1.25rem;
}
.price__amount strong { color: var(--sand); font-weight: 500; }
.price__note { max-width: 62ch; margin-inline: auto; }
.price__label {
  margin: 2.25rem 0 1.25rem;
  font-size: 1.15rem;
  color: #fdfaf6;
}
.price .check-list {
  max-width: 46ch;
  margin-inline: auto;
  text-align: left;
}

.contact__text--strong {
  margin-top: 1.5rem;
  font-weight: 500;
  color: #fdfaf6;
}
.contact__copy .check-list { margin-top: 1rem; margin-bottom: 1.15em; }

/* --- Bloc « les interférences » (section équation) --- */
.interference__head {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
}
.interference__intro {
  max-width: 60ch;
  margin: 1rem auto clamp(2.25rem, 4vw, 3rem);
  text-align: center;
}
.equation__body--after { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* --- Accroche de fin de carte --- */
.benefit__punch,
.panel__punch {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent);
}

.panel--dark {
  background: rgba(255,255,255,.06);
  border-color: var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}
.panel--dark strong { color: var(--fg-strong); }

/* --- Hero de la page profil (avec portrait) --- */
.page-hero--profile { padding-bottom: 0; }
.profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.profile-hero__copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
.profile-hero__role {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem);
  font-style: italic;
  color: var(--sand-2);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.profile-hero__media {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}
.profile-hero__disc {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: min(115%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-deep) 55%, var(--burgundy) 115%);
  opacity: .95;
}
.profile-hero__disc::after {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(228,162,89,.28);
}
.profile-hero__portrait {
  position: relative;
  width: min(100%, 400px);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}

/* --- Équation mise en exergue dans une carte --- */
.hat__equation {
  margin: .35rem 0 1.15em;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: var(--accent);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.prose__label--light { color: var(--fg-strong); }

/* --- Portrait circulaire (section aïkido) --- */
.portrait-round {
  width: clamp(150px, 20vw, 210px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.75rem;
  border: 1px solid color-mix(in srgb, var(--sand) 45%, transparent);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.6);
}

/* --- Valeurs --- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.value {
  position: relative;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  padding-top: clamp(2.2rem, 3.5vw, 2.9rem);
  border-top: 2px solid var(--sand);
  background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 9%, transparent), transparent 55%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.value__title {
  font-size: 1.3rem;
  margin-bottom: .9rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--accent);
}

/* --- Listes d'articles --- */
.post-list { display: grid; gap: 0; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list li:first-child { border-top: 1px solid var(--line); }
.post-list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--fg-strong);
  transition: color .3s, padding-left .35s var(--ease);
}
.post-list a::before {
  content: "→";
  flex: none;
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.post-list a:hover { color: var(--accent); padding-left: .4rem; }

.post-list--compact { margin: 1.5rem 0 0; }
.post-list--compact a {
  padding: .85rem 0;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 450;
  line-height: 1.5;
}

/* --- Cartes de thématiques --- */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.topic {
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.topic__kicker {
  margin-bottom: .85rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.topic__title {
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  margin-bottom: 1rem;
}
.topic__more { margin-top: auto; padding-top: 1.5rem; }

.prose--wide { max-width: none; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 0; }

/* ---------------------------------------------------------
   ARTICLES
   --------------------------------------------------------- */
.article__body {
  max-width: 72ch;
  font-size: clamp(1.02rem, .97rem + .25vw, 1.14rem);
  line-height: 1.78;
}
.article__body > * + * { margin-top: 1.3em; }

.article__body h2 {
  margin-top: 2.6em;
  margin-bottom: .1em;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem);
  line-height: 1.15;
}
.article__body h2 strong { font-weight: inherit; color: inherit; }
.article__body h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: .55rem;
  background: var(--sand);
  border-radius: 2px;
}
.article__body h3 {
  margin-top: 2em;
  margin-bottom: .1em;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem);
}
.article__body h2:first-child,
.article__body h3:first-child { margin-top: 0; }

.article__body p { margin-bottom: 0; }

.article__body a {
  color: var(--burgundy);
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--burgundy) 32%, transparent);
  transition: border-color .3s, background-color .3s;
}
.article__body a:hover {
  border-color: var(--burgundy);
  background: color-mix(in srgb, var(--sand) 18%, transparent);
}

.article__body ul, .article__body ol { display: grid; gap: .7rem; }
.article__body ul li,
.article__body ol li {
  position: relative;
  padding-left: 1.95rem;
  line-height: 1.68;
}
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sand) 22%, transparent);
}
.article__body ol { counter-reset: art; }
.article__body ol li { padding-left: 2.4rem; }
.article__body ol li::before {
  counter-increment: art;
  content: counter(art) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--burgundy);
}

.article__body blockquote {
  margin: 2em 0;
  padding: 1.4rem 1.75rem;
  border-left: 2px solid var(--sand);
  background: var(--cream-2);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: 1.1em;
  font-style: italic;
}
.article__body img { border-radius: var(--radius); margin-block: 1.6em; }

/* --- Pages légales : texte dense, titres plus sobres --- */
.legal { font-size: clamp(.96rem, .93rem + .18vw, 1.03rem); line-height: 1.72; }
.legal h2 {
  margin-top: 2.4em;
  font-size: clamp(1.15rem, 1.02rem + .55vw, 1.45rem);
  letter-spacing: -.01em;
}
.legal h2::after { width: 34px; }
.legal h3 {
  margin-top: 1.9em;
  font-size: clamp(1.02rem, .97rem + .3vw, 1.15rem);
  color: var(--accent);
}
.legal ul { gap: .55rem; }
.legal__updated {
  margin-top: 2.8em;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .9em;
  color: var(--fg-muted);
}

/* Encart de conversion en fin d'article */
.article-cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.9rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #cdc2b8;
  max-width: 72ch;
}
.article-cta h2 {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  color: #fdfaf6;
  margin-bottom: .9rem;
}
.article-cta p { margin-bottom: 1.6rem; }
.article-cta .btn { margin-top: .25rem; }

/* Articles liés */
.related { margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 72ch; }
.related__title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}

.contact__text--warning {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--sand);
  background: rgba(228,162,89,.08);
  border-radius: 0 8px 8px 0;
}


/* ---------------------------------------------------------
   18. RÉVÉLATION AU SCROLL (CSS pur)
   --------------------------------------------------------- */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-in .8s linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 26%;
  }
  /* Décalage léger entre cartes d'une même grille */
  .pain-grid .reveal  { animation-range: entry 2% cover 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero__title, .hero__method, .hero__lead, .hero__actions, .hero__media {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .site-header { animation: none; }
  * { transition-duration: .01ms !important; }
}


/* ---------------------------------------------------------
   19. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero__portrait { width: min(100%, 380px); }
}

@media (max-width: 900px) {
  /* --- Menu mobile --- */

  /* Pas de backdrop-filter sur le header : il rognerait le panneau fixe. */
  .site-header {
    animation-name: header-solid-flat;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Menu ouvert : header opaque, d'un seul tenant avec le panneau. */
  .site-header:has(.nav-toggle:checked) {
    animation: none;
    background: var(--ink);
    border-bottom-color: transparent;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px; height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }
  .burger {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 46px; height: 46px;
    cursor: pointer;
    z-index: 2;
  }
  .burger span {
    display: block;
    width: 24px; height: 2px;
    background: #fdfaf6;
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .25s;
  }
  .nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 84px 0 0 0;            /* panneau plein écran, fond opaque */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 1.05rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-toggle:checked ~ .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav > a {
    padding: .95rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav > a::after { display: none; }
  .nav__cta {
    margin-top: 1.25rem;
    text-align: center;
    border-bottom: 0 !important;
  }

  /* --- Layouts --- */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__copy { padding-bottom: 2.5rem; }
  .hero__title { max-width: 20ch; }
  .hero__media { max-width: 420px; margin-inline: auto; }

  .constat__inner,
  .contact__inner,
  .footer__top { grid-template-columns: 1fr; }

  .constat__head,
  .contact__copy { position: static; }

  .footer__side { align-items: flex-start; }

  /* --- Pages internes --- */
  .method__block {
    grid-template-columns: 1fr;
    gap: .9rem;
  }
  .page-hero__title { max-width: 100%; }

  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero__copy { padding-bottom: 2.5rem; }
  .profile-hero__media { max-width: 380px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .equation__formula { gap: .4rem .8rem; }
  .offer { width: 100%; justify-content: center; text-align: center; }
  .btn { width: 100%; justify-content: center; }
  .hat__num { font-size: 2.8rem; }
  .faq__answer { padding-right: 0; }
}
