/* ============================================================
   Brandquest — landing page  (Néographe Factory)
   Faithful reproduction of "Découvrir le jeu"
   ============================================================ */

@font-face{font-family:"PP Neue Montreal";src:url("fonts/PPNeueMontreal-Medium.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"PP Neue Montreal";src:url("fonts/PPNeueMontreal-Italic.otf") format("opentype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"PP Neue Montreal";src:url("fonts/PPNeueMontreal-Medium.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"PP Neue Montreal";src:url("fonts/PPNeueMontreal-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}

:root{
  --bg:#2D2C2A;
  --band:#262522;
  --cream:#F1EDE8;
  --cream-2:#F6F0E7;
  --ink:#191513;
  --muted:#9D9893;
  --muted-2:#726F6A;
  --line:rgba(241,237,232,.16);
  --line-soft:rgba(241,237,232,.10);

  --pink:#ECA5B6;
  --blue:#98B9D8;
  --green:#A3AE98;
  --yellow:#E8DE83;
  --coral:#FAA581;
  --black:#191513;

  --sans:"PP Neue Montreal",-apple-system,system-ui,sans-serif;
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;

  --mx:80px;             /* page side margin */
  --maxw:1512px;
}

*{box-sizing:border-box}
html,body{margin:0}
html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--cream);
  font-family:var(--sans);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
.page{width:var(--maxw);position:absolute;top:0;left:0;transform-origin:top left;overflow:hidden}
.scaler{position:relative;width:100%}
.wrap{padding-left:var(--mx);padding-right:var(--mx)}

/* ---------- type helpers ---------- */
.eyebrow{
  font-weight:500;font-size:13px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--cream);margin:0;
}
.serif{font-family:var(--serif)}
h1,h2,h3{margin:0;font-weight:500}
.h1{font-size:66px;line-height:1.0;letter-spacing:-.022em;font-weight:500}
.h2{font-size:44px;line-height:1.06;letter-spacing:-.012em;font-weight:500}
p{margin:0}
.lead{font-size:20px;line-height:1.45;color:var(--cream);font-weight:400}
.muted{color:var(--muted)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--sans);font-size:14.5px;font-weight:500;
  border-radius:8px;padding:13px 20px;border:none;cursor:pointer;
  text-decoration:none;line-height:1;transition:transform .25s cubic-bezier(.5,1.6,.4,1),background .2s;
}
.btn--cream{background:var(--cream);color:var(--ink)}
.btn--cream:hover{transform:translateY(-2px)}
.btn--cream:active{transform:translateY(1px)}
.btn--ghost{background:transparent;color:var(--cream);border:1px solid var(--line);border-radius:8px}
.btn--ghost:hover{background:rgba(241,237,232,.06)}
.btn .arrow{transition:transform .25s}
.btn:hover .arrow{transform:translateX(3px)}

.cap{font-size:12.5px;color:var(--muted);letter-spacing:.01em}

/* full-width section rule */
.rule{height:1px;background:var(--line);border:0;margin:0}

/* glyph holder */
.g{display:inline-block;line-height:0;color:currentColor}
.g svg{display:block}

/* ============================================================ NAV */
.nav{
  display:flex;align-items:center;height:94px;
  position:fixed;top:0;left:0;width:1512px;z-index:200;
  transform-origin:top left;
  border-bottom:1px solid var(--line);
  background:rgba(45,44,42,.78);
  -webkit-backdrop-filter:saturate(140%) blur(16px);
  backdrop-filter:saturate(140%) blur(16px);
}
.nav-left{display:flex;gap:40px;align-items:center}
.nav-logo{height:26px;width:auto;display:block}
.nav a{color:var(--cream);text-decoration:none;font-size:15px;font-weight:400}
.nav a:hover{opacity:.7}
.nav .btn--cream{color:var(--ink)}
.nav .btn--cream:hover{opacity:1}
.nav-center{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:flex;gap:6px;color:var(--cream);
}
.nav-center .g{width:22px;height:22px}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:28px}
.nav-right .active{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:15px}
.nav-right .active .g{width:13px;height:13px}

