/* ═══════════════════════════════════════════════════════════════
   OPEN21 — styles.css · PARTIE 1/3
   Tokens (refactoring-ui + landing-page-design) · base · navbar · hero
   ═══════════════════════════════════════════════════════════════ */

/* ═══ TOKENS ═══ */
:root {
  /* Magenta 100→900 (HSL, skill refactoring-ui) */
  --magenta-100: hsl(340 90% 93%);
  --magenta-300: hsl(340 80% 75%);
  --magenta-400: hsl(340 78% 64%);
  --magenta-500: hsl(340 75% 55%);
  --magenta-600: hsl(340 78% 47%);   /* base : boutons, signal (texte blanc ≥ 4.5:1) */
  --magenta-700: hsl(340 80% 39%);
  --magenta-900: hsl(340 84% 22%);

  /* Gris chauds 50→900 */
  --grey-50: hsl(30 30% 98%);
  --grey-100: hsl(30 25% 95%);
  --grey-200: hsl(30 15% 90%);
  --grey-300: hsl(30 12% 81%);
  --grey-400: hsl(30 10% 63%);
  --grey-500: hsl(30 10% 45%);   /* tertiaire : le plus clair qui passe 4.5:1 */
  --grey-600: hsl(30 12% 35%);   /* secondaire */
  --grey-900: hsl(30 18% 10%);   /* principal */

  /* Sémantique */
  --bg: var(--grey-50);
  --surface: #ffffff;
  --ink: var(--grey-900);
  --ink-secondary: var(--grey-600);
  --ink-tertiary: var(--grey-500);
  --action: var(--magenta-600);
  --action-hover: var(--magenta-700);
  --dark-bg: #131209;            /* section mission (liste autorisée B4) */
  --dark-ink: #faf9f7;

  /* Espacement (échelle figée, rien entre les valeurs) */
  --s-25: 2px;  --s-50: 4px;  --s-75: 8px;   --s-100: 12px;
  --s-200: 16px; --s-300: 24px; --s-400: 32px; --s-500: 40px;
  --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
  --s-1000: 128px;

  /* Échelle typo (étapes Tailwind, snap interdit aux valeurs arbitraires) */
  --t-xs: .75rem;  --t-sm: .875rem; --t-base: 1rem;  --t-lg: 1.125rem;
  --t-xl: 1.25rem; --t-2xl: 1.5rem; --t-3xl: 1.875rem; --t-4xl: 2.25rem;
  --t-5xl: 3rem;   --t-6xl: 3.75rem; --t-7xl: 4.5rem;

  /* Rayons (Tailwind) */
  --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px; --r-full: 9999px;

  /* 5 élévations (refactoring-ui) */
  --sh-1: 0 1px 3px hsla(30 18% 8% / .12);
  --sh-3: 0 5px 15px hsla(30 18% 8% / .10);
  --sh-4: 0 10px 24px hsla(30 18% 8% / .12);
  --sh-5: 0 15px 35px hsla(30 18% 8% / .16);

  /* Motion (skills: landing-page-design B7 + animation-systems) */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-micro: 160ms;
  --dur-ui: 240ms;
  --dur-reveal: 800ms;
}

/* ═══ RESET + BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: 'Manrope', system-ui, sans-serif;  /* une seule famille, jamais d'italique */
  font-size: var(--t-base); line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
i.ph { font-size: 1.25em; line-height: 0; }

/* Filet de sécurité motion (accessible-animation : 0.01ms, JAMAIS 0s) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible (accessibility) */
:focus-visible { outline: 2px solid var(--magenta-600); outline-offset: 2px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: absolute; left: var(--s-200); top: -60px; z-index: 200;
  padding: var(--s-75) var(--s-200); background: var(--ink); color: var(--dark-ink);
  border-radius: var(--r-lg); transition: top var(--dur-ui) var(--ease);
}
.skip-link:focus { top: var(--s-200); }

/* ═══ UTILITAIRES ═══ */
.container { max-width: 72rem; margin-inline: auto; padding-inline: var(--s-300); }
.section { padding-block: var(--s-900); }
.section-head { max-width: 40rem; margin-bottom: var(--s-600); }
.section-head h2, .section-sub { max-width: 680px; }
.section-head h2 { font-size: var(--t-4xl); }
.section-sub { color: var(--ink-secondary); margin-top: var(--s-200); font-size: var(--t-lg); }
.section-cta { margin-top: var(--s-600); }
.grid { display: grid; gap: var(--s-300); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } .section { padding-block: var(--s-700); } }

/* Étiquettes éditoriales (neo-industrial-design) */
.eyebrow {
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--magenta-600); margin-bottom: var(--s-200);
}

