/* Page cohorte Level Up Transform. Direction V13 (design-system/direction-v13.md), validée par Gab le 26/10/2026.
   Fichier autonome : aucune dépendance hors de ce dossier. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #0D1013;
  --fond-alt: #141A1F;
  --champ: #151A1F;
  --carte-claire: #EEF2F0;
  --cyan: #00B0D5;
  --cyan-onglet: #0089A6;
  --cyan-survol: #19C2E6;
  --menthe: #3BDC98;
  --texte: #EEF2F0;
  --courant: #D3DAD8;
  --secondaire: #A3ADB0;
  --ligne: rgba(238, 242, 240, .14);
  --ligne-forte: rgba(238, 242, 240, .4);
  --encre: #0D1013;
  --encre-courant: #2E383D;
  --encre-secondaire: #4A565C;
  --gouttiere: 20px;
  --largeur: 1120px;
  --barre-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.saut {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; background: var(--texte); color: var(--encre); border-radius: 4px; font-weight: 700; text-decoration: none;
}
.saut:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--menthe); outline-offset: 3px; }

.cadre { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- Typographie ---------- */
.h1, .h2 {
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  font-stretch: 85%;
  letter-spacing: -.022em;
  word-spacing: .04em;
  text-wrap: balance;
}
.h1 { font-size: 40px; line-height: 1.0; }
.h1__ligne { display: block; }
.h2 { font-size: 34px; line-height: 1.06; }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 600; font-variation-settings: "wdth" 80; font-stretch: 80%; text-wrap: balance; }
.menthe { color: var(--menthe); }
/* Mobile : la promesse en menthe passe à la ligne, pour éviter un mot seul en fin de ligne. */
@media (max-width: 759px) { .h2 > .menthe { display: block; } }
.texte { font-size: 18px; line-height: 1.5; color: var(--courant); text-wrap: pretty; }
.secondaire { font-size: 16px; line-height: 1.5; color: var(--secondaire); text-wrap: pretty; }
.libelle { font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--secondaire); }
.chiffres { font-variant-numeric: tabular-nums; }

/* ---------- Bouton (V13) ---------- */
.bouton {
  display: flex; align-items: stretch;
  width: 100%; max-width: 440px; height: 60px;
  background: var(--cyan); color: var(--encre);
  border-radius: 4px; overflow: hidden;
  text-decoration: none; font-weight: 800; font-size: 18px; line-height: 1.1;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: background-color .15s ease;
}
.bouton::before {
  content: ""; flex: none; width: 58px;
  background: var(--cyan-onglet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 12 14'%3E%3Cpath d='M0 0 L12 7 L0 14 Z' fill='%230D1013'/%3E%3C/svg%3E") 20px 50% / 14px 16px no-repeat;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.bouton span { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 14px 0 4px; text-align: center; }
@media (hover: hover) and (pointer: fine) { .bouton:hover { background: var(--cyan-survol); } }
.bouton:active { background: var(--cyan-survol); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--fond-alt); }
.section--lueur { background: radial-gradient(120% 60% at 85% 0%, rgba(59, 220, 152, .10), rgba(59, 220, 152, 0) 60%), var(--fond); }
.entete { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; max-width: 760px; }

/* ---------- 1. Haut de page ---------- */
.haut { position: relative; padding: 0 0 48px; background: radial-gradient(110% 55% at 100% 30%, rgba(59, 220, 152, .12), rgba(59, 220, 152, 0) 60%), var(--fond); }
.haut__barre { display: flex; align-items: center; justify-content: space-between; height: 52px; position: relative; z-index: 2; }
.haut__barre img { width: 63px; height: 28px; }
.haut__barre span { font-size: 14px; font-weight: 600; color: var(--secondaire); }
.haut__grille { display: grid; gap: 28px; padding-top: 4px; }
.haut__texte { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.haut__sur { font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--secondaire); }
.haut__sous { font-size: 17px; line-height: 1.42; color: var(--courant); text-wrap: pretty; }
.haut__action { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.haut__infos { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--secondaire); }
.haut__infos strong { color: var(--texte); font-weight: 600; }
.klarna { font-size: 15px; line-height: 1.45; color: var(--secondaire); }
.haut__media { position: relative; margin: 0 calc(var(--gouttiere) * -1); }
.haut__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% 8%; }
.haut__media figcaption { position: absolute; left: var(--gouttiere); bottom: 14px; font-size: 14px; font-weight: 600; color: var(--texte); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

/* ---------- 2. Pour qui ---------- */
.pourqui { display: grid; gap: 36px; }
.liste { display: flex; flex-direction: column; }
.liste li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--ligne); font-size: 18px; line-height: 1.45; color: var(--courant); }
.liste li:last-child { border-bottom: 1px solid var(--ligne); }
.liste svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.liste--oui svg { stroke: var(--texte); }
.liste--non svg { stroke: var(--secondaire); }
.liste--non li { color: var(--secondaire); }
.liste__titre { margin-bottom: 8px; }

