
/* MARQUE: vert cuir #0d3a2c + or rose #efc3a8 du logo, surpiqûre en pointillés
   VOICE: énergique et rassurant, une appli de révision qu'on a envie d'ouvrir
   IDEA: une pile de cahiers colorés posée sur le tableau noir ; chaque matière = un cahier
   PICTURE: tête « tableau » avec anneau du compte à rebours ; cahiers-matières avec icônes dessinées
   COLOUR and TYPE: vert cuir et or rose du logo, couleur propre à chaque matière ; Outfit 800 + Inter
   LAYOUT: colonne d'appli 560px max, barre d'onglets à icônes, sections en cartes */
:root{color-scheme:light dark;--bg:light-dark(#f4f3ef,#0d0e11);--card:light-dark(#fff,#17191e);--soft:light-dark(#ecebe6,#20232a);--ink:light-dark(#121318,#f3f3f1);--mut:light-dark(#62666f,#a1a5ae);--line:light-dark(#e4e2dc,#272a31);--red:#0f4a37;--red2:#0a3a2b;--yel:#efc3a8;--board:#0d3a2c;--grn:#0d3a2c;--rg:#efc3a8;--rg2:#d99a7a;--leather:linear-gradient(rgba(10,52,39,.45),rgba(4,26,19,.7)),url(cuir.jpg) center/cover,#0d3a2c;--sh:0 1px 2px rgba(18,19,24,.06),0 8px 24px -12px rgba(18,19,24,.18)}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 Inter,system-ui,sans-serif;overflow-x:clip;-webkit-tap-highlight-color:transparent}
h1,h2,h3,.brand,.f{font-family:Outfit,Inter,sans-serif;line-height:1.08;margin:0;text-wrap:balance;letter-spacing:-.01em}
h1{font-size:clamp(32px,8vw,44px);font-weight:800}h2{font-size:22px;font-weight:700}h3{font-size:17px;font-weight:700}
button,input,select{font:inherit;font-size:16px;color:inherit}
svg.i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.shell{max-width:560px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative}
@media(min-width:700px){html{background:radial-gradient(circle at 1px 1px,light-dark(#d9d6ce,#22252c) 1px,transparent 0) 0 0/22px 22px,var(--bg)}.shell{box-shadow:0 0 0 1px var(--line),0 30px 80px -40px rgba(0,0,0,.35)}}
.btn{min-height:50px;border:0;border-radius:14px;padding:0 20px;font-weight:700;cursor:pointer;background:var(--red);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;box-shadow:0 6px 16px -8px var(--red)}
.btn:hover{background:var(--red2)}
.btn.alt{background:var(--card);color:var(--ink);border:1.5px solid var(--line);box-shadow:none}
.btn.yel{background:linear-gradient(135deg,#f8dccb,#d99a7a);color:#06231b;box-shadow:0 6px 18px -8px rgba(217,154,122,.7)}
.btn.full{width:100%}.btn.sm{min-height:40px;padding:0 14px;font-size:14px;border-radius:12px}
:focus-visible{outline:3px solid var(--yel);outline-offset:2px}
input,select{width:100%;min-height:52px;border:1.5px solid var(--line);border-radius:14px;padding:0 16px;background:var(--card)}
input:focus,select:focus{border-color:var(--ink);outline:none}
label{display:block;font-weight:600;font-size:14px;margin:16px 0 6px}
.err{color:var(--red);font-size:14px;min-height:20px;margin-top:8px;font-weight:500}
.pad{padding:0 20px}
/* tête */
.top{background:var(--leather);color:#fff;padding:18px 20px 22px;border-radius:0 0 28px 28px;position:relative;overflow:hidden}
.top::before,.ahero::before,.payc::before{content:"";position:absolute;inset:7px;border:1.5px dashed rgba(239,195,168,.4);border-radius:inherit;pointer-events:none}
.top::before{border-top:0;border-radius:0 0 22px 22px;top:0}
.top>*{position:relative;z-index:1}
.bar1{display:flex;justify-content:space-between;align-items:center}
.brand{font:700 19px/1.1 'Cormorant Garamond',Georgia,serif;letter-spacing:.08em;text-transform:uppercase;display:flex;align-items:center;gap:10px;color:var(--rg)}
.logo{width:42px;height:42px;border-radius:11px;border:1px solid rgba(239,195,168,.55);object-fit:cover;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.av{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#f8dccb,#d99a7a);color:#121318;font:800 15px Outfit,system-ui,sans-serif;display:grid;place-items:center;border:0;cursor:pointer}
.hi{margin-top:20px}.hi small{color:#cfe0d8;font-size:14px}.hi h1{font-size:28px;margin-top:4px}
.trial{margin-top:16px;display:flex;gap:14px;align-items:center;background:rgba(3,22,16,.45);border:1px solid rgba(239,195,168,.25);backdrop-filter:blur(4px);border-radius:18px;padding:12px 14px}
.ring{position:relative;width:60px;height:60px;flex:none}.ring svg{width:60px;height:60px;transform:rotate(-90deg)}
.ring b{position:absolute;inset:0;display:grid;place-items:center;font:800 15px Outfit,system-ui,sans-serif;color:var(--yel);text-align:center;line-height:1}
.trial .tx{flex:1;font-size:14px;color:#cfe0d8}.trial .tx strong{display:block;color:#fff;font:700 16px Outfit,system-ui,sans-serif}
.paid{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#f8dccb,#d99a7a);color:#06231b;font-weight:700;padding:7px 14px;border-radius:99px;font-size:14px;margin-top:16px}
main{padding:20px 0 120px}
.search{display:flex;align-items:center;gap:10px;background:var(--card);border:1.5px solid var(--line);border-radius:16px;padding:0 14px;color:var(--mut)}
.search input{border:0;padding:0;min-height:50px;background:none;color:var(--ink)}
.sec{margin-top:26px}.sh{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}.sh button{background:none;border:0;color:var(--red);font-weight:700;font-size:14px;cursor:pointer;min-height:40px}
.lv{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:16px -20px 0;padding:0 20px}
.chip{flex:none;min-height:38px;padding:0 16px;border-radius:99px;border:1.5px solid var(--line);background:var(--card);cursor:pointer;font-weight:600;font-size:14px}
.chip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nb{border:0;text-align:left;cursor:pointer;border-radius:20px;padding:16px 14px 14px 22px;min-height:168px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;box-shadow:var(--sh)}
.nb::before{content:"";position:absolute;left:0;top:0;bottom:0;width:10px;background:rgba(0,0,0,.18)}
.nb::after{content:"";position:absolute;left:10px;top:0;bottom:0;width:2px;background:repeating-linear-gradient(transparent 0 10px,rgba(255,255,255,.55) 10px 16px)}
.nb .ico{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.2);display:grid;place-items:center}
.nb .ico svg{width:26px;height:26px}
.nb .bgi{position:absolute;right:-18px;bottom:-18px;opacity:.16}.nb .bgi svg{width:110px;height:110px;stroke-width:1.4}
.nb h3{font-size:18px}.nb small{font-size:12.5px;opacity:.9;display:block;margin-top:4px}
.row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:0 20px 6px;scrollbar-width:none}
.short{flex:none;width:148px;aspect-ratio:9/15;border-radius:20px;scroll-snap-align:start;color:#fff;padding:14px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;cursor:pointer;border:0;text-align:left;position:relative;overflow:hidden;box-shadow:var(--sh)}
.short .bgi{position:absolute;right:-24px;top:30px;opacity:.18}.short .bgi svg{width:130px;height:130px;stroke-width:1.3}
.short b{font:700 15px/1.2 Outfit,system-ui,sans-serif;position:relative}.short span.s{font-size:12px;opacity:.85;position:relative}
.play{width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center;position:absolute;top:12px;left:12px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.play::after{content:"";border-left:12px solid #121318;border-top:7.5px solid transparent;border-bottom:7.5px solid transparent;margin-left:3px}
.tag{position:absolute;top:14px;right:12px;font-size:11px;font-weight:700;background:rgba(0,0,0,.45);padding:4px 8px;border-radius:99px}
.cont{flex:none;width:250px;scroll-snap-align:start;background:var(--card);border:1.5px solid var(--line);border-radius:18px;padding:12px;display:flex;gap:12px;align-items:center;cursor:pointer;text-align:left}
.item{display:flex;gap:14px;align-items:center;width:100%;text-align:left;background:var(--card);border:1.5px solid var(--line);border-radius:18px;padding:10px 12px 10px 10px;margin-bottom:10px;cursor:pointer}
.th{flex:none;width:86px;height:56px;border-radius:12px;display:grid;place-items:center;color:#fff;position:relative;overflow:hidden}
.th.v{width:44px;height:64px}.th.p{width:64px;height:56px}
.th .play{position:static;width:28px;height:28px}.th .play::after{border-left-width:9px;border-top-width:5.5px;border-bottom-width:5.5px;margin-left:2px}
.th .du{position:absolute;right:5px;bottom:4px;font-size:10px;font-weight:700;background:rgba(0,0,0,.55);padding:1px 5px;border-radius:5px}
.th.p::before{content:"";position:absolute;inset:10px 12px 18px;border:2px solid rgba(255,255,255,.85);border-radius:3px}
.th.p::after{content:"";position:absolute;left:30px;bottom:10px;width:4px;height:8px;background:rgba(255,255,255,.85)}
.item .t{flex:1}.item .t b{display:block;font-size:15px;line-height:1.3;font-weight:600}.item .t span{font-size:13px;color:var(--mut)}
.soon{color:var(--mut);font-size:12px;font-weight:600;background:var(--soft);padding:2px 8px;border-radius:99px;margin-left:4px}
.empty{padding:30px 20px;text-align:center;color:var(--mut);border:1.5px dashed var(--line);border-radius:18px}
/* page matière */
.subhd{color:#fff;padding:14px 20px 24px;border-radius:0 0 28px 28px;position:relative;overflow:hidden}
.subhd .bgi{position:absolute;right:-30px;bottom:-40px;opacity:.15}.subhd .bgi svg{width:200px;height:200px;stroke-width:1.2}
.subhd>*{position:relative}
.back{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.16);border:0;cursor:pointer;font-weight:600;min-height:40px;padding:0 14px 0 10px;border-radius:99px;color:inherit;font-size:14px}
.back.d{background:var(--soft)}
.subhd h1{margin-top:22px}
.stats{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.stats span{background:rgba(255,255,255,.18);padding:5px 12px;border-radius:99px;font-size:13px;font-weight:600}
.seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--soft);padding:4px;border-radius:16px;margin:20px 0 6px}
.seg button{border:0;background:none;min-height:42px;border-radius:12px;font-weight:600;font-size:14px;cursor:pointer;color:var(--mut)}
.seg button.on{background:var(--card);color:var(--ink);box-shadow:var(--sh)}
.chap{display:flex;align-items:center;gap:10px;font:700 15px Outfit,system-ui,sans-serif;margin:22px 0 10px}
.chap i{font-style:normal;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:13px;flex:none}
/* nav */
nav.bot{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),520px);background:light-dark(rgba(255,255,255,.92),rgba(23,25,30,.92));backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:22px;display:flex;z-index:5;box-shadow:0 12px 30px -12px rgba(0,0,0,.3);margin-bottom:env(safe-area-inset-bottom)}
nav.bot button{flex:1;background:none;border:0;color:var(--mut);min-height:62px;font-weight:600;font-size:11.5px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
nav.bot button.on{color:var(--red)}
/* auth */
.ahero{background:var(--leather);color:#fff;padding:0 20px;border-radius:0 0 32px 32px;overflow:hidden;position:relative}
.ahero>*{position:relative}.ahero::before{border-top:0;top:0;border-radius:0 0 26px 26px}
.banner{display:block;width:calc(100% + 40px);margin:0 -20px;aspect-ratio:16/8;object-fit:cover;object-position:center;-webkit-mask:linear-gradient(#000 75%,transparent);mask:linear-gradient(#000 75%,transparent)}
.ahero p{color:#cfe0d8;margin:10px 0 0}
.ahero h1{margin-top:0}
.ahero .art{display:block;width:100%;height:auto;margin-top:10px}
.perks{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.perks span{background:rgba(3,22,16,.4);border:1px solid rgba(239,195,168,.3);padding:6px 12px;border-radius:99px;font-size:13px;font-weight:500}
.perks span:first-child{background:linear-gradient(135deg,#f8dccb,#d99a7a);color:#06231b;border-color:transparent;font-weight:700}
.form{padding:24px 20px 48px}
.switch{margin-top:14px;text-align:center;font-size:15px;color:var(--mut)}.switch button{background:none;border:0;color:var(--red);font-weight:700;cursor:pointer;min-height:44px}
/* paiement */
.payc{background:var(--leather);color:#fff;border-radius:28px;padding:26px 22px;position:relative;overflow:hidden;margin-top:6px}
.payc>*{position:relative;z-index:1}
.price{font:700 96px/1 'Cormorant Garamond',Georgia,serif;color:var(--rg);margin:14px 0 0;letter-spacing:-.03em}.price sup{font-size:36px;vertical-align:top;margin-left:4px;color:var(--yel)}
.once{color:#cfe0d8;font-weight:500}
.ul{list-style:none;padding:0;margin:20px 0 22px}
.ul li{display:flex;gap:10px;align-items:flex-start;padding:8px 0;font-size:15px}
.ul li i{flex:none;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#f8dccb,#d99a7a);display:grid;place-items:center;margin-top:1px}
.ul li i::after{content:"";width:8px;height:4px;border-left:2.5px solid #121318;border-bottom:2.5px solid #121318;transform:rotate(-45deg) translate(1px,-1px)}
.note{font-size:13px;color:var(--mut);margin-top:12px;line-height:1.45}
.card{background:var(--card);border:1.5px solid var(--line);border-radius:20px;padding:18px;margin-bottom:12px}
.kv{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}.kv span{color:var(--mut)}.kv:last-child{border:0}
.me{display:flex;gap:14px;align-items:center;margin-bottom:18px}.me .av{width:60px;height:60px;font-size:22px;cursor:default}
/* feuille */
.sheet{position:fixed;inset:0;background:rgba(10,11,14,.6);display:none;align-items:flex-end;justify-content:center;z-index:10}
.sheet.on{display:flex}
.sheet>div{background:var(--card);width:100%;max-width:560px;border-radius:28px 28px 0 0;padding:10px 20px 28px;max-height:92vh;overflow:auto}
.grab{width:44px;height:5px;border-radius:9px;background:var(--line);margin:0 auto 16px}
.media{margin:16px 0;border-radius:20px;display:grid;place-items:center;color:#fff;position:relative;overflow:hidden}
.media .play{position:static;width:64px;height:64px}.media .play::after{border-left-width:20px;border-top-width:12px;border-bottom-width:12px;margin-left:5px}
.media .bgi{position:absolute;right:-20px;bottom:-30px;opacity:.15}.media .bgi svg{width:180px;height:180px;stroke-width:1.2}
.acts{display:flex;gap:8px}
.feed{height:calc(100vh - 190px);overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none}
.feed .short{width:100%;height:calc(100vh - 200px);aspect-ratio:auto;margin-bottom:12px;padding:22px}
.feed .short b{font:800 26px/1.12 Outfit,system-ui,sans-serif}.feed .short .s{font-size:14px}.feed .short .bgi svg{width:280px;height:280px}.feed .play{width:56px;height:56px;top:20px;left:20px}
.toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,20px);background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:14px;font-weight:600;font-size:14px;opacity:0;pointer-events:none;z-index:20;transition:.25s}
.toast.on{opacity:1;transform:translate(-50%,0)}
.demo{font-size:12px;color:var(--mut);text-align:center;margin-top:22px}
@media(prefers-reduced-motion:no-preference){.nb,.item,.short,.cont{transition:transform .15s}.nb:active,.item:active,.short:active,.cont:active{transform:scale(.97)}.sheet.on>div{animation:up .28s ease-out}@keyframes up{from{transform:translateY(40px);opacity:.4}}}
@media(prefers-reduced-motion:reduce){.toast{transition:none}}

/* ===== VERSION LUXE ===== */
:root{--bg:light-dark(#f7f3ec,#07130f);--card:light-dark(#fffdf9,#0f1f19);--soft:light-dark(#efe8dc,#16291f);--ink:light-dark(#10241c,#f3ebe2);--mut:light-dark(#6d6a60,#a9b5ad);--line:light-dark(#e7dccb,#21382d);--gold:light-dark(#b9805f,#efc3a8);--sh:0 1px 2px rgba(16,36,28,.05),0 14px 30px -18px rgba(16,36,28,.35)}
html{background:var(--bg)}
@media(min-width:700px){html{background:radial-gradient(circle at 1px 1px,light-dark(#e2d6c4,#15281f) 1px,transparent 0) 0 0/22px 22px,var(--bg)}}
h1,h2,.lux{font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;letter-spacing:0}
h1{font-size:clamp(34px,9vw,46px);line-height:1}h2{font-size:28px}
.hi h1{font-size:34px}
.sh{position:relative;padding-bottom:10px;margin-bottom:14px}
.sh::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:1px;background:linear-gradient(90deg,var(--gold),transparent)}
.sh::before{content:"";position:absolute;left:54px;bottom:-3px;width:7px;height:7px;transform:rotate(45deg);border:1px solid var(--gold);background:var(--bg)}
.btn{background:linear-gradient(180deg,#145a43,#0b3a2c);color:#f3d3bf;border:1px solid rgba(239,195,168,.45);box-shadow:0 10px 22px -12px rgba(11,58,44,.9),inset 0 1px 0 rgba(255,255,255,.08);letter-spacing:.02em}
.btn:hover{background:linear-gradient(180deg,#186a4f,#0d4434)}
.btn.alt{background:var(--card);color:var(--ink);border:1px solid var(--line);box-shadow:none}
.chip{border-width:1px}.chip.on{background:#0d3a2c;color:#f3d3bf;border-color:rgba(239,195,168,.5)}
.search{border-width:1px;border-color:var(--line)}.search:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px light-dark(rgba(185,128,95,.15),rgba(239,195,168,.12))}
input,select{border-width:1px}
.nb{border-radius:18px;min-height:178px;box-shadow:var(--sh)}
.nb::before{width:9px;background:rgba(0,0,0,.28)}
.nb::after{left:9px;width:1px;background:repeating-linear-gradient(transparent 0 7px,rgba(239,195,168,.8) 7px 12px)}
.nb>.edge{position:absolute;inset:6px 6px 6px 16px;border:1px dashed rgba(239,195,168,.45);border-radius:13px;pointer-events:none}
.nb .ico{background:rgba(0,0,0,.22);border:1px solid rgba(239,195,168,.55);color:#f3d3bf;border-radius:50%}
.nb .bgi{opacity:.1}
.nb h3{font:700 23px/1.05 'Cormorant Garamond',Georgia,serif;color:#fbe9dd}
.nb small{color:rgba(251,233,221,.8)}
.short{border-radius:18px}.short::after{content:"";position:absolute;inset:6px;border:1px dashed rgba(239,195,168,.4);border-radius:13px;pointer-events:none}
.short b{font:700 19px/1.1 'Cormorant Garamond',Georgia,serif;color:#fbe9dd}
.feed .short b{font:700 34px/1.05 'Cormorant Garamond',Georgia,serif}
.play{background:linear-gradient(135deg,#f8dccb,#d99a7a)}.play::after{border-left-color:#0b2e23}
.tag{background:rgba(0,0,0,.4);border:1px solid rgba(239,195,168,.4);color:#f3d3bf}
.item,.cont,.card{border-width:1px;box-shadow:var(--sh)}
.item:hover,.cont:hover{border-color:var(--gold)}
.th{box-shadow:inset 0 0 0 1px rgba(239,195,168,.35)}
.soon{background:transparent;border:1px solid var(--line);color:var(--gold)}
.chap{font:700 20px/1.1 'Cormorant Garamond',Georgia,serif}
.chap i{border-radius:50%;font:600 13px Inter,sans-serif;border:1px solid rgba(239,195,168,.6);color:#f3d3bf}
.seg{background:var(--soft);border:1px solid var(--line)}.seg button.on{background:#0d3a2c;color:#f3d3bf;box-shadow:none}
.subhd{box-shadow:0 18px 30px -24px rgba(0,0,0,.6)}
.subhd::before{content:"";position:absolute;inset:0 7px 7px;border:1px dashed rgba(239,195,168,.45);border-top:0;border-radius:0 0 22px 22px;pointer-events:none}
.subhd h1{color:#fbe9dd;font-size:44px}
.stats span{background:rgba(0,0,0,.22);border:1px solid rgba(239,195,168,.35);color:#f3d3bf}
.back{background:rgba(0,0,0,.25);border:1px solid rgba(239,195,168,.35);color:#f3d3bf}.back.d{background:var(--card);color:var(--ink);border-color:var(--line)}
nav.bot{background:var(--leather);border:1px solid rgba(239,195,168,.35);box-shadow:0 16px 34px -14px rgba(0,0,0,.6)}
nav.bot button{color:rgba(232,240,235,.6)}nav.bot button.on{color:#f3d3bf}
nav.bot button.on svg{filter:drop-shadow(0 0 6px rgba(239,195,168,.5))}
.media{box-shadow:inset 0 0 0 1px rgba(239,195,168,.35)}
.sheet>div{border-top:1px solid var(--gold)}
.toast{background:#0d3a2c;color:#f3d3bf;border:1px solid rgba(239,195,168,.4)}
.me .av{box-shadow:0 0 0 3px var(--bg),0 0 0 4px var(--gold)}
.form h2{font-size:32px}
.err{color:#b3261e}

/* ===== VERSION EN LIGNE ===== */
.check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#cfe0d8;margin:4px 0 14px;text-align:left;cursor:pointer}
.check input{width:22px;height:22px;min-height:0;flex:none;margin-top:1px;accent-color:#d99a7a}
.load{min-height:100vh;display:grid;place-items:center;background:var(--leather);color:var(--rg)}
.load img{width:96px;height:96px;border-radius:24px;border:1px solid rgba(239,195,168,.5);box-shadow:0 20px 40px -20px #000}
.load p{font:600 15px Inter,sans-serif;text-align:center;margin-top:14px}
.spin{width:22px;height:22px;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;display:inline-block}
@media(prefers-reduced-motion:no-preference){.spin{animation:r .8s linear infinite}@keyframes r{to{transform:rotate(360deg)}}}
.btn[disabled]{opacity:.65;cursor:wait}
.ok{color:#0f6b58;font-size:14px;min-height:20px;margin-top:8px;font-weight:600}
.stats3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:6px}
.stats3 div{background:var(--soft);border-radius:14px;padding:12px;text-align:center}.stats3 b{display:block;font:700 28px/1 'Cormorant Garamond',Georgia,serif}.stats3 span{font-size:12px;color:var(--mut)}

textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 16px;background:var(--card);font:inherit;font-size:16px;color:inherit;resize:vertical;min-height:110px}
textarea:focus{border-color:var(--ink);outline:none}
.ctc{display:flex;gap:14px;align-items:center;width:100%;margin-top:22px;text-align:left;cursor:pointer;border:1px solid rgba(239,195,168,.4);border-radius:18px;padding:14px 16px;background:var(--leather);color:#f3ebe2;box-shadow:var(--sh)}
.ctc .ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none;background:rgba(0,0,0,.25);border:1px solid rgba(239,195,168,.55);color:#f3d3bf}
.ctc b{display:block;font:700 21px/1.1 'Cormorant Garamond',Georgia,serif;color:#fbe9dd}.ctc span span{font-size:13px;color:#cfe0d8}
.ctc .go{font-size:26px;color:#f3d3bf}
.st{font-size:12px;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap;border:1px solid var(--line)}
.st.nouveau{color:#1f3f8f;background:light-dark(#e7f1fb,#16243d)}.st.cours{color:#a3561e;background:light-dark(#f9ece7,#3a2414)}.st.traite{color:#0f6b58;background:light-dark(#e5f4e4,#11291f)}
nav.bot button{font-size:11px}
.card h3{margin-bottom:6px}
/* Laisse la place au badge « Powered by Netlify » (offre gratuite) sur téléphone */
@media(max-width:700px){
 nav.bot{bottom:calc(64px + env(safe-area-inset-bottom))}
 main{padding-bottom:190px}
 .toast{bottom:150px}
 .sheet>div{padding-bottom:84px}
 .feed{height:calc(100vh - 260px)}.feed .short{height:calc(100vh - 270px)}
}

.ogrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(max-width:420px){.ogrid{grid-template-columns:1fr}}
.ocard{margin:0;position:relative;padding-top:44px}.ocard i{position:absolute;top:12px;left:16px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:600 13px Inter,sans-serif;font-style:normal;background:#0d3a2c;color:#f3d3bf;border:1px solid rgba(239,195,168,.6)}
.ocard h3{font:700 20px/1.1 'Cormorant Garamond',Georgia,serif}
.steps{margin:0;padding-left:22px}.steps li{margin:8px 0}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chips .chip{min-height:40px;white-space:normal;text-align:left}
.perks.pk span:first-child{background:rgba(3,22,16,.4);color:#fff;border-color:rgba(239,195,168,.3);font-weight:500}

.about-hero{display:flex;gap:16px;align-items:center;margin-top:6px}
.about-hero img{width:84px;height:84px;border-radius:22px;border:1px solid rgba(239,195,168,.55);box-shadow:0 10px 24px -12px #000;flex:none}
.medal{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none;background:#0d3a2c;color:#f3d3bf;border:1px solid rgba(239,195,168,.6)}
.chips .chip{max-width:100%;white-space:normal;height:auto;min-height:38px;padding:7px 14px;line-height:1.3;text-align:left}

.player{display:block;width:100%;margin:16px 0;border-radius:18px;background:#000;max-height:70vh;aspect-ratio:16/9}
.player.v{aspect-ratio:9/16;width:auto;max-width:100%;margin-inline:auto}

/* Bandeau promotion */
.promo{position:sticky;top:0;z-index:6;display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(90deg,#c8102e,#e5192f);color:#fff;box-shadow:0 6px 16px -8px rgba(200,16,46,.7)}
.promo-in{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.3}
.promo-in b{font:800 14px Inter,sans-serif;letter-spacing:.04em}
.promo-in s{opacity:.8}.promo-in strong{font-weight:800}
.promo-go{flex:none;border:0;border-radius:99px;background:#fff;color:#c8102e;font-weight:800;font-size:13px;min-height:38px;padding:0 14px;cursor:pointer}
.promo-tag{display:inline-block;margin-top:12px;background:#e5192f;color:#fff;font-weight:800;font-size:12.5px;letter-spacing:.03em;padding:5px 12px;border-radius:99px}
.price s.old{font-size:44px;color:rgba(251,233,221,.55);text-decoration-thickness:3px;margin-right:6px}
@media(prefers-reduced-motion:no-preference){.promo-go{animation:pulse 2.2s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.06)}}}

/* Bandeau promo défilant */
.promo{padding:0 10px 0 0;gap:0;min-height:48px}
.ticker{flex:1;overflow:hidden;align-self:stretch;display:flex;align-items:center;-webkit-mask:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent)}
.tk-track{display:flex;width:max-content;animation:tk 32s linear infinite}
.tk-item{white-space:nowrap;font-size:14px;padding-right:28px}
.tk-item b{font:800 14px Inter,sans-serif;letter-spacing:.05em;margin-right:6px}
.tk-item s{opacity:.8;margin-right:4px}.tk-item i{font-style:normal;color:#ffd6dc;margin:0 10px}
.promo:hover .tk-track{animation-play-state:paused}
@keyframes tk{to{transform:translateX(-50%)}}
.promo-go{margin-left:8px;box-shadow:-14px 0 14px -6px #d0142c}
@media(prefers-reduced-motion:reduce){.tk-track{animation:none}.ticker{overflow-x:auto}}
.tk-item{flex:none}
.tk-track{flex:none}

.pi{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.th .play{position:relative;z-index:1}
.short .play{z-index:1}
.short.hp .s,.short.hp b,.short.hp .bgi{display:none}
.th.hp .play{display:none}