/* ═══ BOUTONS (B1/B2 : 16px semibold, padding 8/12, min 44px) ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  min-height: 44px; padding: var(--s-75) var(--s-100);
  font-size: var(--t-base); font-weight: 600; font-family: inherit;
  border: 0; border-radius: var(--r-full); cursor: pointer;
  transition: transform var(--dur-micro) var(--ease),
              background-color var(--dur-micro) var(--ease),
              box-shadow var(--dur-micro) var(--ease);
}
.btn--primary { background: var(--action); color: #fff; box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--action-hover); transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--primary:active { transform: scale(.98); }
.btn--secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--grey-300); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1.5px var(--magenta-600); transform: translateY(-2px); }
.btn--tertiary { background: none; color: var(--ink-secondary); padding-inline: var(--s-200); }
.btn--tertiary:hover { color: var(--magenta-600); }
.btn--block { width: 100%; }

/* ═══ VERRE DÉPOLI (glassmorphism : frost + translucidité + arête + profondeur) ═══ */
.glass-card {
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-4),
              inset 0 1px 0 rgba(255, 255, 255, .6),
              inset 0 -1px 0 rgba(0, 0, 0, .05);
}
/* Fallbacks accessibilité (glassmorphism) */
@supports not (backdrop-filter: blur(1px)) {
  .glass-card { background: rgba(255, 255, 255, .92); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-card { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-card::after { display: none; }
}

/* ═══ NAVBAR : pilule flottante de verre ═══ */
.navbar {
  position: fixed; top: max(var(--s-200), env(safe-area-inset-top));
  left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding-inline: var(--s-200);
  transition: top var(--dur-ui) var(--ease);
}
.nav-pill {
  display: flex; align-items: center; gap: var(--s-300);
  width: min(100%, 60rem); padding: var(--s-75) var(--s-200) var(--s-75) var(--s-300);
  background: rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-full);
  box-shadow: var(--sh-3), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: box-shadow var(--dur-ui) var(--ease), background-color var(--dur-ui) var(--ease);
}
.navbar--scrolled .nav-pill { background: rgba(255, 255, 255, .85); box-shadow: var(--sh-4), inset 0 1px 0 rgba(255,255,255,.6); }
.nav__logo { display: flex; align-items: center; gap: var(--s-100); margin-right: auto; }
.nav__logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--action); color: #fff; font-weight: 700; font-size: var(--t-sm);
  border-radius: var(--r-lg);
}
.nav__logo-text { font-weight: 400; font-size: var(--t-lg); }
.nav__logo-text b { font-weight: 700; color: var(--magenta-600); }
.nav__links { display: flex; gap: var(--s-300); }
.nav__links a { font-size: var(--t-sm); font-weight: 600; color: var(--ink-secondary); transition: color var(--dur-micro) var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="true"] { color: var(--magenta-600); }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav__burger span {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink);
  transition: transform var(--dur-ui) var(--ease), top var(--dur-ui) var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Menu mobile : overlay verre + stagger (B7) */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: var(--s-500);
    background: rgba(250, 249, 247, .85);
    -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
    opacity: 0; visibility: hidden; transition: opacity var(--dur-ui) var(--ease), visibility 0s linear var(--dur-ui);
  }
  .nav--open .nav__links { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links li {
    opacity: 0; transform: translateY(48px);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  }
  .nav--open .nav__links li { opacity: 1; transform: none; }
  .nav--open .nav__links li:nth-child(1) { transition-delay: 100ms; }
  .nav--open .nav__links li:nth-child(2) { transition-delay: 150ms; }
  .nav--open .nav__links li:nth-child(3) { transition-delay: 200ms; }
  .nav--open .nav__links li:nth-child(4) { transition-delay: 250ms; }
  .nav--open .nav__links li:nth-child(5) { transition-delay: 300ms; }
  .nav__links a { font-size: var(--t-2xl); font-weight: 700; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ═══ HERO ═══ */
.hero { padding-top: calc(96px + var(--s-700)); padding-bottom: var(--s-700); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-600); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: var(--t-sm); font-weight: 600; color: var(--magenta-700);
  background: var(--magenta-100); border-radius: var(--r-full); padding: var(--s-50) var(--s-200);
  margin-bottom: var(--s-300);
}
.hero__title {
  font-size: var(--t-5xl); max-width: 680px;
  background: linear-gradient(90deg, #000000, #666666);   /* unique dégradé autorisé : texte H1, thème clair */
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .hero__title { background: none; color: var(--ink); } }
.hero__subtitle { max-width: 680px; font-size: var(--t-lg); color: var(--ink-secondary); margin-top: var(--s-300); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200); margin-top: var(--s-400); }
.hero__microproof { margin-top: var(--s-200); font-size: var(--t-sm); color: var(--ink-tertiary); }
.hero__visual { position: relative; max-width: 480px; justify-self: end; }
.hero__visual img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-2xl); background: var(--grey-200); box-shadow: var(--sh-4);
}
.hero__floating {
  position: absolute; left: calc(-1 * var(--s-300)); bottom: var(--s-300);
  display: flex; align-items: center; gap: var(--s-100);
  padding: var(--s-100) var(--s-200);
}
.hero__floating-icon {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--magenta-100); color: var(--magenta-600); border-radius: var(--r-full);
}
.hero__floating-text { display: flex; flex-direction: column; font-size: var(--t-xs); color: var(--ink-secondary); }
.hero__floating-text strong { font-size: var(--t-sm); color: var(--ink); }

/* Stats */
.hero__stats {
  display: flex; gap: var(--s-600); margin-top: var(--s-700);
  padding-block: var(--s-300); border-top: 1px solid var(--grey-200);
}
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: var(--t-4xl); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--t-sm); color: var(--ink-tertiary); }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: var(--s-300); bottom: max(var(--s-300), env(safe-area-inset-bottom));
  z-index: 90; display: grid; place-items: center; width: 56px; height: 56px;
  background: #25D366; color: #fff; border-radius: var(--r-full); box-shadow: var(--sh-4);
  transition: transform var(--dur-micro) var(--ease);
}
.wa-float:hover { transform: translateY(-4px); }
.wa-float i.ph { font-size: 28px; }

/* ═══ RÉVÉLATIONS AU SCROLL (IO, opt-in no-preference, délai par data-delay) ═══ */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; transform: translateY(40px); filter: blur(8px);
    transition: opacity var(--dur-reveal) var(--ease),
                transform var(--dur-reveal) var(--ease),
                filter var(--dur-reveal) var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ═══ RÉPONSIF HERO ═══ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: start; max-width: 420px; margin-top: var(--s-300); }
  .hero__floating { left: var(--s-200); }
  .hero__stats { gap: var(--s-400); flex-wrap: wrap; }
  .hero__title { font-size: var(--t-4xl); }
}
@media (min-width: 1200px) { .hero__title { font-size: var(--t-6xl); } }