/* ============================================================ HERO */
.hero{padding-top:150px;padding-bottom:96px;position:relative}
.hero-img{position:absolute;top:0;right:0;width:940px;height:100%;object-fit:cover;object-position:center top;z-index:0;pointer-events:none}
.hero>.eyebrow,.hero>.h1,.hero>.lead,.hero>.cta-row{position:relative;z-index:1}
.hero .eyebrow{margin-bottom:34px}
.hero .h1{margin-bottom:30px}
.hero .lead{max-width:430px;margin-bottom:42px}
.hero .cta-row{display:flex;flex-direction:column;gap:14px;align-items:flex-start}

/* ============================================================ LOGO STRIP (marquee) */
.clients{padding-top:0;padding-bottom:0}
.clients-label{
  color:var(--cream);font-size:15px;margin:0;
  padding:30px 80px 6px;
}
.marquee{overflow:hidden;width:100%;padding:18px 0 4px}
.marquee-track{display:flex;width:max-content;animation:marquee 48s linear infinite;will-change:transform}
.marquee-track .client{height:101px;width:auto;margin-right:24px;flex:none;display:block}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee-track{animation:none}}

/* ============================================================ generic section */
.section{padding-top:110px;padding-bottom:110px}
.section--tight{padding-top:96px;padding-bottom:96px}

/* two-column: heading left, content right */
.two{display:grid;grid-template-columns:minmax(0,470px) minmax(0,1fr);gap:90px;align-items:start}
.two .col-head .h2{margin-bottom:26px}
.two .col-head .lead{font-size:18px;color:var(--muted);max-width:300px}

/* feature list with glyph bullet + hairline rows */
.flist{display:flex;flex-direction:column}
.flist .row{
  display:flex;align-items:center;gap:18px;
  padding:18px 4px;border-top:1px solid var(--line);font-size:18px;color:var(--cream);
}
.flist .row:last-child{border-bottom:1px solid var(--line)}
.flist .row .g{width:20px;height:20px;flex:none;color:var(--cream)}

/* ============================================================ CARD COLLAGE */
.collage{position:relative;height:1090px;overflow:visible;margin:120px auto 0;}
.qcard{
  position:absolute;width:292px;height:450px;border-radius:18px;
  will-change:transform;
  padding:30px 28px;display:flex;flex-direction:column;
  color:var(--ink);
}
.qcard .qc-head{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:500}
.qcard .qc-rule{height:1px;background:rgba(25,21,19,.45);margin:18px 0 22px}
.qcard .qc-title{font-family:var(--serif);font-size:33px;line-height:1.05;font-weight:600;margin-bottom:20px}
.qcard .qc-body{font-size:18px;line-height:1.45;color:rgba(25,21,19,.82)}
.qcard .qc-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end}
.qcard .qc-anto{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:rgba(25,21,19,.55)}
.qcard .qc-anto b{display:block;font-weight:400;text-transform:none;letter-spacing:0;font-size:13px;margin-top:3px;color:rgba(25,21,19,.8)}
.qcard .qc-glyph{width:24px;height:24px;color:var(--ink);margin-left:auto}

/* theme card (dark w/ colored oval) */
.qcard--theme{align-items:center;text-align:center;padding:26px}
.qcard--theme .tc-eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:500}
.qcard--theme .tc-oval{
  flex:1;width:86%;border-radius:999px;margin:20px 0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:30px 20px;
}
.qcard--theme .tc-oval .g{width:64px;height:64px;color:var(--ink)}
.qcard--theme .tc-oval .tc-name{font-family:var(--serif);font-size:26px;font-weight:600}
.qcard--theme .tc-oval .tc-sub{font-size:13px;line-height:1.4}

