/* Onboarding « build » : design du 17/11/2026, d'après la maquette du user (Bricolage Grotesque, violet, trait jaune, écran-carte). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url('/assets/vendor/fonts/bricolage-latin-wght-normal.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: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url('/assets/vendor/fonts/bricolage-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --page: #f3f1f8; --bg: #fff; --ink: #1a1233; --mut: #5f5878; --mut2: #8b85a3;
  --line: #e6e2f1; --line2: #d4cde6; --soft: #f4edfc; --soft2: #faf7fe;
  --acc: #7a1fd2; --acc-b: #a23ff0; --acc-ink: #5c12a6; --acc-soft: #f1e6fb;
  --grad: linear-gradient(135deg, #7a1fd2 0%, #8f2ee0 55%, #a23ff0 100%);
  --yellow: #f5c542; --good: #1b8a4b; --good2: #e9f8ee; --bad: #c92a2a; --bad2: #fdecec;
  --r: 14px; --r2: 18px; --font: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
/* Le défilement se fait dans <body>, pas dans la page : quand un écran tient dans la fenêtre, rien ne bouge (plus de
   « rebond » iOS sur une page qui tient déjà) ; quand il dépasse, body défile normalement. */
html { background: var(--page); height: 100%; overflow: hidden; overscroll-behavior: none; }
body { margin: 0; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: none; color: var(--ink); font: 500 14px/1.45 var(--font); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--acc-ink); }
button { font: inherit; color: inherit; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Paywall = écrans Offre et Durée de la LP (paywall.js + /assets/css/offre-ads.css, chargée après ce fichier) : polices
   de la LP, et neutralisation des règles globales du build à l'intérieur de .ao. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400 700; src: url('/assets/vendor/fonts/inter-latin-wght-normal.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: 'Inter'; font-style: normal; font-display: swap; font-weight: 400 700; src: url('/assets/vendor/fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800; src: url('/assets/vendor/fonts/manrope-latin-wght-normal.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: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800; src: url('/assets/vendor/fonts/manrope-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.ao em { font-style: normal; background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }
.ao h1 { font-size: inherit; line-height: inherit; font-weight: inherit; letter-spacing: inherit; }
body.ao-body { padding: 0; }

/* L'écran-carte : plein écran sur téléphone, carte centrée au-delà */
.shell { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 18px 0; background: var(--bg); }
.shell.wide { max-width: 900px; }
/* (19/11) La marge au-dessus de la carte est portée par la carte (margin) et non par <body> (padding) : avec un padding sur le
   conteneur de défilement, l'en-tête collant s'arrêtait 22 px sous le haut de la fenêtre et le contenu défilait au-dessus de lui. */
@media (min-width: 560px) {
  body { padding: 0; }
  .shell { margin: 22px auto 36px; min-height: calc(100dvh - 58px); border: 1px solid var(--line); border-radius: 25px; box-shadow: 0 18px 54px -27px rgba(60, 20, 120, .25); padding: 0 25px 0; }
  .top { margin: 0 -25px; padding-left: 25px; padding-right: 25px; }
  .screen { padding-bottom: 32px; }
  .cta-wrap { margin-bottom: -32px; padding-bottom: 32px; }
}
.loading { padding: 36px; color: var(--mut); text-align: center; }

/* En-tête : Chapteo · compteur, puis retour + barre */
.top { position: sticky; top: 0; background: var(--bg); z-index: 2; margin: 0 -18px; padding: 12px 18px 6px; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'logo logo step' 'back bar bar'; align-items: center; column-gap: 12px; row-gap: 8px; }
.top .logo { grid-area: logo; display: flex; align-items: center; }
.top .logo img { display: block; width: auto; height: 30px; }
.top .step { grid-area: step; font-size: 14px; color: var(--mut); font-weight: 600; }
.back { grid-area: back; width: 22px; height: 22px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.back svg { width: 18px; height: 18px; }
.back:disabled { opacity: .25; cursor: default; }
.bars { grid-area: bar; height: 5px; border-radius: 5px; background: #ece4f7; overflow: hidden; }
.bars i { display: block; height: 100%; border-radius: 5px; background: var(--grad); transition: width .4s cubic-bezier(.2,.7,.2,1); }

/* Le bas de page est porté par l'écran (et repris par le bouton collant via sa marge négative) : le bouton collé en bas
   ne bouge plus d'un pixel en fin de défilement. */
.screen { flex: 1; padding: 20px 0 36px; animation: in .28s ease; }
/* Écran `fill` (temps d'écran) : titre en haut, barres centrées dans l'espace libre, question + bouton en bas. */
.screen.fill { display: flex; flex-direction: column; }
.screen.fill > div { flex: 1; display: flex; flex-direction: column; }
.screen.fill .bars2 { margin: auto 0 0; padding: 24px 0 8px; gap: 26px; }
.screen.fill .bars2 .row span { font-size: 15px; }
.screen.fill .bars2 .row b { font-size: 27px; }
.screen.fill .bars2 .b { height: 28px; border-radius: 14px; }
.screen.fill .bars2 .b i { border-radius: 14px; }
.screen.fill .ask { margin: 18px 0 auto; padding-bottom: 20px; }
@keyframes in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* Titres */
.kicker { margin: 0 0 9px; font-size: 13px; font-weight: 800; color: var(--acc); text-transform: uppercase; letter-spacing: .06em; }
h1 { font-size: 28px; line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -.025em; }
h1.q { font-size: 22px; line-height: 1.2; margin-bottom: 16px; }
.rule { width: 36px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 13px 0 13px; }
.rule.hidden { visibility: hidden; }
.sub { color: var(--mut); margin: 0 0 18px; font-size: 15px; line-height: 1.45; }
.body { margin: 0 0 13px; font-size: 15px; color: var(--ink); }
.body b { font-weight: 800; }
.big.sm { font-size: 58px; letter-spacing: -.035em; }
.big { font-size: 86px; font-weight: 800; letter-spacing: -.045em; line-height: .95; margin: 5px 0 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1.under { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.centered { text-align: center; }
.centered .rule { margin-left: auto; margin-right: auto; }
.centered .body { font-size: 16px; }
h1.stat { font-size: 24px; margin-top: 6px; }
.note { background: var(--soft); border-radius: var(--r2); padding: 13px 14px; margin: 13px 0; font-size: 14px; }
.note.lead { font-size: 15px; line-height: 1.5; padding: 16px 18px; margin: 4px 0 16px; color: var(--ink); }
.src, .source { color: var(--mut2); font-size: 12px; }
.source { margin: 13px 0 0; }

/* Options (un ou plusieurs choix) */
.opts { display: flex; flex-direction: column; gap: 9px; margin: 4px 0 14px; }
.opts.two { display: grid; grid-template-columns: 1fr 1fr; }
.opt { position: relative; text-align: left; border: 1.8px solid var(--line); background: #fff; border-radius: var(--r); padding: 14px 40px 14px 14px; cursor: pointer; display: flex; align-items: center; gap: 11px; min-height: 50px; font-weight: 600; font-size: 15px; line-height: 1.3; transition: border-color .15s, background .15s, transform .1s; }
.opt:hover { border-color: var(--line2); }
.opt:active { transform: scale(.99); }
.opt.on { border-color: var(--acc); background: var(--soft2); }
.opt::after { content: ''; position: absolute; right: 13px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.opt.on::after { opacity: 1; transform: none; }
.opt .box { width: 20px; height: 20px; border: 1.8px solid var(--line2); border-radius: 50%; flex: none; transition: background .15s, border-color .15s; }
.opt.on .box { background: var(--acc); border-color: var(--acc); box-shadow: inset 0 0 0 2.7px #fff; }
.opt.on .box + * { color: var(--ink); }
.opt.rich { padding: 13px 40px 13px 14px; }
.opt.rich small, .opt.dur small { display: block; color: var(--mut); font-weight: 500; margin-top: 2.7px; font-size: 13px; }
.opt.dur { justify-content: space-between; padding-right: 14px; }
.opt.dur::after { display: none; }
.opt.dur em { font-size: 12px; margin-left: 5px; }
.opt.dur .pr { text-align: right; flex: none; }
.opt.dur .pr small { color: var(--good); font-weight: 700; }
.opt.good { border-color: var(--good); background: var(--good2); }
.opt.good::after { opacity: 1; transform: none; background-color: var(--good); }
.opt.bad { border-color: var(--bad); background: var(--bad2); }
.opt.bad::after { opacity: 1; transform: none; background-color: var(--bad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.opt.mc { padding-right: 14px; }
.opt.mc::after { display: none; }
.opt.dim { opacity: .45; }
.opt:disabled { cursor: default; }
.grp { margin: 14px 0 7px; font-size: 12px; color: var(--mut); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.tile { border: 1.8px solid var(--line); background: #fff; border-radius: 13px; padding: 13px 0; font-weight: 800; cursor: pointer; font-size: 14px; transition: border-color .15s, background .15s, transform .1s; }
.tile:active { transform: scale(.96); }
.tile.on { border-color: var(--acc); background: var(--soft2); color: var(--acc-ink); }

/* Cartes à un tap (écran profil) */
.picks { display: flex; flex-direction: column; gap: 11px; margin: 4px 0 14px; }
.pick { text-align: left; border: 1.8px solid var(--line); background: #fff; border-radius: var(--r2); padding: 16px 14px; cursor: pointer; display: flex; align-items: center; gap: 13px; min-height: 76px; box-shadow: 0 7px 22px -14px rgba(60, 20, 120, .25); transition: border-color .15s, background .15s, transform .12s, box-shadow .15s; }
.pick:hover { border-color: var(--line2); transform: translateY(-1px); box-shadow: 0 13px 27px -14px rgba(122, 31, 210, .35); }
.pick:active { transform: scale(.985); }
.pick .ico { flex: none; width: 41px; height: 41px; border-radius: 13px; background: var(--soft); color: var(--acc); display: grid; place-items: center; }
.pick .ico svg { width: 22px; height: 22px; }
.pick b { flex: 1; font-size: 15px; line-height: 1.3; font-weight: 700; }
.pick .go { flex: none; color: var(--line2); font-size: 23px; line-height: 1; transition: color .15s, transform .15s; }
.pick:hover .go { color: var(--acc); transform: translateX(1.8px); }
.pick.on { border-color: var(--acc); background: var(--soft2); }
.pick.on .ico { background: var(--grad); color: #fff; }
.pick.on .go { color: var(--acc); }

/* Spécialités */
.slots { display: flex; align-items: center; gap: 9px; margin: -4px 0 13px; font-size: 14px; color: var(--mut); }
.slots span { display: flex; gap: 5px; }
.slots i { width: 12px; height: 12px; border-radius: 50%; border: 1.8px solid var(--line2); background: #fff; transition: background .15s, border-color .15s, transform .15s; }
.slots i.on { background: var(--acc); border-color: var(--acc); transform: scale(1.1); }
.slots b { font-weight: 700; }
.slots.full { color: var(--good); }
.slots.full i.on { background: var(--good); border-color: var(--good); }
.spes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 13px; }
.spe { text-align: left; border: 1.8px solid var(--line); background: #fff; border-radius: var(--r); padding: 11px 13px; cursor: pointer; display: flex; flex-direction: column; gap: 1.8px; min-height: 59px; transition: border-color .15s, background .15s, opacity .15s, transform .1s; }
.spe:active { transform: scale(.98); }
.spe b { font-size: 15px; font-weight: 800; }
.spe small { font-size: 11px; color: var(--mut); line-height: 1.25; }
.spe.on { border-color: var(--acc); background: var(--soft2); }
.spe.on small { color: var(--acc-ink); }
.spe.dim, .chip.dim { opacity: .45; }
.more { background: none; border: 1.8px dashed var(--line2); border-radius: var(--r); color: var(--acc-ink); font-weight: 700; width: 100%; padding: 12px; cursor: pointer; margin: 0 0 7px; }
.chips { display: flex; gap: 9px; margin: 11px 0; }
.chips.wrap { flex-wrap: wrap; }
.chip { border: 1.8px solid var(--line); background: #fff; border-radius: 899px; padding: 8px 14px; cursor: pointer; font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s; }
.chip.on { border-color: var(--acc); background: var(--soft2); color: var(--acc-ink); }
.chip.lg { flex: 1; border-radius: var(--r); padding: 14px 13px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; }
.chip.lg.on::after { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Formulaires */
.form { display: flex; flex-direction: column; gap: 13px; }
.flabel { font-weight: 800; font-size: 14px; margin: 4px 0 -4px; }
.lbl { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--ink); font-weight: 700; }
.input { width: 100%; font: inherit; font-size: 17px; font-weight: 600; padding: 14px 14px; border: 1.8px solid var(--line2); border-radius: var(--r); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: var(--mut2); font-weight: 500; }
.input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.pw { position: relative; display: block; }
.eye { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--acc-ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.chk { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--mut); font-weight: 500; }
.chk input { margin-top: 2.7px; accent-color: var(--acc); width: 16px; height: 16px; }
.err { color: var(--bad); margin: 0; font-size: 13px; font-weight: 600; }
.link { background: none; border: 0; color: var(--mut); text-decoration: underline; cursor: pointer; margin: 9px auto; display: block; font-weight: 600; }

/* Bouton principal */
.cta-wrap { position: sticky; bottom: 0; margin: 13px 0 -36px; padding: 13px 0 36px; background: linear-gradient(to top, var(--bg) 78%, transparent); }
.cta { position: relative; width: 100%; background: var(--grad); color: #fff; border: 0; border-radius: var(--r); padding: 16px 43px 16px 20px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 9px 22px -9px rgba(122, 31, 210, .6); transition: transform .1s, box-shadow .15s, opacity .15s; }
.cta::after { content: ''; position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .15s; }
.cta:hover:not(:disabled)::after { transform: translateX(2.7px); }
.cta:active:not(:disabled) { transform: scale(.985); }
.cta:disabled { opacity: .35; cursor: default; box-shadow: none; }
.cta-foot { text-align: center; color: var(--mut2); font-size: 12px; margin: 9px 0 0; }

/* Retour du quiz et explication détaillée */
/* Phrase qui répond au choix (écran engagement) : carte verte douce. */
.fb-note { border-radius: var(--r2); padding: 13px 14px; margin: 4px 0 13px; font-size: 14px; line-height: 1.45; background: var(--good2); color: #14532d; border: 1.5px solid #bfe6cc; font-weight: 600; }

/* Retour après la réponse au quiz (revu le 18/11) : un bandeau vert ou rouge, puis une carte blanche aérée. */
.fb { border-radius: var(--r2); padding: 0; margin: 4px 0 13px; overflow: hidden; border: 1.5px solid var(--line); }
.fb-head { display: flex; align-items: center; gap: 9px; margin: 0; padding: 11px 14px; font-size: 16px; font-weight: 800; }
.fb-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; }
.fb.good { border-color: #bfe6cc; } .fb.good .fb-head { background: var(--good2); color: #14532d; } .fb.good .fb-ico { background: var(--good); }
.fb.bad { border-color: #f3c4c4; } .fb.bad .fb-head { background: var(--bad2); color: #7f1d1d; } .fb.bad .fb-ico { background: var(--bad); }
.fb p { margin: 0; }
.explain { background: #fff; padding: 14px 14px 13px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.explain .ex-t { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin: 8px 0 1px; }
.explain .ex-t:first-child { margin-top: 0; }
.explain .ex-r { font-size: 16px; line-height: 1.35; }
.explain .ex-r b { font-weight: 800; }
.explain .ex-steps { margin: 0; padding-left: 20px; }
.explain .ex-steps li { margin: 4px 0; font-size: 14px; line-height: 1.45; }
.explain .ex-steps li::marker { color: var(--acc); font-weight: 800; }
.explain .ex-trap { font-size: 14px; line-height: 1.45; padding: 8px 11px; border-left: 3px solid var(--bad); background: var(--bad2); border-radius: 0 9px 9px 0; }
.ex-keep { font-size: 14px; line-height: 1.45; background: var(--soft); color: var(--ink); border-radius: 11px; padding: 11px 13px; margin-top: 10px !important; }
.ex-keep span { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--acc); margin-bottom: 2px; }

/* Barres temps d'écran */
.bars2 { margin: 20px 0 9px; display: flex; flex-direction: column; gap: 16px; }
.bars2 .row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'l v' 'b b'; align-items: baseline; row-gap: 7px; }
.bars2 .row span { grid-area: l; font-size: 14px; color: var(--mut); font-weight: 700; }
.bars2 .row b { grid-area: v; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.bars2 .row.ok b { color: var(--acc); }
.bars2 .b { grid-area: b; height: 23px; background: var(--soft); border-radius: 12px; overflow: hidden; }
.bars2 .b i { display: block; height: 100%; background: #cfc8de; border-radius: 12px; transform-origin: left; animation: grow .7s cubic-bezier(.2,.7,.2,1) both; }
.bars2 .b i.ok { background: var(--grad); animation-delay: .25s; }
@keyframes grow { from { transform: scaleX(0); } }
.ask { font-size: 18px; font-weight: 800; text-align: center; margin: 22px 0 5px; letter-spacing: -.015em; }

/* Construction du plan */
.prog { height: 9px; background: var(--soft); border-radius: 4px; overflow: hidden; margin: 16px 0; }
.prog i { display: block; height: 100%; background: var(--grad); transition: width .12s linear; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 11px; padding: 9px 0; color: var(--mut); align-items: center; font-weight: 500; }
.steps li.done { color: var(--ink); font-weight: 600; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 1.8px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.steps li.done .tick { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 800; }

/* Cartes génériques, cadeau, avis */
.card { border: 1.4px solid var(--line); border-radius: var(--r2); padding: 13px 14px; margin: 9px 0; }
.card.plan { border-color: var(--acc); background: var(--soft2); }
.ct { margin: 0 0 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); font-weight: 800; }
.card ul, .recap, .plan ul { margin: 0; padding-left: 16px; }
.card li, .recap li, .plan li { margin: 4px 0; }
.gift { background: var(--soft); border: 1.4px solid #e4d6f6; border-radius: 20px; padding: 7px 16px; margin: 5px 0 11px; box-shadow: 0 14px 36px -22px rgba(122, 31, 210, .45); }
.gift .gi { display: flex; align-items: center; gap: 13px; padding: 14px 0; animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }
.gift .gi + .gi { border-top: 1px solid #e4d6f6; }
.gift .ico { flex: none; width: 41px; height: 41px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 7px 14px -7px rgba(122, 31, 210, .6); }
.gift .ico svg { width: 20px; height: 20px; }
.gift b { display: block; font-size: 16px; font-weight: 800; }
.gift small { display: block; color: var(--mut); font-size: 13px; margin-top: 1.8px; }
.foot { text-align: center; color: var(--good); font-weight: 700; font-size: 13px; margin: 0 0 9px; }
@keyframes pop { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: none; } }
.reviews { display: flex; flex-direction: column; gap: 11px; margin: 7px 0 13px; }
.rev { display: flex; gap: 11px; border: 1.4px solid var(--line); border-radius: var(--r2); padding: 13px; font-size: 14px; background: #fff; }
.rev img, .rev .ini { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.rev .ini { background: var(--soft); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.rev b { font-weight: 800; }
.rev small { color: var(--mut); }
.rev p { margin: 5px 0 0; }
.rev .q { font-weight: 700; }

/* Paywall (structure inchangée, seules les couleurs suivent) */
.recap { margin: 0 0 13px; }
.promo { background: #fff4d6; color: #7a4a00; border-radius: var(--r); padding: 9px 11px; font-weight: 700; margin: 0 0 11px; font-size: 13px; }
.plan { position: relative; border: 1.8px solid var(--line); border-radius: var(--r2); padding: 16px 14px 13px; margin: 13px 0; background: #fff; }
.plan.rec { border-color: var(--acc); box-shadow: 0 14px 36px -22px rgba(122, 31, 210, .45); }
.badge { position: absolute; top: -11px; left: 14px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 899px; }
.ph b { font-size: 19px; font-weight: 800; }
.ph small { color: var(--mut); margin-left: 7px; }
.price { margin: 7px 0 9px; }
.price b { font-size: 29px; letter-spacing: -.03em; font-weight: 800; }
.price s { color: var(--mut2); }
.price small { color: var(--mut); }
.plan ul { padding-left: 16px; margin: 0 0 11px; font-size: 14px; }
.plan .cta { margin-top: 4px; }
.anchor { background: var(--soft); border-radius: var(--r); padding: 11px 13px; font-size: 14px; }
.trust { list-style: none; padding: 0; margin: 9px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; font-size: 13px; color: var(--mut); font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 9px 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 7px 0 0; color: var(--mut); }

/* Divers */
.mock { border: 1px solid var(--line); border-radius: var(--r); padding: 11px 13px; margin: 11px 0; background: var(--soft2); }
.mh { font-size: 14px; margin-bottom: 7px; }
.tag { font-size: 10px; background: #fff; border: 1px solid var(--line); border-radius: 899px; padding: 1.8px 7px; color: var(--mut); margin-left: 5px; }
.mrow { display: flex; justify-content: space-between; gap: 9px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mrow.tot { font-size: 14px; }
.timeline { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin: 13px 0 25px; text-align: center; font-size: 12px; }
.timeline div { border-top: 2.7px solid var(--acc); padding-top: 5px; }
.timeline b { display: block; }
.timeline span { color: var(--mut); }
.demo { position: fixed; bottom: 0; left: 0; right: 0; background: #1a1233; color: #fff; font-size: 12px; text-align: center; padding: 5px; z-index: 3; }
.demo a { color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 7px; margin: 11px 0; }
.kpi { border: 1px solid var(--line); border-radius: 11px; padding: 9px; }
.kpi b { font-size: 22px; display: block; }
.kpi span { font-size: 12px; color: var(--mut); }
.kpi small { display: block; color: var(--acc); font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 5px 7px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--mut); font-weight: 700; font-size: 11px; }
.errs { font-size: 12px; color: var(--mut); }
@media (max-width: 380px) { h1 { font-size: 25px; } .big { font-size: 76px; } }

/* ——— Animations et apparitions (18/11/2026, copie /commencertest/) ———————————————————————————————————————————
   Principe : discret et uniforme. Chaque écran apparaît en cascade (titre, trait, texte, choix, bouton), les éléments
   réagissent au doigt par un léger relief, rien ne rebondit ni ne clignote. Une seule courbe (--ease) et une seule
   durée de base (--dur) pour que tout « respire » pareil. Désactivé si le système demande moins de mouvement. */
:root { --ease: cubic-bezier(.22, .8, .2, 1); --dur: .5s; }
.screen { animation: none; }
.screen > *, .screen.fill > div > * { animation: rise var(--dur) var(--ease) both; }
.screen.fill > div { animation: none; }
.screen > :nth-child(2), .screen.fill > div > :nth-child(2) { animation-delay: .06s; }
.screen > :nth-child(3), .screen.fill > div > :nth-child(3) { animation-delay: .12s; }
.screen > :nth-child(4), .screen.fill > div > :nth-child(4) { animation-delay: .18s; }
.screen > :nth-child(5), .screen.fill > div > :nth-child(5) { animation-delay: .24s; }
.screen > :nth-child(n+6), .screen.fill > div > :nth-child(n+6) { animation-delay: .3s; }
.screen > .cta-wrap { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Le trait jaune se trace de gauche à droite, juste après le titre. */
.rule:not(.hidden) { transform-origin: left center; animation: rule .55s var(--ease) .25s both; }
.centered .rule:not(.hidden) { transform-origin: center; }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Le grand chiffre se pose (très léger zoom) ; le compteur et la barre de progression glissent plus doucement. */
.big { animation: settle .7s var(--ease) .1s both; }
@keyframes settle { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.bars i { transition: width .6s var(--ease); }
.top .step { transition: opacity .25s; }
/* Choix : chaque carte arrive avec 45 ms d'écart, après le titre ; relief au survol, enfoncement au toucher. */
.opts > *, .picks > *, .grid > *, .spes > *, .reviews > *, .card, .kpis > * { animation: rise .45s var(--ease) both; }
.opts > :nth-child(1), .picks > :nth-child(1), .spes > :nth-child(1), .reviews > :nth-child(1) { animation-delay: .2s; }
.opts > :nth-child(2), .picks > :nth-child(2), .spes > :nth-child(2), .reviews > :nth-child(2) { animation-delay: .245s; }
.opts > :nth-child(3), .picks > :nth-child(3), .spes > :nth-child(3), .reviews > :nth-child(3) { animation-delay: .29s; }
.opts > :nth-child(4), .picks > :nth-child(4), .spes > :nth-child(4), .reviews > :nth-child(4) { animation-delay: .335s; }
.opts > :nth-child(5), .picks > :nth-child(5), .spes > :nth-child(5), .reviews > :nth-child(5) { animation-delay: .38s; }
.opts > :nth-child(n+6), .picks > :nth-child(n+6), .spes > :nth-child(n+6), .reviews > :nth-child(n+6) { animation-delay: .42s; }
.grid > * { animation-delay: .22s; }
.grid > :nth-child(n+6) { animation-delay: .28s; }
.grid > :nth-child(n+11) { animation-delay: .34s; }
.opt, .tile, .spe, .pick, .chip { transition: border-color .18s, background .18s, transform .18s var(--ease); box-shadow: none; }
/* (19/11) Plus d'ombre sous les boutons de choix, nulle part ; le relief au survol n'existe que là où il y a une souris
   (sur téléphone le « survol » restait collé après un tap, d'où une ombre sous le bouton choisi). */
@media (hover: hover) {
  .opt:hover:not(:disabled), .tile:hover, .spe:hover, .chip:hover, .pick:hover { transform: translateY(-1px); }
}
.pick:hover, .pick.on, .pick { box-shadow: none; }
.opt:active, .spe:active { transform: scale(.985); }
.tile:active { transform: scale(.96); }
/* Sélection : la coche s'ouvre avec un très léger ressort, la carte marque un temps. */
.opt::after { transition: opacity .2s, transform .3s cubic-bezier(.34, 1.4, .64, 1); }
/* (19/11) Plus d'animation propre à l'état sélectionné : changer l'animation d'un bouton relançait son arrivée (opacité 0 +
   délai) quand on le désélectionnait, et il disparaissait un instant. L'arrivée reste la seule animation du bouton ;
   la sélection se voit par les transitions (bordure, fond, coche). */
.opt.on .box { transition: background .2s, border-color .2s, box-shadow .25s var(--ease); }
/* Retours du quiz et de l'engagement : la carte se déplie sous les choix. */
.fb, .fb-note, .note, .ex-keep { animation: unfold .5s var(--ease) both; }
@keyframes unfold { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.opt.good::before { content: ''; position: absolute; inset: -1.8px; border-radius: inherit; pointer-events: none; animation: good .6s var(--ease); }
@keyframes good { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .35); } 100% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } }
/* Construction du plan : chaque étape validée allume sa coche. */
.steps li { transition: color .3s; animation: rise .45s var(--ease) both; }
.steps li.done .tick { animation: tick .4s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes tick { from { transform: scale(.6); } to { transform: scale(1); } }
/* Bouton principal : léger relief au survol, enfoncement au toucher ; l'ombre suit. */
.cta { transition: transform .18s var(--ease), box-shadow .22s var(--ease), opacity .2s; }
.cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 13px 26px -10px rgba(122, 31, 210, .62); }
.cta:active:not(:disabled) { transform: scale(.985); box-shadow: 0 6px 16px -9px rgba(122, 31, 210, .5); }
.input:focus { transition: border-color .2s, box-shadow .25s var(--ease); }
/* Paywall (écrans Offre et Durée) : simple fondu d'arrivée, la mise en page de la LP ne change pas. (19/11) Le fondu porte
   sur le contenu et non sur .ao lui-même : la barre du haut ne doit pas être dans un calque animé (en-tête qui tremble sur iPhone). */
.ao > :not(.ao-bar) { animation: fade .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.loading { animation: fade .6s var(--ease) both; }
/* Respect du réglage « réduire les animations » du système. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* En-tête sur une seule ligne (18/11/2026, demande du user) : retour, logo et barre de progression à la même hauteur,
   pour rendre de la place à l'écran. */
.top { grid-template-columns: auto auto 1fr; grid-template-areas: 'back logo bar'; padding-top: 10px; padding-bottom: 8px; row-gap: 0; column-gap: 12px; } /* (19/11) l'en-tête déborde sur les marges de la coquille (margin négatif + padding) pour couvrir tout ce qui défile sous lui, violet du compte compris */
.top .step { display: none; }
.top .logo img { height: 26px; }
.bars { height: 4px; min-width: 60px; margin-left: 4px; }

/* Curseur du temps d'écran (18/11/2026) : grande valeur, piste fine avec remplissage dégradé, point jaune de la moyenne,
   bouton blanc rond qui grossit sous le doigt. Le <input type="range"> natif est transparent au-dessus de la piste
   dessinée : le glisser est celui du système (fluide, précis), seul l'habillage est à nous. */
.sl-val { text-align: center; margin: 22px 0 6px; animation: rise var(--dur) var(--ease) .12s both; }
.sl-big { display: block; font-size: 58px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-per { display: block; color: var(--mut); font-size: 15px; font-weight: 600; margin-top: 7px; }
.sl { position: relative; height: 56px; margin: 14px 0 0; }
.sl-track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: #ece4f7; }
.sl-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--grad); }
.sl-avg { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2.5px #fff; }
.sl-in { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; background: transparent; touch-action: none; cursor: grab; outline: none; }
.sl-in:active { cursor: grabbing; }
.sl-in::-webkit-slider-runnable-track { height: 56px; background: transparent; border: 0; }
.sl-in::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 34px; height: 34px; margin-top: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--acc); box-shadow: 0 4px 14px -2px rgba(60, 20, 120, .35); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.sl-in:active::-webkit-slider-thumb, .sl-in:focus-visible::-webkit-slider-thumb { transform: scale(1.14); box-shadow: 0 8px 22px -4px rgba(60, 20, 120, .45), 0 0 0 7px rgba(122, 31, 210, .12); }
.sl-in::-moz-range-track { height: 56px; background: transparent; border: 0; }
.sl-in::-moz-range-thumb { width: 29px; height: 29px; border-radius: 50%; background: #fff; border: 2.5px solid var(--acc); box-shadow: 0 4px 14px -2px rgba(60, 20, 120, .35); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.sl-in:active::-moz-range-thumb, .sl-in:focus-visible::-moz-range-thumb { transform: scale(1.14); box-shadow: 0 8px 22px -4px rgba(60, 20, 120, .45), 0 0 0 7px rgba(122, 31, 210, .12); }
.sl-ends { display: flex; justify-content: space-between; color: var(--mut2); font-size: 13px; font-weight: 600; margin: 2px 0 0; }
.sl-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--mut); font-size: 13px; font-weight: 600; margin: 18px 0 0; }
.sl-note i { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
/* Chiffres du curseur (18/11, revu) : le caractère qui change glisse légèrement avec un fondu, dans le sens du mouvement. */
.sl-big { background: none; color: var(--acc); }
.nf-wrap { display: inline-flex; align-items: flex-start; line-height: 1; white-space: nowrap; }
.nf { display: inline-block; width: 1ch; height: 1em; overflow: hidden; }
.nf-ch { width: auto; padding: 0 .04em; }
.nf-c { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: nf-up .2s var(--ease) both; }
.down .nf-c { animation-name: nf-down; }
@keyframes nf-up { from { opacity: 0; transform: translateY(.32em); } to { opacity: 1; transform: none; } }
@keyframes nf-down { from { opacity: 0; transform: translateY(-.32em); } to { opacity: 1; transform: none; } }
/* Écran suivant (18/11) : la barre du temps d'écran en rouge, pour montrer ce que les écrans prennent ; Chapteo reste violet. */
.bars2 .b i:not(.ok) { background: linear-gradient(90deg, #e03131, #c92a2a); }
.bars2 .row:not(.ok) b { color: var(--bad); }
/* Écran des avis (18/11) : les trois avis arrivent un par un, chacun monte doucement avec un léger zoom et son ombre se
   pose ; la source puis le bouton suivent le dernier. */
[data-screen="reviews"] .reviews > * { animation: rev-in .8s var(--ease) both; }
[data-screen="reviews"] .reviews > :nth-child(1) { animation-delay: .35s; }
[data-screen="reviews"] .reviews > :nth-child(2) { animation-delay: .95s; }
[data-screen="reviews"] .reviews > :nth-child(3) { animation-delay: 1.55s; }
[data-screen="reviews"] .reviews > :nth-child(n+4) { animation-delay: 2.15s; }
[data-screen="reviews"] > .source { animation-delay: 2.1s; }
[data-screen="reviews"] > .cta-wrap { animation-delay: 2.25s; }
@keyframes rev-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* La journée minute par minute (19/11, revu) : rectangle haut de 30 × 48 points, centré, étiquettes posées dessus. */
.screen.fill .day { margin: auto 0; animation: none; } /* (19/11) centrée dans l'espace libre : collée en bas, elle laissait un grand vide sous le titre (vu sur iPad) */
.day-wrap { position: relative; width: max-content; margin: 8px auto 0; }
.day-grid { display: grid; grid-template-columns: repeat(30, 6px); grid-auto-rows: 6px; gap: 2.5px; }
.day-grid i { display: block; border-radius: 1.6px; background: #f1edf8; animation: dot .3s ease both; }
.day-grid i.c-sleep { background: #e1dbee; }
.day-grid i.c-school { background: #c2b3e2; }
.day-grid i.c-screen { background: #e03a3a; }
.day-grid i.c-app { background: #8a2be2; }
.day-grid i.c-free { background: #f1edf8; }
@keyframes dot { from { opacity: 0; } to { opacity: 1; } }
.day-pill { position: absolute; transform: translate(-50%, -50%); background: #2f2342; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); animation: pill .45s var(--ease) both; }
.day-pill.c-screen { background: #c42626; }
.day-pill.c-app { background: var(--grad); box-shadow: 0 8px 18px -6px rgba(122, 31, 210, .6); }
@keyframes pill { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } to { opacity: 1; transform: translate(-50%, -50%); } }
.day-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 16px 0 0; font-size: 13px; color: var(--mut); font-weight: 700; animation: rise .5s var(--ease) 2.4s both; }
.day-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.day-legend i.c-screen { background: #e03a3a; } .day-legend i.c-app { background: #8a2be2; } .day-legend i.c-free { background: #f1edf8; border: 1px solid var(--line2); }
[data-screen="stat_screens"] h1 { text-align: center; }
[data-screen="stat_screens"] .cta-wrap { animation-delay: 2.6s; }
/* Écran « ce que ça représente » (19/11) : grand chiffre centré, phrase sous, question en bas. */
[data-screen="stat_lost"] .kicker { text-align: center; }
[data-screen="stat_lost"] .big { font-size: 78px; }
[data-screen="stat_lost"] .body { font-size: 16px; line-height: 1.5; margin-top: 14px; }
[data-screen="stat_lost"] .ask { margin-top: 28px; }
@media (max-width: 350px) { .day-grid { grid-template-columns: repeat(30, 5px); grid-auto-rows: 5px; gap: 2px; } }
/* Un petit trait jaune entre le texte et la question (19/11). */
[data-screen="stat_lost"] .rule { display: none; }
[data-screen="stat_lost"] .ask { position: relative; margin-top: 38px; padding-top: 22px; }
[data-screen="stat_lost"] .ask::before { content: ''; position: absolute; top: 0; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px; background: var(--yellow); transform-origin: center; animation: rule .55s var(--ease) .35s both; }
/* Écran du compte (19/11) : la page d'inscription du site, posée sous l'en-tête du build. Elle déborde des marges de la
   coquille pour que le violet aille bord à bord, et prend toute la hauteur restante. */
[data-screen="account"] { padding-top: 0; padding-bottom: 0; }
.su-onb { margin: 0 -18px; min-height: calc(100dvh - 66px); border-radius: 0; animation: none; }
.su-onb .su-hero { margin-top: 0; padding-top: 26px; }
.su-onb .su-hero h1 { font-size: 30px; }
.su-onb .ao-lead { font-size: 15.5px; }
.su-onb .su-legal { padding-bottom: 28px; }
@media (max-width: 400px) { .su-onb .su-go { font-size: 15px; padding: 0 14px; } } /* (19/11) « Créer mon compte et voir l'offre » tenait sur deux lignes sur iPhone SE */
@media (min-width: 560px) { .su-onb { margin: 0 -25px; border-radius: 0 0 24px 24px; min-height: 0; } }

/* Paywall (19/11, demandes du user) : la barre du haut (retour, logo, « Paiement sécurisé ») est FIXE, opaque et sans flou
   d'arrière-plan. Collée (sticky) dans le défilement du <body> avec un backdrop-filter, elle tremblait et sautait sur iPhone au
   défilement ; en position fixe par rapport à la fenêtre elle ne bouge plus. Le contenu commence sous elle (padding-top). */
.ao > .ao-bar { position: fixed; top: 0; left: 0; right: 0; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ao { padding-top: 60px; }
@media (max-width: 760px) { .ao { padding-top: 56px; } }
.ao.su-onb { padding-top: 0; } /* l'écran du compte est dans la coquille du build, avec son propre en-tête */
/* Le bloc violet « Prêt pour son prochain contrôle ? » en bas de l'écran Offre est retiré : on est déjà sur la page des offres. */
.ao .ao-end { display: none; }

/* Écran 7, graphique « avec / sans Chapteo » (19/11) : carte blanche, étiquette en capitales, pastille Chapteo, grille fine, courbe
   verte pleine (halo + aire) qui monte, courbe grise en pointillé qui descend, points d'arrivée, repères et légende. Le vert est
   (19/11 soir) courbe en violet Chapteo, sans logo dans la carte, demande du user. */
/* « Dans ce temps, {name} aurait pu… » (19/11, écran « ça représente ») : trois vues à faire glisser, sans cadre : l'illustration
   fondue dans la page, une ligne en gras, une légende grise (composition reprise de l'exemple SocialLite). */
.could { margin: 0 -18px; }
.could-track { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 18px; padding: 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.could-track::-webkit-scrollbar { display: none; }
.could-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 46px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 46px), transparent 100%); } /* la vue suivante s'efface sur le bord */
.could-card { flex: 0 0 calc(100% - 56px); scroll-snap-align: start; padding: 0 4px 6px; text-align: center; animation: rise .55s var(--ease) both; }
.could-art { height: 176px; display: flex; align-items: center; justify-content: center; }
.could-art svg { width: 100%; height: 100%; font-family: var(--font); overflow: visible; }
.could-card h3 { margin: 6px 0 5px; font-size: 22px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.could-card p { margin: 0; font-size: 15px; font-weight: 600; color: var(--mut); line-height: 1.4; }
.could-card.grade h3 { color: var(--acc); }
.could-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; animation: rise .5s var(--ease) .5s both; }
.could-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: var(--line2); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.could-dots button.on { width: 20px; background: var(--ink); }
.screen.fill .could { animation: none; }
/* Proportions (19/11) : le texte en haut, l'illustration centrée dans l'espace libre, la question posée juste au-dessus du bouton. */
main[data-screen="stat_lost"] { padding-top: 20px; }
.screen.fill .could { margin-top: auto; margin-bottom: auto; }
.screen.fill .could + .ask { margin: 0; padding: 6px 0 6px; }
[data-screen="stat_lost"] .ask::before { display: none; } /* plus de trait jaune (19/11) */
@media (min-width: 560px) { .could { margin-left: -25px; margin-right: -25px; } .could-track { padding-left: 25px; padding-right: 25px; scroll-padding: 0 25px; } .could-card { flex-basis: calc(100% - 90px); } }
@media (min-height: 800px) { .could-art { height: 212px; } .could-card h3 { margin-top: 10px; } } /* grands téléphones : l'illustration prend la place libre */
@media (max-height: 700px) { [data-screen="stat_lost"] .big { font-size: 48px; } [data-screen="stat_lost"] h1.under { font-size: 20px; } .could-art { height: 136px; } .could-card h3 { font-size: 19px; margin-top: 4px; } .could-card p { font-size: 14px; } .could-dots { margin-top: 8px; } .screen.fill .could + .ask { font-size: 16px; padding: 4px 0 4px; } [data-screen="stat_lost"] .kicker { margin-bottom: 4px; } main[data-screen="stat_lost"] { padding-top: 14px; } }
.mchart { margin: 6px 0 0; }
.screen.fill .mchart { margin: auto 0; }
.mchart-card { border: 1.4px solid var(--line); border-radius: 22px; padding: 18px 18px 16px; background: #fff; box-shadow: 0 18px 44px -30px rgba(60, 20, 120, .3); }
.mchart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mchart-k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut2); }
.mchart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.mchart-grid line { stroke: #eceaf2; stroke-width: 1.5; }
.mchart-area { fill: url(#mc-area); }
.mchart-without { fill: none; stroke: #a8a29e; stroke-width: 4; stroke-dasharray: 9 8; stroke-linecap: round; }
.mchart-glow { fill: none; stroke: #7a1fd2; stroke-width: 14; opacity: .16; stroke-linecap: round; }
.mchart-with { fill: none; stroke: #7a1fd2; stroke-width: 5; stroke-linecap: round; }
.mchart-reveal { transform-box: fill-box; transform-origin: left center; animation: mc-reveal 1.4s var(--ease) .55s both; }
@keyframes mc-reveal { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mchart-dot-g { fill: #a8a29e; }
.mchart-dot { fill: #7a1fd2; }
.mchart-halo { fill: #7a1fd2; opacity: .2; }
.mchart-dot-g, .mchart-dot, .mchart-halo { transform-box: fill-box; transform-origin: center; animation: mc-dot .4s var(--ease) 1.85s both; }
@keyframes mc-dot { from { opacity: 0; transform: scale(.4); } }
.mchart-x { display: flex; justify-content: space-between; color: var(--mut2); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.mchart-legend { display: flex; justify-content: center; gap: 18px; margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--mut); }
.mchart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #a8a29e; margin-right: 7px; }
.mchart-legend i.g { background: #7a1fd2; }
[data-screen="mirror"] .rule { display: none; } /* sans trait jaune (19/11) */
[data-screen="mirror"] .body { color: var(--mut); max-width: 400px; margin: 18px auto 13px; } /* espace sous le titre, à la place du trait */

/* Transition « le plan est prêt » → écran du compte (19/11) : un voile violet, le dégradé exact du bandeau de la page du compte, monte
   depuis le bas avec des angles arrondis et couvre l'écran ; l'écran du compte est posé dessous, puis le voile s'efface et le contenu
   (titre, carte, lien) se pose en cascade. L'écran qui part s'estompe et recule à peine. Une seule courbe ferme, sans rebond. */
.shell { position: relative; }
@media (min-width: 560px) { .shell { overflow: clip; } } /* le voile reste dans la carte (clip ≠ scroll : l'en-tête collant n'est pas affecté) */
.wipe { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(90% 60% at 50% 0%, #9b4bf0 0%, rgba(155, 75, 240, 0) 70%), linear-gradient(180deg, #8329e0 0%, #6d1fc4 100%); will-change: transform, opacity; }
/* z-index 1 < 2 (.top) : le voile passe SOUS l'en-tête, qui reste en place pendant toute la transition (sa barre avance). */
.wipe.in { animation: wipe-in .66s cubic-bezier(.7, 0, .2, 1) both; border-radius: 36px 36px 0 0; }
@keyframes wipe-in { from { transform: translateY(100%); } to { transform: none; } }
.wipe.out { animation: wipe-out .5s var(--ease) both; border-radius: inherit; }
@keyframes wipe-out { from { opacity: 1; } to { opacity: 0; } }
.screen.leaving { animation: leave .66s cubic-bezier(.7, 0, .2, 1) both; transform-origin: 50% 40%; }
@keyframes leave { to { opacity: .35; transform: scale(.975); } }
.su-onb .su-hero-in, .su-onb .su-card, .su-onb .su-legal { animation: rise .6s var(--ease) both; }
.su-onb .su-hero-in { animation-delay: .12s; } .su-onb .su-card { animation-delay: .24s; } .su-onb .su-legal { animation-delay: .36s; }

/* Écran 11, compte à rebours (19/11, copie test) : carte sombre et profonde, point rouge qui bat, chiffres blancs en tabulaire et secondes
   en rouge qui tombent, barre rouge de la part du trimestre déjà écoulée. Le reste de la page reste blanc et calme : le contraste fait le
   stress, pas l'agitation. */
[data-screen="deadline"] .rule { display: none; }
[data-screen="deadline"] .kicker { color: var(--bad); }
[data-screen="deadline"] .body { color: var(--mut); max-width: 400px; margin: 20px auto auto; font-size: 15.5px; }
.screen.fill .cd { margin: auto 0 0; } /* carte + phrase forment un bloc centré */
.cd { position: relative; overflow: hidden; margin: 10px 0 0; border-radius: 24px; padding: 20px 18px 18px; color: #fff; text-align: left;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 77, 77, .22) 0%, rgba(255, 77, 77, 0) 55%), radial-gradient(90% 70% at 0% 100%, rgba(122, 31, 210, .45) 0%, rgba(122, 31, 210, 0) 60%), linear-gradient(160deg, #231741 0%, #170f2e 100%);
  }
.cd-live { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.cd-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: cd-pulse 1.6s ease-out infinite; }
@keyframes cd-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); } 100% { box-shadow: 0 0 0 11px rgba(255, 77, 77, 0); } }
.cd-time { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 0; }
.cd-cell { text-align: center; position: relative; }
.cd-cell + .cd-cell::before { content: ':'; position: absolute; left: -6px; top: 6px; font-size: 30px; font-weight: 800; color: rgba(255, 255, 255, .25); line-height: 1; }
.cd-cell b { display: block; font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-cell small { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.cd-cell.sec b { color: #ff5a5a; }
.cd-cell.sec small { color: rgba(255, 90, 90, .8); }
.cd .nf-c { background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }
.cd .nf { width: .62em; }
.cd-bar { margin: 20px 0 0; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.cd-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff4d4d, #ff8b5a); transform-origin: left; animation: cd-fill 1.5s var(--ease) .7s both; }
@keyframes cd-fill { from { transform: scaleX(0); } }
.cd-bar-l { display: flex; justify-content: space-between; margin: 9px 0 0; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.cd-bar-l b { color: #fff; font-weight: 800; }
@media (max-width: 380px) { .cd-cell b { font-size: 36px; } .cd { padding: 18px 14px 16px; } }

/* Écran 11, revu (19/11 soir, carte blanche) : un seul bloc centré (kicker, titre, carte, phrase) avec des espaces réguliers, le bouton
   seul en bas ; chiffres dans des tuiles sombres, la tuile des secondes teintée de rouge ; date du bulletin dans la carte ; chorégraphie
   d'entrée : titre, carte qui se pose, tuiles une à une, barre qui se remplit, phrase, bouton. Un halo rouge dérive très lentement
   dans la carte (7 s, aller-retour) : la carte respire sans bouger. */
main[data-screen="deadline"] > div > .kicker { margin-top: auto; }
[data-screen="deadline"] .body { margin: 22px auto auto; padding-bottom: 30px; animation-delay: 1.05s; } /* centre optique : le bloc un peu au-dessus du milieu */
[data-screen="deadline"] .cta-wrap { animation-delay: 1.2s; }
.screen.fill .cd { margin: 26px 0 0; }
.screen.fill > div > .cd { animation: cd-in .75s var(--ease) .2s both; }
@keyframes cd-in { from { opacity: 0; transform: translateY(16px) scale(.965); } to { opacity: 1; transform: none; } }
.cd { padding: 18px 16px 16px; }
.cd::after { content: ''; position: absolute; inset: -40%; pointer-events: none; background: radial-gradient(38% 38% at 72% 22%, rgba(255, 77, 77, .2), transparent 65%); animation: cd-drift 7s ease-in-out infinite alternate; }
@keyframes cd-drift { from { transform: translate(-5%, 4%); } to { transform: translate(5%, -4%); } }
.cd > * { position: relative; z-index: 1; }
.cd-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cd-head .cd-live { margin: 0; }
.cd-date { margin: 0; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.cd-time { gap: 8px; margin-top: 16px; }
.cd-cell { background: rgba(255, 255, 255, .07); border-radius: 16px; padding: 16px 0 14px; animation: rise .5s var(--ease) both; }
.cd-cell:nth-child(1) { animation-delay: .5s; } .cd-cell:nth-child(2) { animation-delay: .57s; } .cd-cell:nth-child(3) { animation-delay: .64s; } .cd-cell:nth-child(4) { animation-delay: .71s; }
.cd-cell + .cd-cell::before { display: none; }
.cd-cell b { font-size: 40px; letter-spacing: -.04em; }
.cd-cell small { margin-top: 6px; font-size: 12.5px; }
.cd-cell.sec { background: rgba(255, 90, 90, .14); }
.cd-bar { margin-top: 18px; height: 7px; animation: rise .5s var(--ease) .85s both; }
.cd-bar i { animation-delay: 1s; }
.cd-bar-l { animation: rise .5s var(--ease) .95s both; }
@media (max-width: 380px) { .cd-cell b { font-size: 34px; } .cd { padding: 16px 13px 16px; } .cd-time { gap: 6px; } }

/* Parcours paiement d'abord (/commencer2/, 21/11/2026) : accord parental (primaire) sur l'écran de fin. */
.fin-ok { margin-top: 18px; }
