:root{--ink:#17171C;--sub:#6B7080;--line:#E8EAEE;--soft:#F4F5F7;--red:#C4302B;--disp:Unbounded,Figtree,system-ui,sans-serif;--sans:Figtree,system-ui,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;overflow-x:clip}
body{background:#fff;color:var(--ink);font:400 17px/1.45 var(--sans);-webkit-font-smoothing:antialiased;min-height:100svh;display:flex;flex-direction:column}
button{appearance:none;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
img,canvas{display:block}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}

.top{display:flex;justify-content:center;padding:calc(env(safe-area-inset-top,0px) + 18px) 20px 0}
.logo{height:24px;aspect-ratio:427/148;color:var(--ink)}
.logo svg{width:100%;height:100%;display:block}

.solo{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(14px,3.4vh,34px);padding:24px 20px;text-align:center}
h1{font:700 clamp(34px,10vw,92px)/1.02 var(--disp);letter-spacing:-.045em;max-width:11em;text-wrap:balance}
.lead{font-size:clamp(17px,2.2vw,21px);color:var(--sub);max-width:30em;margin-top:calc(clamp(14px,3.4vh,34px) * -.55);text-wrap:balance}
#mascot{touch-action:manipulation;cursor:pointer}
.seats{font-size:15px;color:var(--ink);font-weight:500;max-width:26em;text-wrap:balance;margin-top:4px}
.seats b{font-weight:800;font-variant-numeric:tabular-nums}
.tag{display:inline-block;padding:4px 11px;border-radius:13px;font-weight:700;font-size:13px;color:var(--ink);background:url(foil/foil-oil.webp) center/cover;rotate:-2deg;margin-right:4px}
.act{display:flex;flex-direction:column;align-items:center;gap:12px}
.talk{display:flex;align-items:center;justify-content:center;gap:10px;height:62px;min-width:250px;padding:0 28px;border-radius:31px;background:var(--ink);color:#fff;font:600 18px var(--sans);font-variant-numeric:tabular-nums;transition:transform .15s,background .2s}
.talk:active{transform:scale(.97)}
.talk .ico{display:grid;place-items:center}
/* en enregistrement : un rouge doux et lumineux, plus profond au centre, dans un grand halo rose qui respire */
.talk.on{background:radial-gradient(ellipse 70% 120% at 50% 55%,#E0302C 0%,#EC4E45 38%,#F5877C 78%,#F9A79E 100%);animation:halo 2s ease-in-out infinite}
@keyframes halo{0%,100%{box-shadow:0 0 18px 6px rgba(244,122,110,.42),0 0 54px 26px rgba(250,182,176,.34),0 0 110px 54px rgba(252,214,210,.28)}50%{box-shadow:0 0 24px 9px rgba(244,122,110,.5),0 0 70px 34px rgba(250,182,176,.4),0 0 140px 70px rgba(252,214,210,.32)}}
.hint{font-size:15px;color:var(--sub);min-height:22px;max-width:30em;text-wrap:balance}
.hint.warn{color:var(--ink);font-weight:600;font-size:16px;animation:nudge .45s ease}
@keyframes nudge{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.talk[disabled]{opacity:.85;cursor:default}
.foot{padding:0 20px calc(env(safe-area-inset-bottom,0px) + 18px);text-align:center;font-size:13px;color:var(--sub)}

/* cases à cocher (accord dans le fil) */
.chips input,.ok input{position:absolute;opacity:0;width:0;height:0}
.chips input:focus-visible+span,.ok input:focus-visible+span::before{outline:2px solid var(--ink);outline-offset:2px}
.hp{position:absolute;left:-9999px}
.ok{display:block;position:relative;margin-top:16px;font-size:14px;line-height:1.35;color:var(--sub);cursor:pointer}
.ok span{display:block;padding-left:34px;min-height:24px}
.ok span::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;border:1.5px solid #B9BDC8;border-radius:7px}
.ok input:checked+span::before{background:var(--ink) 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='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/18px no-repeat;border-color:var(--ink)}
.cta{display:flex;align-items:center;justify-content:center;width:100%;height:58px;border-radius:29px;background:var(--ink);color:#fff;font:600 18px var(--sans)}
.cta[disabled]{opacity:.5}

/* après l'inscription */
.more-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:23px;background:var(--soft);color:var(--ink);font-weight:600;font-size:15px;text-decoration:none;margin-top:4px}
.after{border-top:1px solid var(--line)}
.after section{max-width:1100px;margin:auto;padding:72px 20px}
.after h2{font:700 clamp(28px,6.4vw,56px)/1.06 var(--disp);letter-spacing:-.045em;max-width:14em}
.eyebrow{font-weight:600;font-size:15px;color:var(--sub);margin-bottom:12px}
.steps ol{list-style:none;display:grid;gap:34px;margin-top:40px}
.steps canvas{margin-bottom:10px}
.steps h3{font:700 21px/1.2 var(--sans);letter-spacing:-.015em;margin-bottom:5px}
.steps p,.trust li{color:var(--sub)}
.steps p{max-width:24em}
.after section.for{background:var(--soft);max-width:none;padding-inline:max(20px,calc((100% - 1060px)/2))}
.cards{display:grid;gap:12px;margin-top:34px}
.card{background:#fff;border-radius:24px;padding:24px 22px 26px;display:grid;gap:6px}
.card b{font:700 24px/1.1 var(--disp);letter-spacing:-.04em}
.card span{color:var(--sub)}
.card.dark{background:var(--ink);color:#fff}.card.dark span{color:#C9CCD4}
.trust ul{list-style:none;display:grid;gap:14px;margin-top:30px;max-width:36em;font-size:18px}
.trust b{color:var(--ink);font-weight:700}
.end{text-align:center}
.end .tag{margin:0 0 16px}
.end h2{margin:0 auto 10px}
.end p{color:var(--sub);max-width:34em;margin-inline:auto}
.end .fine-print{font-size:13px;margin-top:10px}
@media (min-width:860px){
  .after section{padding:110px 40px}
  .after section.for{padding-inline:max(40px,calc((100% - 1060px)/2))}
  .steps ol{grid-template-columns:repeat(3,1fr);gap:40px}
  .cards{grid-template-columns:repeat(3,1fr);gap:16px}
}

/* l'entrée dans la discussion : le titre s'efface */
#hero{transition:opacity .45s ease,transform .5s cubic-bezier(.4,0,.2,1)}
.leaving #hero{opacity:0;transform:translateY(-36px) scale(.98)}
.leaving .top{opacity:0;transition:opacity .4s}
.chatting .top{display:none}
.chatting .foot{display:none}

/* le fil de discussion */
.chat{max-width:620px;margin:0 auto;min-height:100svh;display:flex;flex-direction:column;animation:chatIn .5s cubic-bezier(.2,.9,.25,1) both}
@keyframes chatIn{from{opacity:0;transform:translateY(20px)}}
.chat-head{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 10px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.chat-head canvas{flex:none}
.chat-head .who{flex:1;display:grid;line-height:1.15}
.chat-head b{font:700 17px var(--disp);letter-spacing:-.04em}
.chat-head small{color:var(--sub);font-size:13px}
.mute{width:42px;height:42px;border-radius:50%;background:var(--soft);display:grid;place-items:center}
.thread{flex:1;display:flex;flex-direction:column;gap:10px;padding:22px 16px 18px}
.msg{max-width:84%;animation:pop .35s cubic-bezier(.2,.9,.25,1) both}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}}
.msg.lia{align-self:flex-start;background:var(--soft);border-radius:22px 22px 22px 6px;padding:10px 14px 12px}
.msg.me{align-self:flex-end;background:var(--ink);color:#fff;border-radius:22px 22px 6px 22px;padding:11px 15px}
.msg p{font-size:16.5px;line-height:1.38}
.msg.typing{display:flex;gap:5px;padding:14px 16px}
.msg.typing i{width:7px;height:7px;border-radius:50%;background:#A6ABB8;animation:dot 1s infinite}
.msg.typing i:nth-child(2){animation-delay:.15s}.msg.typing i:nth-child(3){animation-delay:.3s}
@keyframes dot{30%{transform:translateY(-4px);opacity:.5}}
.vb{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.vb .pp{width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;flex:none}
.vb.mine{margin:0}.vb.mine .pp{background:#fff;color:var(--ink)}
.vb small{font-size:13px;opacity:.75;font-variant-numeric:tabular-nums}
.wave{display:flex;align-items:center;gap:2.5px;height:26px}
.wave i{width:3px;height:calc(var(--h)*26px);border-radius:2px;background:#C3C7D1;transition:background .2s}
.wave i.on{background:#F06A5C}
.vb.mine .wave i{background:rgba(255,255,255,.55)}
.tx span{opacity:.0;transition:opacity .25s}
.tx span.on{opacity:1}
.composer{position:sticky;bottom:0;z-index:10;padding:12px 16px calc(env(safe-area-inset-bottom,0px) + 14px);background:linear-gradient(transparent,#fff 26%);min-height:24px}
.qchips{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.qchips button{height:46px;padding:0 18px;border-radius:23px;background:#fff;border:1.5px solid var(--ink);font-weight:600;font-size:15.5px;animation:pop .35s both}
.qchips button:active{background:var(--ink);color:#fff}
.field-row{display:flex;gap:8px;align-items:flex-end;background:#fff;border:1.5px solid var(--line);border-radius:26px;padding:6px 6px 6px 18px}
.field-row:focus-within{border-color:var(--ink)}
.field-row input,.field-row textarea{flex:1;border:0;outline:0;font:500 16.5px var(--sans);color:var(--ink);background:none;min-height:40px;resize:none;padding:9px 0}
.field-row .send{width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;flex:none}
.field-row .send[disabled]{opacity:.3}
.under-row{display:flex;align-items:center;gap:12px;margin-top:6px}
.cerr{font-size:14px;color:var(--sub);text-align:center;min-height:18px;margin-top:6px}
.under-row .cerr{margin:0;text-align:left}
.cerr.warn{color:var(--ink);font-weight:600;animation:nudge .45s ease}
.recrow{display:flex;align-items:center;justify-content:center;gap:14px}
.recrow .talk{min-width:220px}
.lk{font-weight:600;font-size:15px;color:var(--sub);text-decoration:underline;text-underline-offset:3px}
.consent{background:#fff;border:1.5px solid var(--line);border-radius:22px;padding:4px 16px 14px}
.consent .cta{height:52px;font-size:16px;margin-top:4px}
.composer .cta{text-decoration:none}

@media (min-width:860px){
  .logo{height:28px}
  .top{padding-top:28px}
  dialog{margin:auto;width:470px;border-radius:28px;padding:32px 30px 28px}
}
@media (prefers-reduced-motion:reduce){dialog[open]{animation:none}.talk.on{animation:none}}
