/* ==========================================================================
   Datacademie · feuille de style unique
   1. Polices   2. Tokens   3. Base   4. Utilitaires & animations
   5. Composants   6. En-tête   7. Pied de page   8. Sections par page
   9. Quiz   10. Responsive   11. Mouvement réduit
   ========================================================================== */

/* 1. Polices (auto-hébergées, sous-ensembles latin / latin-ext, licence OFL) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/space-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/space-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/space-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/space-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens */
:root {
  /* Encre & fonds */
  --ink: #0C2A22;
  --ink-2: #103A2F;
  --ink-deep: #06241B;
  --cream: #F4EEE1;
  --white: #FFFFFF;

  /* Verts */
  --mint: #1EBE8A;
  --green: #0E7C5A;
  --mint-pale: #D9EFE6;
  --mint-pale-2: #BFE3D4;

  /* Texte */
  --text: #13251F;
  --text-2: #3D5247;
  --text-3: #5A7266;
  --text-4: #7C8A83;
  --on-dark: #A9C3B7;
  --on-dark-2: #7FA192;

  /* IA bleu */
  --blue: #5C8BF0;
  --blue-dark: #3D66C9;
  --blue-ink: #0A1B44;
  --blue-light: #86ABFF;
  --blue-pale: #DCE6FB;

  /* Accents */
  --yellow: #FFB23E;
  --yellow-dark: #B87A00;
  --yellow-darker: #8A5A00;
  --yellow-ink: #3A2300;
  --sand: #FBE8CF;
  --coral: #FF6B4A;
  --coral-dark: #B23A18;
  --coral-pale: #FCDDD3;
  --lavender: #B79CF6;
  --star: #E19A00;

  /* Typographie */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  /* Rayons, ombres, mouvement */
  --r-pill: 999px;
  --r-card: 28px;
  --r-card-lg: 36px;
  --shadow-card: 0 30px 50px -45px rgba(12, 42, 34, .5);
  --shadow-card-hover: 0 40px 60px -40px rgba(12, 42, 34, .55);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Mise en page : 3vw sur desktop, jamais moins de 20px */
  --gutter: max(20px, 3vw);
  --header-h: 84px;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
/* <picture> ne sert qu'au choix WebP/PNG : ni lui ni ses <source> ne créent de boîte
   (sinon, dans un conteneur flex, chaque <source> ajouterait un « gap »). */
picture { display: contents; }
source { display: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:where(a:not([class])) { color: var(--green); }
:where(a:not([class])):hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }
::selection { background: rgba(30, 190, 138, .32); }

/* 4. Utilitaires & animations */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.i { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* Surlignage menthe : la largeur passe de 0 à 100 % quand l'élément entre dans la vue. */
.hl {
  --hl-a: .38;
  --hl-h: 38%;
  background-image: linear-gradient(rgb(30 190 138 / var(--hl-a)), rgb(30 190 138 / var(--hl-a)));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% var(--hl-h);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .06em;
}
.hl--strong { --hl-a: .42; }
.hl--soft { --hl-a: .32; }
.hl--hero {
  --hl-a: .24;
  --hl-h: 30%;
  color: var(--mint);
  background-position: 0 90%;
  -webkit-box-decoration-break: slice;
  box-decoration-break: slice;
}
.js .hl { transition: background-size 1s var(--ease); }
.js .hl:not(.is-on) { background-size: 0% var(--hl-h); }

/* Apparition au scroll. `translate` (et non `transform`) pour ne pas entrer en conflit
   avec les effets de survol des cartes. Filet de sécurité : si main.js ne s'exécute pas,
   le contenu apparaît quand même après 4 s. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  animation: reveal-safety 0s linear 4s forwards;
}
.js.reveal-ready [data-reveal] { animation: none; }
.js [data-reveal].is-in {
  opacity: 1;
  translate: none;
  transition: opacity .7s var(--ease), translate .7s var(--ease), transform .2s, box-shadow .2s;
}
@keyframes reveal-safety { to { opacity: 1; translate: none; } }
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none; }
.dot--sm { width: 8px; height: 8px; }
.dot--xs { width: 7px; height: 7px; }
.dot--blink { animation: dot-blink 2s infinite; }
.dot--coral { background: var(--coral); }

/* 5. Composants */

/* Boutons pilule */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-3px); }
.btn--mint { background: var(--mint); color: var(--ink-deep); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--hero { padding: 15px 26px; }
.btn--lg { padding: 16px 28px; }

/* Libellés en Space Mono */
.kicker {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--green);
}
.kicker--13 { font-size: 13px; }
.kicker--mint { color: var(--mint); }
.kicker--blue { color: var(--blue-dark); }
.eyebrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--mint);
}
.eyebrow--blue { color: var(--blue-light); }
.side-label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--green);
}
.side-label--13 { font-size: 13px; }
.side-label--blue { color: var(--blue-dark); }