/* ═══════════ SUITE À L'ÉTAPE 2 : partenaires · promesses · tagline · services ═══════════ */

/* ═══════════════════════════════════════════════════════════════
   OPEN21 — styles.css · PARTIE 2/3
   Partenaires (marquee) · cartes (promesses/services) · tagline reveal
   ═══════════════════════════════════════════════════════════════ */

/* ═══ PARTENAIRES : bandeau + marquee ═══ */
.partners { padding-block: var(--s-600) var(--s-700); border-top: 1px solid var(--grey-200); }
.partners__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); }
.partners .eyebrow { margin-bottom: 0; }

/* Bouton pause (WCAG 2.2.2 : toute boucle auto > 5 s doit pouvoir être stoppée) */
.marquee-pause {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; border-radius: var(--r-full);
  color: var(--ink-tertiary); cursor: pointer;
  transition: color var(--dur-micro) var(--ease), background-color var(--dur-micro) var(--ease);
}
.marquee-pause:hover { color: var(--ink); background: var(--grey-100); }
.marquee-pause[aria-pressed="true"] { color: var(--magenta-600); }
@media (prefers-reduced-motion: reduce) { .marquee-pause { display: none; } }

.marquee {
  overflow: hidden; margin-top: var(--s-300);
  /* Fondu des bords : mask, pas un fond (les fonds restent plats — règle B4) */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track li {
  padding-right: var(--s-700);              /* padding uniforme = boucle à -50 % sans accroc */
  font-weight: 700; font-size: var(--t-xl); letter-spacing: .02em;
  color: var(--grey-400); white-space: nowrap;
  transition: color var(--dur-micro) var(--ease);
}
.marquee__track li:hover { color: var(--ink-secondary); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.partners__note { margin-top: var(--s-200); font-size: var(--t-sm); color: var(--ink-tertiary); }

/* ═══ CARTES (promesses + services) ═══
   Rayon imbriqué : cercle icône 48px dans carte 24px, gap 32px → formule non requise */
.card {
  background: var(--surface);
  border: 1px solid var(--grey-200);          /* bordure tout autour, jamais un seul côté (B4) */
  border-radius: var(--r-2xl);
  padding: var(--s-400);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-ui) var(--ease),
              box-shadow var(--dur-ui) var(--ease),
              border-color var(--dur-ui) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--magenta-300); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--magenta-100); color: var(--magenta-600);
  border-radius: var(--r-full); margin-bottom: var(--s-200);
}
.card__icon i.ph { font-size: 24px; }
.card h3 { font-size: var(--t-lg); margin-bottom: var(--s-75); }
.card p { color: var(--ink-secondary); }

/* CTA centré sous les grilles (complète la règle de la partie 1) */
.section-cta { display: flex; justify-content: center; }

/* Tablette : grilles 3 → 2 colonnes (breakpoint piloté par le contenu — skill adapt) */
@media (max-width: 1080px) and (min-width: 641px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ TAGLINE REVEAL (B11 — mots activés un à un au passage de la ligne de déclenchement) ═══ */
.tagline { padding-block: var(--s-800); }
.tagline__text {
  font-size: var(--t-4xl); font-weight: 700; line-height: 1.2;
  max-width: 680px;   /* plafonné comme le hero */
}
.tagline__text .word {
  color: var(--ink); opacity: .3;              /* 30 % de la couleur de base, comme exigé */
  transition: opacity 600ms var(--ease);
}
.tagline__text .word.is-on { opacity: 1; }
@media (max-width: 640px) { .tagline__text { font-size: var(--t-3xl); } }
@media (min-width: 900px) { .tagline__text { font-size: var(--t-5xl); } }
/* Reduced motion : pas de cascade en attente, activation instantanée (le filet global gère la durée) */
@media (prefers-reduced-motion: reduce) {
  .tagline__text .word { transition-delay: 0ms !important; }
}

/* ═══════════ SUITE À L'ÉTAPE 3 : méthode (timeline) · quiz · mission sombre ═══════════ */

/* ═══════════════════════════════════════════════════════════════
   OPEN21 — bloc ÉTAPE 3 : méthode (timeline) · quiz · mission sombre
   ═══════════════════════════════════════════════════════════════ */

/* Utilitaire accessibilité (skill: accessibility) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ═══ MÉTHODE : timeline + progression scrubée ═══ */
.method { background: var(--surface); }   /* bande claire pour rythmer la page */

.method__wrap { position: relative; max-width: 44rem; }
.method__timeline { position: relative; }
.method__timeline::before {              /* ligne de fond */
  content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px;
  width: 2px; background: var(--grey-200);
}
.method__progress {                       /* remplissage magenta (scaleY piloté par GSAP) */
  position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px;
  background: var(--magenta-600); transform-origin: top; transform: scaleY(1);
}
.method__step { position: relative; display: flex; gap: var(--s-300); padding-bottom: var(--s-600); }
.method__step:last-child { padding-bottom: 0; }
.method__num {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--surface); border: 1.5px solid var(--grey-300); border-radius: var(--r-full);
  font-weight: 700; font-size: var(--t-sm); font-variant-numeric: tabular-nums;
  color: var(--ink-secondary);
  transition: background-color var(--dur-ui) var(--ease),
              border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.method__step.is-passed .method__num { background: var(--action); border-color: var(--action); color: #fff; }
.method__step h3 { font-size: var(--t-lg); }
.method__meta {
  font-size: var(--t-sm); font-weight: 600; color: var(--magenta-600);
  margin: var(--s-25) 0 var(--s-50);
}
.method__step p:not(.method__meta) { color: var(--ink-secondary); max-width: 35em; }

/* ═══ QUIZ ═══ */
.quiz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-600); align-items: center; }
.quiz__checks { display: grid; gap: var(--s-100); margin-top: var(--s-300); }
.quiz__checks li { display: flex; align-items: center; gap: var(--s-75); color: var(--ink-secondary); }
.quiz__checks i.ph { color: var(--magenta-600); }

