/* ============================================================
   ELBER — landing 2026
   Tokens : elber-new-design-system
   Layout : landing-test-plus-mag-retro-70s (magazine retro)
   Contenu : landing-page-final
   Typo   : DM Serif Display (H1/H2/H3) · DM Sans (le reste)
   Mobile-first · breakpoints ascendants (390 / 720 / 1024)
   ============================================================ */


/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* ---------- BRAND COLOR ---------- */
  --orange:           #FF4F18;
  --orange-hover:     #E63D08;
  --orange-pressed:   #CC3200;
  --orange-disabled:  #FCBDA5;
  --orange-focus:     rgba(255, 79, 24, 0.28);

  /* ---------- INK (text) ---------- */
  --ink:    #000000;
  --ink-2:  #5A4A3A;
  --ink-3:  #9C8878;

  /* ---------- SURFACES ---------- */
  --bg:      #FAF4EC;
  --bg-warm: #F5EBDB;
  --s1:      #FFFDFB;
  --s2:      #F0EAE0;
  --s3:      #E8DFD3;
  --border:  rgba(10, 10, 10, 0.10);

  /* ---------- TYPE FAMILIES ---------- */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                  Helvetica, Arial, sans-serif;

  /* ---------- TYPE SCALE (fluid) ---------- */
  --t-display: clamp(28px, 3.8vw, 46px);  /* hero title */
  --t-h1:      clamp(34px, 5.5vw, 64px);
  --t-h2:      clamp(30px, 4.6vw, 56px);
  --t-h3:      clamp(22px, 2.6vw, 28px);
  --t-body-lg: 17px;
  --t-body:    15px;
  --t-body-sm: 14px;
  --t-caption: 12px;
  --t-micro:   11px;

  /* ---------- LINE HEIGHTS / TRACKING ---------- */
  --lh-tight:   0.96;
  --lh-snug:    1.18;
  --lh-normal:  1.55;
  --lh-loose:   1.65;
  --tr-display: -0.5px;
  --tr-tight:   -0.018em;
  --tr-wide:    0.06em;

  /* ---------- SPACING (4px base) ---------- */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ---------- RADII ---------- */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  32px;
  --r-3xl:  48px;
  --r-pill: 999px;

  /* ---------- SHADOWS ---------- */
  --sh-card:    0 2px 12px rgba(0, 0, 0, 0.06);
  --sh-card-hi: 0 8px 28px rgba(0, 0, 0, 0.08);
  --sh-cta:     0 6px 20px rgba(255, 79, 24, 0.22);
  --sh-pressed: inset 0 2px 6px rgba(0, 0, 0, 0.18);
  --sh-photo:   0 24px 60px -20px rgba(10, 10, 10, 0.20);
  --sh-nav:     0 10px 30px rgba(10, 10, 10, 0.06);

  /* ---------- MOTION ---------- */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in:  cubic-bezier(.55, .05, .85, .35);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  /* ---------- LAYOUT ---------- */
  --container-max: 1240px;
  --container-pad: 20px;        /* mobile */

  /* ---------- SECTION RHYTHM ---------- */
  --section-y: 68px;
  --section-y-md: 88px;
  --section-y-tight: 40px;
  --section-divider-gap: 56px;
}


/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--tr-display);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
}

p { color: var(--ink-2); }

em { font-style: italic; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

::selection { background: var(--orange); color: #FFFDFB; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--orange-focus);
  border-radius: var(--r-sm);
}


/* ============================================================
   LAYOUT — container, screen reader helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   UTILITIES — labels, eyebrows, captions
   ============================================================ */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--t-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.label--orange { color: var(--ink-3); }
.label--muted  { color: var(--ink-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.btn--lg { padding: 17px 30px; font-size: 15px; }
.btn--primary { background: var(--orange); color: #FFFDFB; box-shadow: var(--sh-cta); }
.btn--primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn--primary:active { background: var(--orange-pressed); transform: scale(.97); box-shadow: var(--sh-pressed); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #1f1f1f; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--orange); }
.btn--arrow::after {
  content: '→';
  transition: transform var(--dur-base) var(--ease-out);
}
.btn--arrow:hover::after { transform: translateX(3px); }

.linkish {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.linkish:hover { color: var(--orange); border-color: var(--orange); }


/* ============================================================
   ANIMATIONS — reveal on scroll
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.fade-up.is-in {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .26s; }
.d3 { transition-delay: .42s; }

/* Entrée du hero bottom avec blur — plus cinématique */
.hero .fade-up {
  filter: blur(6px);
  transform: translateY(48px);
  transition: opacity 1.3s cubic-bezier(.16, 1, .3, 1),
              transform 1.3s cubic-bezier(.16, 1, .3, 1),
              filter 1.1s cubic-bezier(.16, 1, .3, 1);
}
.hero .fade-up.is-in {
  filter: blur(0);
  transform: translateY(0);
}


/* ============================================================
   NAV — floating pill (mobile-first)
   ============================================================ */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 24px);
  max-width: 200px;
  opacity: 0;
  filter: blur(8px);
  animation: nav-in .7s var(--ease-out) .2s forwards;
  transition: max-width .8s cubic-bezier(.16, 1, .3, 1);
}
@keyframes nav-in { to { opacity: 1; filter: blur(0); } }
.nav.is-scrolled { max-width: 920px; }

.nav__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 18px;
  background: rgba(250, 244, 236, 0.98);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-pill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 8px 24px -8px rgba(10, 10, 10, 0.12),
    0 16px 48px -16px rgba(10, 10, 10, 0.08);
}
.nav.is-scrolled .nav__cap { padding: 0 18px; }

.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 20px; width: auto; }
.nav:not(.is-scrolled) .nav__logo { margin: 0 auto; }

.nav__links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__links a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.nav__links a:hover { color: var(--ink); opacity: 0.95; }

.nav__cta { display: none; gap: 6px; }
.nav__cta .btn { padding: 10px 18px; font-size: 16px; box-shadow: none; }
.nav__cta .btn--primary { box-shadow: 0 4px 14px rgba(255, 79, 24, 0.20); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

/* Mobile dropdown */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  background: rgba(250, 244, 236, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--r-xl);
  padding: 10px;
}
.nav.is-open .nav__mobile {
  display: flex;
  animation: nav-drop-in .25s var(--ease-out) forwards;
}
@keyframes nav-drop-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav__mobile ul { list-style: none; display: flex; flex-direction: column; }
.nav__mobile li a {
  display: block;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__mobile li a:hover { background: rgba(10, 10, 10, 0.05); }
.nav__mobile .btn {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 12px 20px;
}

/* Scrolled state */
.nav.is-scrolled .nav__burger { display: flex; }

@media (min-width: 720px) {
  .nav { top: 18px; }
  .nav__cap { height: 60px; }
  .nav.is-scrolled .nav__cap { padding: 0 8px 0 22px; }  /* CTA button provides right visual padding */
  .nav__logo img { height: 22px; }
  .nav.is-scrolled .nav__links {
    display: flex;
    animation: nav-drop-in .4s var(--ease-out) forwards;
  }
  .nav.is-scrolled .nav__cta {
    display: flex;
    animation: nav-drop-in .4s var(--ease-out) .08s both;
  }
  .nav.is-scrolled .nav__burger { display: none; }
  .nav__mobile { display: none !important; }
}


/* ============================================================
   HERO — centered title + 3-photo collage
   ============================================================ */
.hero {
  padding: 110px 0 var(--sp-10);
  position: relative;
}

.hero__issue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.issue-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-warm);
  border: 1px solid rgba(10, 10, 10, 0.08);
  padding: 7px 14px;
  border-radius: var(--r-pill);
}
.issue-pill__dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  text-align: center;
  margin: 0 auto 72px;
  max-width: 1100px;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--orange);
}
.hero__rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  vertical-align: middle;
  margin: 0 10px 0.18em;
}