/* ---------- 3. Les 12 semaines : fil vertical ---------- */
.fil { display: flex; flex-direction: column; max-width: 720px; }
.fil li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; padding-bottom: 34px; }
.fil li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 44px; bottom: 6px; width: 2px; background: var(--ligne); }
.fil__num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ligne-forte); font-size: 16px; font-weight: 700; }
.fil__corps { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; min-width: 0; }

/* ---------- 4. Ce qu'il y a dedans ---------- */
.niveaux { display: grid; gap: 40px; }
.niveau h3 { padding-bottom: 14px; border-bottom: 1px solid var(--ligne-forte); }
.niveau ul li { padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 17px; line-height: 1.5; color: var(--courant); }
.niveau__plus { font-size: 15px; font-weight: 600; color: var(--secondaire); margin-bottom: 4px; }
.niveaux__note { margin-top: 28px; }

/* ---------- 5. Preuves ---------- */
.eleves { display: grid; gap: 20px; }
.eleve { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; border-top: 1px solid var(--ligne-forte); }
.eleve__chiffre { font-size: 52px; line-height: 1; font-weight: 700; font-variation-settings: "wdth" 85; font-stretch: 85%; letter-spacing: -.022em; color: var(--menthe); }
.eleve__avis { font-size: 17px; line-height: 1.5; color: var(--texte); }
.eleve__avis cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--secondaire); }
.eleve__date { font-size: 14px; line-height: 1.45; color: var(--secondaire); }
.preuves__note { margin-top: 8px; font-size: 14px; color: var(--secondaire); }
.google { display: flex; flex-direction: column; gap: 8px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ligne-forte); }
.google__note { font-size: 34px; line-height: 1.06; font-weight: 700; font-variation-settings: "wdth" 85; font-stretch: 85%; letter-spacing: -.022em; }
.google .eleve__avis { margin-top: 8px; padding-left: 14px; border-left: 2px solid var(--ligne-forte); }
.google a { color: var(--texte); text-decoration-color: var(--secondaire); text-underline-offset: 4px; }

/* ---------- 6. Alan ---------- */
.alan { display: grid; gap: 32px; align-items: end; }
.alan__photo { position: relative; max-width: 260px; margin: 0 auto; }
@media (min-width: 1024px) { .alan__photo { max-width: 400px; } }
.alan__photo img { width: 100%; }
.alan__texte { display: flex; flex-direction: column; gap: 24px; }
.fiche { display: flex; flex-direction: column; }
.fiche div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--ligne); font-size: 16px; line-height: 1.45; }
.fiche div:last-child { border-bottom: 1px solid var(--ligne); }
.fiche dt { color: var(--secondaire); font-weight: 600; }
.fiche dd { color: var(--courant); }
.citation { font-size: 20px; line-height: 1.45; font-weight: 500; color: var(--texte); text-indent: -.42em; }
.citation cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--secondaire); text-indent: 0; }

/* ---------- 7. La cohorte : carte claire ---------- */
.carte { background: var(--carte-claire); color: var(--encre); border-radius: 6px; padding: 28px 16px 22px; display: flex; flex-direction: column; gap: 22px; max-width: 760px; margin: 0 auto; }
.carte .libelle { color: var(--encre-secondaire); }
.carte .texte { color: var(--encre-courant); }
.carte__titre .menthe { color: var(--encre); text-decoration: underline; text-decoration-color: var(--menthe); text-decoration-thickness: 5px; text-underline-offset: 6px; text-decoration-skip-ink: none; }
.places { width: 100%; border-collapse: collapse; font-size: 17px; }
.places th, .places td { padding: 14px 0; border-bottom: 1px solid rgba(13, 16, 19, .16); text-align: left; vertical-align: baseline; }
.places thead th { font-size: 14px; font-weight: 600; color: var(--encre-secondaire); padding-top: 0; }
.places th[scope="row"] { font-weight: 600; padding-right: 12px; }
.places .num, .places td { width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
.places td.restantes { font-weight: 800; font-size: 22px; }
.carte__infos { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--encre-courant); }
.carte__bonus { padding-top: 18px; border-top: 1px solid rgba(13, 16, 19, .16); font-size: 16px; line-height: 1.5; color: var(--encre-courant); }
.carte__bonus strong { color: var(--encre); }
@media (max-width: 759px) { .carte { margin: 0 -8px; } .carte .bouton { font-size: 17px; } .carte .bouton span { padding-right: 6px; } }