.quiz__card { padding: var(--s-500); min-height: 420px; display: flex; flex-direction: column; }
.quiz__bar { height: 4px; background: var(--grey-200); border-radius: var(--r-full); overflow: hidden; margin-bottom: var(--s-300); }
.quiz__bar-fill {
  height: 100%; background: var(--action); border-radius: inherit;
  transform-origin: left; transform: scaleX(0);
  transition: transform 400ms var(--ease);   /* transform, jamais width (perf) */
}
.quiz__level-tag {
  align-self: flex-start; font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--magenta-700); background: var(--magenta-100);
  padding: var(--s-25) var(--s-100); border-radius: var(--r-full); margin-bottom: var(--s-200);
}
.quiz__progress { color: var(--ink-tertiary); font-size: var(--t-sm); margin-bottom: var(--s-200); }
.quiz__question { font-size: var(--t-xl); font-weight: 600; line-height: 1.35; margin-bottom: var(--s-300); }
.quiz__count { display: block; font-size: var(--t-sm); font-weight: 400; color: var(--ink-tertiary); margin-bottom: var(--s-50); }
.quiz__options { display: grid; gap: var(--s-100); }
.quiz__options.is-locked .quiz__option { pointer-events: none; }
.quiz__option {
  display: flex; align-items: center; min-height: 48px;         /* cible tactile ≥ 44px */
  padding: var(--s-100) var(--s-200); text-align: left;
  background: var(--surface); border: 1.5px solid var(--grey-300); border-radius: var(--r-lg);
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease),
              background-color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease);
}
.quiz__option:hover { border-color: var(--magenta-400); }
.quiz__option:active { transform: scale(.98); }
.quiz__option.is-selected { border-color: var(--action); background: var(--magenta-100); }
.quiz__result-title { font-size: var(--t-3xl); margin-bottom: var(--s-200); outline: none; }
.quiz__result-msg { color: var(--ink-secondary); margin-bottom: var(--s-400); }
.quiz__result-actions { display: flex; flex-wrap: wrap; gap: var(--s-200); margin-top: auto; }
@media (max-width: 900px) { .quiz__grid { grid-template-columns: 1fr; } .quiz__card { min-height: 0; } }

/* ═══ MISSION : section sombre (fond #131209 — liste autorisée B4) ═══ */
.mission { background: var(--dark-bg); color: var(--dark-ink); text-align: center; }
.eyebrow--accent { color: var(--magenta-400); }
.mission__title, .mission__sub { max-width: 680px; margin-inline: auto; }
.mission__title { font-size: var(--t-4xl); }
@media (min-width: 900px) { .mission__title { font-size: var(--t-5xl); } }
.mission__accent { color: var(--magenta-400); }
.mission__sub { color: hsl(30 15% 78%); font-size: var(--t-lg); margin-top: var(--s-300); }
/* Gris chaud accordé au fond (jamais de gris froid sur fond coloré — règle refactoring-ui) */

/* ═══════════════════════════════════════════════════════════════
   OPEN21 — PARTIE 3/3 (fin)
   Témoignages · FAQ · Formulaire · Footer · Responsive
   ═══════════════════════════════════════════════════════════════ */

figure { margin: 0; }
:root { --red-600: hsl(4 74% 42%); }   /* erreurs : ≥ 4.5:1 sur blanc */

/* Correctif focus (la partie 1 ajoutait un border-radius parasite) */
:focus-visible { outline: 2px solid var(--magenta-600); outline-offset: 2px; }

/* ═══ TÉMOIGNAGES : cartes citation ═══ */
.card--quote { display: flex; flex-direction: column; gap: var(--s-200); }
.card--quote::before {                       /* accent éditorial, pas une bordure de carte */
  content: ''; display: block; width: var(--s-400); height: 4px;
  border-radius: var(--r-full); background: var(--magenta-300);
}
.card--quote blockquote { font-size: var(--t-lg); line-height: 1.5; flex: 1; }
.card--quote figcaption { display: flex; flex-direction: column; gap: var(--s-25); }
.card--quote figcaption strong { font-size: var(--t-base); font-weight: 700; }
.card--quote figcaption span { font-size: var(--t-sm); color: var(--ink-tertiary); }