.hero { overflow-x: clip; }
.hero__collage {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  width: max-content;
  align-items: center;
}

.hero__photo {
  position: relative;
  flex: none;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--sh-photo);
  will-change: transform;
}
.hero__photo--1 { width: 42vw; aspect-ratio: 3/4; }
.hero__photo--2 { width: 54vw; aspect-ratio: 4/5; border-radius: var(--r-2xl); }
.hero__photo--3 { width: 48vw; aspect-ratio: 3/4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Titre hero — révélation ligne par ligne (injectée par Motion.js) */
.title-line { display: block; }
.title-line__inner { display: inline-block; }

.hero__photo-cap {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.hero__desc {
  font-family: var(--font-display);
  letter-spacing: var(--tr-display);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 340px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .hero__desc { max-width: 500px; font-size: 22px; }
}
.hero__actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}
.hero__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.7;
}
.hero__meta strong { color: var(--ink); display: block; font-weight: 600; }

@media (min-width: 720px) {
  .hero { padding: 140px 0 var(--sp-16); }
  .hero__issue { gap: 12px; margin-bottom: 44px; }
  .issue-pill { padding: 8px 16px; }
  .hero__rule { width: 64px; margin: 0 14px 0.18em; }
  .hero__collage {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 18px;
    margin: 0 auto 56px;
    padding: 0;
    overflow: visible;
    width: auto;
    max-width: 880px;
  }
  .hero__photo {
    flex: initial;
    width: auto;
  }
  .hero__photo--1 {
    aspect-ratio: 5/6;
    transform: rotate(-2.5deg) translateY(16px);
  }
  .hero__photo--2 {
    aspect-ratio: 6/7;
    transform: scale(1.02);
    z-index: 2;
  }
  .hero__photo--3 {
    aspect-ratio: 5/6;
    transform: rotate(2.5deg) translateY(16px);
  }
  .hero__bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    justify-items: center;
  }
  .hero__actions { align-items: center; flex-direction: row; }
}


/* ============================================================
   TICKER — keyword carousel
   ============================================================ */