/* action card */
.qcard--action{align-items:center;text-align:center;justify-content:flex-start;padding-top:28px}
.qcard--action .tc-eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:500;color:var(--cream)}
.qcard--action .ac-icon{width:120px;height:120px;color:var(--cream);margin:42px 0 36px}
.qcard--action .ac-name{font-family:var(--serif);font-size:32px;font-weight:600;color:var(--cream);margin-bottom:16px}
.qcard--action .ac-body{font-size:18px;line-height:1.45;color:rgba(241,237,232,.7);max-width:210px}

/* color utils */
.qcard--img{padding:0;background:none;overflow:visible}
.qcard--img img{width:100%;height:100%;object-fit:contain;display:block}
.bg-pink{background:var(--pink)} .bg-blue{background:var(--blue)} .bg-green{background:var(--green)}
.bg-yellow{background:var(--yellow)} .bg-coral{background:var(--coral)} .bg-black{background:var(--black)}

/* ============================================================ MONTAGE band */
.montage{background:var(--band);position:relative;height:680px;overflow:hidden}
.montage .shot{position:absolute;border-radius:14px;background:linear-gradient(135deg,#34322e,#3d3a35);border:1px solid rgba(241,237,232,.05)}

/* ============================================================ ARCH cards (Pourquoi) */
.arches{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:80px}
.arch{
  position:relative;
  border-radius:9999px;min-height:500px;padding:44px 30px;
  width:100%;max-width:340px;margin-inline:auto;
  display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--ink);
}
.arch .g{position:absolute;top:60px;left:50%;transform:translateX(-50%);width:100px;height:100px;color:var(--ink)}
.arch .arch-body{font-size:18px;line-height:1.5;margin-top:auto;margin-bottom:36px;color:rgba(25,21,19,.85);max-width:210px}
/* cascade reveal — pink, blue, green, yellow slide up one after another */
.arches.armed .arch{opacity:0;transform:translateY(80px);
  transition:opacity .55s ease, transform .8s cubic-bezier(.2,.78,.28,1);will-change:opacity,transform}
.arches.armed .arch:nth-child(1){transition-delay:0s}
.arches.armed .arch:nth-child(2){transition-delay:.11s}
.arches.armed .arch:nth-child(3){transition-delay:.22s}
.arches.armed .arch:nth-child(4){transition-delay:.33s}
.arches.armed.in .arch{opacity:1;transform:translateY(0)}

/* ============================================================ word cycle (Jouez) — static + auto crossfade */
.jouez-track{position:relative;height:860px}
.jouez-pin{position:absolute;inset:0}
.jouez{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;padding-top:0;padding-bottom:0}
.jouez-left{position:relative;z-index:1;max-width:440px}
.word-media{position:absolute;top:0;bottom:0;right:0;width:961px;overflow:hidden}
.word-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .55s ease}
.word-media img.on{opacity:1}
.wordcycle{display:flex;flex-direction:column;gap:2px;margin-bottom:34px}
.wordcycle .w{font-size:42px;line-height:1.18;font-weight:500;letter-spacing:-.01em;color:var(--muted-2);transition:color .4s,padding-left .4s}
.wordcycle .w.on{color:var(--cream);padding-left:26px}
.wordcycle .wnum{font-size:.4em;font-weight:500;letter-spacing:.06em;vertical-align:.62em;margin-right:.55em;opacity:.45;font-variant-numeric:tabular-nums}
.wordcycle .w.on .wnum{opacity:.7}