/* ═══ FAQ : accordéons natifs ═══ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-600); align-items: start; }
.faq__intro { position: sticky; top: 120px; }   /* focus jamais masqué par la navbar */
.faq__intro .btn { margin-top: var(--s-300); }
.faq__list { display: grid; gap: var(--s-100); }
.faq__item {
  background: var(--surface); border: 1px solid var(--grey-200);
  border-radius: var(--r-lg); transition: border-color var(--dur-ui) var(--ease);
}
.faq__item[open] { border-color: var(--magenta-300); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  min-height: 56px; padding: var(--s-200) var(--s-300);
  font-weight: 600; cursor: pointer; list-style: none;
  transition: color var(--dur-micro) var(--ease);
}
.faq__item summary:hover { color: var(--magenta-700); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {                    /* chevron : tourne, ne disparaît jamais */
  content: ''; flex: none; width: var(--s-75); height: var(--s-75);
  border-right: 2px solid var(--magenta-600); border-bottom: 2px solid var(--magenta-600);
  transform: rotate(45deg); transition: transform var(--dur-ui) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { padding: 0 var(--s-300) var(--s-300); color: var(--ink-secondary); max-width: 65ch; }
@keyframes faqIn { from { opacity: 0; transform: translateY(var(--s-75)); } }
.faq__item[open] p { animation: faqIn 400ms var(--ease); }

/* ═══ CONTACT ═══ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-600); align-items: start; }
.contact__points { display: grid; gap: var(--s-100); margin-top: var(--s-300); }
.contact__points li { display: flex; align-items: center; gap: var(--s-75); color: var(--ink-secondary); }
.contact__points i.ph { color: var(--magenta-600); }

.contact__form { padding: var(--s-500); display: grid; gap: var(--s-300); }
.field { display: grid; gap: var(--s-50); }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field label span { color: var(--magenta-600); }
.field-optional { color: var(--ink-tertiary); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s-100) var(--s-200);
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--grey-300); border-radius: var(--r-lg);
  transition: border-color var(--dur-micro) var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--action); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red-600); }
.field-error { display: flex; align-items: center; gap: var(--s-50); font-size: var(--t-sm); font-weight: 600; color: var(--red-600); }
/* L'erreur = couleur + icône + texte (jamais la couleur seule) */

.form-success { display: grid; justify-items: center; gap: var(--s-100); text-align: center; padding: var(--s-300) 0; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--magenta-100); color: var(--magenta-600); border-radius: var(--r-full); }
.form-success__icon i.ph { font-size: 32px; }
.form-success h3 { font-size: var(--t-2xl); }
.form-success p { color: var(--ink-secondary); max-width: 35em; }

/* ═══ FOOTER (fond #181818 — liste autorisée B4) ═══ */
.footer { background: #181818; color: hsl(30 15% 88%); padding-top: var(--s-800); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-600); padding-bottom: var(--s-700); }
.nav__logo-text--light { color: hsl(30 15% 88%); font-size: var(--t-xl); }
.nav__logo-text--light b { color: var(--magenta-400); }
.footer__brand p { color: hsl(30 10% 65%); margin-top: var(--s-200); max-width: 30em; }
.footer h3 { font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .08em; color: hsl(30 10% 55%); margin-bottom: var(--s-200); }
.footer nav ul, .footer__contact ul { display: grid; gap: var(--s-100); font-size: var(--t-sm); }
.footer li a { display: inline-flex; align-items: center; gap: var(--s-75); color: hsl(30 15% 78%); transition: color var(--dur-micro) var(--ease); }
.footer li a:hover { color: #fff; }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-200);
  padding-block: var(--s-300); border-top: 1px solid hsl(30 10% 20%);
  font-size: var(--t-sm); color: hsl(30 10% 55%);
}
.footer__legal ul { display: flex; gap: var(--s-300); }
.footer__legal a { color: inherit; }
.footer__legal a:hover { color: #fff; }

/* ═══ RESPONSIVE (skill: adapt — breakpoints pilotés par le contenu) ═══ */
@media (max-width: 900px) {
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-400); }
  .footer__legal { flex-direction: column; }
  .contact__form, .quiz__card { padding: var(--s-300); }
  .hero__actions .btn--primary { width: 100%; }
}

/* ════════════════════════════ FIN DU FICHIER ════════════════════════════ */



/* ═══════════════════════════════════════════════════════════════
   OPEN21 — bloc ÉTAPE 5 : audit final (correctifs + menu mobile v2)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Contrastes corrigés (vérifiés au calcul, WCAG 4.5:1) ── */
:root { --grey-500: hsl(30 10% 42%); }   /* tertiaire : 4.45 → 4.98:1 sur ivoire */
.hero__badge, .quiz__level-tag { color: var(--magenta-900); }  /* 3.2 → 10.2:1 sur magenta-100 */
.faq__item summary:hover { color: var(--magenta-800); }        /* hover 16px : passe le 4.5 */
.marquee__track li { color: var(--grey-500); }                 /* logos partenaires lisibles */

/* ── 2. Verre sur photo : scrim renforcé sous le texte (règle glassmorphism) ── */
.hero__floating { background: rgba(255, 255, 255, .78); }

/* ── 3. Reduced transparency : la navbar est couverte aussi ── */
@media (prefers-reduced-transparency: reduce) {
  .nav-pill { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav--open .nav-pill { background: var(--bg); }
}

/* ── 4. Menu mobile v2 — SUPPRIMEZ l'ancien bloc @media (max-width: 860px)
      de la partie 1 (celui avec .nav__links { position: fixed; inset: 0; …})
      et remplacez-le par celui-ci ── */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }

  .nav--open .nav-pill {          /* la pilule DEVIENT l'overlay plein écran */
    position: fixed; inset: 0; width: 100%;
    flex-direction: column; align-items: stretch;
    border-radius: 0; border-color: transparent;
    padding: max(var(--s-300), env(safe-area-inset-top)) var(--s-300)
             max(var(--s-300), env(safe-area-inset-bottom));
    background: rgba(250, 249, 247, .92);
    -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
    animation: menuIn 300ms var(--ease);
  }
  @keyframes menuIn { from { opacity: 0; } }
  .nav--open .nav__logo { align-self: flex-start; }
  .nav--open .nav__burger {
    position: absolute; top: max(var(--s-300), env(safe-area-inset-top)); right: var(--s-300);
  }
  .nav--open .nav__links {
    display: flex; flex: 1; flex-direction: column;
    align-items: center; justify-content: center; gap: var(--s-400);
  }
  .nav--open .nav__links a { font-size: var(--t-2xl); font-weight: 700; color: var(--ink); }
  .nav--open .nav__links li { animation: navIn 500ms var(--ease) both; }
  .nav--open .nav__links li:nth-child(1) { animation-delay: 100ms; }
  .nav--open .nav__links li:nth-child(2) { animation-delay: 150ms; }
  .nav--open .nav__links li:nth-child(3) { animation-delay: 200ms; }
  .nav--open .nav__links li:nth-child(4) { animation-delay: 250ms; }
  .nav--open .nav__links li:nth-child(5) { animation-delay: 300ms; }
  @keyframes navIn { from { opacity: 0; transform: translateY(48px); } }
  .nav--open .nav__cta { display: inline-flex; margin-inline: auto; }
  body.menu-open { overflow: hidden; }
}