.ticker {
  --ticker-fade: 32px;
  position: relative;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 0;
  overflow: hidden;
  border-radius: var(--r-2xl);
  margin: 0 16px;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--ticker-fade);
  z-index: 1;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink) 15%, transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink) 15%, transparent);
}
@media (min-width: 720px) {
  .ticker {
    --ticker-fade: 48px;
    margin: 0 32px;
    padding: 14px 0;
  }
}
.ticker__inner {
  display: flex;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
}
.ticker__item {
  position: relative;
  font-family: var(--font-display);
  font-size: 17px;
  padding: 0 22px;
  white-space: nowrap;
}
.ticker__item em { font-style: italic; color: var(--orange); }
.ticker__item::after {
  content: '✦';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--orange);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
}
@media (min-width: 720px) {
  .ticker__item { font-size: 20px; padding: 0 28px; }
  .ticker__item::after { font-size: 12px; }
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* Espacement vertical — resserré quand deux sections partagent le même fond */
.ticker + section { padding-top: calc(var(--section-y) * 0.7); }
.ticker + .constat { padding-top: calc(var(--section-y) * 0.9); }
@media (min-width: 720px) {
  .ticker + .constat { padding-top: calc(var(--section-y-md) * 0.95); }
}

.constat:has(+ .selection) {
  padding-bottom: var(--section-y-tight);
}

.constat + .selection {
  padding-top: var(--section-y-tight);
}

/* Commencer (CTA) → FAQ */
.cta-final:has(+ .faq-section) {
  padding-bottom: var(--section-y-tight);
}
.cta-final + .faq-section {
  padding-top: var(--section-y-tight);
}

/* Sélection → Comment ça marche → Diff */
.selection:has(+ .how),
.how:has(+ .verbatims),
.mot-wrap:has(+ .diff-section) {
  padding-bottom: var(--section-y);
}
.selection + .how,
.how + .verbatims,
.mot-wrap + .diff-section {
  padding-top: var(--section-y);
}
@media (min-width: 720px) {
  .selection:has(+ .how),
  .how:has(+ .verbatims),
  .mot-wrap:has(+ .diff-section) {
    padding-bottom: var(--section-y-md);
  }
  .selection + .how,
  .how + .verbatims,
  .mot-wrap + .diff-section {
    padding-top: var(--section-y-md);
  }
}

/* Ce qu'on entend → Le mot d'Elber */
.verbatims:has(+ .mot-wrap) { padding-bottom: var(--section-y-tight); }
.verbatims + .mot-wrap { padding-top: var(--section-y-tight); }

/* Associations — Notre approche → Notre méthode → Trouvez votre association */
.approche:has(+ .criteres),
.criteres:has(+ .quiz-section) {
  padding-bottom: var(--section-y);
}
.approche + .criteres,
.criteres + .quiz-section {
  padding-top: var(--section-y);
}
@media (min-width: 720px) {
  .approche:has(+ .criteres),
  .criteres:has(+ .quiz-section) {
    padding-bottom: var(--section-y-md);
  }
  .approche + .criteres,
  .criteres + .quiz-section {
    padding-top: var(--section-y-md);
  }
}

/* Questionnaire → Rejoignez Elber */
.quiz-section:has(+ .cta-final) {
  padding-bottom: var(--section-y-tight);
}
.quiz-section + .cta-final {
  padding-top: var(--section-y-tight);
}

/* Chapitres page L'arrondi — fonds alternés, espacement renforcé entre chapitres */
.chap-section + .chap-section:not(.bg-s1) {
  padding-top: var(--section-y);
}
.chap-section:not(.bg-s1) + .chap-section.bg-s1,
.chap-section.bg-s1 + .chap-section:not(.bg-s1) {
  padding-top: var(--section-y);
}
.chap-section:has(+ .chap-section) {
  padding-bottom: var(--section-y);
}
@media (min-width: 720px) {
  .chap-section + .chap-section:not(.bg-s1),
  .chap-section:not(.bg-s1) + .chap-section.bg-s1,
  .chap-section.bg-s1 + .chap-section:not(.bg-s1) {
    padding-top: var(--section-y-md);
  }
  .chap-section:has(+ .chap-section) {
    padding-bottom: var(--section-y-md);
  }
}


/* ============================================================
   SECTION HEAD — shared
   ============================================================ */
.section-head {
  text-align: center;
  margin-bottom: 44px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .label { margin-bottom: 14px; color: var(--ink-3); }
.section-head h2 {
  font-size: var(--t-h2);
  margin-bottom: 16px;
}
.section-head h2 em { font-style: italic; color: var(--orange); }
.section-head p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .section-head { margin-bottom: 52px; }
}


/* ============================================================
   SECTION 2 — LE CONSTAT
   ============================================================ */
.constat { padding-block: var(--section-y); }
@media (min-width: 720px) { .constat { padding-block: var(--section-y-md); } }

.constat__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
/* Mobile : texte en premier, image en second */
@media (max-width: 879px) {
  .constat__text { order: 1; }
  .constat__img  { order: 2; }
}
@media (min-width: 880px) {
  .constat__grid { grid-template-columns: 1fr 1.5fr; gap: 72px; }
}

.constat__img {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-warm);
  box-shadow: var(--sh-photo);
}
.constat__img img {
  display: block;
  width: 100%;
  height: 112%;
  margin-top: -6%;
  object-fit: cover;
}
/* Mobile / tablette : image calée dans le cadre (pas de parallax, pas de bande) */
@media (max-width: 879px) {
  .constat__img {
    background: var(--ink);
  }
  .constat__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
  }
}
.constat__img-cap {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--bg);
  padding: 7px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.constat__img-num {
  position: absolute;
  bottom: 16px; right: 18px;
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--bg);
  line-height: .9;
  font-style: italic;
}
.constat__text .label {
  color: var(--ink-3);
  margin-bottom: 18px;
}
.constat__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  margin-bottom: 24px;
  color: var(--ink);
}
.constat__quote em { font-style: italic; color: var(--orange); }
.constat__body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 540px;
}
.constat__sig {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 22px;
}
.constat__sig span { color: var(--ink-3); font-weight: 500; }


/* ============================================================
   SECTION 3 — LA SÉLECTION
   ============================================================ */
.selection { padding-block: var(--section-y); }
@media (min-width: 720px) { .selection { padding-block: var(--section-y-md); } }

/* Mobile — horizontal snap scroll */
.asso-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--container-pad);
  gap: 14px;
  /* Escape container padding pour un scroll bord-à-bord */
  margin-left:  calc(-1 * var(--container-pad));
  margin-right: calc(-1 * var(--container-pad));
  padding-left:  var(--container-pad);
  padding-right: var(--container-pad);
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.asso-grid::-webkit-scrollbar { display: none; }

.asso {
  flex: 0 0 82%;
  scroll-snap-align: start;
  min-width: 0;
}
/* Dernier élément : padding droit pour que la carte puisse snapper jusqu'au bord */
.asso:last-child { margin-right: var(--container-pad); }

/* Desktop — grille classique */
@media (min-width: 720px) {
  .asso-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }
  .asso { flex: unset; }
  .asso:last-child { margin-right: 0; }
}
@media (min-width: 1024px) { .asso-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1024px) { .asso-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.asso {
  background: var(--s1);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.asso:hover {
  box-shadow: 0 40px 80px -20px rgba(10, 10, 10, 0.22);
}
.asso__photo {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}
.asso__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.asso:hover .asso__photo img { transform: scale(1.04); }
.asso__tag, .asso__num {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.asso__tag {
  left: 14px;
  background: var(--bg);
  color: var(--ink);
}
.asso__num {
  right: 14px;
  background: var(--orange);
  color: #fff;
}
.asso__body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.asso__loc {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.asso__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  margin-bottom: 12px;
  color: var(--ink);
}
.asso__pitch {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 18px;
  flex: 1;
}
.asso__equiv,
.step__tag {
  background: var(--bg-warm);
  border-radius: var(--r-md);
}
.asso__equiv {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
  color: var(--ink);
}
.asso__equiv-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.asso__equiv strong { font-weight: 600; }
.asso__cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  align-self: flex-start;
}
.asso__cta:hover { gap: 12px; color: var(--orange); }

.selection__note {
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  border-left: 3px solid var(--orange);
  max-width: 560px;
}
.selection__note p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--ink);
}
.selection__note p + p {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 0;
}
.selection__cta-row {
  margin-top: 28px;
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.selection__diag {
  margin: 36px auto 0;
  max-width: 640px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.selection__diag .linkish {
  margin-left: 6px;
  white-space: nowrap;
}
@media (min-width: 720px) {
  .selection__diag { text-align: center; }
}


/* ============================================================
   SECTION 4 — COMMENT ÇA MARCHE
   ============================================================ */
.how {
  padding-block: var(--section-y);
  background: var(--bg-warm);
  border-radius: var(--r-3xl) var(--r-3xl) 0 0;
  position: relative;
}
@media (min-width: 720px) { .how { padding-block: var(--section-y-md); } }

.how__plate {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--s2);
  margin: 0 auto 48px;
  box-shadow: var(--sh-photo);
  max-width: 1080px;
}
@media (min-width: 720px) {
  .how__plate { aspect-ratio: 16/9; margin-bottom: 64px; }
}
.how__plate img { width: 100%; height: 100%; object-fit: cover; }
.how__plate-cap {
  position: absolute;
  left: 16px; bottom: 16px;
  background: var(--bg);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.step {
  background: var(--s1);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out);
}

/* Photo en tête de carte */
.step__photo {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  overflow: hidden;
  flex-shrink: 0;
}
.step__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step__img-num {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: .9;
  color: rgba(255, 253, 251, 0.82);
}

/* Contenu texte sous la photo */
.step__content {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
}
.step__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  flex: 1;
}
.step__tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px 16px;
  line-height: 1.5;
  align-self: flex-start;
}
.step__link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
}
.step__link:hover { color: var(--orange); border-color: var(--orange); }

