/* ───────── FUNNEL /create : questionnaire → plan → compte → paywall ───────── */
html, body { min-height: 100%; }
body.funnel { min-height: 100svh; }

/* Fond : capture de stream floutée */
.f-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.f-bg video { position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; object-fit: cover; filter: blur(10px) saturate(1.1) brightness(.38); transform: translate(-50%, -50%) scale(4); transition: opacity .7s ease-out; }
.f-bg video.fade { opacity: 0; }
.f-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 35%, rgba(7,7,10,.3) 0%, rgba(7,7,10,.78) 70%, rgba(7,7,10,.94) 100%); }

/* Barre du haut */
.f-top { position: fixed; z-index: 40; inset: 0 0 auto; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: var(--s4); padding: var(--s3) var(--gutter); padding-top: max(var(--s3), env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.7) 60%, rgba(7,7,10,0) 100%); }
@media (min-width: 768px) { .f-top { padding-top: var(--s5); padding-left: calc(50% - 360px + var(--gutter)); padding-right: calc(50% - 360px + var(--gutter)); } }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: transform .18s var(--ease-out); }
.round:active { transform: scale(.94); }
.round .lucide { width: 20px; height: 20px; }
.f-top .glass { border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.35); }
.f-top .segs { grid-column: 2; }
.f-top #soundBtn { grid-column: 3; }
.segs { display: flex; gap: 4px; transition: opacity .3s; }
.segs i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.segs i::after { content: ""; position: absolute; inset: 0; background: var(--accent-grad); transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform .5s var(--ease-out); }
.f-top.no-progress .segs { opacity: 0; }

/* Étapes */
.f-stage { position: relative; min-height: 100svh; }
.step { min-height: 100svh; padding: calc(68px + var(--s6)) var(--gutter) calc(var(--s8) + var(--s7)); display: none; flex-direction: column; align-items: center; }
@media (min-width: 768px) { .step { padding-top: calc(88px + var(--s6)); } }
.step.active { display: flex; }
.step > .wrap { width: 100%; max-width: 560px; }
.step.wide > .wrap { max-width: 980px; }
.step.anim-in > .wrap > * { animation: stepIn .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.step.anim-in.back > .wrap > * { animation-name: stepInBack; }
.step.anim-out > .wrap { animation: stepOut .22s ease-in both; }
.step.anim-out.back > .wrap { animation-name: stepOutBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateX(-28px); filter: blur(6px); } }
@keyframes stepOutBack { to { opacity: 0; transform: translateX(28px); filter: blur(6px); } }