/* ---------- 8. Questions ---------- */
.faq { max-width: 760px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; line-height: 1.35; font-weight: 600; cursor: pointer; list-style: none; touch-action: manipulation; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 22px; height: 22px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--secondaire); }
.faq summary i::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq__reponse { display: flex; flex-direction: column; gap: 12px; padding: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--courant); }
.faq__liste { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; }
.faq__liste li::marker { color: var(--secondaire); }

/* ---------- 9. Dernier appel ---------- */
.fin { text-align: center; }
.fin .h2 { max-width: 640px; margin: 0 auto 28px; }
.fin .bouton { margin: 0 auto; }

/* ---------- Barre d'action mobile ---------- */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  padding: 10px max(var(--gouttiere), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gouttiere), env(safe-area-inset-left, 0px));
  background: #0D1013; border-top: 1px solid var(--ligne);
  transform: translateY(110%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.barre.est-visible { transform: none; visibility: visible; transition-delay: 0s; }
.barre__infos { display: grid; flex: none; font-size: 14px; line-height: 1.3; color: var(--secondaire); }
.barre__infos b { color: var(--texte); font-weight: 700; }
.barre .bouton { height: 52px; flex: 1; min-width: 0; max-width: none; font-size: 17px; }
.barre .bouton::before { width: 50px; background-position: 17px 50%; }
@media (prefers-reduced-motion: reduce) {
  .barre { transform: none; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
  .barre.est-visible { opacity: 1; }
}

/* ---------- Pied de page ---------- */
.pied { padding: 40px 0 calc(48px + var(--barre-h)); background: var(--fond); border-top: 1px solid var(--ligne); font-size: 14px; line-height: 1.6; color: var(--secondaire); }
.pied p + p { margin-top: 10px; }
.pied a, .pied button { color: var(--courant); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(211, 218, 216, .5); }
.pied button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pied__liens a, .pied__liens button { display: inline-block; padding: 6px 0; }

/* Bannière de mesure.js : couleurs de la page */
/* Compacte sur mobile pour laisser le bouton du haut visible au-dessus d'elle. Accepter et Refuser gardent le même poids. */
.lu-bandeau { --lu-bandeau-fond: #141A1F; --lu-bandeau-texte: #D3DAD8; font: 13px/1.38 "Archivo", system-ui, sans-serif !important; padding: 12px 14px !important; left: 8px !important; right: 8px !important; bottom: 8px !important; border: 1px solid var(--ligne-forte); }
.lu-bandeau > div { margin-top: 10px !important; }
.lu-bandeau button { min-height: 42px !important; }
@media (min-width: 760px) { .lu-bandeau { font-size: 15px !important; padding: 16px !important; } }

/* ---------- Ordinateur ---------- */
@media (min-width: 760px) {
  :root { --gouttiere: 40px; }
  .h1 { font-size: 54px; }
  .h2 { font-size: 40px; }
  .section { padding: 96px 0; }
  .pourqui, .niveaux { grid-template-columns: 1fr 1fr; gap: 56px; }
  .eleves { grid-template-columns: 1fr 1fr; gap: 40px; }
  .carte { padding: 44px 48px 40px; }
}
@media (min-width: 1024px) {
  .haut { padding-bottom: 80px; }
  .haut__barre { justify-content: flex-start; height: 80px; }
  .haut__barre img { width: 90px; height: 40px; }
  .haut__grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; padding-top: 24px; }
  .h1 { font-size: 62px; }
  .haut__sous { font-size: 20px; }
  .haut__media { margin: 0; }
  .haut__media img { border-radius: 6px; aspect-ratio: 4 / 5; }
  .haut__media figcaption { left: 16px; }
  .alan { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
  .barre { display: none; }
}
.fin .h2 > .menthe { display: block; }