.how__callout-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.how__callout {
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  border-left: 3px solid var(--orange);
  max-width: 560px;
}
.how__callout p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}


/* ============================================================
   SECTION 5 — VERBATIMS
   ============================================================ */
.verbatims { padding-block: var(--section-y); }
@media (min-width: 720px) { .verbatims { padding-block: var(--section-y-md); } }

/* ---- Grille : scroll horizontal sur toutes les tailles ---- */
.verbatims__grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--container-pad);
  gap: 16px;
  margin-left:  calc(-1 * var(--container-pad));
  margin-right: calc(-1 * var(--container-pad));
  padding-left:  var(--container-pad);
  padding-right: var(--container-pad);
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.verbatims__grid::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .verbatims__grid { gap: 24px; } }

/* ---- Carte ---- */
.verbatim {
  position: relative;
  flex: 0 0 82%;
  scroll-snap-align: start;
  min-width: 0;
  background: var(--s1);
  border-radius: var(--r-2xl);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.verbatim:last-child { margin-right: var(--container-pad); }
@media (min-width: 720px) { .verbatim { flex: 0 0 360px; } }
@media (min-width: 1024px) { .verbatim { flex: 0 0 380px; } }
.verbatim:hover {
  box-shadow: 0 28px 60px -16px rgba(10, 10, 10, 0.18);
}

/* ---- Avatar photo (position absolute, discret) ---- */
.verbatim__avatar {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.8;
}

/* ---- Contenu ---- */
.verbatim__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 72px;
  line-height: .4;
  color: var(--orange);
  height: 24px;
}
.verbatim__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -.005em;
  color: var(--ink);
  flex: 1;
}
.verbatim__sig {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 16px;
  border-top: 1px solid var(--s3);
}


/* ============================================================
   SECTION 6 — LE MOT D'ELBER
   ============================================================ */
.mot-wrap { padding-block: var(--section-y); }
@media (min-width: 720px) { .mot-wrap { padding-block: var(--section-y-md); } }

.mot {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 720px) { .mot { padding: 80px 64px; border-radius: var(--r-3xl); } }

.mot__inner { max-width: 760px; position: relative; z-index: 1; }
.mot__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.mot__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--orange);
}
.mot__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--bg);
}
.mot__text em { font-style: italic; color: var(--orange); }
.mot__text + .mot__text { margin-top: 24px; }
.mot__sig {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: rgba(250, 244, 236, .6);
}
.mot__footer {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.mot__team {
  display: flex;
  gap: 8px;
}
.mot__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.85;
}
.mot__goutte {
  position: absolute;
  right: -60px; bottom: -80px;
  width: 260px;
  opacity: .08;
  transform: rotate(20deg);
  pointer-events: none;
}


/* ============================================================
   SECTION 7 — FAQ
   ============================================================ */
.faq-section { padding-block: var(--section-y); }
@media (min-width: 720px) { .faq-section { padding-block: var(--section-y-md); } }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 880px) {
  .faq-layout {
    grid-template-columns: 360px 1fr;
    column-gap: 80px;
    align-items: start;
  }
  .faq__aside {
    display: flex;
    flex-direction: column;
    align-self: start;
  }
  .faq__aside h2 {
    margin-bottom: 12px;
  }
  .faq__list {
    align-self: start;
    margin-top: calc(var(--t-caption) * 1.4 + 16px);
  }
}
.faq__aside .label { color: var(--ink-3); margin-bottom: 16px; }
.faq__aside h2 {
  font-size: var(--t-h2);
  margin-bottom: 16px;
}
.faq__aside h2 em { font-style: italic; color: var(--orange); }
.faq__aside p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 320px;
}

