@import url('/css/fonts.css');

/* Tokens centralisés dans theme.css (clair/sombre). La landing suit le thème global. */
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{scroll-behavior:smooth;}
html.auth-locked .app{filter:blur(6px);pointer-events:none;}
body{background:var(--bg);color:var(--text);font-family:var(--font-body,'Source Sans 3',system-ui,sans-serif);line-height:1.55;}
h1,h2,h3{font-family:var(--font-display,'Oswald',sans-serif);font-weight:700;line-height:1.05;letter-spacing:.005em;text-transform:uppercase;}
img{max-width:100%;display:block;}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
a{color:inherit;}

/* ---- Logo ---- */
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.logo svg{width:34px;height:34px;flex-shrink:0;}
.logo .word{font-family:'Oswald',sans-serif;font-size:16px;letter-spacing:.01em;color:var(--ink);}

/* ---- Nav ---- */
.nav{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--border);padding-top:env(safe-area-inset-top,0px);}
section[id]{scroll-margin-top:70px;}
.nav-inner{max-width:1080px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;}
.nav-links{display:none;gap:28px;font-size:13px;font-weight:600;}
.nav-links a{text-decoration:none;}
.nav-links a:hover{color:var(--flag);}
@media(min-width:760px){.nav-links{display:flex;}}

/* ---- Hamburger (mobile uniquement) ---- */
.nav-burger{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:40px;height:40px;border:1px solid var(--border);background:var(--surface);border-radius:11px;cursor:pointer;padding:0;margin-left:8px;flex-shrink:0;}
.nav-burger span{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s;}
.nav.open .nav-burger span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.nav.open .nav-burger span:nth-child(2){opacity:0;}
.nav.open .nav-burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
@media(min-width:760px){.nav-burger{display:none;}}
@media(max-width:759px){
  .nav.open .nav-links{display:flex;flex-direction:column;gap:0;position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);padding:4px 24px 14px;box-shadow:0 14px 30px rgba(0,0,0,.25);}
  .nav.open .nav-links a{padding:13px 2px;border-bottom:1px solid var(--border);font-size:15px;}
  .nav.open .nav-links a:last-child{border-bottom:none;}
}
.btn{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:14px;padding:11px 20px;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;box-shadow:0 2px 8px rgba(20,23,28,.07);transition:transform .08s,box-shadow .08s,background .15s;}
.btn:hover{box-shadow:0 6px 18px rgba(20,23,28,.12);}
.btn:active{transform:scale(.97);box-shadow:0 1px 4px rgba(20,23,28,.1);}
.btn-primary{background:var(--flag);color:#fff;border-color:var(--flag);box-shadow:0 6px 18px rgba(255,90,31,.28);}
.btn-primary:hover{box-shadow:0 10px 26px rgba(255,90,31,.36);}
.btn-dark{background:#15171c;color:#fff;border-color:#15171c;}
.btn-block{width:100%;text-align:center;}
.btn-sm{padding:8px 15px;font-size:12px;box-shadow:0 2px 8px rgba(20,23,28,.07);}

/* ---- Hero (thème clair) ---- */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,var(--bg) 100%);border-bottom:1px solid var(--border);}
.hero::before{content:"";position:absolute;top:-160px;right:-120px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,90,31,.14),transparent 68%);pointer-events:none;z-index:0;}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:64px 0 0;gap:56px;position:relative;z-index:2;}
.hero-content{padding-bottom:64px;}
@media(max-width:860px){.hero-inner{grid-template-columns:1fr;padding:44px 0 0;gap:28px;}.hero-content{padding-bottom:0;}}
.hero-eyebrow{font-family:'Oswald',sans-serif;font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--flag);margin:0 0 16px;text-transform:uppercase;}
.hero h1{font-size:clamp(34px,4.8vw,58px);margin:0 0 18px;color:var(--ink);line-height:1.04;}
.hero h1 .accent{color:var(--flag);}
.hero-sub{font-size:16px;color:var(--muted);max-width:440px;margin:0 0 28px;line-height:1.55;}
.hero-ctas{display:flex;gap:12px;align-items:center;margin-bottom:30px;flex-wrap:wrap;}
.btn-outline{background:var(--surface);border-color:var(--border);color:var(--ink);}
.btn-outline:hover{background:var(--surface-2);}
.btn-arrow{display:inline-flex;align-items:center;gap:8px;}
.hero-points{display:flex;flex-direction:column;gap:11px;}
.hero-points span{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--text);}
.hero-points svg{flex-shrink:0;color:var(--flag);}