.q-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); }
.q-title { margin: var(--s3) 0 0; font: 800 clamp(30px, 2.2vw + 20px, 46px)/1.06 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.q-sub { margin: var(--s3) 0 0; font-size: 16px; color: var(--text-2); text-wrap: pretty; }
.center { text-align: center; }

/* Cartes réponses */
.opts { display: grid; gap: var(--s3); margin-top: var(--s6); }
.opt {
  position: relative; display: flex; align-items: center; gap: var(--s4); min-height: 68px; padding: var(--s3) var(--s4);
  border-radius: 18px; text-align: left; font-size: 17px; font-weight: 600; color: var(--text);
  transition: transform .18s var(--ease-out), background-color .2s, border-color .2s, box-shadow .2s;
}
.opt:hover { background: rgba(32,32,40,.66); }
.opt:active { transform: scale(.98); }
.opt .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text-2); transition: background-color .2s, color .2s; }
.opt small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.opt .mark { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); display: grid; place-items: center; flex: none; transition: background-color .2s, border-color .2s; }
.opt .mark .lucide { width: 15px; height: 15px; stroke-width: 2.5; color: var(--bg); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease-out); }
.opt[aria-checked="true"] { background: rgba(30,30,38,.96); border: 2px solid var(--text); padding: calc(var(--s3) - 1px) calc(var(--s4) - 1px); }
.opt[aria-checked="true"] .ico { color: var(--accent-bright); background: rgba(255,61,46,.12); border-color: rgba(255,61,46,.25); }
.opt[aria-checked="true"] .mark { background: var(--text); border-color: var(--text); }
.opt[aria-checked="true"] .mark .lucide { opacity: 1; transform: none; }
.opt .vol { margin-left: auto; text-align: right; font-size: 13px; color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.opt .vol b { display: block; font: 800 20px/1.1 var(--f-display); color: var(--text); }
.opt[aria-checked="true"] .vol b { color: var(--accent-bright); }

/* Bulle du coach */
.coach { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s5); min-height: 0; }
.coach[hidden] { display: none !important; }
.coach .av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.coach .av svg { width: 20px; height: 20px; }
.coach .bub { padding: var(--s3) var(--s4); border-radius: 4px 18px 18px 18px; background: rgba(28,28,34,.85); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.45; color: var(--text); animation: bubIn .35s var(--ease-out) both; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.coach .bub b { font-weight: 600; }
.coach .bub small { display: block; font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 2px; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Q2 : objectif financier, l'écran le plus travaillé */
.goal-hero { margin-top: var(--s6); padding: var(--s5); border-radius: 24px; text-align: center; position: relative; overflow: hidden; }

.goal-amt { font: 800 clamp(52px, 6vw + 24px, 84px)/1 var(--f-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.goal-amt small { font-size: .34em; color: var(--text-2); font-weight: 700; letter-spacing: -.01em; margin-left: 4px; }
.goal-day { margin-top: var(--s2); font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.goal-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: var(--s4); }
.goal-tiers i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); transition: background-color .3s; }
.goal-tiers i.on { background: var(--accent-grad); }
.goal-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s4); }
.goal-opts .opt { min-height: 76px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.goal-opts .opt:last-child { grid-column: 1 / -1; }
.goal-opts .opt .big { font: 800 22px/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.goal-opts .opt small { margin: 0; }

/* Q4 : niches en cartes vidéo */
.niches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.ncard { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; isolation: isolate; text-align: left; border: 1px solid var(--line-2); background: var(--surface); transition: transform .2s var(--ease-out), border-color .2s; }
.ncard:active { transform: scale(.98); }
.ncard > video, .ncard .split-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease-out); }
.ncard:hover > video { transform: scale(1.05); }
.ncard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,7,10,0) 35%, rgba(7,7,10,.88) 100%); pointer-events: none; }
.ncard .lab { position: absolute; z-index: 2; left: var(--s4); right: var(--s4); bottom: var(--s4); }
.ncard b { display: block; font: 700 18px/1.15 var(--f-display); letter-spacing: -.015em; }
.ncard small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(245,245,247,.78); }
.ncard .mark { position: absolute; z-index: 2; top: var(--s3); right: var(--s3); width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.3); display: grid; place-items: center; }
.ncard .mark .lucide { width: 16px; height: 16px; stroke-width: 2.5; color: var(--bg); opacity: 0; }
.ncard[aria-checked="true"] { border: 2px solid var(--text); }
.ncard[aria-checked="true"] .mark { background: var(--text); border-color: var(--text); }
.ncard[aria-checked="true"] .mark .lucide { opacity: 1; }
.ncard .tag { position: absolute; z-index: 2; top: var(--s3); left: var(--s3); height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; background: var(--accent); color: #fff; font: 700 10.5px/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; }
.ncard.mini { aspect-ratio: auto; min-height: 84px; display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: rgba(20,20,24,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ncard.mini::after { display: none; }
.ncard.mini .lab { position: static; }
.ncard.mini .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); flex: none; }
.ncard.mini .mark { top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) { .niches { grid-template-columns: repeat(3, minmax(0, 1fr)); } .step[data-step="q4"] > .wrap { max-width: 720px; } }

/* CTA collé en bas */
.f-cta { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: var(--s4) var(--gutter); padding-bottom: max(var(--s4), env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7,7,10,0) 0%, rgba(7,7,10,.85) 40%, rgba(7,7,10,.97) 100%); transition: transform .3s var(--ease-out), opacity .3s; }
.f-cta.off { transform: translateY(110%); opacity: 0; pointer-events: none; }
.f-cta .inner { max-width: 560px; margin: 0 auto; }
.f-cta .btn { width: 100%; height: 60px; font-size: 18px; border-radius: 16px; }
.f-cta .btn[disabled] { filter: grayscale(.7) brightness(.55); cursor: not-allowed; box-shadow: none; }
.f-cta .note { margin: var(--s2) 0 0; text-align: center; font-size: 12px; color: var(--text-3); }