.faq__list { display: flex; flex-direction: column; }
.faq__list details {
  border-top: 1px solid var(--s3);
  padding: 20px 0;
}
.faq__list details:first-of-type {
  border-top: none;
  padding-top: 0;
}
.faq__list details:last-of-type { border-bottom: 1px solid var(--s3); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__list summary:hover { color: var(--orange); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--s3);
  font-family: var(--font-body); font-weight: 400; font-size: 18px;
  color: var(--ink-2);
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}
.faq__list details[open] summary::after {
  content: "−";
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.faq__body {
  max-width: 720px;
  padding-top: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.faq__body p + p { margin-top: 10px; }
.faq__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 1px;
}
.faq__body a:hover { color: var(--orange); border-bottom-color: var(--orange); }


/* ============================================================
   SECTION 8 — CTA FINAL
   ============================================================ */
.cta-final {
  text-align: center;
  padding: var(--section-y) 20px var(--sp-16);
}
@media (min-width: 720px) {
  .cta-final { padding: var(--section-y-md) 20px var(--sp-20); }
  .cta-final:has(+ .faq-section) { padding-bottom: var(--section-y-tight); }
  .cta-final + .faq-section { padding-top: var(--section-y-tight); }
}

.cta-final .label {
  color: var(--ink-3);
  margin-bottom: 20px;
}
.cta-final .label::before { display: none; }
.cta-final h2 {
  font-size: clamp(36px, 6vw, 80px);
  margin: 0 auto;
  max-width: 880px;
}
.cta-final h2 em { font-style: italic; color: var(--orange); }
.cta-final p {
  margin: 20px auto 0;
  max-width: 540px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
}
.cta-final__btn { margin-top: 32px; }
.cta-final .btn {
  font-size: 16px;
  padding: 14px 24px;
}


/* ============================================================
   FOOTER — dark rounded top
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 72px 0 36px;
  border-radius: var(--r-3xl) var(--r-3xl) 0 0;
}
@media (min-width: 720px) { .footer { padding: 80px 0 40px; } }

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 880px) {
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 64px;
  }
}
.footer__brand img {
  height: 26px;
  margin-bottom: 20px;
}
.footer__brand p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
  color: rgba(250, 244, 236, .75);
  max-width: 320px;
}
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(250, 244, 236, .7);
  line-height: 1.55;
}
.footer__col a:hover { color: var(--orange); }
.footer__col p { margin-bottom: 12px; max-width: none; }

.footer__nl {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  background: rgba(250, 244, 236, .08);
  border: 1px solid rgba(250, 244, 236, .12);
  border-radius: var(--r-pill);
  padding: 4px 4px 4px 14px;
  align-items: center;
}
.footer__nl input {
  background: transparent;
  border: 0;
  outline: none;
  flex: 1; min-width: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--bg);
  padding: 8px 0;
}
.footer__nl input::placeholder { color: rgba(250, 244, 236, .5); }
.footer__nl button {
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: var(--r-pill);
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease-out);
}
.footer__nl button:hover { background: var(--orange-hover); }

.footer__bottom {
  border-top: 1px solid rgba(250, 244, 236, .1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(250, 244, 236, .5);
}
.footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal a { color: rgba(250, 244, 236, .5); }
.footer__legal a:hover { color: var(--orange); }


/* ============================================================
   INNER PAGES — utilities & shared layouts
   ============================================================ */

/* Background variant utility */
.bg-s1 { background: var(--s1); }
.bg-warm { background: var(--bg-warm); }


/* ============================================================
   INNER HERO — title + sub (used by /pages/*)
   ============================================================ */
.inner-hero {
  padding: 110px 0 var(--section-y);
  border-bottom: 1px solid var(--s3);
}
/* Sur la page L'arrondi, le bandeau banques suit immédiatement le hero
   → on retire la séparation pour éviter le double trait. */
.inner-hero:has(+ .banks-line),
.inner-hero:has(+ .approche) {
  border-bottom: 0;
}
.inner-hero:has(+ .banks-line) { padding-bottom: var(--sp-10); }
@media (min-width: 720px) {
  .inner-hero:has(+ .banks-line) { padding-bottom: var(--sp-12); }
}
.inner-hero:has(+ .approche) { padding-bottom: var(--section-y-tight); }
.inner-hero + .approche { padding-top: var(--section-y-tight); }
@media (min-width: 720px) {
  .inner-hero { padding: 140px 0 var(--section-y-md); }
}
.inner-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.inner-hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}
.inner-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
}
@media (min-width: 880px) {
  .inner-hero__inner { grid-template-columns: 1.15fr .85fr; gap: 72px; }
}
.inner-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
.inner-hero__title em {
  font-style: italic;
  color: var(--orange);
}
.inner-hero__sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
}
.inner-hero__ctas {
  margin-top: 24px;
}


/* ============================================================
   CHAPTERS — titre d'abord, numéro discret, texte + photo en grille
   ============================================================ */
.chap-section {
  padding-block: var(--section-y);
}
@media (min-width: 720px) { .chap-section { padding-block: var(--section-y-md); } }

.chap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
@media (min-width: 720px) { .chap { gap: var(--sp-10); } }

.chap__head {
  max-width: 38em;
}
.chap__head .label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ink-3);
}
.chap__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.chap__title em { font-style: italic; color: var(--orange); }

.chap__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (min-width: 720px) {
  .chap__plate {
    min-height: 320px;
    aspect-ratio: 5/4;
  }
}
@media (min-width: 880px) {
  .chap__content {
    grid-template-columns: 1fr min(52%, 520px);
    gap: var(--sp-12);
  }
  .chap__plate {
    min-height: 0;
    aspect-ratio: 4/3;
  }
}
.chap--solo .chap__body {
  max-width: 42em;
}

/* Chapitres image + texte — label + titre + corps, photo alignée sur le bloc texte */
.chap--split .chap__content,
.chap--flip .chap__content {
  column-gap: var(--sp-8);
}
.chap--split .chap__main,
.chap--flip .chap__main {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.chap--split .chap__main > .label,
.chap--flip .chap__main > .label {
  display: inline-flex;
  margin: 0 0 var(--sp-2);
  color: var(--ink-3);
}
.chap--split .chap__main > .chap__title,
.chap--flip .chap__main > .chap__title {
  margin: 0 0 var(--sp-10);
}
@media (min-width: 720px) {
  .chap--split .chap__main > .chap__title,
  .chap--flip .chap__main > .chap__title { margin-bottom: var(--sp-12); }
}
@media (min-width: 880px) {
  .chap--split .chap__content,
  .chap--flip .chap__content {
    column-gap: var(--sp-12);
    align-items: center;
  }
  /* Image à droite (ch. 1, 3) */
  .chap--split .chap__content {
    grid-template-columns: 1fr min(52%, 520px);
  }
  .chap--split .chap__main {
    grid-column: 1;
    grid-row: 1;
  }
  .chap--split .chap__plate {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  /* Image à gauche (ch. 2, 4) */
  .chap--flip .chap__content {
    grid-template-columns: min(52%, 520px) 1fr;
  }
  .chap--flip .chap__plate {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .chap--flip .chap__main {
    grid-column: 2;
    grid-row: 1;
  }
}

.chap__body p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 16px;
}
.chap__body p:last-child { margin-bottom: 0; }
.chap__body strong { color: var(--ink); font-weight: 600; }

.chap__plate {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  margin: 0;
  box-shadow: var(--sh-photo);
}
.chap__plate img { width: 100%; height: 100%; object-fit: cover; }
.chap__plate img[src*="Inscription6"] {
  object-position: center 32%;
}
.chap__plate-cap {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--bg);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.trust__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid rgba(10, 10, 10, 0.08);
}
.trust__pill-dot {
  width: 6px; height: 6px;
  border-radius: var(--r-pill);
  background: var(--orange);
}


/* ============================================================
   APPROCHE — intro split layout (Associations)
   ============================================================ */
/* Trait de section — largeur contenue (comme Sélection / FAQ sur l'index) */
.selection::before,
.faq-section::before,
.approche::before,
.cta-final::before {
  content: "";
  display: block;
  width: calc(100% - 80px);
  max-width: 960px;
  height: 1px;
  background: var(--s3);
  margin: 0 auto var(--section-divider-gap);
}
.chap-section + .cta-final::before {
  display: none;
}

.approche {
  padding-block: var(--section-y);
}
@media (min-width: 720px) { .approche { padding-block: var(--section-y-md); } }
.approche__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 880px) {
  .approche__layout {
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: start;
  }
  .approche__layout > div:first-child {
    display: flex;
    flex-direction: column;
    align-self: start;
  }
  .approche__layout > div:first-child .label {
    margin-bottom: 16px;
  }
  .approche__title {
    margin: 0;
  }
  .approche__body {
    margin-top: calc(var(--t-caption) * 1.4 + 16px);
    align-self: start;
  }
}
.approche__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
  margin: 14px 0 0;
}
.approche__title em { font-style: italic; color: var(--orange); }
.approche__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 680px;
}
.approche__body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.approche__body strong { color: var(--ink); font-weight: 600; }