/* Pastilles « tags » */
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(30, 190, 138, .12);
  color: var(--green);
}
.tag--blue { background: rgba(92, 139, 240, .12); color: var(--blue-dark); }
.tag--coral { background: rgba(255, 107, 74, .14); color: var(--coral-dark); }
.tag--yellow { background: rgba(255, 178, 62, .18); color: var(--yellow-darker); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Pastille de section sombre (« À TON RYTHME », « DATA EVOLUTION ») */
.chip-mint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 190, 138, .14);
  border: 1px solid rgba(30, 190, 138, .35);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}

/* Badge pilule blanc (avis Google, compteurs) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(12, 42, 34, .12);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 16px;
}
.badge--lg { padding: 14px 26px; font-size: 17px; }
.badge .i { color: var(--green); font-size: 20px; }
.stars { color: var(--star); }

/* Titres de section */
.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.58vw, 54px);
  letter-spacing: -.02em;
}
.h-section--52 { font-size: clamp(34px, 4.41vw, 52px); }
.h-section--44 { font-size: clamp(30px, 3.73vw, 44px); }
.h-section--40 { font-size: clamp(28px, 3.39vw, 40px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-head--wrap { flex-wrap: wrap; }
.section-head--center {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.section-head--center .h-section { max-width: 820px; }

/* Cartes blanches */
.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}
.card--lift:hover { transform: translateY(-5px); }
.card--lift-4:hover { transform: translateY(-4px); }
.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
}
.card__text { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(30, 190, 138, .15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.icon-box--blue { background: rgba(92, 139, 240, .15); color: var(--blue-dark); }
.icon-box--coral { background: rgba(255, 107, 74, .15); color: #C2431F; }
.icon-box--yellow { background: rgba(255, 178, 62, .2); color: var(--yellow-dark); }

.grid-2, .grid-3 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Bloc sombre arrondi (accompagnement, parcours d'élève…) */
.panel {
  position: relative;
  overflow: hidden;
  margin: 80px var(--gutter) 0;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-card-lg);
  padding: 56px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.panel > :not(.glow) { position: relative; z-index: 2; }

/* Preuve sociale : avatars + « Rejoins +2000 élèves » */
.proof { display: flex; align-items: center; gap: 12px; }
.proof__avatars { display: flex; }
.proof__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  flex: none;
}
.proof__avatar + .proof__avatar { margin-left: -12px; }
.proof__avatar--1 { background: var(--yellow); }
.proof__avatar--2 { background: var(--blue); }
.proof__avatar--3 { background: var(--lavender); }
.proof__avatar--4 { background: var(--coral); }
.proof__text { font-size: 15px; line-height: 1.25; color: var(--on-dark); font-weight: 500; }
.proof__text strong { color: var(--cream); }

/* Rangée de confiance : Qualiopi | TOSA | 5/5 */
.trust {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.trust__item { display: flex; align-items: center; height: 50px; flex: none; }
.trust__item--qualiopi { padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .16); }
.trust__item--tosa { padding: 0 14px 0 4px; border-right: 1px solid rgba(255, 255, 255, .16); }
.trust__item--score { gap: 10px; padding-left: 4px; }
.trust__qualiopi { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.trust__tosa { height: 23px; width: auto; opacity: .92; }
.trust__note { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--cream); }
.trust__meta { display: flex; flex-direction: column; gap: 2px; }
.trust__stars { color: var(--yellow); font-size: 15px; letter-spacing: .08em; line-height: 1; }
.trust__count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--on-dark); }

/* Carte sombre de hero (pages programme) */
.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-radius: 30px;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hero-card > :not(.glow) { position: relative; z-index: 2; }
.hero-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 5.42vw, 64px);
  line-height: .95;
  letter-spacing: -.02em;
}
.hero-card__lead { font-size: 19px; color: var(--on-dark); font-weight: 500; max-width: 560px; }
.hero-card__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-card__when { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-2); }
.pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* Section webinaires (partagée) */
.webinar {
  position: relative;
  overflow: hidden;
  margin: 80px var(--gutter) 0;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-card-lg);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 56px;
  align-items: center;
}
.webinar--flush { margin-top: 0; }
.webinar__glow {
  right: 300px;
  top: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(30, 190, 138, .32), transparent 70%);
}
.webinar__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; }
.webinar__kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--mint); }
.webinar__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.07vw, 48px);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.webinar__lead { font-size: 19px; color: var(--on-dark); line-height: 1.45; max-width: 560px; text-wrap: pretty; }
.webinar__slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.slot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.slot__bar { width: 10px; height: 38px; border-radius: 99px; background: var(--mint); flex: none; }
.slot__bar--blue { background: var(--blue); }
.slot__body { display: flex; flex-direction: column; gap: 2px; }
.slot__title { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.slot__when { font-size: 15px; font-weight: 600; color: var(--on-dark); }
.webinar__cta { align-self: flex-start; }

/* Aperçu du quiz (cliquable, ouvre le quiz) */
.quiz-peek {
  position: relative;
  z-index: 2;
  background: var(--cream);
  color: var(--text);
  border-radius: var(--r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform .2s;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.quiz-peek:hover { transform: translateY(-4px); }
.quiz-peek__open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.quiz-peek__open:focus-visible { outline-offset: 4px; }
.quiz-peek__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(12, 42, 34, .1);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint-pale);
  overflow: hidden;
  flex: none;
}
.avatar img { width: 100%; height: 100%; }
.quiz-peek__who { display: flex; flex-direction: column; gap: 2px; }
.quiz-peek__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.quiz-peek__status { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.bubble {
  align-self: flex-start;
  max-width: 86%;
  background: var(--white);
  color: var(--text);
  border-radius: 20px 20px 20px 6px;
  padding: 13px 16px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}
.quiz-peek__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding-top: 4px; }
.peek-chip {
  padding: 10px 15px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid rgba(12, 42, 34, .16);
}
.peek-chip--on { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* 6. En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  background: rgba(244, 238, 225, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand__mark img { width: 30px; filter: invert(1) brightness(2); }
.brand__name { font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--green); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(12, 42, 34, .12);
  border-radius: var(--r-pill);
  padding: 8px;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a { padding: 8px 18px; border-radius: var(--r-pill); text-decoration: none; color: var(--text); }
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current='page'] { background: var(--ink); color: var(--cream); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.btn--header { padding: 12px 24px; font-size: 16px; }
.btn--header:hover { transform: translateY(-2px); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(12, 42, 34, .12);
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* 7. Pied de page */
.site-footer {
  margin-top: 80px;
  background: var(--ink);
  color: var(--cream);
  padding: 56px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.page-home .site-footer { margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__about { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer__mark img { width: 28px; }
.site-footer__name { font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: .16em; color: var(--mint); }
.site-footer__pitch { font-size: 15px; line-height: 1.5; color: var(--on-dark); max-width: 300px; }
.site-footer__labels { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.site-footer__qualiopi { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.site-footer__tosa { height: 26px; width: auto; opacity: .85; }
.site-footer__sep { width: 1px; height: 34px; background: rgba(255, 255, 255, .16); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--on-dark); }
.site-footer__col h2 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cream);
  margin-bottom: 4px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a { color: var(--on-dark); text-decoration: none; }
.site-footer__col a:hover { color: var(--mint); }
.site-footer__col button { font-size: 15px; color: var(--on-dark); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
  font-size: 14px;
  color: var(--on-dark-2);
}
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { color: var(--mint); }
.site-footer__ids { flex-basis: 100%; font-size: 13px; line-height: 1.5; }

/* 8. Sections par page */

/* --- Accueil : hero --- */
.hero { padding: 24px var(--gutter) 0; }
.hero__card {
  position: relative;
  overflow: hidden;
  height: 700px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-card-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.hero__glow {
  left: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 35% 35%, rgba(30, 190, 138, .35), rgba(30, 190, 138, 0) 68%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding: 48px 0 130px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.1vw, 72px);
  line-height: .95;
  letter-spacing: -.02em;
}
.hero__lead { font-size: 19px; color: var(--on-dark); font-weight: 500; max-width: 520px; line-height: 1.45; text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__stage { position: relative; }
.hero__stage-glow {
  left: 50%;
  bottom: -40px;
  translate: -50% 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #1A4D3E, rgba(16, 58, 47, 0) 70%);
}
.hero__3d { position: absolute; inset: 0 0 96px; z-index: 2; }
.hero__3d canvas { display: block; }
.hero__fallback {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 92%;
  width: auto;
  max-width: none;
  translate: -50% 0;
}
.js .hero__fallback { display: none; }
.js .hero__stage.no-webgl .hero__fallback { display: block; }

.pin {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.pin.is-placed { opacity: 1; }
.pin--antoine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
}
/* Sans 3D : l'étiquette reste à sa position de repli (comme dans la maquette). */
.no-js .pin--antoine, .hero__stage.no-webgl .pin--antoine { left: 50%; top: 80%; opacity: 1; }
.pin--student { transform: translate(-50%, -100%); }
.pin__card {
  position: relative;
  background: var(--cream);
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6);
}
.pin__label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--green); }
.pin__arrow {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--cream);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}
.students { position: relative; height: 50px; width: 220px; margin: 0; }
.student {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  text-align: center;
  transition: opacity .5s, transform .5s var(--ease);
}
.student:not(:first-child) { opacity: 0; }
.student__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); }
.student__role { font-size: 13px; font-weight: 600; color: var(--text-2); }

.hero__programs {
  position: relative;
  z-index: 4;
  margin: -96px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 170px;
}
.prog {
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform .2s;
  box-shadow: 0 30px 50px -40px rgba(12, 42, 34, .55);
}
.prog:hover { transform: translateY(-4px); }
.prog--ia { color: var(--blue-ink); background: var(--blue); }
.prog__top, .prog__bottom { display: flex; justify-content: space-between; }
.prog__top { align-items: center; gap: 12px; }
.prog__bottom { align-items: flex-end; gap: 18px; }
.prog__label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--green); }
.prog--ia .prog__label { color: var(--blue-ink); }
.prog__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  background: rgba(255, 178, 62, .22);
  color: var(--yellow-darker);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.prog--ia .prog__badge { background: var(--ink); color: var(--cream); }