/* ═══════════════════════════════════════════════════════════════
   OPEN21 — bloc images stade B : timeline illustrée + diorama mission
   ═══════════════════════════════════════════════════════════════ */

/* ── Timeline : vignettes diorama à droite du texte ── */
.method__step { align-items: flex-start; }
.method__content { flex: 1; min-width: 0; }
.method__visual { flex: none; width: 200px; }
.method__img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--grey-100);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-ui) var(--ease),
              box-shadow var(--dur-ui) var(--ease);
}
.method__step:hover .method__img { transform: translateY(-4px); box-shadow: var(--sh-3); }
@media (max-width: 900px) { .method__visual { width: 140px; } }
@media (max-width: 640px) {
  .method__step { flex-wrap: wrap; }
  .method__visual { width: 100%; margin-top: var(--s-200); }
  .method__img { aspect-ratio: 4 / 3; }
}

/* ── Mission : le diorama Kinshasa→Cologne ── */
.mission__visual {
  max-width: 960px; margin: var(--s-600) auto 0;
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: 0 24px 60px hsla(340 75% 40% / .28);   /* halo magenta sous le diorama */
}
.mission__visual img { display: block; width: 100%; height: auto; }

/* ═══ Carte témoignage vidéo vedette ═══ */
.video-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; margin-bottom: var(--s-600); }
.video-card__body { padding: var(--s-500); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-200); }
.video-card__body h3 { font-size: var(--t-2xl); line-height: 1.25; }
.video-card__person { display: flex; flex-direction: column; gap: var(--s-25); font-size: var(--t-sm); color: var(--ink-tertiary); }
.video-card__person strong { font-size: var(--t-base); font-weight: 700; color: var(--ink); }
.video-card__micro { font-size: var(--t-sm); color: var(--ink-tertiary); }

.video-card__media { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--grey-200); cursor: pointer; }
.video-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.video-card__media::after { content: ''; position: absolute; inset: 0; background: var(--magenta-600); opacity: 0; transition: opacity var(--dur-ui) var(--ease); }
.video-card__media:hover img { transform: scale(1.03); }
.video-card__media:hover::after { opacity: .12; }   /* teinte magenta au survol — subtile */

.video-card__play {
  position: absolute; left: var(--s-300); bottom: var(--s-300); z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px;
  background: var(--action); color: #fff; border-radius: var(--r-full);
  box-shadow: var(--sh-3); transition: transform var(--dur-micro) var(--ease);
}
.video-card__media:hover .video-card__play { transform: scale(1.08); }
.video-card__play i.ph { font-size: 26px; }

@media (max-width: 860px) {
  .video-card { grid-template-columns: 1fr; }
  .video-card__media { order: -1; aspect-ratio: 16 / 9; }   /* la vidéo d'abord sur mobile */
  .video-card__body { padding: var(--s-400); }
}

/* ═══ Lecteur modal ═══ */
.video-modal {
  width: min(92vw, 900px); padding: 0; border: 0;
  border-radius: var(--r-xl); background: #000; box-shadow: var(--sh-5);
}
.video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-modal__close {
  position: absolute; top: var(--s-200); right: var(--s-200); z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: rgba(0, 0, 0, .55); color: #fff; border: 0; border-radius: var(--r-full); cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease);
}
.video-modal__close:hover { background: var(--action); }
.video-modal::backdrop { background: rgba(12, 10, 8, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ═══ Carrousel témoignages vidéo (structure Mixpanel · univers Open21) ═══ */
.section-head--center { margin-inline: auto; text-align: center; }
.vcarousel { margin-top: var(--s-600); }
.vcarousel__viewport {
  overflow: hidden; padding-block: var(--s-100);
  /* Le fondu gauche→droite : les cartes s'évanouissent vers les bords */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vcarousel__track {
  display: flex; gap: var(--s-300); width: max-content;
  transition: transform 700ms var(--ease);
  will-change: transform;
}
.vcard {
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(760px, 92vw); min-height: 440px;
  background: var(--surface); border: 1px solid var(--grey-200);
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--sh-1); opacity: .45;
  transition: opacity 700ms var(--ease), box-shadow 700ms var(--ease);
}
.vcard.is-active { opacity: 1; box-shadow: var(--sh-3); }

.vcard__body { padding: var(--s-500); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-200); }
.vcard__body h3 { font-size: var(--t-2xl); line-height: 1.25; }
.vcard__person { display: flex; flex-direction: column; gap: var(--s-25); font-size: var(--t-sm); color: var(--ink-tertiary); }
.vcard__person strong { font-size: var(--t-base); font-weight: 700; color: var(--ink); }
.vcard__micro { font-size: var(--t-sm); color: var(--ink-tertiary); }
.vcard__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: var(--s-75);
  min-height: 44px; padding: var(--s-75) 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--action);
  transition: color var(--dur-micro) var(--ease);
}
.vcard__link i { transition: transform var(--dur-micro) var(--ease); }
.vcard__link:hover { color: var(--action-hover); }
.vcard__link:hover i { transform: translateX(4px); }