/* ============================================================
   CRITERIA — numbered list, magazine row (Associations)
   ============================================================ */
.criteres {
  padding-block: var(--section-y);
  background: var(--bg-warm);
  border-radius: var(--r-3xl) var(--r-3xl) 0 0;
}
@media (min-width: 720px) { .criteres { padding-block: var(--section-y-md); } }

.crits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.crit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 32px 0;
  border-top: 1px solid var(--s3);
}
.crit:last-of-type { border-bottom: 1px solid var(--s3); }
@media (min-width: 880px) {
  .crit {
    grid-template-columns: 120px 1fr 1.4fr;
    gap: 48px;
    align-items: start;
    padding: 44px 0;
  }
}
.crit__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: -0.04em;
}
@media (min-width: 880px) { .crit__num { font-size: 80px; } }
.crit__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
  margin: 0;
}
.crit__body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

.how__callout p em {
  font-style: italic;
  color: var(--orange);
}


/* ============================================================
   QUIZ — split layout desktop / scroll mobile (Associations)
   ============================================================ */
.quiz-section { padding-block: var(--section-y); }
@media (min-width: 720px) { .quiz-section { padding-block: var(--section-y-md); } }

/* Mobile : intro-head → preview → intro-foot (DOM order) */
.quiz-split {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Desktop : grille 2 colonnes
   Col gauche : intro-head (haut) + intro-foot (bas)
   Col droite : preview (occupe toute la hauteur) */
@media (min-width: 880px) {
  .quiz-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    grid-template-rows: auto 1fr;
    column-gap: 80px;
    row-gap: 32px;
    align-items: start;
  }
  .quiz-intro-head { grid-column: 1; grid-row: 1; }
  .quiz-preview    { grid-column: 2; grid-row: 1 / 3; }
  .quiz-intro-foot { grid-column: 1; grid-row: 2; align-self: start; }
}

/* ---- Intro gauche ---- */
.quiz-intro-head .label { color: var(--ink-3); display: inline-flex; margin-bottom: 16px; }
.quiz-intro-head h2 { margin-bottom: 18px; }
.quiz-intro-head > p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 420px;
  margin-bottom: 28px;
}
.quiz-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--s1);
  border-radius: var(--r-xl);
  padding: 18px 22px;
  margin-bottom: 32px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  max-width: 420px;
}
.quiz-callout__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 54px;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.quiz-callout__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.quiz-intro__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 880px) {
  .quiz-intro__cta { align-items: flex-start; }
}
.quiz-intro__note {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---- Cartes questions ---- */

/* Mobile : scroll horizontal */
.quiz-preview {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--container-pad);
  gap: 12px;
  margin-left:  calc(-1 * var(--container-pad));
  margin-right: calc(-1 * var(--container-pad));
  padding-left:  var(--container-pad);
  padding-right: var(--container-pad);
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.quiz-preview::-webkit-scrollbar { display: none; }

.quiz-card {
  flex: 0 0 85%;
  min-width: 0;
  scroll-snap-align: start;
  background: var(--s1);
  border-radius: var(--r-xl);
  padding: 20px 22px 22px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  box-shadow: var(--sh-card);
}
.quiz-card:last-child { margin-right: var(--container-pad); }

/* Mobile : Q3 visible, Q4 hint non-snappable, fondu bord droit */
@media (max-width: 879px) {
  /* Q3 — réponses faded, non-cliquables */
  .quiz-card--dim {
    opacity: 0.7;
    pointer-events: none;
  }

  /* Q4 — carte "fantôme" : étroite, pas de snap, inaccessible */
  .quiz-card--fade {
    flex: 0 0 58%;
    scroll-snap-align: none;
    opacity: 0.4;
    pointer-events: none;
  }

  /* Sur mobile, les chips de réponse deviennent pleine largeur, texte à gauche */
  .quiz-card__opts {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .quiz-card__opt {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    padding: 10px 16px;
  }

  /* Le masque fondu sur le bord droit estompe Q4 dans la brume */
  .quiz-preview {
    -webkit-mask-image: linear-gradient(to right, black 76%, transparent 100%);
    mask-image: linear-gradient(to right, black 76%, transparent 100%);
  }
}

/* Desktop : colonne verticale avec fade progressif */
@media (min-width: 880px) {
  .quiz-preview {
    flex-direction: column;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    margin: 0;
    padding: 0;
    gap: 10px;
    position: relative;
    padding-bottom: 48px;
  }
  /* Gradient qui estompe Q4 vers le bas */
  .quiz-preview::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    right: -4px;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 2;
  }
  .quiz-card { flex: none; width: 100%; scroll-snap-align: none; }
  .quiz-card:last-child { margin-right: 0; }
  .quiz-card--dim  { opacity: 0.4; pointer-events: none; }
  .quiz-card--fade { opacity: 0.22; pointer-events: none; }
}

.quiz-card__num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.quiz-card__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.3;
  letter-spacing: var(--tr-display);
  color: var(--ink);
  margin-bottom: 16px;
}
.quiz-card--dim .quiz-card__q,
.quiz-card--fade .quiz-card__q { margin-bottom: 0; }

.quiz-card__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quiz-card__opt {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--bg);
  border: 1.5px solid var(--s3);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.quiz-card__opt:hover { border-color: var(--ink); }
.quiz-card__opt--on {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}


/* ============================================================
   DIFFERENTIATION TABLE — Ailleurs / Avec Elber (Associations)
   ============================================================ */
.diff-section {
  padding-block: var(--section-y);
  background: var(--bg-warm);
}
@media (min-width: 720px) { .diff-section { padding-block: var(--section-y-md); } }

.diff__intro {
  margin-bottom: 36px;
  max-width: 600px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-2);
}

/* Caché sur mobile, révélé via display:contents à 880px+ */
.diff__header { display: none; }