/* Préparation du plan */
.prep { margin-top: var(--s6); padding: var(--s5); border-radius: 24px; }
.prep-ring { width: 120px; height: 120px; margin: 0 auto var(--s5); position: relative; }
.prep-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.prep-ring circle { fill: none; stroke-width: 6; }
.prep-ring .trk { stroke: rgba(255,255,255,.1); }
.prep-ring .val { stroke: url(#prepGrad); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .3s linear; }
.prep-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 28px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; font-size: 16px; color: var(--text-3); transition: color .3s; }
.checks .ck { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.checks .ck .lucide { width: 14px; height: 14px; stroke-width: 2.5; color: var(--bg); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease-out); }
.checks li em { display: block; font-style: normal; font-size: 14px; color: var(--text-2); margin-top: 2px; min-height: 1.2em; font-variant-numeric: tabular-nums; }
.checks li.doing { color: var(--text); }
.checks li.doing .ck { border-color: transparent; border-top-color: var(--text); border-right-color: var(--text); animation: spin .8s linear infinite; }
.checks li.done { color: var(--text); }
.checks li.done .ck { background: var(--text); border-color: var(--text); animation: none; }
.checks li.done .ck .lucide { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Résultats */
.res-head { text-align: center; max-width: 720px; margin: 0 auto; }
.sum { display: grid; gap: var(--s3); margin-top: var(--s6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sum { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sum .card { padding: var(--s4); border-radius: 20px; min-width: 0; }
.sum .card.goal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
@media (min-width: 900px) { .sum .card.goal { grid-column: span 2; display: block; } }
.sum .k { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.sum .k .lucide { width: 15px; height: 15px; }
.sum .v { margin-top: var(--s2); font: 800 22px/1.15 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sum .goal .v { font-size: clamp(36px, 3vw + 18px, 52px); letter-spacing: -.04em; }
.sum .d { margin-top: 4px; font-size: 13px; color: var(--text-2); }
.sum .plats { display: flex; gap: var(--s2); margin-top: var(--s2); }
.sum .plats span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #0B0B0F; border: 1px solid var(--line-2); }
.sum .plats img { width: 17px; height: 17px; filter: invert(1); }
.res-sec { margin-top: var(--s7); }
.res-sec > h2 { margin: 0; font: 800 clamp(24px, 1.4vw + 18px, 32px)/1.15 var(--f-display); letter-spacing: -.025em; }
.res-sec > p.lead { margin: var(--s2) 0 0; color: var(--text-2); font-size: 15px; }
.phases { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.phase { padding: var(--s5); border-radius: 22px; }
.phase .when { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); }
.phase h3 { margin: var(--s2) 0 0; font: 700 19px/1.25 var(--f-display); letter-spacing: -.015em; }
.phase ul { margin: var(--s3) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s2); }
.phase li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s2); font-size: 14.5px; color: var(--text-2); }
.phase li .lucide { width: 16px; height: 16px; margin-top: 2px; color: var(--text); }
.monos { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 760px) { .monos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mono { display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); padding: var(--s4); border-radius: 20px; }
.mono .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.mono b { display: flex; align-items: center; gap: var(--s2); font: 700 17px/1.25 var(--f-display); flex-wrap: wrap; }
.mono b em { font-style: normal; font: 700 10.5px/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; background: var(--accent); color: #fff; }
.mono p { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.mono small { display: block; margin-top: var(--s2); font-size: 12.5px; color: var(--text-3); }

/* Simulateur */
.sim { display: grid; gap: var(--s5); margin-top: var(--s5); padding: var(--s5); border-radius: 26px; }
@media (min-width: 900px) { .sim { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s6); padding: var(--s6); } }
.sl { margin-bottom: var(--s4); }
.sl-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.sl-top label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.sl-top output { font: 700 18px/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.range { --p: 50%; position: relative; height: 44px; display: flex; align-items: center; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-bright) 0, var(--accent) var(--p), rgba(255,255,255,.12) var(--p)); }
.range input::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px rgba(255,61,46,.2), 0 4px 12px rgba(0,0,0,.5); }
.range input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px rgba(255,61,46,.2); }
.sl small { display: block; font-size: 12px; color: var(--text-3); }
.sim-out .lbl { font-size: 14px; color: var(--text-2); }
.sim-amt { margin-top: var(--s2); font: 800 clamp(44px, 3vw + 26px, 64px)/1 var(--f-display); letter-spacing: -.04em; color: var(--money); font-variant-numeric: tabular-nums; }
.sim-amt small { font-size: .38em; color: var(--text-2); letter-spacing: -.01em; margin-left: 4px; }
.sim-formula { margin-top: var(--s2); font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.goalbar { margin-top: var(--s4); }
.goalbar .track { position: relative; height: 10px; border-radius: 5px; background: rgba(255,255,255,.1); overflow: hidden; }
.goalbar .track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; background: var(--money); transition: width .5s var(--ease-out); }
.goalbar .row { display: flex; justify-content: space-between; margin-top: var(--s2); font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.need { margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.need b { color: var(--text); font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 220px; margin-top: var(--s4); overflow: visible; display: block; }
.chart .gl { stroke: rgba(255,255,255,.06); }
.chart .ax { fill: var(--text-3); font: 500 11px var(--f-body); }
.chart .curve { fill: none; stroke: var(--money); stroke-width: 2.5; stroke-linecap: round; }
.chart .area { fill: url(#simFill); }
.chart .goal { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .7; }
.chart .goal-l { fill: var(--text); font: 600 11px var(--f-body); }
.chart .dot { fill: var(--money); stroke: var(--bg); stroke-width: 3; transition: cx .3s var(--ease-out), cy .3s var(--ease-out); }
.chart .cross { fill: var(--bg); stroke: var(--text); stroke-width: 2; }
.chart .draw { animation: drawC 1s cubic-bezier(.65,0,.35,1) both; }
@keyframes drawC { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.legal-box { margin-top: var(--s5); padding: var(--s4); border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.legal-box b { color: var(--text); }

/* Compte */
.chips-sum { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.chips-sum span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--s3); border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.chips-sum .lucide { width: 14px; height: 14px; color: var(--accent-bright); }
.saved { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); font-size: 13px; color: var(--text-2); }
.saved .lucide { width: 15px; height: 15px; }
.social { display: grid; gap: var(--s3); margin-top: var(--s6); }
.btn-social { height: 56px; border-radius: var(--r-btn); display: flex; align-items: center; justify-content: center; gap: var(--s3); font-size: 16px; font-weight: 600; transition: transform .18s var(--ease-out), filter .2s; }
.btn-social:active { transform: scale(.97); }
.btn-social img, .btn-social svg { width: 20px; height: 20px; }
.btn-google { background: #F5F5F7; color: #111114; }
.btn-apple { background: rgba(20,20,24,.7); color: var(--text); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-apple img { filter: invert(1); }
.or { display: flex; align-items: center; gap: var(--s3); margin: var(--s5) 0; font-size: 13px; color: var(--text-3); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.field { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.input { position: relative; }
.input input { width: 100%; height: 56px; padding: 0 var(--s4); border-radius: 14px; border: 1px solid var(--line-2); background: rgba(20,20,24,.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--text); font: 500 17px/1 var(--f-body); outline: 0; transition: border-color .2s, box-shadow .2s; }
.input input::placeholder { color: var(--text-3); }
.input input:focus { border-color: rgba(255,106,77,.6); box-shadow: 0 0 0 4px rgba(255,61,46,.14); }
.input input[aria-invalid="true"] { border-color: #FF6A4D; }
.input .eye { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); }
.input.pw input { padding-right: 56px; }
.hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); transition: color .2s; }
.hint .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
.hint .dot .lucide { width: 10px; height: 10px; stroke-width: 3; color: var(--bg); opacity: 0; }
.hint.ok { color: var(--text); }
.hint.ok .dot { background: var(--text); border-color: var(--text); }
.hint.ok .dot .lucide { opacity: 1; }
.err { font-size: 13px; color: #FF8A7A; }
.legal { margin: var(--s3) 0 0; font-size: 12px; color: var(--text-3); text-align: center; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* Paywall */
.pw-goal { margin-top: var(--s5); padding: var(--s4); border-radius: 20px; display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); align-items: center; }
.pw-goal .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-grad); color: var(--accent-ink); }
.pw-goal b { display: block; font: 700 17px/1.25 var(--f-display); }
.pw-goal span { font-size: 13px; color: var(--text-2); }
.feats { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); }
.feats li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); font-size: 15px; }
.feats li .lucide { width: 20px; height: 20px; color: var(--accent-bright); margin-top: 1px; }
.feats li span small { display: block; font-size: 13px; color: var(--text-2); }
.vol-box { margin-top: var(--s5); padding: var(--s4); border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); line-height: 1.5; }
.vol-box b { color: var(--text); }
.plans { display: grid; gap: var(--s3); margin-top: var(--s6); }
.plan { position: relative; display: flex; align-items: center; gap: var(--s4); padding: var(--s5) var(--s4); border-radius: 20px; text-align: left; transition: transform .18s var(--ease-out); }
.plan:active { transform: scale(.985); }
.plan[aria-checked="true"] { background: rgba(30,30,38,.96); border: 2px solid var(--text); padding: calc(var(--s5) - 1px) calc(var(--s4) - 1px); }
.plan .mark { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); flex: none; display: grid; place-items: center; }
.plan .mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); opacity: 0; }
.plan[aria-checked="true"] .mark { background: var(--text); border-color: var(--text); }
.plan[aria-checked="true"] .mark::after { opacity: 1; }
.plan .nm b { display: block; font: 700 18px/1.2 var(--f-display); }
.plan .nm small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.plan .nm .trial { color: var(--text); font-weight: 600; }
.plan .pr { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }
.plan .pr b { display: block; font: 800 26px/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; }
.plan .pr b small { font-size: 14px; font-weight: 600; color: var(--text-2); }
.plan .pr span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.plan .pr s { color: var(--text-3); }
.plan .badge { position: absolute; top: -11px; right: var(--s4); height: 22px; padding: 0 10px; border-radius: 6px; display: inline-flex; align-items: center; background: var(--accent-grad); color: var(--accent-ink); font: 700 11px/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; }
.timeline { list-style: none; margin: var(--s6) 0 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); padding-bottom: var(--s5); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.08)); }
.timeline li:last-child::before { display: none; }
.timeline .tic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.timeline li:first-child .tic { background: var(--accent-grad); border-color: transparent; color: var(--accent-ink); }
.timeline b { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.timeline span { font-size: 14px; color: var(--text-2); }
.terms { margin-top: var(--s5); padding: var(--s4); border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--text-2); }
.terms b { color: var(--text); }
.faq { display: grid; gap: var(--s2); margin-top: var(--s6); }
.faq details { border-radius: 16px; padding: 0 var(--s4); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 56px; font-size: 16px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .lucide { transition: transform .25s var(--ease-out); color: var(--text-2); }
.faq details[open] summary .lucide { transform: rotate(180deg); }
.faq details p { margin: 0 0 var(--s4); font-size: 15px; color: var(--text-2); line-height: 1.5; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 128px; transform: translate(-50%, 16px); opacity: 0; padding: var(--s3) var(--s4); border-radius: 14px; font-size: 14px; max-width: calc(100vw - 40px); transition: opacity .25s, transform .3s var(--ease-out); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .step.anim-in > .wrap > *, .step.anim-out > .wrap, .coach .bub { animation: none !important; }
  .checks li.doing .ck { animation: none; }
  .chart .draw { animation: none; }
}
/* Niches sans vidéo : pleine largeur, place pour la coche */
.ncard.mini { grid-column: 1 / -1; min-height: 64px; padding-right: 56px; }
@media (min-width: 768px) { .ncard.mini { grid-column: span 1; } }

/* ───────── Mini-funnel « Ton premier clip » : vidéo → style → aperçu flouté ───────── */
.link-demo { display: grid; grid-template-columns: minmax(0, 1fr) 28px 96px; align-items: center; gap: var(--s3); margin-top: var(--s6); }
.ld-src { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.ld-src > video { width: 100%; height: 100%; object-fit: cover; }
.ld-cam { position: absolute; right: 8px; bottom: 8px; width: 30%; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; border: 2px solid var(--accent); }
.ld-cam video { width: 100%; height: 100%; object-fit: cover; }
.ld-arrow { color: var(--text-2); display: grid; place-items: center; }
.ld-out { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.step[data-step="video"] .field { margin-top: var(--s5); }
.yt-in .yt-ic { position: absolute; left: 16px; top: 18px; color: var(--text-3); display: grid; }
.yt-in .yt-ic .lucide { width: 20px; height: 20px; }
.yt-in input { padding-left: 48px; }
.yt-ok { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
.yt-ok .lucide { width: 15px; height: 15px; color: var(--accent-bright); stroke-width: 2.5; }
.skip { margin-top: var(--s2); min-height: 44px; font-size: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.skip:hover { color: var(--text); }
.rights { display: flex; gap: var(--s2); align-items: flex-start; margin: var(--s4) 0 0; font-size: 13px; color: var(--text-3); line-height: 1.45; }
.rights .lucide { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.sty { display: grid; gap: var(--s6); margin-top: var(--s6); align-items: start; }
@media (min-width: 900px) { .sty { grid-template-columns: 300px minmax(0, 1fr); gap: var(--s7); max-width: 860px; margin-left: auto; margin-right: auto; } }
.sty-prev-wrap { display: grid; justify-items: center; gap: var(--s3); }
@media (min-width: 900px) { .sty-prev-wrap { position: sticky; top: 110px; } }
.sty-phone { position: relative; width: min(240px, 46vw); aspect-ratio: 9 / 19; padding: 7px; border-radius: 36px;
  background: linear-gradient(145deg, #3A3A42 0%, #17171C 30%, #0C0C10 60%, #2A2A31 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 2.5px #050507, 0 30px 60px -20px rgba(0,0,0,.8); }
.sty-phone .scr { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #0B0B0F; }
.sty-cap { margin: 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.sty-ctrl { display: grid; gap: var(--s5); min-width: 0; }
.ctl-l { display: block; margin-bottom: var(--s2); font-size: 13px; font-weight: 600; color: var(--text-2); }
.segc { display: grid; gap: var(--s2); }
@media (min-width: 560px) { .segc { grid-template-columns: 1fr 1fr; } }
.segc button, .pills button, .cap { border-radius: 14px; border: 1px solid var(--line-2); background: rgba(20,20,24,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--text-2); transition: border-color .2s, color .2s, background-color .2s, transform .18s var(--ease-out); }
.segc button:active, .pills button:active, .cap:active { transform: scale(.98); }
.segc button { min-height: 72px; padding: var(--s3) var(--s4); text-align: left; }
.segc b { display: block; font-size: 15px; color: var(--text); }
.segc small { display: block; margin-top: 2px; font-size: 12.5px; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.pills button { min-height: 48px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.cap { min-height: 64px; display: grid; place-items: center; align-content: center; gap: 4px; font-size: 12px; }
.cap em { font-style: normal; font-size: 13px; }
.pz-bold em { font: 800 13px var(--f-display); text-transform: uppercase; color: #fff; background: var(--accent); padding: 0 5px; border-radius: 4px; }
.pz-box em { font: 700 12px var(--f-body); background: #000; color: #fff; padding: 1px 6px; border-radius: 3px; border: 1px solid rgba(255,255,255,.2); }
.pz-outline em { font: 800 13px var(--f-display); text-transform: uppercase; color: var(--accent-bright); -webkit-text-stroke: 1px #000; paint-order: stroke fill; }
.pz-minimal em { font: 600 13px var(--f-body); color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.segc [aria-checked="true"], .pills [aria-checked="true"], .cap[aria-checked="true"] { border: 2px solid var(--text); color: var(--text); background: rgba(30,30,38,.96); }
.segc [aria-checked="true"] { padding: calc(var(--s3) - 1px) calc(var(--s4) - 1px); }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; padding: var(--s2) var(--s4); border-radius: 14px; border: 1px solid var(--line-2); background: rgba(20,20,24,.6); }
.sw-row b { display: block; font-size: 15px; }
.sw-row small { display: block; font-size: 12.5px; color: var(--text-2); }
.switch { position: relative; width: 52px; height: 32px; border-radius: 16px; background: rgba(255,255,255,.14); flex: none; transition: background-color .2s; }
.switch::before { content: ""; position: absolute; inset: -6px -2px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--text); transition: transform .25s var(--ease-out); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }

/* sous-titres de l'aperçu selon le style choisi */
.cap-bold .sc-subs span.cur { background: var(--accent); text-shadow: none; }
.cap-box .sc-subs span { font: 700 5.6cqw/1.2 var(--f-body); text-transform: none; background: rgba(0,0,0,.82); padding: .8cqw 2cqw; border-radius: 1cqw; text-shadow: none; }
.cap-box .sc-subs span.cur { background: #fff; color: #000; }
.cap-outline .sc-subs span { -webkit-text-stroke: .5cqw #000; paint-order: stroke fill; text-shadow: 0 .8cqw 0 #000; }
.cap-outline .sc-subs span.cur { color: var(--accent-bright); background: none; }
.cap-minimal .sc-subs span { font: 600 5.2cqw/1.3 var(--f-body); text-transform: none; text-shadow: 0 .3cqw 1cqw rgba(0,0,0,.8); }
.cap-minimal .sc-subs span.cur { background: none; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1cqw; text-underline-offset: 1.4cqw; }
.full-clip { position: absolute; inset: 0; container-type: inline-size; }
.full-clip video { width: 100%; height: 100%; object-fit: cover; }
.full-clip .sc-title { position: absolute; z-index: 3; left: 6%; right: 6%; top: 18%; padding: 2.6cqw 3.4cqw 3cqw; border-radius: 2.6cqw; background: #FAFAFA; color: #0B0B0F; text-align: center; font: 800 6.6cqw/1.12 var(--f-display); }
.full-clip .sc-subs { position: absolute; z-index: 3; left: 6%; right: 6%; bottom: 18%; display: flex; flex-wrap: wrap; justify-content: center; gap: 1cqw 2cqw; }
.full-clip .sc-subs span { font: 800 6.4cqw/1.1 var(--f-display); text-transform: uppercase; color: #fff; padding: 0 1.6cqw .6cqw; border-radius: 1.8cqw; text-shadow: 0 .6cqw 0 rgba(0,0,0,.6); opacity: 0; transition: opacity .12s; }
.full-clip .sc-subs span.on { opacity: 1; }

/* Aperçu flouté */
.job { max-width: 620px; margin: var(--s5) auto 0; padding: var(--s4); border-radius: 20px; display: grid; gap: var(--s3); }
.job-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-size: 14px; }
.job-row span { color: var(--text-2); display: inline-flex; align-items: center; gap: var(--s2); }
.job-row span .lucide { width: 16px; height: 16px; }
.job-row b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.job-state { display: flex; align-items: center; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.job-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.clips3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin: var(--s6) auto 0; max-width: 680px; justify-items: center; }
@media (max-width: 767px) {
  .clips3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s4); margin: var(--s5) calc(var(--gutter) * -1) 0; padding: var(--s2) calc(50% - 90px); scrollbar-width: none; }
  .clips3::-webkit-scrollbar { display: none; }
}
.c3 { scroll-snap-align: center; flex: none; width: 180px; display: grid; justify-items: center; gap: var(--s3); }
.mini { position: relative; width: 100%; aspect-ratio: 9 / 19; padding: 6px; border-radius: 32px; background: linear-gradient(145deg, #3A3A42 0%, #17171C 30%, #0C0C10 60%, #2A2A31 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.8); }
.mini .scr { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: #0B0B0F; }
.locked3 .mini .scr > :not(.lock) { filter: blur(9px) saturate(1.1); transform: scale(1.08); }
.lock { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; align-content: center; gap: var(--s2); text-align: center; background: rgba(7,7,10,.25); }
.lock .lucide { width: 28px; height: 28px; padding: 12px; box-sizing: content-box; border-radius: 50%; background: rgba(20,20,24,.7); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.lock b { font: 700 14px/1.2 var(--f-display); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.c3 .c3-l { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.disc { margin: var(--s4) auto 0; max-width: 560px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .job-state i { animation: none; } }

/* ───────── Bouton à maintenir 3 s (repris de HoldToUnlock, NutriPulse) ───────── */
.hold-dock { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: var(--s2);
  padding: var(--s6) var(--gutter) max(var(--s4), env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7,7,10,0) 0%, rgba(7,7,10,.88) 35%, rgba(7,7,10,.98) 100%); }
.step.has-hold { padding-bottom: 260px; }
.hold { position: relative; width: 156px; height: 156px; border-radius: 50%; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transform: translate(var(--sx, 0px), 0) rotate(var(--sr, 0deg)) scale(var(--sc, 1)); }
.hold:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 6px; }
.hold-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold-ring circle { fill: none; stroke-width: 8; }
.hold-ring .trk { stroke: rgba(255,255,255,.12); }
.hold-ring .val { stroke: var(--text); stroke-linecap: round; stroke-dasharray: 452.4; stroke-dashoffset: 452.4; }
.hold-core { position: relative; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center;
  background: var(--accent-grad); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 calc(18px + var(--p, 0) * 10px) calc(36px + var(--p, 0) * 40px) -14px rgba(255,61,46,calc(.5 + var(--p, 0) * .45)), 0 0 0 calc(var(--p, 0) * 10px) rgba(255,106,77,calc(var(--p, 0) * .25)); }
.hold-ic .lucide { width: 22px; height: 22px; stroke-width: 2.5; }
.hold.holding .hold-ic { animation: lockPulse .5s ease-in-out infinite; }
@keyframes lockPulse { 50% { transform: scale(1.15); } }
.hold-l { padding: 0 14px; font: 800 15px/1.1 var(--f-display); letter-spacing: -.02em; }
.hold-hint { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.hold.done { animation: holdPop .5s ease-out forwards; }
@keyframes holdPop { 0% { transform: scale(1.08); opacity: 1; } 40% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
/* l'écran tremble pendant l'appui */
.f-stage.shaking { transform: translate(var(--ssx, 0px), var(--ssy, 0px)); }
/* explosion */
.boom { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.boom .ring { position: absolute; width: 156px; height: 156px; margin: -78px 0 0 -78px; border-radius: 50%; border: 6px solid var(--accent-bright); animation: ringOut .6s ease-out forwards; }
@keyframes ringOut { from { transform: scale(.6); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.boom .bit { position: absolute; border-radius: 2px; animation: bitOut .75s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes bitOut { from { transform: translate(0, 0) rotate(0) scale(1.2); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.6); opacity: 0; } }
.boom .flash { position: absolute; inset: 0; background: radial-gradient(circle at var(--fx, 50%) var(--fy, 85%), rgba(255,244,241,.95), rgba(255,106,77,.45) 40%, rgba(7,7,10,0) 75%); animation: flash .65s ease-out forwards; }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* ───────── Prix dynamique du paywall ───────── */
.price-drop { margin-top: var(--s5); padding: var(--s5) var(--s4); border-radius: 24px; display: grid; justify-items: center; text-align: center; gap: 4px; position: relative; overflow: hidden; }

.pd-l { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pd-old { font-size: 16px; color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; opacity: 0; transition: opacity .3s; }
.pd-old.on { opacity: 1; }
.pd-amt { font: 800 clamp(64px, 8vw + 30px, 96px)/1 var(--f-display); letter-spacing: -.05em; transition: color .3s, transform .3s var(--ease-out); }
.pd-amt.zero { color: var(--money); transform: scale(1.04); }
.pd-sub { max-width: 380px; font-size: 14px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .hold.holding .hold-ic, .hold.done, .boom * { animation: none !important; } }

/* ═════════ Immersion : « Ton studio », démarrage, accueil, apparitions ═════════ */
.tray { position: fixed; z-index: 41; left: 50%; top: calc(64px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: var(--s3);
  height: 40px; padding: 0 var(--s3) 0 var(--s3); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.4); transition: opacity .3s, transform .3s var(--ease-out); max-width: calc(100vw - 24px); }
.tray[hidden] { display: flex !important; opacity: 0; transform: translate(-50%, -10px); pointer-events: none; }
@media (min-width: 768px) { .tray { top: calc(84px + env(safe-area-inset-top, 0px)); } }
.tray-l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tray-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: rec 1.4s ease-in-out infinite; }
.tray-slots { display: flex; gap: 4px; }
.slot { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.18); color: var(--text-3); transition: background-color .3s, border-color .3s, color .3s; }
.slot .lucide { width: 13px; height: 13px; opacity: .35; transition: opacity .3s; }
.slot.on { background: rgba(255,61,46,.16); border: 1px solid rgba(255,106,77,.45); color: var(--accent-bright); }
.slot.on .lucide { opacity: 1; }
.slot.pop { animation: slotPop .5s var(--ease-out); }
@keyframes slotPop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.tray-n { font-size: 12px; color: var(--text-2); font-weight: 600; }
@media (max-width: 380px) { .tray-name { display: none; } }
body.has-tray .step { padding-top: calc(68px + 40px + var(--s6)); }
@media (min-width: 768px) { body.has-tray .step { padding-top: calc(88px + 40px + var(--s6)); } }
.fly { position: fixed; z-index: 95; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-grad); color: #fff; box-shadow: 0 8px 20px rgba(255,61,46,.45); pointer-events: none; }
.fly .lucide { width: 16px; height: 16px; stroke-width: 2.2; }

/* démarrage façon application */
.boot { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; align-content: center; gap: var(--s4); background: var(--bg); transition: opacity .5s ease, transform .5s var(--ease-out); }
.boot.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.boot-logo svg { width: 64px; height: 64px; animation: bootLogo .9s var(--ease-out) both; }
@keyframes bootLogo { from { transform: scale(.6) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.boot-t { font: 700 17px/1 var(--f-display); color: var(--text-2); animation: fadeUp .5s .25s both; }
.boot-bar { width: 140px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 100%; background: var(--accent-grad); transform-origin: left; animation: bootBar 1s .1s cubic-bezier(.65,0,.35,1) both; }
@keyframes bootBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* accueil après la création du compte */
.welcome { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; align-content: center; gap: var(--s6); padding: var(--s6) var(--gutter); background: rgba(7,7,10,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: fadeIn .35s ease both; transition: opacity .45s, transform .45s var(--ease-out); }
.welcome.out { opacity: 0; transform: scale(1.03); }
@keyframes fadeIn { from { opacity: 0; } }
.wl-shell { width: min(320px, 82vw); aspect-ratio: 16 / 10; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: shellIn .6s var(--ease-out) both; }
@keyframes shellIn { from { transform: translateY(20px) scale(.92); opacity: 0; } }
.wl-side { display: grid; align-content: start; justify-items: center; gap: 8px; padding-top: 6px; border-radius: 12px; background: rgba(255,255,255,.04); }
.wl-logo svg { width: 22px; height: 22px; }
.wl-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--text-2); animation: pop .4s var(--ease-out) both; animation-delay: calc(.35s + var(--k) * .09s); }
.wl-ic:first-of-type { background: rgba(255,61,46,.15); color: var(--accent-bright); }
.wl-ic .lucide { width: 15px; height: 15px; }
.wl-main { display: grid; align-content: start; gap: 8px; padding: 6px; }
.wl-bar { height: 12px; width: 60%; border-radius: 4px; background: rgba(255,255,255,.12); animation: grow .5s var(--ease-out) both; animation-delay: calc(.45s + var(--k) * .1s); transform-origin: left; }
.wl-bar.s { width: 38%; height: 8px; background: rgba(255,255,255,.07); }
.wl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.wl-grid i { aspect-ratio: 9 / 16; border-radius: 6px; background: linear-gradient(180deg, rgba(255,106,77,.35), rgba(255,61,46,.12)); animation: pop .45s var(--ease-out) both; animation-delay: calc(.5s + var(--k) * .1s); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } }
.wl-txt { display: grid; justify-items: center; gap: 6px; text-align: center; animation: fadeUp .5s .9s both; }
.wl-check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--money); color: var(--bg); margin-bottom: 6px; }
.wl-check .lucide { width: 22px; height: 22px; stroke-width: 3; }
.wl-txt b { font: 800 clamp(26px, 2vw + 18px, 36px)/1.1 var(--f-display); letter-spacing: -.03em; }
.wl-txt span:last-child { font-size: 16px; color: var(--text-2); }

/* coach qui « écrit » */
.coach .typing { display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 4px 18px 18px 18px; background: rgba(28,28,34,.85); border: 1px solid var(--line-2); }
.coach .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typeDot 1s infinite; }
.coach .typing i:nth-child(2) { animation-delay: .15s; } .coach .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typeDot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* cartes : onde au toucher, icône qui rebondit */
.opt, .ncard, .plan { overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.18); transform: scale(0); animation: ripple .55s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.opt[aria-checked="true"] .ico { animation: icoBounce .45s var(--ease-out); }
@keyframes icoBounce { 40% { transform: scale(1.18) rotate(-6deg); } }
/* bouton principal : il « respire » quand il devient disponible */
.f-cta .btn.ready { animation: ctaReady .7s var(--ease-out); }
@keyframes ctaReady { 0% { transform: scale(.98); } 45% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(255,61,46,.18), 0 8px 24px -8px rgba(255,61,46,.55); } 100% { transform: none; } }

/* résultats : apparition au scroll */
.rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .5s ease-out var(--d, 0ms), transform .5s var(--ease-out) var(--d, 0ms), filter .5s ease-out var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* vidéo reconnue : carte média animée */
.media-card { display: grid; grid-template-columns: 52px 1fr; gap: var(--s3); align-items: center; margin-top: var(--s3); padding: var(--s3); border-radius: 16px; animation: fadeUp .4s var(--ease-out) both; }
.media-card .mc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-grad); color: #fff; }
.media-card .mc-ic .lucide { width: 24px; height: 24px; }
.media-card b { display: block; font-size: 15px; }
.media-card small { display: block; font-size: 12.5px; color: var(--text-2); }
.mc-wave { display: flex; align-items: flex-end; gap: 2px; height: 18px; margin-top: 6px; }
.mc-wave i { flex: 1; border-radius: 1px; background: rgba(255,106,77,.75); animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -.07s); }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }

/* passage landing → questionnaire */
@media (prefers-reduced-motion: reduce) {
  .tray-dot, .mc-wave i, .coach .typing i { animation: none; }
  .rv { opacity: 1; transform: none; filter: none; }
}
/* le dégradé du haut couvre aussi la pastille « Ton studio » */
body.has-tray .f-top { padding-bottom: 56px; background: linear-gradient(180deg, rgba(7,7,10,.95) 0%, rgba(7,7,10,.85) 65%, rgba(7,7,10,0) 100%); }

/* phrase de l'essai placée sous les formules */
.plans-note { margin: var(--s3) auto 0; max-width: 420px; text-align: center; font-size: 14px; color: var(--text-2); }

/* Objectif atteignable (+13,36 %) */
.stretch { margin-top: var(--s4); padding: var(--s5); border-radius: 24px; position: relative; overflow: hidden; }

.st-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.st-k .lucide { width: 16px; height: 16px; color: var(--money); }
.st-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s2); }
.st-amt { font: 800 clamp(40px, 3vw + 24px, 60px)/1 var(--f-display); letter-spacing: -.04em; color: var(--money); }
.st-pct { font: 800 20px/1 var(--f-display); color: var(--bg); background: var(--money); padding: 6px 10px; border-radius: 10px; }
.st-txt { margin: var(--s3) 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); max-width: 640px; }
.st-txt b { color: var(--text); font-variant-numeric: tabular-nums; }