.prog__body { display: flex; flex-direction: column; gap: 6px; }
.prog__title { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; }
.prog__desc { font-size: 16px; line-height: 1.4; color: var(--text-2); text-wrap: pretty; }
.prog--ia .prog__desc { color: #0E2456; }
.prog__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 22px;
}
.prog--ia .prog__arrow { color: var(--blue); }

/* --- Accueil : outils --- */
.tools {
  margin-top: 40px;
  padding: 34px var(--gutter);
  border-top: 1px solid rgba(12, 42, 34, .1);
  border-bottom: 1px solid rgba(12, 42, 34, .1);
  display: flex;
  align-items: center;
  gap: 40px;
}
.tools__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--green);
  flex: none;
  max-width: 180px;
  line-height: 1.6;
}
.tools__grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.swap { position: relative; height: 54px; }
.swap__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity .6s, transform .6s;
  font-weight: 800;
  font-size: 19px;
  color: var(--text-2);
}
.swap__layer + .swap__layer { opacity: 0; transform: translateY(8px); }
.swap__layer--mono { font-family: var(--font-mono); font-weight: 700; }
.swap__layer img { height: 34px; width: auto; filter: grayscale(1); opacity: .8; border-radius: 7px; }

/* --- Accueil : pourquoi --- */
.why { padding: 80px var(--gutter) 70px; display: flex; flex-direction: column; gap: 40px; }
.why .card { padding: 38px; }
.why .card:hover { box-shadow: var(--shadow-card-hover); }
.why .card__title { font-size: 27px; }
.why .card__text { font-size: 17px; }