.diff-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.diff-row {
  display: block;
  padding: 12px;
  margin: 0;
  border-bottom: none;
}
.diff-cell--label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
}
.diff-cell--ctrl, .diff-cell--elber {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.diff-cell--elber {
  background: var(--s1);
  border: 1px solid var(--orange);
  color: var(--ink);
}
.diff-cell--ctrl::before,
.diff-cell--elber::before {
  content: attr(data-label);
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.diff-cell--elber::before { color: var(--orange); }

@media (min-width: 880px) {
  .diff-table {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0;
    border-top: none;
  }
  .diff__header {
    display: contents;
  }
  .diff__header-cell {
    padding: 0 24px 18px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
  .diff__header-cell--label { padding-left: 0; }
  .diff__header-cell--elber { color: var(--orange); }

  .diff-row {
    display: contents;
  }
  .diff-cell--label,
  .diff-cell--ctrl,
  .diff-cell--elber {
    padding: 28px 24px;
    border-bottom: 1px solid var(--s3);
    margin-top: 0;
    background: transparent;
    border-radius: 0;
  }
  .diff-cell--label { padding-left: 0; }
  .diff-cell--elber {
    background: var(--bg);
    border: 0;
    border-bottom: 1px solid var(--s3);
    color: var(--ink);
  }
  .diff-cell--ctrl::before,
  .diff-cell--elber::before {
    display: none;
  }

  .diff-row:last-child .diff-cell--label,
  .diff-row:last-child .diff-cell--ctrl,
  .diff-row:last-child .diff-cell--elber {
    border-bottom: none;
  }
}


/* ============================================================
   BACK-LINK (small return-to-home under final CTA)
   ============================================================ */
.cta-final__back {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.cta-final__back:hover { color: var(--orange); }


/* ============================================================
   TICKER — variante "banques" (page L'arrondi)
   Hérite de .ticker (même fond, mêmes marges, même border-radius).
   Différence : items = logos en couleur dans un chip blanc.
   ============================================================ */
.banks-line {
  width: fit-content;
  max-width: calc(100% - 2 * var(--container-pad));
  margin: var(--sp-8) auto var(--sp-4);
  padding: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.banks-line strong {
  color: var(--ink);
  font-weight: 600;
}
@media (min-width: 720px) { .banks-line { margin: var(--sp-10) auto var(--sp-5); font-size: 13px; } }

.ticker--banks .ticker__inner {
  align-items: center;
}
.ticker--banks .ticker__item {
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 0;
}
.ticker--banks .ticker__item::after { display: none; }
.ticker--banks .ticker__item img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #FFFDFB;
  padding: 0 16px;
  border-radius: var(--r-md);
  box-sizing: content-box;
}
@media (min-width: 720px) {
  .ticker--banks .ticker__item { padding: 0 14px; }
  .ticker--banks .ticker__item img { height: 30px; padding: 0 18px; }
}

/* Logos plus petits dans les assets — taille renforcée */
.ticker--banks .ticker__item img[src*="bnp-paribas"],
.ticker--banks .ticker__item img[src*="credit-agricole"],
.ticker--banks .ticker__item img[src*="banque-populaire"],
.ticker--banks .ticker__item img[src*="banque-postale"],
.ticker--banks .ticker__item img[src*="boursorama"],
.ticker--banks .ticker__item img[src*="orange-bank"],
.ticker--banks .ticker__item img[src*="revolut"] {
  height: 34px;
  max-width: 168px;
}
@media (min-width: 720px) {
  .ticker--banks .ticker__item img[src*="bnp-paribas"],
  .ticker--banks .ticker__item img[src*="credit-agricole"],
  .ticker--banks .ticker__item img[src*="banque-populaire"],
  .ticker--banks .ticker__item img[src*="banque-postale"],
  .ticker--banks .ticker__item img[src*="boursorama"],
  .ticker--banks .ticker__item img[src*="orange-bank"],
  .ticker--banks .ticker__item img[src*="revolut"] {
    height: 56px;
    max-width: 180px;
  }
}

/* Page L'arrondi — bandeau banques sur fond clair (vs ticker noir de l'accueil) */
.banks-line + .ticker--banks {
  background: var(--s1);
  color: var(--ink);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-12);
}
@media (min-width: 720px) {
  .banks-line + .ticker--banks { margin-bottom: var(--sp-16); }
}
.banks-line + .ticker--banks::before {
  background: linear-gradient(90deg, var(--s1) 15%, transparent);
}
.banks-line + .ticker--banks::after {
  background: linear-gradient(270deg, var(--s1) 15%, transparent);
}


/* ============================================================
   INNER-HERO MEDIA — hero asymétrique avec asset (Associations)
   Skill design-taste-frontend §8 : texte gauche / image droite
   avec fondu subtil vers la couleur de fond.
   ============================================================ */
.inner-hero--media { padding: 100px 0 var(--section-y); }
.inner-hero--media:has(+ .approche) { padding-bottom: var(--section-y-tight); }
@media (min-width: 880px) {
  .inner-hero--media { padding: 140px 0 var(--section-y-md); }
  .inner-hero--media:has(+ .approche) { padding-bottom: var(--section-y-tight); }
}

.inner-hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 880px) {
  .inner-hero__split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}
@media (min-width: 1240px) {
  .inner-hero__split { gap: 88px; }
}

.inner-hero__text { max-width: 560px; }
.inner-hero--media .inner-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.inner-hero--media .inner-hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}
.inner-hero--media .inner-hero__sub {
  margin: 24px 0 0;
}
.inner-hero--media .inner-hero__ctas {
  margin-top: 28px;
}

/* Asset : image droite avec fondu doux vers le fond */
.inner-hero__media {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-warm);
  box-shadow: 0 36px 80px -28px rgba(10, 10, 10, 0.22);
  margin: 0;
  max-width: 100%;
}
@media (min-width: 880px) {
  .inner-hero__media {
    aspect-ratio: 4 / 5;
    transform: rotate(0.8deg);
    transform-origin: bottom right;
  }
}
.inner-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
/* Fondu subtil sur le bord bas-gauche pour fondre vers le bg de la page */
.inner-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top right,
    rgba(250, 244, 236, 0.16) 0%,
    rgba(250, 244, 236, 0) 35%
  );
}


/* ============================================================
   LEGAL — mentions légales & confidentialité
   ============================================================ */
.legal {
  padding: 32px 0 88px;
}
@media (min-width: 720px) { .legal { padding: 56px 0 120px; } }

.legal .container {
  max-width: 760px;
}

