/* vsl.css — 23/11/2026 (RE-1348) : version &vsl=1 des pages d'arrivée 31/33/34/35 (bloc posé par inc/bf3-vsl.php, lecteur assets/bf3/vsl.js).
   Chargée SEULEMENT quand ?vsl=1 : rien ici ne touche les pages normales. Avec la vidéo, la page peut défiler sur téléphone (exception assumée). */
html[data-vsl] [data-voir-comment]{display:none!important}
.vsl{flex:none;position:relative;width:100%;margin:0;z-index:3}
.vsl-cadre{position:relative;width:100%;aspect-ratio:16/9;background:#20241f center/cover no-repeat;overflow:hidden}
.vsl-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:transparent;cursor:pointer}
.vsl-son{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border:0;border-radius:999px;
  background:#FFC53D;color:#0B0B0D;font:800 16px/1 'Bricolage Grotesque','Instrument Sans',system-ui,sans-serif;white-space:nowrap;cursor:pointer;
  box-shadow:0 4px 0 #B98712,0 10px 24px rgba(0,0,0,.45);animation:vsl-pouls 1.8s ease-in-out infinite;-webkit-tap-highlight-color:transparent}
.vsl-son span{font-size:19px;line-height:1}
.vsl-son[hidden],.vsl-lire[hidden]{display:none}
@keyframes vsl-pouls{0%,100%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.06)}}
.vsl-lire{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;
  background:#FFC53D;color:#0B0B0D;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.vsl-lire svg{width:24px;height:28px;margin-left:5px;fill:currentColor}
.vsl-plein{position:absolute;right:8px;top:8px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:9px;
  background:rgba(0,0,0,.45);color:#fff;cursor:pointer;opacity:.85}
.vsl-plein svg{width:18px;height:18px}
.vsl-cadre:fullscreen{aspect-ratio:auto;background:#000}.vsl-cadre:fullscreen .vsl-video{object-fit:contain}
.vsl-cadre:-webkit-full-screen{aspect-ratio:auto;background:#000}
.vsl-son:focus-visible,.vsl-lire:focus-visible,.vsl-plein:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.vsl-son{animation:none}}

/* ── téléphone : la page reprend sa hauteur naturelle (elle peut défiler) ── */
@media (max-width:899px){
  html[data-vsl] body{height:auto!important;min-height:100vh;min-height:100svh;overflow:visible!important}
}

/* ── A (31) : sous le logo, la conversation ChatGPT laisse la place (la vidéo la raconte) ── */
html[data-vsl="31"] .scene{display:none!important}
@media (max-width:899px){
  html[data-vsl="31"] .vsl{margin:6px 0 0}
  html[data-vsl="31"] main{flex:none!important;justify-content:flex-start!important;gap:14px!important;padding-top:12px!important}
}
@media (min-width:900px){
  html[data-vsl="31"] .vsl{grid-column:1;grid-row:1 / -1;align-self:center}
  html[data-vsl="31"] .vsl-cadre{border-radius:20px;box-shadow:0 40px 90px -30px rgba(0,0,0,.95),0 0 120px -20px rgba(255,197,61,.25)}
}

/* ── C (33) : sous le chrono, au-dessus du titre ; la rue laisse la place ── */
html[data-vsl="33"] .fente,html[data-vsl="33"] .indice{display:none!important}
@media (max-width:899px){
  html[data-vsl="33"] .page{flex:none!important;overflow:visible!important}
  html[data-vsl="33"] .bas{margin-top:8px!important}
}
@media (min-width:900px){
  html[data-vsl="33"] .vsl{grid-column:1;grid-row:2;align-self:start;padding:22px 44px 30px;box-sizing:border-box}
  html[data-vsl="33"] .vsl-cadre{border-radius:18px;box-shadow:0 30px 70px -30px rgba(0,0,0,.9)}
}

/* ── D (34) : sous le chrono, au-dessus du titre ; sur ordinateur sous le titre, à la place des 4 promesses et du lynx ── */
@media (max-width:899px){
  html[data-vsl="34"] main,html[data-vsl="34"] #offert.mise,html[data-vsl="34"] .pave{flex:none!important}
  html[data-vsl="34"] .pave{gap:14px!important}
}
@media (min-width:900px){
  html[data-vsl="34"] .promesses,html[data-vsl="34"] .lynx{display:none!important}
  html[data-vsl="34"] .vsl{margin-top:24px}
  html[data-vsl="34"] .vsl-cadre{border-radius:18px;border:4px solid #0A0A0A;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
  html[data-vsl="34"] h1{font-size:min(4.6vw,68px)!important}
}

/* ── E (35) : sous le chrono, au-dessus de l'ardoise ; sur ordinateur dans l'ardoise, sous le plat du jour ── */
@media (max-width:899px){
  html[data-vsl="35"] .page{flex:none!important}
  html[data-vsl="35"] .vsl{padding:6px 6px 0;box-sizing:border-box}
  html[data-vsl="35"] .vsl-cadre{border-radius:8px}
}
@media (min-width:900px){
  /* 23/11 07h20 (Mathias) : rien sur le rebord en bois — l'ardoise prend la hauteur de son contenu (la page défile plutôt que de déborder sur le bois),
     le menu (titre + vidéo) occupe 2 rangées à gauche, le bon de commande et « L'addition… » sont collés l'un sous l'autre à droite */
  html[data-vsl="35"] body{height:auto!important;min-height:100vh;overflow:visible!important}
  html[data-vsl="35"] .page{flex:1 0 auto!important}
  html[data-vsl="35"] .ardoise{grid-template-rows:minmax(0,1fr) auto auto minmax(0,1fr) auto!important;row-gap:14px!important}
  html[data-vsl="35"] .menu{grid-row:2 / 4!important;align-self:center}
  html[data-vsl="35"] .bon{grid-row:2!important;align-self:end!important}
  html[data-vsl="35"] .apres{grid-row:3!important;align-self:start!important;margin-top:4px}
  html[data-vsl="35"] .rk-avis{margin-top:6px}
  html[data-vsl="35"] .vsl{margin:16px auto 0;width:100%;max-width:min(100%,max(380px,calc((100vh - 560px) * 1.78)))}
  html[data-vsl="35"] h1{font-size:clamp(34px,3vw,50px)!important}
  html[data-vsl="35"] .trait{margin-top:6px!important}
  html[data-vsl="35"] .plat{margin-top:10px!important;font-size:clamp(21px,1.7vw,28px)!important}
  html[data-vsl="35"] .plat .pj{display:inline!important;font-size:inherit!important}
  html[data-vsl="35"] .vsl-cadre{border-radius:12px;box-shadow:0 20px 40px -20px rgba(0,0,0,.8)}
}

/* 23/11 comité (expert conversion) : D (34) avec vidéo sur petit téléphone, le bouton d'inscription passait sous le bord (360×600 : bas du bouton à 648 px).
   La vidéo se fait un peu moins haute quand l'écran est court (16/9 gardé, centrée, 220 px de large au moins) : le bouton reste visible sans défiler. */
@media (max-width:899px) and (max-height:800px){
  html[data-vsl="34"] .vsl-cadre{width:min(100%,max(220px,calc((100svh - 560px) * 1.7778)));margin:0 auto}
}

/* ── B (32) : 25/11/2026 (tirage à 5 pages, Mathias ~12h30 Maurice) — téléphone : sous le logo ; ordinateur : sous le titre, à gauche ── */
html[data-vsl="32"] .res{display:none!important}
@media (max-width:899px){
  html[data-vsl="32"] .tete{display:flex!important}
  html[data-vsl="32"] .vsl{margin:6px 0 4px}
  html[data-vsl="32"] main{flex:none!important}
}
@media (min-width:900px){
  html[data-vsl="32"] .vsl{margin:18px 0 0}
  html[data-vsl="32"] .vsl-cadre{border-radius:18px;border:4px solid #0A0A0A;box-shadow:10px 10px 0 #0A0A0A}
}