/* --- Témoignages --- */
.testimonials { padding: 76px var(--gutter); display: flex; flex-direction: column; gap: 36px; }
.testimonials .h-section { max-width: 640px; }
.quote { gap: 20px; }
.quote__icon { font-size: 38px; color: var(--mint); }
.quote__icon--coral { color: var(--coral); }
.quote__icon--blue { color: var(--blue); }
.quote__top { display: flex; align-items: center; justify-content: space-between; }
.quote__stars { color: var(--star); font-size: 16px; letter-spacing: .06em; }
.quote__text { font-size: 17px; line-height: 1.55; color: var(--text); }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__who { display: flex; flex-direction: column; }
.initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex: none;
}
.initials--yellow { background: var(--yellow); color: #4A2B00; }
.initials--blue { background: var(--blue); color: #0E2456; }
.initials--lavender { background: var(--lavender); color: #2C1A54; }
.quote__name { font-weight: 800; font-size: 16px; }
.quote__role { font-size: 14px; color: var(--text-3); }

/* --- Accueil : ressources --- */
.perks { padding: 0 var(--gutter) 76px; display: flex; flex-direction: column; gap: 32px; }
.perks__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.perks__intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.perks__kicker { display: flex; align-items: center; gap: 8px; }
.perks .h-section { line-height: 1; }
.perks__lead { font-size: 18px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.btn--perks { padding: 15px 24px; font-size: 17px; gap: 10px; }
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 302px;
  transition: transform .2s;
}
.tile:hover { transform: translateY(-4px); }
.tile--mint { background: var(--mint-pale); }
.tile--sand { background: var(--sand); }
.tile--coral { background: var(--coral-pale); }
.tile--blue { background: var(--blue-pale); }
.tile__icon { font-size: 40px; color: var(--green); }
.tile--sand .tile__icon { color: var(--yellow-dark); }
.tile--coral .tile__icon { color: #C2431F; }
.tile--blue .tile__icon { color: var(--blue-dark); }
.tile__title { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.tile__text { position: relative; font-size: 16px; line-height: 1.5; color: #2C463B; }
.tile--sand .tile__text { color: #5A4426; max-width: 240px; }
.tile--coral .tile__text { color: #5E2B1B; max-width: 240px; }
.tile--blue .tile__text { color: #2A3B66; }
.tile__deco { position: absolute; right: -16px; bottom: -16px; width: 130px; opacity: .9; }
.tile__deco--gift { right: -12px; bottom: -14px; width: 120px; }
.lock {
  position: absolute;
  right: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  background: rgba(255, 255, 255, .7);
  padding: 6px 11px;
  border-radius: var(--r-pill);
}
.tile--sand .lock { color: var(--yellow-darker); }
.tile--coral .lock { color: #A5361A; }

/* --- Pages programme : hero --- */
.prog-hero { padding: 24px var(--gutter) 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.prog-hero--data { grid-auto-rows: auto; }
.prog-hero--data .hero-card { grid-row: span 2; box-shadow: 0 40px 80px -50px rgba(12, 42, 34, .7); }
.hero-card__glow {
  right: -100px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 35% 35%, rgba(30, 190, 138, .45), rgba(30, 190, 138, 0) 68%);
}
.hero-card__glow--blue { background: radial-gradient(circle at 35% 35%, rgba(92, 139, 240, .4), rgba(92, 139, 240, 0) 68%); }
.accent-mint { color: var(--mint); }
.accent-blue { color: var(--blue-light); }
.perk-chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
}
.perk-chip .i { color: var(--yellow); }
.perk-chip--tool { font-family: var(--font-display); font-weight: 800; border-color: rgba(255, 255, 255, .18); }
.perk-chip--mint { background: var(--mint); color: var(--ink-deep); border: 0; }
.perk-chip--mint .i { color: inherit; }
.perk-chip .i--blue { color: var(--blue-light); }
.perk-chips__meta { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-2); margin-left: 6px; }

.shot {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 30px;
  padding: 14px;
  border: 1px solid rgba(12, 42, 34, .08);
  min-height: 260px;
}
.shot img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  border-radius: 20px;
}
.shot .pill-dark { position: absolute; left: 26px; bottom: 26px; }
.stat {
  background: var(--yellow);
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: 42px; color: var(--yellow-ink); }
.stat__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: #5A3800; }

.portrait {
  position: relative;
  overflow: hidden;
  background: var(--blue-pale);
  border-radius: 30px;
  min-height: 420px;
}
.portrait__disc {
  left: 50%;
  bottom: -70px;
  translate: -50% 0;
  width: 300px;
  height: 300px;
  background: var(--blue);
  opacity: .25;
}
.portrait img {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  height: 94%;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.portrait .pill-dark { position: absolute; left: 22px; bottom: 20px; }

/* --- Data Evolution : parcours --- */
.steps { padding: 80px var(--gutter) 0; display: flex; flex-direction: column; gap: 36px; }
.step { border-top: 6px solid var(--mint); }
.step--yellow { border-top-color: var(--yellow); }
.step--coral { border-top-color: var(--coral); }
.step__label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--green); }
.step--yellow .step__label { color: var(--yellow-dark); }
.step--coral .step__label { color: var(--coral-dark); }
.step__head { display: flex; align-items: center; gap: 12px; }
.step__head img { height: 34px; width: auto; }
.step__head .step__logo--claude { height: 32px; border-radius: 7px; }
.step .card__title { font-size: 26px; }
.step__win {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 190, 138, .1);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  margin-top: auto;
}
.step--yellow .step__win { background: rgba(255, 178, 62, .14); color: var(--yellow-darker); }
.step--coral .step__win { background: rgba(255, 107, 74, .12); color: var(--coral-dark); }

/* --- Data Evolution : accompagnement --- */
.support { display: flex; flex-direction: column; gap: 36px; }
.support__glow {
  right: -120px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(30, 190, 138, .3), transparent 70%);
}
.support__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.support__head .kicker { margin-bottom: 12px; }
.support__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 600;
}
.feature .i { font-size: 34px; }
.c-mint { color: var(--mint); }
.c-yellow { color: var(--yellow); }
.c-blue { color: var(--blue); }
.c-coral { color: var(--coral); }
.c-lavender { color: var(--lavender); }
.c-green { color: var(--green); }
.c-yellow-dark { color: var(--yellow-dark); }
.c-coral-dark { color: #C2431F; }

/* --- Data Evolution : kit TOSA --- */
.tosa {
  position: relative;
  overflow: hidden;
  margin: 80px var(--gutter) 0;
  background: var(--sand);
  border-radius: var(--r-card-lg);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}
.ring { position: absolute; border-radius: 50%; pointer-events: none; }
.tosa__ring { right: -90px; top: -110px; width: 320px; height: 320px; border: 2px solid rgba(212, 145, 42, .35); }
.tosa__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; }
.tosa__kicker {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--yellow-darker);
  background: rgba(255, 178, 62, .25);
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.tosa .h-section { color: var(--yellow-ink); }
.tosa__accent { color: var(--yellow-dark); }
.tosa__lead { font-size: 18px; line-height: 1.5; color: #5A4426; max-width: 640px; }
.tosa__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tosa__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--yellow-ink);
}
.tosa__list .i { font-size: 20px; color: var(--yellow-dark); }
.tosa__medal { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.tosa__medal span {
  width: 220px;
  height: 220px;
  border-radius: 56px;
  background: var(--white);
  box-shadow: 0 40px 70px -45px rgba(90, 68, 38, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: #D4912A;
}

/* --- IA Evolution --- */
.why-ia { padding: 80px var(--gutter) 0; display: flex; flex-direction: column; gap: 36px; }
.track { padding: 80px var(--gutter) 0; display: flex; flex-direction: column; gap: 36px; }
.track__grid { display: grid; grid-template-columns: 3fr 2fr 1fr; gap: 20px; }
.track__group {
  border-top: 6px solid var(--mint);
  background: var(--white);
  border-radius: 0 0 24px 24px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}
.track__group--yellow { border-top-color: var(--yellow); }
.track__group--blue { border-top-color: var(--blue); }
.track__label { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--green); }
.track__group--yellow .track__label { color: var(--yellow-dark); }
.track__group--blue .track__label { color: var(--blue-dark); }
.track__modules { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 18px; }
.track__modules--3 { --cols: 3; }
.track__modules--2 { --cols: 2; }
.module { display: flex; flex-direction: column; gap: 5px; border-left: 2px solid rgba(12, 42, 34, .1); padding-left: 14px; }
.module__num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-4); }
.module__title { font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 1.15; }
.module__desc { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.outcome {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(14, 124, 90, .3);
  background: rgba(30, 190, 138, .08);
  border-radius: 18px;
  padding: 20px 26px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.outcome .i { font-size: 26px; color: var(--green); }

/* --- Avis --- */
.page-hero {
  padding: 70px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}
.page-hero--tight { gap: 16px; }
.page-hero__head { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.25vw, 62px);
  letter-spacing: -.02em;
  max-width: 860px;
  line-height: .98;
}
.page-hero__lead { font-size: 19px; color: var(--text-2); max-width: 640px; line-height: 1.5; }
.page-hero__badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.reviews { padding: 56px var(--gutter) 0; }
.reviews-more { padding: 24px var(--gutter) 0; display: flex; justify-content: center; }
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(12, 42, 34, .12);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 16px;
  color: var(--green);
  text-decoration: none;
  transition: transform .15s;
}
.btn-google:hover { transform: translateY(-2px); }
.btn-google .i:first-child { font-size: 20px; }
.journey { display: flex; flex-direction: column; gap: 40px; }
.journey__glow {
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(30, 190, 138, .3), transparent 70%);
}
.journey .h-section { max-width: 720px; }
.journey__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.phase {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phase--done { background: rgba(30, 190, 138, .1); border-color: rgba(30, 190, 138, .35); }
.phase__title { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--coral); }
.phase--during .phase__title { color: var(--yellow); }
.phase--done .phase__title { color: var(--mint); }
.phase__text { font-size: 16px; line-height: 1.5; color: #D7E4DD; }
.journey__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mint);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
}
.journey__link:hover { color: var(--cream); }
.cta-coral {
  position: relative;
  overflow: hidden;
  margin: 80px var(--gutter) 0;
  background: var(--coral);
  border-radius: var(--r-card-lg);
  padding: 52px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-coral__ring { right: -90px; top: -110px; width: 300px; height: 300px; border: 2px solid rgba(42, 13, 4, .2); }
.cta-coral__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; }
.cta-coral .h-section { color: #2A0D04; max-width: 640px; }
.cta-coral__note { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: #571E0C; }
.btn--coral { position: relative; z-index: 2; background: #2A0D04; color: var(--coral); }
.cta-coral :focus-visible { outline-color: #2A0D04; }

/* --- Ressources --- */
.shelf { padding: 72px var(--gutter) 0; display: flex; flex-direction: column; gap: 26px; }
.shelf--first { padding-top: 64px; }
.shelf .tile { min-height: 322px; }
.shelf .tile__title { font-size: 25px; }
.shelf .tile__text { max-width: 250px; }
.tile__unlock {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
}
.tile__unlock::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-card); }
.tile--sand .tile__unlock { color: var(--yellow-darker); }
.tile--blue .tile__unlock { color: var(--blue-dark); }
.bonus { gap: 14px; }
.bonus__top { display: flex; align-items: center; justify-content: space-between; }
.bonus__top .i { font-size: 38px; }
.bonus__badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; padding: 6px 12px; border-radius: var(--r-pill); }
.article { border: 1px solid rgba(12, 42, 34, .08); box-shadow: none; }
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.article .tag { align-self: flex-start; }
.article__title { font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 1.15; }
.article__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); margin-top: auto; }