.vcard__media { position: relative; display: block; width: 100%; height: 100%; padding: var(--s-200); border: 0; background: none; cursor: pointer; }
.vcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); background: var(--grey-200); transition: transform 600ms var(--ease); }
.vcard__media::after { content: ''; position: absolute; inset: var(--s-200); border-radius: var(--r-lg); background: var(--magenta-600); opacity: 0; transition: opacity var(--dur-ui) var(--ease); pointer-events: none; }
.vcard__media:hover img { transform: scale(1.02); }
.vcard__media:hover::after { opacity: .12; }
.vcard__play {
  position: absolute; left: var(--s-300); bottom: var(--s-300); z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px;
  background: var(--action); color: #fff; border-radius: var(--r-full);
  box-shadow: var(--sh-3); pointer-events: none; transition: transform var(--dur-micro) var(--ease);
}
.vcard__media:hover .vcard__play { transform: scale(1.08); }
.vcard__play i.ph { font-size: 26px; }

.vcarousel__controls { display: flex; align-items: center; justify-content: center; gap: var(--s-200); margin-top: var(--s-300); }
.vcarousel__btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--grey-300); border-radius: var(--r-full);
  color: var(--ink); cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease), opacity var(--dur-micro) var(--ease);
}
.vcarousel__btn:hover:not(:disabled) { border-color: var(--action); color: var(--action); }
.vcarousel__btn:disabled { opacity: .35; cursor: default; }
.vcarousel__dots { display: flex; gap: var(--s-50); }
.vcarousel__dot { width: 24px; height: 24px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.vcarousel__dot::before { content: ''; width: 10px; height: 10px; border-radius: var(--r-full); background: var(--grey-300); transition: background-color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease); }
.vcarousel__dot[aria-current="true"]::before { background: var(--action); transform: scale(1.3); }

@media (max-width: 860px) {
  .vcard { grid-template-columns: 1fr; min-height: 0; width: min(560px, 92vw); }
  .vcard__media { order: -1; aspect-ratio: 16 / 9; height: auto; }
  .vcard__body { padding: var(--s-400); }
}

/* ═══ Autoplay premium : stories + Ken Burns + profondeur ═══ */
.vcard {
  transform: scale(.965);
  transition: opacity 700ms var(--ease), box-shadow 700ms var(--ease), transform 700ms var(--ease);
}
.vcard.is-active { transform: scale(1); }

/* Ken Burns : la photo active respire lentement (jamais sous motion réduite) */
@media (prefers-reduced-motion: no-preference) {
  .vcard.is-active .vcard__media img { animation: kenburns 9s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ═══ Autoplay premium : stories + Ken Burns + profondeur ═══ */
.vcard {
  transform: scale(.965);
  transition: opacity 700ms var(--ease), box-shadow 700ms var(--ease), transform 700ms var(--ease);
}
.vcard.is-active { transform: scale(1); }

/* Ken Burns : la photo active respire lentement (jamais sous motion réduite) */
@media (prefers-reduced-motion: no-preference) {
  .vcard.is-active .vcard__media img { animation: kenburns 9s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Points → barres de progression façon stories (cible tactile 24px conservée) */
.vcarousel__dot {
  position: relative; width: 48px; height: 24px;
  display: grid; align-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.vcarousel__dot::before, .vcarousel__dot::after {
  content: ''; grid-area: 1 / 1; height: 4px; border-radius: var(--r-full);
}
.vcarousel__dot::before { background: var(--grey-300); }
.vcarousel__dot::after { width: var(--p, 0%); background: var(--action); }

/* ═══ Carrousel continu des témoignages — même moteur que le marquee partenaires ═══ */
.vcard { opacity: 1; transform: none; box-shadow: var(--sh-1); margin-right: var(--s-300); }
.vcard.is-active { opacity: 1; transform: none; box-shadow: var(--sh-1); }

.vcarousel__track {
  display: flex; width: max-content; gap: 0;
  animation: vcscroll 40s linear infinite;      /* défilement permanent, lent et fluide */
  will-change: transform;
}
@keyframes vcscroll { to { transform: translateX(-50%); } }

/* Pause au survol (desktop) — "s'arrête quand on le touche" */
.vcarousel__viewport:hover .vcarousel__track { animation-play-state: paused; }
/* Pause commandée (bouton, tactile, modal) */
.vcarousel.is-paused .vcarousel__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .vcarousel__track { animation: none; } }

.vcarousel__controls { display: flex; justify-content: center; margin-top: var(--s-300); }

/* ═══ Logo réel : mark SVG + identité footer ═══ */
.logo-mark { flex: none; color: var(--ink); }        /* barres = couleur du texte du thème */
.footer .logo-mark { color: var(--dark-ink); }       /* barres blanches sur fond sombre */
.footer__logo { display: inline-flex; align-items: center; gap: var(--s-100); margin-bottom: var(--s-200); }
.footer__org { display: flex; flex-direction: column; font-weight: 700; font-size: var(--t-lg); color: hsl(30 15% 88%); }
.footer__org small {
  font-weight: 400; font-size: var(--t-xs); letter-spacing: .08em;
  text-transform: uppercase; color: hsl(30 10% 65%);
}
.footer__org-note { margin-top: var(--s-200); font-size: var(--t-sm); color: hsl(30 10% 55%); }

/* ═══ Marquee : logos partenaires en images ═══ */
.marquee__track li { display: flex; align-items: center; padding-right: var(--s-700); }
.marquee__track img {
  height: 36px; width: auto;
  filter: grayscale(1) opacity(.55);            /* atténués par défaut — cohérent avec l'édition */
  transition: filter var(--dur-ui) var(--ease);
}
.marquee__track li:hover img { filter: none; }  /* couleur au survol */

/* ═══ Logo réel en image (navbar + footer) ═══ */
.logo-img { display: block; height: auto; width: auto; max-height: 100%; }

/* Navbar : hauteur maîtrisée, largeur suivie selon l'image */
.nav__logo .logo-img { height: 32px; width: auto; }

/* Footer : hauteur plus généreuse + filtre → version blanche sur fond sombre */
.footer__logo { display: inline-flex; align-items: center; margin-bottom: var(--s-200); }
.footer__logo .logo-img { height: 40px; width: auto; }
.logo-img--light {
  filter: brightness(0) invert(1);   /* noir → blanc, uniforme avec le footer */
  opacity: .92;                       /* légèrement adouci : ne crie pas sur le sombre */
}

/* Mobile : logo un peu plus compact dans la navbar */
@media (max-width: 640px) {
  .nav__logo .logo-img { height: 28px; }
}

/* Nettoyage : l'ancien .logo-mark (SVG du message précédent) n'est plus utilisé */
.logo-mark { display: none; }

.nav__logo .logo-img { height: 36px; }   /* 32 → 36 ou 40, à votre goût */
.footer__logo .logo-img { height: 44px; }

/* ═══ Section offres — style Apple adapté ═══ */
.offers { position: relative; }
.offers__title { font-size: var(--t-4xl); margin-bottom: var(--s-500); }
.offers__highlight {
  background: var(--magenta-100); color: var(--magenta-900);
  padding: 0 var(--s-50); border-radius: var(--s-50);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ═══ Offres — alignement sur le titre + fondu à DROITE uniquement ═══ */
.offers__row {
  --edge: max(var(--s-300), calc((100% - 72rem) / 2 + var(--s-300)));
  display: flex; gap: var(--s-300);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);   /* ← LE FIX : le snap respecte la marge du titre */
  padding-block: var(--s-100) var(--s-200);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--edge)), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--edge)), transparent);
}
.offers__row::-webkit-scrollbar { display: none; }