/* ============================================================ editor cards (Créez atelier) */
.editor-stage{position:relative;width:664px;height:785px;margin:0 auto;max-width:100%}
.ecard{
  position:absolute;width:320px;height:494px;border-radius:20px;padding:30px 28px;color:var(--ink);
  display:flex;flex-direction:column;box-shadow:0 18px 50px -28px rgba(0,0,0,.6);
}
.ecard-ghost{position:absolute;left:344px;top:524px;width:319px;height:260px;border-radius:20px;
  background:linear-gradient(180deg,#D9D9D9 0%, rgba(217,217,217,0) 56%);z-index:0;pointer-events:none}
.ecard .qc-head{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:500}
.ecard .qc-rule{height:1px;background:rgba(25,21,19,.4);margin:16px 0 20px}
.ecard .ph{font-family:var(--serif);font-size:30px;font-weight:600;color:rgba(25,21,19,.45)}
.ecard .ph-body{font-size:18px;color:rgba(25,21,19,.4);margin-top:18px;line-height:1.5}
.ecard .caret{display:inline-block;width:2px;height:.95em;background:var(--ink);vertical-align:-2px;margin-left:1px;animation:blink 1.05s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.ecard .qc-glyph{width:24px;height:24px;color:var(--ink);margin-top:auto;margin-left:auto}

/* ============================================================ testimonials */
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:10px}
.tcell .quote{font-family:var(--serif);font-size:34px;line-height:0;color:var(--muted);height:14px;display:block}
.tcell .tbody{font-size:18px;line-height:1.5;color:var(--cream);margin:10px 0 22px}
.tcell .tname{font-size:13px;color:var(--muted);padding-left:30px}

/* testimonials wall illustration */
.temoignages-wall{display:block;width:100%;height:auto}
/* mobile/tablet ticker — hidden on desktop */
.temoignages-ticker{display:none}
.temoignages-ticker-track{display:flex;width:max-content;will-change:transform}
.temo-strip{height:320px;width:auto;display:block;flex:none}
/* testimonials reveal — fade 0→100% + slide up */
.reveal-up.armed{opacity:0;transform:translateY(64px);
  transition:opacity .8s ease,transform .9s cubic-bezier(.2,.75,.25,1);will-change:opacity,transform}
.reveal-up.armed.in{opacity:1;transform:translateY(0)}

/* objet papier — full-height image flush right */
.papier{position:relative;min-height:640px;display:flex;flex-direction:column;justify-content:center}
.papier .col-head{position:relative;z-index:1}
.papier-media{position:absolute;top:0;right:0;height:100%;width:auto;max-width:62%;object-fit:cover;object-position:left center;z-index:0}

/* two-col prose ("pas une option") */
.prose2{display:grid;grid-template-columns:repeat(2,minmax(0,255px));gap:60px;justify-content:end}
.prose2 p{font-size:18px;line-height:1.5;color:var(--cream)}
.prose2 .blk{display:flex;flex-direction:column;gap:20px}

/* benefit cards — overlapping rotated deck w/ scroll cascade */
.benefits{position:relative;width:1282px;max-width:100%;height:500px;margin:72px auto 0}
.bcard{
  position:absolute;left:var(--x);top:var(--y);width:310px;height:436px;
  border-radius:20px;padding:36px 32px;color:var(--ink);display:flex;flex-direction:column;
  transform:rotate(var(--rot));box-shadow:0 26px 55px -32px rgba(0,0,0,.55);
}
.benefits.armed .bcard{opacity:0;transform:translateY(70px) rotate(var(--rot))}
.benefits.armed .bcard{transition:opacity .7s ease var(--d),transform .85s cubic-bezier(.2,.75,.25,1) var(--d)}
.benefits.armed.in .bcard{opacity:1;transform:translateY(0) rotate(var(--rot))}
.bcard .g{width:30px;height:30px;color:var(--ink);margin-bottom:auto}
.bcard .bt{font-family:var(--serif);font-size:30px;font-weight:600;line-height:1.05;margin-bottom:18px}
.bcard .bb{font-size:18px;line-height:1.45;color:rgba(25,21,19,.8)}

/* FAQ */
.faq .row{border-top:1px solid var(--line);padding:22px 0}
.faq .row:last-child{border-bottom:1px solid var(--line)}
.faq .q{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;font-size:18px;color:var(--cream)}
.faq .q .g{width:20px;height:20px;flex:none;color:var(--cream);transition:transform .3s}
.faq .row.open .q .g{transform:rotate(90deg)}
.faq .a{font-size:18px;line-height:1.55;color:var(--muted);max-width:660px;overflow:hidden;max-height:0;transition:max-height .35s ease,margin .35s}
.faq .row.open .a{max-height:360px;margin-top:16px}

/* ============================================================ FOOTER */
.footer{padding-top:120px;padding-bottom:80px;display:flex;justify-content:space-between;align-items:flex-start;gap:60px}
.foot-logo{width:600px;max-width:50%;height:auto;display:block}
.foot-cols{display:flex;gap:110px}
.foot-cols a{display:block;color:var(--cream);text-decoration:none;font-size:15px;margin-bottom:14px}
.foot-cols a:hover{opacity:.65}
.foot-account .btn--cream{display:inline-flex;color:var(--ink);margin-bottom:0}
.foot-account .btn--cream:hover{opacity:1}
.foot-legal{color:var(--muted-2);font-size:13px;line-height:1.9;margin-top:46px}

/* ============================================================ RÉSULTAT DE PARTIE */
.resultat{position:relative;overflow:hidden;padding:90px 0 96px;
  background:radial-gradient(125% 95% at 50% 22%, #2a2926 0%, #201f1c 55%, #191816 100%)}
.resultat-stage{position:relative;width:var(--maxw);max-width:100%;margin:0 auto}
.resultat-glow{position:absolute;inset:0;z-index:0;pointer-events:none;mix-blend-mode:screen}
.resultat-glow .rg{position:absolute;display:block;height:auto;mix-blend-mode:screen}
.resultat-glow .rg-green {width:42%;left:-5%;  top:4%;  opacity:.92}
.resultat-glow .rg-pink  {width:56%;left:9%;   top:-2%; opacity:.95}
.resultat-glow .rg-orange{width:64%;left:38%;  top:-8%; opacity:.95}
.resultat-glow .rg-blue  {width:40%;left:66%;  top:-1%; opacity:.95}
.resultat-cards{position:relative;z-index:1;display:block;width:100%;height:auto}

/* rotating wheel of cards (top arc of a big circle) */
.resultat-wheel-area{position:relative;z-index:1;width:1512px;height:600px;margin:0 auto}
.resultat-wheel{position:absolute;left:756px;top:1248px;width:0;height:0;
  animation:wheelSpin 145s linear infinite}
@keyframes wheelSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.wheel-card{position:absolute;left:0;top:0;width:192px;height:296px;
  margin-left:-96px;margin-top:-148px;border-radius:13px;
  transform:rotate(var(--a)) translateY(-1000px);
  display:flex;flex-direction:column;color:var(--ink);
  padding:17px 17px 15px;box-shadow:0 14px 34px -16px rgba(0,0,0,.55)}
.wheel-card .wc-head{display:flex;justify-content:space-between;font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:500;opacity:.88}
.wheel-card .wc-rule{height:1px;background:rgba(25,21,19,.42);margin-top:10px}
.wheel-card .wc-title{font-family:var(--serif);font-size:21px;font-weight:600;line-height:1.04;margin-top:16px}
.wheel-card .wc-glyph{width:17px;height:17px;color:var(--ink);margin-top:auto;margin-left:auto;display:block}
.resultat-copy{position:relative;z-index:2;text-align:center;margin-top:-9%;
  max-width:640px;margin-left:auto;margin-right:auto;padding:0 var(--mx)}
.resultat-copy .h2{margin-bottom:22px}
.resultat-copy .lead{font-size:18px;max-width:540px;margin:0 auto;text-wrap:pretty}
@media (prefers-reduced-motion: no-preference){
  .resultat-glow .rg{will-change:transform;animation:glowA 18s ease-in-out infinite}
  .resultat-glow .rg-green {animation-name:glowA;animation-duration:17s;animation-delay:-3s}
  .resultat-glow .rg-pink  {animation-name:glowB;animation-duration:21s;animation-delay:-9s}
  .resultat-glow .rg-orange{animation-name:glowC;animation-duration:15s;animation-delay:-6s}
  .resultat-glow .rg-blue  {animation-name:glowD;animation-duration:19s;animation-delay:-12s}
}
@keyframes glowA{0%{transform:translate(0,0) scale(1)}50%{transform:translate(120px,80px) scale(1.22)}100%{transform:translate(0,0) scale(1)}}
@keyframes glowB{0%{transform:translate(0,0) scale(1)}33%{transform:translate(-100px,70px) scale(1.16)}66%{transform:translate(86px,-58px) scale(.9)}100%{transform:translate(0,0) scale(1)}}
@keyframes glowC{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-118px,-78px) scale(1.26)}100%{transform:translate(0,0) scale(1)}}
@keyframes glowD{0%{transform:translate(0,0) scale(1)}33%{transform:translate(96px,72px) scale(1.14)}66%{transform:translate(-78px,48px) scale(.9)}100%{transform:translate(0,0) scale(1)}}

/* ============================================================
   RESPONSIVE
   ≥1080px : the fixed 1512 canvas scales to fill the full width.
   <1080px : canvas scaling is disabled (html.fluid) and every
             section reflows into a real fluid layout.
   ============================================================ */
/* layout reflow is now CSS-driven (media query) so it works even if JS is slow/blocked.
   JS still toggles html.fluid for the collage/editor zoom enhancement only. */
@media (max-width:1079.98px){
html .scaler{height:auto!important;overflow-x:hidden}
html .page{position:static;width:100%;transform:none!important;overflow:visible}
:root{--mx:40px}

/* ---- generic ---- */
html .section{padding-top:72px;padding-bottom:72px}
html .h1{font-size:clamp(40px,8.2vw,66px)}
html .h2{font-size:clamp(30px,6vw,44px)}

/* ---- nav ---- */
html .nav{height:74px;width:100%;transform:none}
html .nav-center{gap:10px}
html .nav-center .g{width:18px;height:18px}

/* ---- hero -> stacked, image full-width below ---- */
html .hero{padding-top:56px;padding-bottom:0;display:flex;flex-direction:column;align-items:flex-start}
html .hero .lead{max-width:540px}
html .hero-img{order:9;position:static;display:block;height:auto;
  width:calc(100% + 2*var(--mx));margin-left:calc(-1*var(--mx));margin-right:calc(-1*var(--mx));
  align-self:stretch;margin-top:40px}

/* ---- logo marquee ---- */
html .clients-label{padding-left:var(--mx);padding-right:var(--mx)}

/* ---- card collage -> keep desktop layout, scaled down via JS zoom ---- */
html .collage{position:relative;width:1512px;height:1090px;overflow:hidden;
  display:block;margin:56px 0 0;padding:0;transform:none}
/* (qcards keep their base desktop absolute layout — no override needed) */

/* ---- two-column blocks -> stack ---- */
html .two{grid-template-columns:1fr;gap:40px}
html .two .col-head .lead{max-width:none}

/* ---- arches ---- */
html .arches{grid-template-columns:repeat(2,1fr);gap:18px;margin-top:48px}
/* when arches break to 2×2, center the section title */
html [data-screen-label="pourquoi"] .h2{text-align:center}

/* ---- Jouez : un-pin, single image with text overlaid left (mirrors desktop) ---- */
html .jouez-track{height:auto!important}
html .jouez-pin{position:static!important;transform:none!important;height:auto!important;will-change:auto}
html .jouez{position:relative;height:auto;min-height:540px;padding:56px var(--mx);
  display:flex;flex-direction:column;justify-content:center;overflow:hidden}
html .jouez-left{position:relative;z-index:2;max-width:none;margin-bottom:0}
html .wordcycle .w{color:var(--cream);padding-left:0;font-size:clamp(30px,7vw,42px)}
/* the 4th image as full-bleed background */
html .word-media{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;border-radius:0}
html .word-media img{display:none}
html .word-media img[data-i="3"]{display:block;position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;opacity:1!important;border-radius:0}
/* legibility gradient — darker on the left where the text sits */
html .jouez::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg, rgba(28,27,25,.93) 0%, rgba(28,27,25,.74) 42%, rgba(28,27,25,.30) 100%)}

/* ---- editor stage -> keep playing-card format, scaled via JS zoom ---- */
html [data-screen-label="editeur"] .two{grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:center}
html .editor-stage{position:relative!important;width:664px;height:785px;max-width:none;margin:0;display:block;transform:none}
html .ecard-ghost{display:block}
html .ecard{position:absolute!important;width:320px;height:494px;min-height:0}

/* ---- prose2 ---- */
html .prose2{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:40px}

/* ---- benefits deck -> grid, flat ---- */
html .benefits{position:static;width:100%;height:auto;margin:48px 0 0;
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
html .benefits .bcard{position:static!important;left:auto!important;top:auto!important;
  width:100%;height:auto;min-height:300px;transform:none!important;opacity:1!important;
  box-shadow:0 18px 40px -26px rgba(0,0,0,.5)}

/* ---- objet papier -> single image background, text overlaid left (mirrors Jouez) ---- */
html .papier{position:relative;display:flex;flex-direction:column;justify-content:center;
  min-height:560px;padding:56px var(--mx);overflow:hidden}
html .papier .col-head{position:relative;z-index:2}
html .papier-media{position:absolute;inset:0;z-index:0;display:block;margin:0;max-width:none;
  width:100%;height:100%;object-fit:cover;object-position:center}
html .papier::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg, rgba(28,27,25,.93) 0%, rgba(28,27,25,.74) 42%, rgba(28,27,25,.30) 100%)}