/* --- Mentions légales --- */
.legal { padding: 48px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.legal__block { width: 100%; max-width: 880px; gap: 18px; }
.legal__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.legal__block p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.legal__facts { margin: 0; display: flex; flex-direction: column; }
.legal__facts div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(12, 42, 34, .1);
}
.legal__facts dt { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--text-3); padding-top: 3px; }
.legal__facts dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.legal__updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-3); }

/* --- 404 --- */
.not-found { padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

/* 9. Quiz (dialogue plein écran) */
.quiz {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--cream);
  color: var(--text);
  display: none;
  flex-direction: column;
}
.quiz[open] { display: flex; }
.quiz::backdrop { background: var(--cream); }
.quiz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid rgba(12, 42, 34, .1);
}
.quiz__who { display: flex; align-items: center; gap: 14px; }
.quiz__who .avatar { width: 52px; height: 52px; }
.quiz__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.quiz__status { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.quiz__tools { display: flex; align-items: center; gap: 18px; }
.quiz__skip { font-weight: 700; font-size: 15px; color: var(--text-2); }
.quiz__skip:hover { color: var(--ink); }
.quiz__close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 42, 34, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 20px;
}
.quiz__close:hover { background: rgba(12, 42, 34, .12); }
.quiz__chat { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 32px var(--gutter) 24px; }
.quiz__chat:focus { outline: none; }
.quiz__thread { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.msg {
  max-width: 78%;
  border-radius: 22px;
  padding: 14px 18px;
  font-size: 18px;
  line-height: 1.4;
}
.msg--bot {
  align-self: flex-start;
  background: var(--white);
  border-bottom-left-radius: 6px;
  font-weight: 500;
  box-shadow: 0 10px 24px -20px rgba(12, 42, 34, .5);
  text-wrap: pretty;
}
.msg--me {
  align-self: flex-end;
  background: var(--ink);
  color: var(--cream);
  border-bottom-right-radius: 6px;
  font-weight: 600;
}
.quiz__result { align-self: flex-start; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.synth {
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px 26px 26px 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.synth__head { display: flex; flex-direction: column; gap: 10px; }
.synth__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--mint); }
.synth__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.synth__text { font-size: 17px; line-height: 1.45; color: var(--on-dark); text-wrap: pretty; }
.synth__rows { display: flex; flex-direction: column; }
.synth__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.synth__row dt { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark); padding-top: 3px; }
.synth__row dd { margin: 0; font-weight: 600; font-size: 17px; color: var(--cream); }
.gain { display: flex; flex-direction: column; gap: 14px; }
.gain__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--on-dark); }
.gain__item { display: flex; flex-direction: column; gap: 7px; }
.gain__label { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; color: var(--cream); }
.gain__track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.gain__fill { height: 100%; width: 0; border-radius: 99px; background: var(--mint); transition: width .8s var(--ease); }
.gain__fill--blue { background: var(--blue); }
.picks { background: var(--mint-pale); border-radius: 26px 26px 26px 6px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.picks__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--green); }
.picks__list { display: flex; flex-direction: column; gap: 10px; }
.pick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  text-decoration: none;
  color: inherit;
  transition: transform .15s;
}
.pick:hover { transform: translateY(-2px); }
.pick__bar { width: 12px; height: 44px; border-radius: 99px; flex: none; background: var(--mint); }
.pick__bar--blue { background: var(--blue); }
.pick__body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pick__title { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--text); }
.pick__date { font-weight: 700; font-size: 15px; color: var(--green); }
.pick__desc { font-size: 14px; color: var(--text-2); line-height: 1.35; }
.pick__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--ink-deep);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-display);
  white-space: nowrap;
  flex: none;
}
.picks__note { font-size: 14px; color: var(--text-2); text-align: center; }
.quiz__restart { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text-2); }
.quiz__bar { border-top: 1px solid rgba(12, 42, 34, .1); padding: 18px var(--gutter) 22px; }
.quiz__bar[hidden] { display: none; }
.quiz__bar-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.quiz__options { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.opt {
  padding: 13px 20px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid rgba(12, 42, 34, .16);
  transition: background .15s, transform .15s;
}
.opt:hover { transform: translateY(-2px); }
.opt[aria-pressed='true'] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; }
.quiz__back { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text-2); }
.quiz__back[disabled] { visibility: hidden; }
.quiz__send { padding: 13px 22px; font-size: 16px; gap: 10px; }
.quiz__send:hover { transform: translateY(-2px); }
.quiz__send[aria-disabled='true'] { opacity: .4; cursor: default; }
.quiz__send[aria-disabled='true']:hover { transform: none; }
.quiz__send[hidden] { display: none; }