.legal__section {
  padding: 36px 0;
  border-top: 1px solid var(--s3);
}
.legal__section:first-of-type { border-top: 0; padding-top: 8px; }
@media (min-width: 720px) {
  .legal__section { padding: 48px 0; }
}

.legal__h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
  margin: 0 0 22px;
}
.legal__h2 em { font-style: italic; color: var(--orange); }

.legal__section p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 0 14px;
}
.legal__section p:last-child { margin-bottom: 0; }
.legal__section p strong { color: var(--ink); font-weight: 600; }
.legal__section a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.legal__section a:hover { color: var(--orange); border-color: var(--orange); }

.legal__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  max-width: 62ch;
}
.legal__list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 1px;
  background: var(--orange);
}

.legal__dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  max-width: 540px;
}
.legal__dl-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--s3);
}
.legal__dl-row:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 600px) {
  .legal__dl-row {
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: baseline;
  }
}
.legal__dl-row dt {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.legal__dl-row dd {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.legal__footer {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--s3);
}


/* ============================================================
   MOTION — refined interactions
   ============================================================ */

/* FAQ — body slides in when detail opens */
.faq__list details[open] .faq__body {
  animation: faq-reveal .45s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ticker — slight ease feel (vs pure linear) */
.ticker__inner { animation-timing-function: linear; }

/* Nav links hover — sliding underline */
.nav__links a { position: relative; }
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* Photo — subtle depth on hover */
.hero__photo {
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
@media (hover: hover) and (min-width: 720px) {
  .hero__photo--1:hover { transform: rotate(-3deg) translateY(16px) scale(1.02); }
  .hero__photo--2:hover { transform: scale(1.05); }
  .hero__photo--3:hover { transform: rotate(3deg) translateY(12px) scale(1.02); }
}

/* Asso card image zoom already exists — enhance transition */
.asso__photo img { transition: transform var(--dur-slow) cubic-bezier(.16, 1, .3, 1); }
.asso:hover .asso__photo img { transform: scale(1.06); }


/* ============================================================
   SPATIAL COMPOSITION — rhythm & depth
   ============================================================ */

/* Step cards — staggered Y on desktop for wave rhythm */
@media (min-width: 880px) {
  .step:nth-child(2) { margin-top: 36px; }
  .step:nth-child(3) { margin-top: 8px; }
}

/* Constat — photo overlaps slightly into text column */
@media (min-width: 880px) {
  .constat__img {
    margin-right: -28px;
    position: relative;
    z-index: 1;
  }
}

/* Hero photo shadows — more atmospheric */
.hero__photo { box-shadow: 0 36px 88px -24px rgba(10, 10, 10, 0.28); }
.constat__img { box-shadow: 0 36px 88px -24px rgba(10, 10, 10, 0.24); }

/* Verbatim cards — slight stagger on desktop */

/* Section inner spacing — more generous on large screens */
@media (min-width: 1024px) {
  .constat { padding: 128px 0 120px; }
  .selection { padding: 128px 0 120px; }
  .verbatims { padding: 128px 0 120px; }
}


/* ============================================================
   BACKGROUNDS & VISUAL DETAILS
   ============================================================ */

/* Grain — subtle paper texture across all pages */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero > .container { position: relative; z-index: 1; }

/* Card borders — faint inset light on top edge */
.asso, .verbatim, .step {
  box-shadow: var(--sh-card), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}


/* mot (dark block) — grain reinforcement */
.mot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.04;
  z-index: 0;
}


/* ============================================================
   ACCESSIBILITY & TOUCH — ui-ux-pro-max
   ============================================================ */

/* Skip to main content — hidden until keyboard focus */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 10px 20px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* touch-action: manipulation — eliminates 300ms tap delay on all interactive elements */
.btn, .nav__links a, .nav__mobile li a, .nav__burger,
.asso, .asso__cta, .linkish, .step__link, summary,
.faq__list details, .footer__nl button {
  touch-action: manipulation;
}

/* Cursor pointer on semantic clickable non-button elements */
.asso, .verbatim, summary { cursor: pointer; }

/* Minimum 44px touch target height on buttons */
.btn { min-height: 44px; }

/* Active press — scale feedback on cards (0.95–1.05 per guideline) */
.asso:active    { transform: translateY(0) scale(0.97); transition-duration: 80ms; }
.step:active    { transform: translateY(0) scale(0.97); transition-duration: 80ms; }
.verbatim:active { transform: translateY(0) scale(0.98); transition-duration: 80ms; }

/* Active states on remaining button variants */
.btn--dark:active    { transform: scale(.97); box-shadow: var(--sh-pressed); }
.btn--outline:active { transform: scale(.97); }
.btn--ghost:active   { opacity: 0.65; }

/* Nav active page indicator */
.nav__links a[aria-current="page"] {
  color: var(--ink);
}
.nav__links a[aria-current="page"]::after { transform: scaleX(0) !important; }

/* Mobile nav active page */
.nav__mobile li a[aria-current="page"] {
  background: rgba(10, 10, 10, 0.06);
  font-weight: 600;
}


/* ============================================================
   PREFERS-REDUCED-MOTION — respect user accessibility setting
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  .ticker__inner {
    animation: none !important;
  }

  .hero__photo { transition: none !important; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
  font-family: var(--font-body);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 280px;
  min-width: 0;
}

.cookie-banner__title {
  font-size: var(--t-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-wide);
  color: var(--bg);
  margin: 0 0 4px;
  opacity: 0.65;
}

.cookie-banner__desc {
  font-size: var(--t-body-sm);
  line-height: var(--lh-normal);
  color: var(--bg);
  margin: 0;
}

.cookie-banner__link {
  color: var(--bg);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.cookie-banner__link:hover {
  color: var(--orange);
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: var(--t-body-sm);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cookie-banner__btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--bg);
}

.cookie-banner__btn--ghost:hover {
  border-color: var(--bg);
}

.cookie-banner__btn--solid {
  background: var(--orange);
  color: var(--bg);
}

.cookie-banner__btn--solid:hover {
  background: var(--orange-hover);
}

@media (max-width: 540px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .cookie-banner__inner {
    gap: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
  }
}

/* Bouton "Modifier mes préférences" dans la page mentions légales */
.legal__cookie-btn {
  font-family: var(--font-body);
  font-size: var(--t-body);
  color: var(--orange);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.legal__cookie-btn:hover {
  color: var(--orange-hover);
}