/* ---- testimonials ---- */
html .tgrid{grid-template-columns:1fr;gap:28px}
/* swap the static wall for a scrolling full-bleed ticker */
html .temoignages-wall{display:none}
html .temoignages-ticker{display:block;position:relative;overflow:hidden;cursor:grab;touch-action:pan-y;
  width:calc(100% + 2*var(--mx));margin-left:calc(-1*var(--mx));margin-right:calc(-1*var(--mx))}
html .temoignages-ticker:active{cursor:grabbing}

/* ---- footer ---- */
html .footer{flex-direction:column;align-items:stretch;gap:44px;padding-top:80px}
html .foot-logo{width:100%;max-width:440px}
html .foot-cols{gap:64px}

}

/* ============================== MOBILE < 640 ============================== */
@media (max-width:640px){
  :root{--mx:20px}
  html .section{padding-top:52px;padding-bottom:52px}
  html .nav-center{display:none}
  html [data-screen-label="editeur"] .two{grid-template-columns:1fr;justify-items:center;gap:32px}
  html [data-screen-label="editeur"] .col-head{text-align:left;width:100%}
  html .qcard{min-height:0}
  html .arches{grid-template-columns:1fr;max-width:380px;margin-left:auto;margin-right:auto}
  html .arch{min-height:380px;border-radius:9999px;max-width:300px}
  html .prose2{grid-template-columns:1fr;gap:26px}
  html .benefits{grid-template-columns:1fr}
  html .word-media{grid-template-columns:1fr}
  html .foot-cols{flex-direction:column;gap:34px}
  html .marquee-track .client{height:70px;margin-right:18px}
  .resultat{padding-top:80px;padding-bottom:64px}
  .resultat-copy{margin-top:-7%}
}