/* 10. Responsive (la maquette est conçue à 1180 px et plus) */
@media (max-width: 1180px) {
  .hero__copy { padding-left: 44px; }
  .webinar, .panel, .tosa, .cta-coral { padding: 48px 44px; }
}

@media (max-width: 1060px) {
  .site-header { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 3; }
  .site-header__actions { order: 2; margin-left: auto; }
  .site-nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-radius: 24px;
    display: none;
  }
  .site-nav.is-open, .no-js .site-nav { display: flex; }
  .site-nav a { padding: 12px 18px; }

  .hero__card { height: auto; grid-template-columns: 1fr; }
  .hero__copy { padding: 44px 40px 8px; }
  .hero__stage { height: 480px; }
  .hero__stage-glow { width: 520px; height: 520px; }

  .prog-hero, .prog-hero--data { grid-template-columns: 1fr 1fr; }
  .prog-hero .hero-card, .prog-hero--data .hero-card { grid-column: 1 / -1; grid-row: auto; }

  .webinar { grid-template-columns: 1fr; gap: 40px; }
  .webinar__glow { right: -100px; }
  .quiz-peek { max-width: 520px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }

  .grid-3, .journey__grid { grid-template-columns: 1fr 1fr; }
  .track__grid { grid-template-columns: 1fr 1fr; }
  .track__group:first-child { grid-column: 1 / -1; }
  .tosa { grid-template-columns: 1fr 220px; }
  .tosa__medal span { width: 180px; height: 180px; border-radius: 46px; font-size: 96px; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .site-header { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .brand { gap: 10px; }
  .btn--header { padding: 11px 18px; font-size: 15px; }

  .hero__copy { padding: 36px 24px 4px; }
  .hero__actions { gap: 18px; }
  .hero__stage { height: 420px; }
  .hero__programs { margin: -96px 12px 0; grid-template-columns: 1fr; gap: 14px; }
  .prog { padding: 24px; }
  .prog__title { font-size: 26px; }

  .trust { flex-wrap: wrap; row-gap: 4px; }
  .trust__item--tosa { border-right: 0; }

  .tools { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tools__label { max-width: none; }
  .tools__grid { width: 100%; grid-template-columns: 1fr 1fr; gap: 12px; }
  .swap__layer { justify-content: flex-start; font-size: 17px; }

  .why { padding-top: 64px; padding-bottom: 56px; gap: 32px; }
  .grid-2, .grid-3, .journey__grid, .support__grid, .tosa__list, .track__grid { grid-template-columns: 1fr; }
  .track__modules--3, .track__modules--2 { --cols: 1; }
  .card, .why .card { padding: 28px; }
  .why .card__title { font-size: 24px; }

  .webinar, .panel, .tosa, .cta-coral { margin-left: 12px; margin-right: 12px; padding: 36px 24px; border-radius: 30px; }
  .webinar { margin-top: 64px; }
  .webinar--flush { margin-top: 0; }
  .webinar__slots { grid-template-columns: 1fr; }
  .quiz-peek { padding: 18px; }

  .testimonials { padding-top: 64px; padding-bottom: 64px; }
  .tile, .shelf .tile { min-height: 0; padding: 28px; }
  .tile__deco { width: 100px; }
  .tile__deco--gift { width: 92px; }

  .prog-hero, .prog-hero--data { grid-template-columns: 1fr; }
  .hero-card { padding: 36px 24px; gap: 20px; }
  .hero-card__lead, .hero__lead { font-size: 17px; }
  .shot { min-height: 230px; }
  .portrait { min-height: 380px; }

  .steps, .why-ia, .track { padding-top: 64px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head--center { align-items: center; }
  .support__head { flex-direction: column; align-items: flex-start; }
  .tosa { grid-template-columns: 1fr; }
  .tosa__medal { display: none; }
  .phase__title { font-size: 36px; }

  .page-hero { padding-top: 48px; }
  .cta-coral { flex-direction: column; align-items: flex-start; }

  .site-footer { padding-top: 44px; padding-bottom: 44px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__legal { flex-wrap: wrap; gap: 12px 24px; }

  .msg { max-width: 88%; font-size: 17px; }
  .quiz__top { padding-top: 14px; padding-bottom: 14px; }
  .quiz__who .avatar { width: 44px; height: 44px; }
  .synth { padding: 22px; }
  .synth__row, .legal__facts div { grid-template-columns: 1fr; gap: 4px; }
  .legal { padding-top: 32px; }
  .legal__title { font-size: 23px; }
  .pick { flex-wrap: wrap; }
  .pick__cta { margin-left: 26px; }
  .opt { padding: 12px 16px; font-size: 15px; }
}

@media (max-width: 520px) {
  .brand__name { display: none; }
  .btn--hero, .btn--lg { white-space: normal; font-size: 17px; }
  .webinar__cta, .btn--perks { align-self: stretch; justify-content: center; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .quiz__top { gap: 12px; }
  .quiz__who { gap: 10px; }
  .quiz__who .avatar { width: 40px; height: 40px; }
  .quiz__name { font-size: 17px; }
  .quiz__tools { gap: 12px; }
  .quiz__skip { font-size: 14px; }
  .quiz__close { width: 44px; height: 44px; }
}

@media (max-width: 400px) {
  .quiz__who .avatar { display: none; }
}

/* 11. Mouvement réduit : pas d'apparition animée, pas de surlignage animé */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; translate: none; animation: none; }
  .js .hl, .js .hl:not(.is-on) { background-size: 100% var(--hl-h); transition: none; }
  .dot--blink { animation: none; }
  .btn, .card, .tile, .prog, .pick, .opt, .quiz-peek, .btn-google { transition: none; }
}