/* ---- Téléphone sur trépied (visuel hero, image unique collée en bas) ---- */
.hero-mock-col{display:flex;justify-content:center;align-items:flex-end;align-self:end;}
.hero-rig{width:100%;max-width:540px;height:auto;display:block;margin:0;}
@media(max-width:860px){.hero-mock-col{align-self:auto;}.hero-rig{max-width:320px;}}

/* ---- Feature band ---- */
.feature-band{background:var(--surface);border-bottom:1px solid var(--border);}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);}
@media(max-width:760px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
.feature-item{padding:30px 26px;border-right:1px solid var(--border);color:var(--text);}
@media(max-width:760px){.feature-item:nth-child(2){border-right:none;}.feature-item:nth-child(1),.feature-item:nth-child(2){border-bottom:1px solid var(--border);}}
.feature-item:last-child{border-right:none;}
.feature-num{font-family:'Oswald',sans-serif;font-size:10px;color:var(--flag);letter-spacing:.1em;margin-bottom:12px;}
.feature-item svg{margin-bottom:12px;color:var(--flag);}
.feature-item h3{font-size:16px;margin:0 0 7px;color:var(--ink);font-weight:700;}
.feature-item p{font-size:14px;color:var(--muted);margin:0;line-height:1.55;}

/* ---- Launch icon ---- */
.launch-icon{display:flex;align-items:center;justify-content:center;}

/* ---- Section scaffolding ---- */
/* Scopé à body.landing : landing.css est AUSSI chargé par app.html, et cette règle générique
   « section » bavait sur les <section class="vr-view"> de la Video Room (marge énorme). */
body.landing section{padding:32px 0;}
@media(max-width:760px){body.landing section{padding:26px 0;}}
.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:var(--flag);font-weight:800;margin:0 0 14px;}
.section-head{margin-bottom:34px;}
.section-head .eyebrow:last-child{margin-bottom:0;}
.section-head h2{font-size:34px;margin:0;}
.section-head.center{text-align:center;}