/* Cartes légèrement réduites */
.offer-card { width: min(384px, 80vw); }


.offer-card {
  flex: none;                          /* ← la ligne disparue : déborde au lieu de se compresser */
  width: min(384px, 80vw);
  scroll-snap-align: start;
  background: var(--surface); border-radius: var(--r-2xl); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }

.offer-card__body { padding: var(--s-400); display: flex; flex-direction: column; gap: var(--s-100); }
.offer-card__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.offer-card__eyebrow {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--magenta-600);
}
.offer-card__icon { color: var(--grey-400); font-size: 24px; }
.offer-card__title { font-size: var(--t-2xl); }
.offer-card__promise { font-weight: 600; color: var(--ink); }
.offer-card__detail { font-size: var(--t-sm); color: var(--ink-secondary); }
.offer-card__img {
  width: 100%;
  flex: 1;                        /* l'image remplit tout l'espace sous le texte */
  min-height: 300px;
  object-fit: cover;
  object-position: center top;    /* recadrage par le haut : le personnage touche le bord bas */
  background: #fff;
}
.offer-card--dark { background: var(--dark-bg); }
.offer-card--dark .offer-card__eyebrow { color: var(--magenta-400); }
.offer-card--dark .offer-card__title { color: var(--dark-ink); font-size: var(--t-3xl); }
.offer-card--dark .offer-card__img { background: var(--dark-bg); }
.offer-card__link {
  display: inline-flex; align-items: center; gap: var(--s-75); margin-top: var(--s-100);
  min-height: 44px; font-weight: 700; color: var(--magenta-400);
  transition: color var(--dur-micro) var(--ease);
}
.offer-card__link:hover i { transform: translateX(4px); }
.offer-card__link i { transition: transform var(--dur-micro) var(--ease); }

.offers__arrow {
  position: absolute; right: var(--s-400); top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border: 0; border-radius: var(--r-full); cursor: pointer;
  background: rgba(255, 255, 255, .85); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--sh-3);
  transition: transform var(--dur-micro) var(--ease), background-color var(--dur-micro) var(--ease);
}
.offers__arrow:hover { background: var(--action); color: #fff; transform: translateY(-50%) scale(1.06); }

@media (max-width: 860px) { .offers__arrow { display: none; } }   /* swipe natif sur mobile */


/* ═══ Bannière CTA intermédiaire ═══ */
.ctaband {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-400);
  align-items: center;
  background: var(--dark-bg); border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: 0 24px 60px hsla(340 75% 40% / .25);
}
.ctaband__body { padding: var(--s-700) var(--s-600); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-200); }
.ctaband__title { font-size: var(--t-3xl); color: var(--dark-ink); max-width: 560px; }
@media (min-width: 1100px) { .ctaband__title { font-size: var(--t-4xl); } }
.ctaband__sub { color: hsl(30 15% 78%); font-size: var(--t-base); max-width: 30em; }
.ctaband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200); margin-top: var(--s-200); }
.ctaband__places { display: inline-flex; align-items: center; gap: var(--s-50); font-size: var(--t-sm); font-weight: 600; color: hsl(30 15% 78%); }
.ctaband__places i { color: var(--magenta-400); }
.ctaband__micro { font-size: var(--t-sm); color: hsl(30 10% 55%); }
.ctaband__visual { align-self: center; justify-self: center; width: min(380px, 90%); }
.ctaband__visual img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  border-radius: var(--r-2xl);       /* le noir de l'image devient un panneau assumé */
}

@media (max-width: 900px) {
  .ctaband__visual { display: none; }   /* mobile : le texte et le bouton suffisent */
  .ctaband__body { padding: var(--s-500) var(--s-300); }
}