body.landing section.problem,body.landing section.launch{padding:52px 0;}
.problem{background:var(--surface-2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.problem-grid{display:grid;grid-template-columns:1fr;gap:32px;align-items:center;}
@media(min-width:760px){.problem-grid{grid-template-columns:1fr 1fr;}}
.problem-list{list-style:none;margin:0;padding:0;}
.problem-list li{display:flex;gap:10px;align-items:flex-start;font-size:16px;margin-bottom:12px;}
.problem-list .x{color:var(--flag);font-weight:800;}
.problem-shot{background:#1a1a18;border-radius:14px;padding:18px;box-shadow:0 8px 24px rgba(0,0,0,.45);}
.problem-shot .row{display:flex;justify-content:space-between;color:#cfcbbd;font-size:11px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.08);}
.problem h2{margin:10px 0 44px;font-size:32px;}
.compare-grid{display:grid;grid-template-columns:1fr;gap:24px;max-width:760px;margin:0 auto;}
@media(min-width:680px){.compare-grid{grid-template-columns:1fr 1fr;}}
.compare-col{border:1px solid var(--border);border-radius:14px;padding:26px;background:var(--surface);}
.compare-col.nous{background:#15171c;border-color:#15171c;box-shadow:5px 5px 0 var(--flag);}
.compare-head{font-family:'Oswald',sans-serif;font-size:18px;margin-bottom:16px;text-align:center;letter-spacing:.04em;}
.compare-col.nous .compare-head{color:#fff;}
.compare-col.nous .problem-list li{color:#fff;}
.problem-list .check{color:#3ab06b;font-weight:800;}
.compare-col.nous .problem-list .check{color:var(--flag);}

.solution-icons{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;text-align:center;}
@media(min-width:680px){.solution-icons{grid-template-columns:repeat(5,1fr);}}
.solution-icons>div{padding:20px 12px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 8px 22px rgba(20,23,28,.05);}
.solution-icons .ic{font-size:26px;margin-bottom:12px;color:var(--flag);display:flex;justify-content:center;}
.solution-icons p{font-size:14px;font-weight:700;margin:0;}
.solution-note{text-align:center;font-size:16px;color:var(--muted);margin-top:26px;}

.steps{display:grid;grid-template-columns:1fr;gap:20px;}
@media(min-width:760px){.steps{grid-template-columns:repeat(4,1fr);}}
.step-card{position:relative;border:1px solid var(--border);border-radius:18px;padding:24px 22px;background:var(--surface);box-shadow:0 8px 22px rgba(20,23,28,.06);}
.step-card.active{background:var(--soft);border-color:var(--flag);box-shadow:0 12px 30px rgba(255,90,31,.16);}
.step-ill{height:110px;border-radius:14px;background:linear-gradient(160deg,var(--surface-2),var(--surface));display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:var(--flag);}
.step-card.active .step-ill{background:rgba(255,90,31,.08);}
.step-ill svg{width:64px;height:64px;}
.step-num{position:absolute;top:16px;right:16px;width:26px;height:26px;border-radius:50%;background:var(--flag);color:#fff;font-family:'Oswald',sans-serif;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;}
.step-card h3{font-size:17px;margin:0 0 8px;}
.step-card p{font-size:14px;color:var(--muted);margin:0 0 12px;}
.step-pills{display:flex;gap:5px;}
.step-pills span{flex:1;border:1px solid var(--border);border-radius:12px;font-size:8px;text-align:center;padding:5px 0;font-weight:700;background:var(--surface);}

.why-grid{display:grid;grid-template-columns:1fr;gap:28px;}
@media(min-width:680px){.why-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:960px){.why-grid{grid-template-columns:repeat(5,1fr);}}
.why-item{text-align:center;}
.why-item .ic{width:56px;height:56px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:20px;background:var(--surface);color:var(--flag);box-shadow:0 8px 22px rgba(20,23,28,.05);}
.why-item h3{font-size:16px;margin:0 0 8px;}
.why-item p{font-size:14px;color:var(--muted);margin:0;}

.sports-band{background:#15171c;color:#fff;padding:60px 0;}
.sports-head{text-align:center;margin-bottom:36px;}
.sports-head h2{color:#fff;margin-top:6px;}
.sports-row{display:flex;flex-wrap:wrap;justify-content:center;gap:34px;}
.sports-row .sp{text-align:center;font-size:13px;font-weight:700;opacity:.9;}
.sports-row .sp .ic{font-size:22px;margin-bottom:6px;}

.impact{display:grid;grid-template-columns:1fr;gap:48px;align-items:center;}
@media(min-width:760px){.impact{grid-template-columns:1fr 1fr;}}
.impact-vid{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--border);box-shadow:0 14px 34px rgba(20,23,28,.12);aspect-ratio:216/121;background:linear-gradient(160deg,#3a4a2c,#101c0a);}
.impact-vid .tag{position:absolute;bottom:10px;left:10px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;padding:6px 10px;border-radius:14px;}
.impact-vid .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;color:#fff;}
.impact-vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.impact p{font-size:16px;margin:0 0 12px;}

/* ---- Pricing ---- */
.pricing-grid{display:grid;grid-template-columns:1fr;gap:18px;}
@media(min-width:760px){.pricing-grid{grid-template-columns:repeat(3,1fr);}}
.price-card{border:1px solid var(--border);border-radius:16px;padding:26px;background:var(--surface);box-shadow:0 8px 22px rgba(20,23,28,.06);display:flex;flex-direction:column;}
.price-card.popular{background:#15171c;color:#fff;}
.price-card.popular .muted{color:#bdb9ad;}
.price-card .plan{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--flag);margin-bottom:10px;}
.price-card .amount{font-family:'Oswald',sans-serif;font-size:32px;margin-bottom:4px;}
.price-card .amount span{font-size:13px;font-weight:400;font-family:'Oswald',sans-serif;}
.price-card .muted{color:var(--muted);font-size:12px;margin-bottom:18px;}
.price-card ul{list-style:none;padding:0;margin:0 0 22px;flex:1;}
.price-card li{font-size:15px;margin-bottom:10px;padding-left:20px;position:relative;}
.price-card li::before{content:"✓";position:absolute;left:0;color:var(--flag);font-weight:800;}
.price-note{text-align:center;font-size:12px;color:var(--muted);margin-top:24px;}
.club-per{font-size:12px;color:var(--muted);margin:0 0 16px;}
.li-note{color:var(--flag);font-weight:700;}
/* Le prix (nombre) doit rester GROS comme le reste de .amount, pas hériter du petit .amount span ;
   min-width fixe = « CHF » ne bouge pas quand on passe de 19 a 190 (mois/annee). */
.price-card .amount #teamPrice,.price-card .amount #clubPrice{font:inherit;display:inline-block;text-align:left;}
.price-card .amount #teamPrice{min-width:3ch;}
.price-card .amount #clubPrice{min-width:4ch;}
.club-slider{margin:2px 0 14px;}
.club-slider input[type=range]{width:100%;-webkit-appearance:none;appearance:none;height:6px;border-radius:100px;background:var(--surface-2,#e9e6df);outline:none;}
.club-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:var(--flag);cursor:pointer;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.28);}
.club-slider input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--flag);cursor:pointer;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.28);}
.club-scale{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:7px;}
.price-toggle{display:inline-flex;gap:4px;margin:0 auto 26px;padding:4px;background:var(--surface-2,#eee);border-radius:100px;position:relative;left:50%;transform:translateX(-50%);}
.pt-btn{border:none;background:none;font:inherit;font-weight:700;font-size:14px;color:var(--muted);padding:9px 18px;border-radius:100px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;}
.pt-btn.on{background:var(--surface);color:var(--text);box-shadow:0 2px 8px rgba(20,23,28,.1);}
.pt-save{font-size:11px;font-weight:800;color:var(--flag);background:var(--soft);padding:2px 7px;border-radius:100px;}

/* ---- Trust band (Swiss / Infomaniak / nLPD) ---- */
.trust-band{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:60px 0;}
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;}
@media(min-width:680px){.trust-grid{grid-template-columns:repeat(4,1fr);}}
.trust-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;}
.trust-ic{width:50px;height:50px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface);flex-shrink:0;}
.trust-ic svg{width:22px;height:22px;stroke:var(--flag);}
.trust-item strong{font-family:'Oswald',sans-serif;font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;}
.trust-item span{font-size:13px;color:var(--muted);line-height:1.45;}

/* hCaptcha widget alignement dans le formulaire */
.h-captcha{margin:4px 0 8px;}

.launch{background:var(--surface-2);border-top:1px solid var(--border);}
.launch-grid{display:grid;grid-template-columns:1fr;gap:56px;align-items:start;}
@media(min-width:760px){.launch-grid{grid-template-columns:1fr 1fr;}}
.launch ul{list-style:none;padding:0;margin:14px 0 10px;}
.launch li{font-size:15px;margin-bottom:10px;padding-left:22px;position:relative;}
.launch li::before{content:"✓";position:absolute;left:0;color:var(--flag);font-weight:800;}
.launch-form{display:flex;flex-direction:column;gap:12px;}
.launch-form .field{margin-bottom:0;}
.launch-form .btn-block{margin-top:4px;}
.launch-form-note{font-size:13px;margin:0 0 8px;min-height:20px;}

/* ---- FAQ ---- */
.faq-list{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:8px;}
.faq-item{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden;}
.faq-item summary{padding:20px 24px;cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;user-select:none;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:22px;color:var(--flag);flex-shrink:0;font-weight:300;line-height:1;transition:transform .2s;}
.faq-item[open]>summary::after{transform:rotate(45deg);}
.faq-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease;}
.faq-item[open] .faq-body{grid-template-rows:1fr;}
.faq-body-in{overflow:hidden;}
.faq-body-in p{margin:0;padding:0 24px 24px;font-size:16px;color:var(--muted);line-height:1.65;}

footer{background:#15171c;color:#fff;padding:40px 0 24px;}
.footer-grid{display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:24px;}
@media(min-width:680px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;}}
footer h4{font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 12px;color:#bdb9ad;}
footer ul{list-style:none;padding:0;margin:0;font-size:13px;}
footer li{margin-bottom:7px;opacity:.85;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:18px;font-size:11px;opacity:.6;text-align:center;}

/* ---- Shop ---- */
.shop-grid{display:grid;grid-template-columns:1fr;gap:22px;}
@media(min-width:680px){.shop-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:980px){.shop-grid{grid-template-columns:repeat(3,1fr);}}
.product-card{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden;box-shadow:0 8px 22px rgba(20,23,28,.06);display:flex;flex-direction:column;}
.product-shot{aspect-ratio:4/3;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-size:48px;border-bottom:1px solid var(--border);}
.product-shot-img{aspect-ratio:4/3;width:100%;object-fit:cover;display:block;border-bottom:1px solid var(--border);}
.product-body{padding:16px;display:flex;flex-direction:column;flex:1;}
.product-card h3{font-size:14px;margin:0 0 6px;}
.product-card p{font-size:12px;color:var(--muted);margin:0 0 14px;flex:1;}
.product-price{font-family:'Oswald',sans-serif;font-size:16px;margin-bottom:12px;}
.badge-note{display:inline-block;font-size:10px;font-weight:800;background:var(--amber);color:#fff;padding:3px 8px;border-radius:12px;margin-bottom:10px;}
.compat-note{font-size:11px;color:var(--muted);border-top:1px dashed var(--border);padding-top:10px;margin-top:auto;}

/* ---- Auth ---- */
.account-area{display:flex;align-items:center;gap:10px;}
.account-pill{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:16px;padding:6px 12px;background:var(--surface);font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 2px 8px rgba(20,23,28,.07);}
.account-pill .avatar{width:22px;height:22px;border-radius:50%;background:var(--flag);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;}
.account-menu{position:relative;}
.account-dropdown{display:none;position:absolute;top:calc(100% + 8px);right:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 8px 22px rgba(20,23,28,.06);min-width:180px;padding:8px;z-index:60;}
.account-dropdown.open{display:block;}
.account-dropdown .team-line{font-size:11px;color:var(--muted);padding:6px 8px;border-bottom:1px dashed var(--border);margin-bottom:6px;}
.account-dropdown button,.account-dropdown a{display:block;width:100%;text-align:left;background:none;border:none;padding:8px;font-size:13px;font-weight:600;cursor:pointer;border-radius:12px;color:var(--text);text-decoration:none;}
.account-dropdown button:hover,.account-dropdown a:hover{background:var(--surface-2);}

/* Le modal de connexion s'affiche aussi bien sur le site que dans l'app : on lui donne un style
   propre (coins doux, ombre légère) qui ne dépend pas du thème "cartoon" du reste de cette page,
   pour qu'il soit identique partout où il apparaît. */
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(21,19,15,.55);z-index:100;align-items:center;justify-content:center;padding:20px;}
.modal-overlay.open{display:flex;}
.modal-box{background:var(--surface);border:1px solid var(--border);border-radius:20px;box-shadow:0 12px 32px rgba(0,0,0,.45);max-width:380px;width:100%;padding:26px;position:relative;max-height:90vh;overflow-y:auto;}
.modal-box .btn{border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 14px var(--border);}
.modal-box .btn:active{transform:scale(.97);box-shadow:0 1px 4px rgba(0,0,0,.4);}
/* Case de consentement (RGPD/nLPD) sous les champs d'inscription. */
.modal-box .consent-line{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--muted);line-height:1.35;margin:2px 0 12px;cursor:pointer;}
.modal-box .consent-line input{flex:0 0 auto;width:16px;height:16px;margin-top:1px;accent-color:var(--flag);}
.modal-box .consent-line a{color:var(--flag);font-weight:600;text-decoration:underline;}
.modal-close{position:absolute;top:14px;right:14px;background:none;border:none;font-size:18px;cursor:pointer;color:var(--muted);}
.modal-tabs{display:flex;gap:6px;margin-bottom:18px;border-bottom:1px solid var(--border);}
.modal-tab{flex:1;background:none;border:none;padding:10px 4px;font-size:12px;font-weight:700;cursor:pointer;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-2px;}
.modal-tab.active{color:var(--ink);border-bottom-color:var(--flag);}
.modal-panel{display:none;}
.modal-panel.active{display:block;}
.modal-box h2{font-size:18px;margin:0 0 14px;}
.field{margin-bottom:12px;}
.field label{display:block;font-size:11px;font-weight:700;margin-bottom:5px;color:var(--muted);}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);border-radius:14px;padding:10px 11px;font-size:14px;font-family:inherit;background:var(--surface-2);color:var(--ink);transition:border-color .12s,background .12s,box-shadow .12s;}
.field textarea{display:block;resize:vertical;min-height:92px;padding:12px 13px;line-height:1.5;font-family:inherit;}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--flag);background:var(--surface);box-shadow:0 0 0 3px rgba(255,90,31,.14);}
.field input::placeholder,.field textarea::placeholder{color:var(--muted);text-transform:none;opacity:1;font-family:inherit;}

/* ---- Modale Réserver une démo ---- */
.demo-overlay{position:fixed;inset:0;z-index:200;display:none;align-items:flex-start;justify-content:center;padding:24px 16px;background:rgba(18,20,24,.55);backdrop-filter:blur(3px);overflow-y:auto;}
.demo-overlay.open{display:flex;}
.demo-card{position:relative;width:100%;max-width:520px;background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:26px 24px 24px;box-shadow:0 24px 60px rgba(12,15,20,.28);margin:auto;}
.demo-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2);color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;}
.demo-close:hover{background:var(--surface);border-color:var(--flag);}
.demo-card h3{font-size:22px;margin:2px 0 4px;}
.demo-sub{color:var(--muted);font-size:14px;margin:0 0 18px;line-height:1.5;}
.demo-form .field{margin-bottom:14px;}
.demo-lbl-note{color:var(--muted);font-weight:400;font-size:11px;}
.demo-days,.demo-slots{display:flex;gap:8px;flex-wrap:wrap;}
.demo-slots{max-height:140px;overflow-y:auto;padding:2px;}
.demo-chip{cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--ink);border-radius:12px;padding:8px 12px;font-family:inherit;font-size:13px;line-height:1.15;transition:.12s;}
.demo-chip:hover{border-color:var(--flag);}
.demo-chip.on{background:var(--flag);border-color:var(--flag);color:#fff;box-shadow:0 4px 12px rgba(255,90,31,.28);}
.demo-days .demo-chip{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:64px;}
.demo-days .demo-chip b{font-size:13px;font-weight:700;text-transform:capitalize;}
.demo-days .demo-chip span{font-size:11px;opacity:.85;}
.demo-slot{min-width:62px;text-align:center;}
.demo-none{color:var(--muted);font-size:13px;margin:0;}
.demo-hp{display:none!important;}
.field input:-webkit-autofill,.field input:-webkit-autofill:focus{-webkit-text-fill-color:var(--ink);-webkit-box-shadow:0 0 0 1000px var(--surface-2) inset;caret-color:var(--ink);}
.role-toggle{display:flex;gap:8px;margin-bottom:14px;}
.role-toggle button{flex:1;border:1px solid var(--border);border-radius:14px;padding:9px;font-size:13px;font-weight:700;background:var(--surface-2);color:var(--muted);cursor:pointer;}
.role-toggle button.active{background:var(--flag);color:#fff;border-color:var(--flag);}
.modal-box .btn-primary,.modal-box .btn.btn-primary{background:var(--flag);color:#fff;border-color:var(--flag);}
.role-panel{display:none;}
.role-panel.active{display:block;}
.form-error{font-size:12px;color:#c0392b;margin:-2px 0 10px;display:none;}
.form-error.show{display:block;}
.form-success{font-size:12px;color:#1a7a3c;margin:-2px 0 10px;display:none;}
.form-success.show{display:block;}

/* hCaptcha en DEUX TEMPS sur « Devenir club testeur » : le conteneur reste vide (donc sans hauteur)
   au chargement, et ne prend sa place qu'une fois la case affichee, au 1er clic. */
#launchCaptcha:empty{display:none;}
#launchCaptcha.cap-on{margin:4px 0 6px;}
/* 2e clic sans avoir coche : la case se signale. Deux battements, puis on la laisse tranquille. */
#launchCaptcha.cap-rappel{border-radius:6px;animation:capRappel .5s ease 2;}
@keyframes capRappel{
  0%,100%{box-shadow:0 0 0 0 rgba(255,90,31,0);}
  50%{box-shadow:0 0 0 3px rgba(255,90,31,.55);}
}
@media (prefers-reduced-motion:reduce){
  #launchCaptcha.cap-rappel{animation:none;box-shadow:0 0 0 3px rgba(255,90,31,.55);}
}
