/* =========================================================================
   Accueil (maquette 5) — mode « Butfirst, » et mode « Droit au but »
   ========================================================================= */
@font-face{font-family:"Pixelify Sans";src:url(../fonts/pixelify-sans-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Pixelify Sans";src:url(../fonts/pixelify-sans-latin-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{--paper:#F4F4F4;--hi:#0B0B0B;--hi-bg:#F0FF00;--wordfrom:#C4C4C4;--band2:#0B0B0B;--band2ink:#F2F2F2;--alt2:#E4E4E4}
html[data-theme="dark"]{--paper:#111111;--hi:#F0FF00;--hi-bg:transparent;--wordfrom:#4A4A4A;--band2:#F2F2F2;--band2ink:#0B0B0B;--alt2:#161616}

html[data-mode="butfirst"] .hm-direct,html[data-mode="direct"] .hm-bf{display:none}
html[data-mode="butfirst"] body.hm .bf-footer{display:none}

.hm-wrap{max-width:1400px;margin:0 auto;padding-left:40px;padding-right:40px;box-sizing:border-box}
.hm h2{margin:0}
.hm-big{font-size:clamp(48px,7vw,112px);font-weight:700;letter-spacing:-.055em;line-height:.95}
.hm-kicker{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}

/* ---------- Titre ---------- */
.hm-hero{padding-top:120px;padding-bottom:112px}
.hm-hero h1{margin:0;font-weight:700;font-size:clamp(50px,9.2vw,150px);line-height:.96;letter-spacing:-.055em}
.hm-hero h1 > span{display:block}
.hm-hero__foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:32px;margin-top:64px}
.hm-hero__foot p{margin:0;max-width:560px;font-size:21px;line-height:1.5;color:var(--muted)}
.hm-hero__foot .bf-serif{color:var(--fg)}
.hm-down{text-decoration:none;display:inline-flex;align-items:center;gap:14px;font-size:16px;font-weight:600;min-height:48px}
.hm-down span{width:48px;height:48px;border-radius:999px;border:1.5px solid currentColor;display:inline-flex;align-items:center;justify-content:center}

.x-strike{position:relative;display:inline-block}
.x-strike::after{content:"";position:absolute;left:-3%;right:-3%;top:54%;height:.1em;background:var(--acc);transform:scaleX(0);transform-origin:left center;animation:xStrike .7s 1.2s cubic-bezier(.7,0,.2,1) forwards}
@keyframes xStrike{to{transform:scaleX(1)}}
.x-swap{position:absolute;left:4%;top:-.62em;font-size:.56em;white-space:nowrap;opacity:0;transform:translateY(16px) rotate(-6deg);animation:xSwap .6s 1.9s cubic-bezier(.2,.8,.2,1) forwards;color:var(--hi);background:linear-gradient(var(--hi-bg),var(--hi-bg)) no-repeat 0 88%/100% 38%;padding:0 .08em}
@keyframes xSwap{to{opacity:1;transform:translateY(0) rotate(-6deg)}}
.x-swap--still{animation:none;opacity:1;position:static;transform:none;font-size:1em}
.x-rise{animation:xRise .9s cubic-bezier(.2,.7,.2,1) both}
.x-rise.d2{animation-delay:.1s}.x-rise.d3{animation-delay:2.4s}
@keyframes xRise{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}

/* ---------- Bandes ---------- */
.hm-bands{position:relative;height:230px;overflow:hidden;overflow:clip;background:var(--alt2)}
/* Mode sombre : le noir profond du haut de page continue sous les bandeaux ; le gris commence avec les Highlights (18.11). */
html[data-theme="dark"] .hm-bands{background:var(--bg)}
.hm-band{position:absolute;left:-5%;width:140%;white-space:nowrap}
.hm-band--a{top:52px;transform:rotate(-3deg);background:var(--acc);color:#0B0B0B;padding:16px 0;font-size:46px;font-weight:800;letter-spacing:-.04em}
.hm-band--b{top:122px;transform:rotate(2deg);background:var(--band2);color:var(--band2ink);padding:14px 0;font-size:30px}
.hm-band svg{display:inline-block;height:.95em;width:auto;vertical-align:-.105em;fill:currentColor}

/* ---------- Index ---------- */
.hm-index{background:var(--alt2);padding:112px 0 96px}
.hm-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:48px}
.hm-head p{margin:0;max-width:300px;font-size:15px;line-height:1.5;color:var(--muted)}
.hm-index h2 small{font-size:.4em;font-weight:500;letter-spacing:0;vertical-align:top;margin-left:10px}
.hm-rows{border-top:1.5px solid var(--fg)}
.x-row{display:block;position:relative;text-decoration:none;border-bottom:1.5px solid var(--fg)}
.x-row__in{display:flex;align-items:center;gap:32px;padding-top:22px;padding-bottom:22px}
.x-row__num{font-size:14px;font-weight:600;min-width:32px}
.x-title{flex:1;min-width:0;font-size:clamp(36px,6vw,96px);font-weight:700;letter-spacing:-.05em;line-height:1;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.x-cat{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;min-width:220px;color:var(--muted)}
.x-go{font-size:30px;font-weight:500;transition:transform .35s}
.x-float{position:absolute;right:20%;top:50%;width:300px;aspect-ratio:4 / 3;border-radius:8px;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.25);pointer-events:none;opacity:0;transform:translateY(-50%) rotate(-6deg) scale(.7);transition:opacity .35s,transform .5s cubic-bezier(.2,.8,.2,1);z-index:3}
.x-float img{display:block;width:100%;height:100%;object-fit:cover}
.x-row:hover .x-title,.x-row:focus-visible .x-title{transform:translateX(28px)}
.x-row:hover .x-float{opacity:1;transform:translateY(-50%) rotate(4deg) scale(1)}
.x-row:hover .x-go{transform:rotate(-45deg)}
.hm-all{display:inline-flex;margin-top:32px;font-weight:600;text-decoration:none;min-height:44px;align-items:center}

/* Hors-champ : balayage jaune, texte noir */
.x-row--sweep{background:linear-gradient(var(--acc),var(--acc)) no-repeat 0 0/0% 100%;transition:background-size .5s cubic-bezier(.7,0,.2,1);border-bottom-style:dashed}
.x-row--sweep:hover,.x-row--sweep:focus-visible{background-size:100% 100%;color:#0B0B0B}
.x-row--sweep:hover .bf-muted,.x-row--sweep:focus-visible .bf-muted{color:#0B0B0B}
.hc-title{font-size:clamp(28px,4.2vw,64px);font-weight:700;letter-spacing:-.045em;line-height:1}
.hc-line{font-size:18px}
.hc-tag{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border:1.5px solid currentColor;border-radius:999px;padding:6px 12px;white-space:nowrap}
.hc-soon{display:flex;align-items:flex-end;padding:14px;box-sizing:border-box;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}

/* ---------- Manifeste ---------- */
.hm-mani{background:var(--paper);position:relative;z-index:2}
.hm-mani .hm-wrap{padding-top:160px;padding-bottom:160px}
.hm-mani h2{margin:0 0 40px;font-size:14px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.hm-mani p{margin:0;font-size:clamp(32px,4.4vw,68px);font-weight:600;line-height:1.12;letter-spacing:-.035em;max-width:1240px}
.x-mark{padding:0 .08em;background:linear-gradient(var(--acc),var(--acc)) no-repeat 0 88%/100% 38%}
html[data-theme="dark"] .x-mark{background:none;color:var(--acc)}

/* ---------- Bien, urgent, pas cher ---------- */
.hm-choix{background:#F4F4F4;color:#0B0B0B;border-top:1.5px solid #0B0B0B;position:relative;z-index:2}
html[data-theme] .hm-choix .x-mark{background:linear-gradient(var(--acc),var(--acc)) no-repeat 0 88%/100% 38%;color:#0B0B0B}
.hm-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.hm-choix .hm-two{padding-top:120px;padding-bottom:120px}
.hm-choix h2{font-size:clamp(44px,5.6vw,88px);font-weight:700;letter-spacing:-.055em;line-height:.95}
.hm-choix p{margin:0;font-size:18px;line-height:1.55;color:#2E2E2E;max-width:480px}
.hm-col{display:flex;flex-direction:column;gap:28px}
.v-togs{display:flex;flex-wrap:wrap;gap:12px}
.v-tog{all:unset;cursor:pointer;border:1.5px solid #0B0B0B;border-radius:999px;padding:12px 24px;min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center;font-size:16px;font-weight:600;transition:background .25s,color .25s,transform .25s}
.v-tog:hover{transform:translateY(-2px)}
.v-tog[aria-pressed="true"]{background:#0B0B0B;color:#F4F4F4}
.v-tog:focus-visible{outline:2px solid #0B0B0B;outline-offset:4px}
.v-verdict{min-height:1.3em;font-size:clamp(26px,2.6vw,38px)!important;font-weight:700;letter-spacing:-.04em;color:#0B0B0B!important}
.v-wrap{position:relative;width:min(680px,100%);aspect-ratio:560 / 520;margin:0 auto}
.v-c{position:absolute;width:57.14%;aspect-ratio:1 / 1;border-radius:999px;mix-blend-mode:multiply;transition:opacity .45s,transform .45s cubic-bezier(.2,.8,.2,1);animation:vIn 1.1s cubic-bezier(.2,.8,.2,1) both}
.v-c.c1{left:21.43%;top:1.92%;background:var(--acc);--fx:0px;--fy:-60px}
.v-c.c2{left:5.36%;top:32.69%;background:#A8A8A8;--fx:-60px;--fy:40px;animation-delay:.12s}
.v-c.c3{left:37.5%;top:32.69%;background:#D0D0D0;--fx:60px;--fy:40px;animation-delay:.24s}
@keyframes vIn{from{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.55)}}
.v-l{position:absolute;transform:translate(-50%,-50%);text-align:center;line-height:1.1;pointer-events:none;transition:opacity .4s}
.v-big{font-weight:700;letter-spacing:-.04em;font-size:clamp(24px,3.4vw,46px);white-space:nowrap}
.v-small{font-weight:600;font-size:clamp(11px,1.3vw,15px)}
.v-center{animation:vPulse 2.6s ease-in-out 1.4s infinite}
@keyframes vPulse{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.08)}}

/* ---------- Sous notre toit ---------- */
.hm-studio{background:var(--bg);position:relative;z-index:2}
.hm-studio .hm-wrap{padding-top:136px;padding-bottom:80px}
.hm-studio .hm-two{align-items:end;gap:48px;margin-bottom:72px}
.hm-studio .hm-two p{margin:0;font-size:18px;line-height:1.6;color:var(--muted);max-width:460px}
.f-stack{display:flex;flex-direction:column;gap:32px}
.f-sheet{position:sticky;transform-origin:50% 0;background:var(--card);color:var(--fg);border:1px solid var(--soft);border-radius:22px;height:380px;box-sizing:border-box;padding:40px 48px;display:flex;align-items:center;justify-content:space-between;gap:40px;transition:background .3s,color .3s}
.f-sheet:hover{background:var(--acc);color:#0B0B0B}
.f-sheet:hover .f-sub{color:#0B0B0B}
.f-sheet h3{margin:0;font-size:clamp(48px,7vw,120px);font-weight:700;letter-spacing:-.055em;line-height:.9}
.f-sheet__txt{display:flex;flex-direction:column;gap:16px;max-width:640px}
.f-sub{font-size:26px;color:var(--muted)}
.f-shape{width:180px;height:180px;border:3px solid currentColor;flex:none}

/* ---------- Hors-champ ---------- */
.hm-hc{background:var(--bg);padding:112px 0 104px;position:relative;z-index:2}
.hm-hc .hm-head p{max-width:340px}
.hm-hc .hm-rows{border-top:1.5px dashed var(--fg)}
.hm-hc .x-row{border-bottom:1.5px dashed var(--fg)}
.hc-more{margin-top:28px;display:flex;justify-content:flex-end}
.hc-more a{font-size:16px;font-weight:600;text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:2px}
.hc-more a span{display:inline-block;transition:transform .3s}
.hc-more a:hover span{transform:translateX(6px)}
.hm-hc .x-row__in{padding-top:18px;padding-bottom:18px;gap:28px}
.hm-hc .x-title{display:flex;flex-direction:column;gap:6px;font-size:inherit}

/* ---------- Jeu ---------- */
.hm-game{background:#0B0B0B;color:#F2F2F2;position:relative;z-index:2}
.hm-game .hm-wrap{padding-top:120px;padding-bottom:112px}
.hm-game .hm-head p{max-width:360px;font-size:16px;line-height:1.55;color:#BDBDBD}
.hm-game h2{font-size:clamp(44px,6vw,96px);font-weight:700;letter-spacing:-.055em;line-height:.95}
.hm-pause{display:inline-flex;align-items:center;gap:10px;font-family:"Pixelify Sans",monospace;font-weight:600;font-size:16px;color:var(--acc);margin-bottom:18px}
.hm-cafe{width:44px;height:44px;display:inline-block}
.hm-game__end{margin-top:28px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;font-size:22px;font-weight:600;letter-spacing:-.02em}
.hm-game__end[hidden]{display:none}
.hm-game__end p{margin:0}

/* ---------- Contact ---------- */
.hm-cta{background:var(--bg);border-top:1px solid var(--soft);overflow:hidden;overflow:clip;position:relative;z-index:2}
.hm-cta .hm-wrap{padding-top:112px}
.hm-cta__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:40px}
.hm-cta h2{font-size:clamp(44px,6vw,96px);font-weight:700;letter-spacing:-.05em;line-height:.98;max-width:820px}
.bf .x-badge{position:relative;width:190px;height:190px;border-radius:999px;background:var(--acc);color:#0B0B0B;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;flex:none;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.x-badge:hover{transform:scale(1.06) rotate(-3deg)}
.x-badge svg{position:absolute;inset:0}
.x-spin{animation:xSpin 14s linear infinite}
@keyframes xSpin{to{transform:rotate(360deg)}}
.hm-cta__info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:72px;font-size:18px;color:var(--muted)}
.hm-cta__info > div{display:flex;align-items:center;gap:18px}
.hm-cta__info .hm-kicker{font-size:13px;letter-spacing:.08em}
.hm-cta__info > div > div{display:flex;flex-direction:column;gap:6px}
.hm-cta__info a,.hm-cta__info b{color:var(--fg);text-decoration:none;font-weight:400}
.hm-cta__info a:hover{text-decoration:underline;text-underline-offset:5px}
.hm-cafe--big{width:72px;height:72px;flex:none}
.f-giant{display:block;margin-top:72px;padding-bottom:24px}
.f-giant svg{display:block;width:100%;height:auto;fill:currentColor}
.hm-cta__bottom{display:flex;justify-content:space-between;gap:16px;padding-top:18px;padding-bottom:18px;font-size:14px;color:var(--muted);position:relative;background:var(--bg)}
.hm-cta__bottom a{text-decoration:none}

/* ---------- Animations liées au défilement (mode Butfirst,) ---------- */
@keyframes fHeroOut{to{transform:translateY(-10%) scale(.94);opacity:.12}}
@keyframes fSlideL{from{transform:translateX(0)}to{transform:translateX(-28%)}}
@keyframes fSlideR{from{transform:translateX(-28%)}to{transform:translateX(0)}}
@keyframes fInk{from{color:var(--wordfrom)}}
@keyframes fInkAcc{from{color:var(--wordfrom)}to{color:var(--acc)}}
@keyframes fMark{from{background-size:0% 38%}}
@keyframes fShrink{to{transform:scale(.93);filter:brightness(.7)}}
@keyframes fRise{from{transform:translateY(60%)}}
@keyframes fSpinScroll{from{transform:rotate(-120deg)}}
@supports (animation-timeline: view()){
	.hm-bf .f-hero-out{animation:fHeroOut linear both;animation-timeline:view();animation-range:exit 0% exit 90%}
	.hm-bf .f-band-l{animation:fSlideL linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
	.hm-bf .f-band-r{animation:fSlideR linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
	.hm-bf .f-word{animation:fInk linear both;animation-timeline:view();animation-range:cover 18% cover 42%}
	html[data-theme="light"] .hm-bf .hm-mani .x-mark{animation:fMark linear both;animation-timeline:view();animation-range:cover 18% cover 42%}
	html[data-theme="dark"] .hm-bf .hm-mani .x-mark{animation:fInkAcc linear both;animation-timeline:view();animation-range:cover 18% cover 42%}
	.hm-bf .f-sheet{animation:fShrink linear both;animation-timeline:view();animation-range:exit 0% exit 100%}
	.hm-bf .f-shape{animation:fSpinScroll linear both;animation-timeline:view();animation-range:entry 0% cover 50%}
	.hm-bf .f-giant{animation:fRise linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
	.hm-bf .v-c{animation:vIn linear both;animation-timeline:view();animation-range:entry 20% cover 45%}
}

/* =========================================================================
   Mode « Droit au but »
   ========================================================================= */
.d-intro{padding:112px 32px}
.d-intro p{margin:0;padding-left:25%;font-size:clamp(30px,4.1vw,60px);font-weight:500;line-height:1.08;letter-spacing:-.035em;max-width:1400px}
.d-intro p svg{display:inline-block;height:.95em;width:auto;vertical-align:-.105em;fill:currentColor}
.d-pill{display:inline-block;position:relative;width:1.9em;height:.82em;border-radius:999px;overflow:hidden;vertical-align:-.06em;background:var(--alt2)}
.d-pill img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:pill 9s linear infinite both}
.d-pill img:nth-child(2){animation-delay:3s}.d-pill img:nth-child(3){animation-delay:6s}
@keyframes pill{0%{opacity:0}6%{opacity:1}33%{opacity:1}39%{opacity:0}100%{opacity:0}}
.d-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:48px;padding-left:25%}
.d-btn{text-decoration:none;border:1px solid var(--fg);border-radius:999px;padding:14px 24px;font-size:15px;font-weight:500;min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center}
.bf .d-btn--fill{background:var(--fg);color:var(--bg)}
.d-sec{padding:0 32px 112px}
.d-bar{display:flex;justify-content:space-between;align-items:baseline;padding:12px 0;border-top:1px solid var(--fg)}
.d-bar h2{font-size:14px;font-weight:400}
.d-bar a{font-size:14px;text-decoration:none;color:var(--muted)}
.d-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;row-gap:48px}
.d-card{display:flex;flex-direction:column;gap:12px;text-decoration:none}
.d-card__img{aspect-ratio:4 / 3;overflow:hidden;background:var(--alt2)}
.d-card__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.d-card:hover .d-card__img img{transform:scale(1.035)}
.d-card__meta{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.d-card__meta b{display:block;font-size:16px;font-weight:500}
.d-card__meta span{font-size:15px;color:var(--muted)}
.d-card__meta i{font-style:normal;transition:transform .35s}
.d-card:hover .d-card__meta i{transform:translateX(6px)}
.d-studio{background:var(--alt2);padding:112px 32px}
.d-split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:20px;row-gap:40px;align-items:end}
.d-split h2{font-size:14px;font-weight:400}
.d-split p{margin:0;font-size:clamp(28px,3vw,44px);font-weight:500;line-height:1.1;letter-spacing:-.03em}
.d-split__img{grid-column:7 / span 6;aspect-ratio:3 / 2;overflow:hidden}
.d-split__img img{display:block;width:100%;height:100%;object-fit:cover}
.d-exp{padding:112px 32px}
.d-exp__in{border-top:1px solid var(--fg);padding-top:14px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:20px}
.d-exp h2{grid-column:span 3;font-size:14px;font-weight:400}
.d-cols{grid-column:4 / span 9;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:40px}
.d-cols div{display:flex;flex-direction:column;gap:10px}
.d-cols h3{margin:0 0 6px;font-size:26px;font-weight:500;letter-spacing:-.02em}
.d-cols span{font-size:16px;color:var(--muted)}
.d-cta{padding:24px 32px 120px}
.d-cta h2{font-size:clamp(44px,7vw,112px);font-weight:500;letter-spacing:-.05em;line-height:.95}
.d-cta__links{display:flex;flex-wrap:wrap;gap:40px;margin-top:40px;align-items:baseline;font-size:22px}
.d-cta__links a{text-decoration:none}
.d-cta__links a:last-child{color:var(--muted)}
.v4-cta{font-weight:500;padding-bottom:6px;background:linear-gradient(#F0FF00,#F0FF00) no-repeat 0 100%/0% 3px;transition:background-size .5s cubic-bezier(.7,0,.2,1)}
.v4-cta:hover{background-size:100% 3px}

/* ---------- Mobile ---------- */
@media (max-width:900px){
	.hm-wrap{padding-left:var(--pad);padding-right:var(--pad)}
	.hm-hero{padding-top:64px;padding-bottom:72px}
	.hm-hero__foot p{font-size:17px}
	.hm-bands{height:170px}
	.hm-band--a{top:34px;font-size:30px;padding:12px 0}
	.hm-band--b{top:92px;font-size:20px;padding:10px 0}
	.hm-index,.hm-hc{padding:72px 0}
	.x-cat,.x-float{display:none}
	.x-row__in{gap:16px}
	.hm-hc .hc-tag{display:none}
	.hm-mani .hm-wrap{padding-top:96px;padding-bottom:96px}
	.hm-two{grid-template-columns:1fr;gap:40px}
	.hm-choix .hm-two{padding-top:80px;padding-bottom:80px}
	.f-sheet{height:260px;padding:28px;top:calc(var(--nav-h) + 16px)!important}
	.f-shape{width:96px;height:96px}
	.f-sub{font-size:20px}
	.hm-game .hm-wrap{padding-top:80px;padding-bottom:80px}
	.hm-cta__info{grid-template-columns:1fr;margin-top:48px}
	.x-badge{width:120px;height:120px}
	.d-intro{padding:64px var(--pad)}
	.d-intro p,.d-btns{padding-left:0}
	.d-sec,.d-studio,.d-exp,.d-cta{padding-left:var(--pad);padding-right:var(--pad)}
	.d-grid,.d-cols{grid-template-columns:1fr}
	.d-split > *,.d-split__img{grid-column:1 / -1!important}
	.d-exp h2,.d-cols{grid-column:1 / -1}
}
@media (prefers-reduced-motion:reduce){.x-swap,.x-rise{opacity:1;animation:none}.x-swap{transform:rotate(-6deg)}.x-strike::after{transform:scaleX(1);animation:none}.d-pill img:first-child{opacity:1}}

/* =========================================================================
   Remarques du 10 novembre (canevas)
   ========================================================================= */
/* « efficaces » : fond jaune plein, pour rester lisible sur le titre */
.x-swap.x-swap--full{background:var(--acc);color:#0B0B0B;font-size:.64em;letter-spacing:.02em;padding:.02em .3em .12em .16em}

/* Ligne contact : café, téléphone, e-mail animés (même trait, même taille) */
.x-ico{width:72px;height:72px;flex:none;display:block;overflow:visible;color:var(--fg)}
.x-phone{transform-box:fill-box;transform-origin:50% 60%;animation:xRing 2.6s ease-in-out infinite}
@keyframes xRing{0%,42%,100%{transform:rotate(0)}4%{transform:rotate(-12deg)}8%{transform:rotate(12deg)}12%{transform:rotate(-12deg)}16%{transform:rotate(12deg)}20%{transform:rotate(-9deg)}24%{transform:rotate(9deg)}28%{transform:rotate(-5deg)}32%{transform:rotate(5deg)}36%{transform:rotate(0)}}
.x-wave{opacity:0;animation:xWave 2.6s ease-out infinite}
.x-wave2{animation-delay:.12s}
@keyframes xWave{0%{opacity:0}5%{opacity:1}34%{opacity:1}44%,100%{opacity:0}}
.x-env{transform-box:fill-box;transform-origin:50% 100%;animation:xEnv 3.2s ease-in-out infinite}
@keyframes xEnv{0%,55%,100%{transform:translateY(0)}62%{transform:translateY(-6px)}70%{transform:translateY(0)}76%{transform:translateY(-3px)}82%{transform:translateY(0)}}
.x-badge1{transform-box:fill-box;transform-origin:50% 50%;animation:xBadge 3.2s cubic-bezier(.2,.8,.2,1) infinite}
@keyframes xBadge{0%,50%{transform:scale(0)}60%{transform:scale(1.25)}66%,92%{transform:scale(1)}100%{transform:scale(0)}}
.x-steam{opacity:0;animation:xSteam 2.4s ease-out infinite}
.x-steam2{animation-delay:.4s}.x-steam3{animation-delay:.8s}
@keyframes xSteam{0%{opacity:0;transform:translateY(5px)}30%{opacity:1}100%{opacity:0;transform:translateY(-9px)}}
/* En sombre : traits noirs sur le jaune, ce qui flotte sur le fond noir reste clair */
html[data-theme="dark"] .x-ico{color:#0B0B0B}
html[data-theme="dark"] .x-ico .x-out{stroke:var(--fg)}
html[data-theme="dark"] .x-ico .x-out-f{fill:var(--fg)}
.x-c2{justify-self:center}.x-c3{justify-self:end}
@media (prefers-reduced-motion:reduce){.x-phone,.x-wave,.x-env,.x-badge1,.x-steam{animation:none!important}.x-wave,.x-steam{opacity:1}}


/* Droit au but : projets choisis en grille (3 colonnes) ou en liste */
.d-bar__r{display:flex;align-items:center;gap:20px}
.d-view button{min-height:32px;padding:6px 14px}
[data-pview="grid"] .d-list,[data-pview="list"] .d-grid{display:none}
.d-list{border-top:1px solid var(--soft)}
.d-row{display:grid;grid-template-columns:56px minmax(0,1fr) 320px 40px;align-items:center;column-gap:20px;padding:22px 0;border-bottom:1px solid var(--soft);position:relative;text-decoration:none;transition:color .25s}
.d-row__num{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.d-t{font-size:clamp(30px,3.6vw,56px);font-weight:700;letter-spacing:-.045em;line-height:1;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.d-cat{font-size:14px;color:var(--muted)}
.d-go{font-size:24px;justify-self:end;transition:transform .35s}
.d-row:hover .d-t,.d-row:focus-visible .d-t{transform:translateX(28px)}
.d-row:hover .d-go{transform:rotate(-45deg)}
.d-list:hover .d-row{color:var(--muted)}
.d-list:hover .d-row:hover{color:var(--fg)}
.d-thumb{position:absolute;left:62%;top:50%;width:300px;aspect-ratio:4 / 3;overflow:hidden;transform:translate(-50%,-50%) scale(.9);opacity:0;pointer-events:none;z-index:2;transition:opacity .25s,transform .35s cubic-bezier(.2,.7,.2,1)}
.d-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.d-row:hover .d-thumb,.d-row:focus-visible .d-thumb{opacity:1;transform:translate(-50%,-50%) scale(1)}

/* Droit au but : contact complet (repris de la page Contact) */
.d-contact{padding:112px 0 120px}
.d-direct{background:var(--paper);padding:112px 0}
.ct-wrap{padding:0 32px;box-sizing:border-box}
.d-cta__t{font-size:clamp(44px,7vw,112px);font-weight:500;letter-spacing:-.05em;line-height:.95}
.ct-intro{margin:28px 0 56px;max-width:620px;font-size:clamp(18px,1.6vw,22px);line-height:1.45;color:var(--muted)}
.ct-kicker{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.ct-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:20px;row-gap:20px}
.ct-card{border:1.5px solid var(--fg);border-radius:22px;padding:36px;display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
.ct-card--brief{grid-column:span 7;background:var(--fg);color:var(--bg)}
.ct-card--q{grid-column:span 5}
.ct-card h3{margin:0;font-size:clamp(32px,3.4vw,52px);font-weight:700;letter-spacing:-.045em;line-height:1}
.ct-card p{margin:0;font-size:17px;line-height:1.55}
.ct-card--brief .ct-kicker{color:inherit;opacity:.7}
.ct-card .ct-note{font-size:15px;opacity:.8}
.bf .ct-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:0 28px;border-radius:999px;background:var(--bg);color:var(--fg);font-size:17px;font-weight:600;text-decoration:none;transition:transform .25s}
.ct-btn:hover{transform:translateX(4px)}
.ct-form{display:flex;flex-direction:column;gap:14px}
.ct-form[hidden],.ct-ok[hidden],.ct-err[hidden]{display:none}
.ct-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ct-label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}
.ct-in{box-sizing:border-box;width:100%;min-height:52px;padding:12px 16px;border:1.5px solid var(--soft);border-radius:12px;background:transparent;color:var(--fg);font:inherit;font-size:16px}
.ct-in:focus{border-color:var(--fg);outline:none}
textarea.ct-in{min-height:120px;resize:vertical;line-height:1.5}
.ct-send{all:unset;cursor:pointer;box-sizing:border-box;align-self:flex-start;min-height:52px;padding:0 26px;border-radius:999px;border:1.5px solid var(--fg);font-size:16px;font-weight:600;display:inline-flex;align-items:center;gap:10px}
.ct-send:hover{background:var(--fg);color:var(--bg)}
.ct-send[aria-disabled="true"]{opacity:.35;cursor:not-allowed;background:none;color:inherit}
.ct-send[aria-busy="true"]{opacity:.6}
.ct-send:focus-visible{outline:3px solid var(--fg);outline-offset:2px}
.ct-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--muted);cursor:pointer}
.ct-consent input{width:20px;height:20px;margin:0;flex:none}
.ct-err{margin:0;font-size:14px;color:var(--fg)}
.ct-ok{display:flex;flex-direction:column;gap:12px}
.ct-ok b{font-size:28px;letter-spacing:-.03em}
.ct-col{grid-column:span 5;display:flex;flex-direction:column}
.ct-col h2{margin:0 0 28px;font-size:clamp(40px,4.6vw,72px);font-weight:700;letter-spacing:-.05em;line-height:.95}
.ct-line{display:flex;flex-direction:column;gap:6px;padding:22px 0;border-top:1px solid var(--soft)}
.ct-line a,.ct-line b{font-size:clamp(24px,2.4vw,36px);font-weight:600;letter-spacing:-.03em;text-decoration:none;line-height:1.1}
.ct-line a:hover{text-decoration:underline;text-underline-offset:6px}
.ct-line .bf-muted{font-size:15px}
.ct-mapcol{grid-column:7 / span 6;display:flex;flex-direction:column;gap:12px}
.ct-map{position:relative;aspect-ratio:4 / 3;border-radius:22px;overflow:hidden;background:var(--bg);border:1px solid var(--soft)}
.ct-streets{position:absolute;inset:0;width:100%;height:100%}
.ct-pin{position:absolute;left:53.25%;top:41%;transform:translate(calc(-100% + 7px),-50%);display:flex;flex-direction:row;align-items:center;gap:10px}
.ct-pin span{background:var(--fg);color:var(--bg);font-size:13px;font-weight:600;padding:8px 14px;border-radius:999px;white-space:nowrap}
.ct-pin i{display:block;flex:none;width:14px;height:14px;border-radius:999px;background:var(--fg);box-shadow:0 0 0 6px rgba(240,255,0,.45)}
.ct-maplinks{display:flex;flex-wrap:wrap;gap:8px}
.ct-maplinks a{background:var(--bg);color:var(--fg);border:1px solid var(--soft);border-radius:999px;padding:10px 16px;font-size:14px;font-weight:600;text-decoration:none;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
.ct-maplinks a:hover{border-color:var(--fg)}

@media (max-width:900px){
	.hm-cta__info{grid-template-columns:1fr}
	.x-c2,.x-c3{justify-self:start}
	.d-grid{grid-template-columns:1fr}
	.d-bar{flex-wrap:wrap;gap:12px}
	.d-row{grid-template-columns:40px minmax(0,1fr) 32px}
	.d-row .d-cat,.d-thumb{display:none}
	.ct-wrap{padding:0 var(--pad)}
	.ct-grid > *{grid-column:1 / -1!important}
	.ct-card{padding:24px}
	.d-contact,.d-direct{padding:72px 0}
}

/* =========================================================================
   « Droit au but » plus direct (12 novembre)
   ========================================================================= */
.d-logos{margin-top:56px;padding-left:25%}
.d-logos__t{display:block;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
.d-logos ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:20px 44px}
.d-logos img{display:block;height:34px;width:auto;max-width:140px;object-fit:contain;filter:grayscale(1);opacity:.7}
html[data-theme="dark"] .d-logos img{filter:grayscale(1) invert(1);opacity:.75}
.d-band{padding:0 32px 96px}
.bf .d-band__in{display:grid;grid-template-columns:200px minmax(0,1fr) auto;align-items:center;gap:24px;padding:28px 32px;background:var(--alt2);text-decoration:none;transition:background .25s}
.d-band__in:hover{background:var(--soft)}
.d-band h2{font-size:14px;font-weight:400}
.d-band__txt{font-size:clamp(20px,2vw,28px);font-weight:500;letter-spacing:-.02em}
.d-band__go{font-size:16px;font-weight:600;white-space:nowrap}
.d-line{padding:0 0 40px}
.d-line__in{display:flex;flex-wrap:wrap;gap:12px 40px;align-items:baseline;border-top:1px solid var(--soft);padding-top:24px;font-size:18px}
.d-line__in a{text-decoration:none;font-weight:600}
.d-line__in a:hover{text-decoration:underline;text-underline-offset:5px}
.d-line__in span{color:var(--muted)}
.d-contact{padding-bottom:56px}
@media (max-width:900px){
	.d-logos{padding-left:0;margin-top:40px}
	.d-band{padding:0 var(--pad) 72px}
	.bf .d-band__in{grid-template-columns:1fr;gap:8px;padding:22px}
	.d-line__in{flex-direction:column;gap:10px}
}

/* Expertises : colonnes sur desktop, lignes numérotées sur mobile */
.d-n{display:none}
.d-items{margin:0;display:flex;flex-direction:column;gap:10px}
.d-items span{font-size:16px;color:var(--muted)}
@media (max-width:900px){
	.d-exp{padding-top:56px;padding-bottom:72px}
	.d-exp__in{display:block;padding-top:12px}
	.d-exp h2{margin-bottom:20px}
	.d-cols{display:block;border-top:1.5px solid var(--fg)}
	.d-col{display:grid!important;grid-template-columns:36px minmax(0,1fr);column-gap:10px;row-gap:6px;padding:18px 0 20px;border-bottom:1px solid var(--soft)}
	.d-n{display:block;grid-row:1;font-size:13px;font-weight:600;padding-top:9px;font-variant-numeric:tabular-nums}
	.d-col h3{grid-column:2;margin:0;font-size:32px;font-weight:700;letter-spacing:-.045em;line-height:1.05}
	.d-items{grid-column:2;display:block;line-height:1.5}
	.d-items span{font-size:16px}
	.d-items span + span::before{content:" · ";color:var(--soft)}
}

/* Droit au but : le jaune, avec parcimonie (3 touches) */
html[data-mode="direct"] .bf .d-btn--fill,.bf .hm-direct .d-btn--fill{background:var(--acc);color:#0B0B0B;border-color:var(--acc)}
.hm-direct .d-btn--fill:hover{transform:translateX(3px)}
.hm-direct .d-btn{transition:transform .25s,background .25s,color .25s}
.bf .hm-direct .d-band__in:hover{background:var(--acc);color:#0B0B0B}
.bf .hm-direct .ct-card--brief .ct-btn{background:var(--acc);color:#0B0B0B}

/* Titre d'accueil : découpe différente sur mobile (3 lignes) */
.hm-mob,.hm-hero h1 > .hm-mob{display:none}
@media (max-width:600px){
	.hm-dsk{display:none}
	.hm-mob{display:inline}
	.hm-hero h1 > .hm-mob--line{display:block}
}

/* « Bien, urgent, pas cher » : les trois en même temps = impossible */
.v-boom{position:absolute;left:50%;top:55%;width:48%;aspect-ratio:1 / 1;border-radius:999px;background:#FF5E00;transform:translate(-50%,-50%) scale(.2);opacity:0;transition:opacity .25s,transform .55s cubic-bezier(.2,1.6,.3,1);z-index:3;pointer-events:none;box-shadow:0 0 0 10px rgba(255,94,0,.25),0 0 60px rgba(255,94,0,.6)}
.v-boom-on .v-boom{opacity:1;transform:translate(-50%,-50%) scale(1)}
.v-boom-txt{position:absolute;left:50%;top:55%;transform:translate(-50%,-50%) scale(.4) rotate(-6deg);z-index:4;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;opacity:0;transition:opacity .2s,transform .6s cubic-bezier(.2,1.7,.3,1);pointer-events:none;white-space:nowrap}
.v-boom-on .v-boom-txt{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-6deg)}
.v-boom-txt b{font-size:clamp(44px,6.6vw,100px);font-weight:800;letter-spacing:-.06em;line-height:.9;color:#0B0B0B;text-transform:uppercase}
.v-boom-txt .v-skull{display:block;width:clamp(120px,13vw,210px);height:auto;margin-bottom:-4px}
.v-boom-on .v-c{animation:vShake .5s cubic-bezier(.36,.07,.19,.97) both!important}
.v-boom-on .v-l{opacity:.15!important}
@keyframes vShake{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}30%,50%,70%{transform:translateX(-8px)}40%,60%{transform:translateX(8px)}}
/* Bien, vite, pas cher — mobile : le schéma passe entre le texte et les boutons, pour voir les ronds réagir au choix. */
@media (max-width:900px){
	.hm-choix .hm-two{gap:0}
	.hm-choix .hm-col{display:contents}
	.hm-choix h2{order:1}
	.hm-choix .v-intro{order:2;margin-top:18px;font-size:16px}
	.hm-choix .v-wrap{order:3;width:min(420px,100%);margin:24px auto 0}
	.hm-choix .v-togs{order:4;margin-top:20px;justify-content:center;gap:8px}
	.hm-choix .v-togs{flex-wrap:nowrap}
	.hm-choix .v-tog{padding:10px clamp(12px,3.6vw,18px);min-height:44px;font-size:clamp(14px,3.9vw,15px);white-space:nowrap}
	.hm-choix .v-verdict{order:5;margin:16px auto 0;text-align:center;font-size:24px!important}
	.hm-choix .v-conseil{order:6;margin-top:32px;font-size:16px}
	.v-big{font-size:clamp(18px,5.6vw,28px)}
	.v-small{font-size:clamp(10px,2.8vw,13px)}
	.v-boom-txt b{font-size:clamp(34px,10vw,60px)}
	.v-boom-txt .v-skull{width:clamp(110px,32vw,150px)}
}
@media (prefers-reduced-motion:reduce){.v-boom,.v-boom-txt{transition:opacity .2s}.v-boom-on .v-c{animation:none!important}}

/* ---------- Jeu « Pause café » (intégré depuis le prototype ; voir assets/js/game.js) ---------- */
.hm-game .hm-game__stage, .hm-game .hm-game__howto { --bg: #0B0B0B; --fg: #F2F2F2; --mut: #8A8A8A; --acc: #F0FF00; font-family: Poppins, system-ui, sans-serif; color: var(--fg); }
.hm-game .hm-game__stage *, .hm-game .hm-game__howto * { box-sizing: border-box; }
html.hm-game-locked, html.hm-game-locked body { overflow: hidden; height: 100%; overscroll-behavior: none; }
/* Plein écran : la section passe au-dessus de l'en-tête du site (sinon son z-index la confine). */
.hm-game:has(.hm-game__stage.is-full) { z-index: 1000; }
html[data-mode="direct"] .hm-game { display: none; }
.hm-game .hm-game__stage { border: 1.5px solid #2A2A2A; }
.hm-game .hm-game__stage.is-full { border: 0; }
.hm-game .hm-game__area canvas:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
.hm-game .hm-game__p-concours { font-size: 12px; line-height: 1.45; color: #BDBDBD; margin: -2px 0 10px; }
.hm-game .hm-game__p-legal { font-size: 11px; line-height: 1.4; color: #8A8A8A; margin: 10px 0 0; }
.hm-game .hm-game__p-legal:empty, .hm-game .hm-game__p-concours:empty { display: none; }
/* Panneau de fin : ne déborde jamais du jeu (le texte du concours et le consentement l'allongent) */
.hm-game .hm-game__stage .hm-game__panel { max-height: calc(100% - 12px); overflow-y: auto; transform: translate(-50%, -50%); overscroll-behavior: contain; }
.hm-game .hm-game__stage { position: relative; background: var(--bg); border-radius: 14px; overflow: hidden;
	display: flex; flex-direction: column; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hm-game .hm-game__stage.is-full { position: fixed; inset: 0; z-index: 1000; border-radius: 0; height: 100vh; height: 100dvh;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.hm-game .hm-game__bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border-bottom: 1px solid #222; flex: none; }
.hm-game .hm-game__bar .hm-game__name { font-family: "Pixelify Sans", monospace; font-size: 15px; color: var(--mut); margin-right: auto; letter-spacing: .04em; }
.hm-game .hm-game__bar button { width: 40px; height: 36px; border: 0; border-radius: 8px; background: #1E1E1E; color: var(--fg);
	font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hm-game .hm-game__bar button:hover { background: #2A2A2A; }
.hm-game .hm-game__bar button[hidden] { display: none; }
.hm-game .hm-game__bar button svg { width: 16px; height: 16px; display: block; }
@media (pointer: coarse) { .hm-game .hm-game__bar button { width: 44px; height: 44px; } }
.hm-game .hm-game__area { position: relative; width: 100%; display: grid; place-items: center; }
.hm-game .hm-game__stage.is-full .hm-game__area { flex: 1; min-height: 0; }
.hm-game .hm-game__area canvas { display: block; touch-action: none; outline: none; }
/* « Insert coin » : lance la partie (sur mobile, hors plein écran, c'est le seul moyen : la zone de jeu laisse défiler la page). */
.hm-game .hm-game__coin { display: none; position: absolute; left: 50%; transform: translateX(-50%); align-items: center; gap: 12px; z-index: 2;
	min-height: 56px; padding: 0 26px; border: 0; border-radius: 8px; background: var(--acc); color: #0B0B0B; cursor: pointer;
	font-family: "Pixelify Sans", monospace; font-size: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.hm-game .hm-game__stage.coin-on .hm-game__coin { display: inline-flex; }
/* Clignotement léger, façon borne d'arcade ; arrêté au survol, au focus et si l'appareil demande moins d'animations. */
@keyframes hmCoinBlink { 0%, 70% { opacity: 1; } 70.01%, 100% { opacity: .55; } }
.hm-game .hm-game__stage.coin-on .hm-game__coin { animation: hmCoinBlink 1.2s infinite; }
.hm-game .hm-game__coin:hover, .hm-game .hm-game__coin:focus-visible { animation: none; }
@media (prefers-reduced-motion: reduce) { .hm-game .hm-game__stage.coin-on .hm-game__coin { animation: none; } }
.hm-game .hm-game__coin svg { width: 16px; height: 16px; display: block; }
.hm-game .hm-game__coin:hover { filter: brightness(1.08); }
.hm-game .hm-game__coin:focus-visible { outline: 3px solid #F2F2F2; outline-offset: 3px; }
@media (pointer: coarse) {
	.hm-game .hm-game__stage:not(.is-full) .hm-game__area canvas { touch-action: pan-y; }
}
.hm-game .hm-game__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); width: min(92%, 420px);
	background: rgba(11,11,11,.96); border: 2px solid var(--acc); border-radius: 14px; padding: 20px 20px 18px; text-align: center; }
.hm-game .hm-game__panel[hidden] { display: none; }
.hm-game .hm-game__p-title { font-family: "Pixelify Sans", monospace; font-size: 30px; color: var(--acc); }
.hm-game .hm-game__p-title.is-long { font-size: clamp(20px, 5.4vw, 26px); line-height: 1.2; }
.hm-game .hm-game__p-total { font-family: "Pixelify Sans", monospace; font-size: 44px; margin: 2px 0 8px; }
.hm-game .hm-game__p-total small { font-size: 18px; color: var(--mut); }
.hm-game .hm-game__p-rows { list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; color: #BDBDBD; }
.hm-game .hm-game__p-rows li { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed #2A2A2A; }
.hm-game .hm-game__p-rows b { color: var(--fg); font-weight: 600; }
.hm-game .hm-game__p-best { font-size: 13px; color: var(--acc); margin: 8px 0 12px; min-height: 1em; }
.hm-game .hm-game__panel input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid #333; background: #111; color: var(--fg);
	font: 600 16px Poppins, sans-serif; padding: 0 12px; margin-bottom: 10px; }
.hm-game .hm-game__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.hm-game .hm-game__p-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 11px; line-height: 1.45; color: #9A9A9A; cursor: pointer; }
.hm-game .hm-game__panel .hm-game__p-check input { flex: none; -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; padding: 0; border-radius: 6px; border: 1.5px solid #BDBDBD; background: transparent; display: grid; place-items: center; cursor: pointer; }
.hm-game .hm-game__panel .hm-game__p-check input:checked { background: var(--acc); border-color: var(--acc); }
.hm-game .hm-game__panel .hm-game__p-check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #0B0B0B; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.hm-game .hm-game__panel .hm-game__p-check input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.hm-game .hm-game__p-check span { color: #BDBDBD; }
.hm-game .hm-game__p-actions button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.hm-game .hm-game__p-msg { margin: 0; font-size: 12px; line-height: 1.4; color: var(--acc); text-align: center; }
.hm-game .hm-game__p-msg.is-bad { color: #FF8A7A; }
.hm-game .hm-game__p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm-game .hm-game__p-actions a,
.hm-game .hm-game__p-actions button { height: 46px; border-radius: 10px; border: 0; font: 600 14px Poppins, sans-serif; cursor: pointer;
	display: grid; place-items: center; text-decoration: none; }
.hm-game .hm-game__btn-acc { background: var(--acc); color: #0B0B0B; }
.hm-game .hm-game__btn-ghost { background: #222; color: var(--fg); }
.hm-game .hm-game__p-actions .hm-game__wide { grid-column: 1 / -1; }
.hm-game .hm-game__p-actions [hidden] { display: none; }
.hm-game .hm-game__p-day { font-size: 12px; color: var(--mut); margin: -6px 0 10px; }
.hm-game .hm-game__howto { margin-top: 16px; }
.hm-game .hm-game__howto-btn { height: 46px; padding: 0 18px; border-radius: 10px; border: 2px solid var(--acc); background: transparent; color: var(--acc);
	font: 700 16px "Pixelify Sans", monospace; letter-spacing: .03em; cursor: pointer; }
.hm-game .hm-game__howto-btn span { display: inline-block; transition: transform .2s; }
.hm-game .hm-game__howto-btn[aria-expanded="true"] span { transform: rotate(180deg); }
.hm-game .hm-game__howto-body { margin-top: 14px; background: #101010; border: 1px solid #262626; border-radius: 14px; padding: 6px 20px 18px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 28px; font-size: 14px; line-height: 1.55; color: #CFCFCF; }
.hm-game .hm-game__howto-body[hidden] { display: none; }
.hm-game .hm-game__howto-body h3 { font: 700 17px "Pixelify Sans", monospace; color: var(--acc); margin: 16px 0 6px; letter-spacing: .03em; }
.hm-game .hm-game__howto-body p { margin: 0 0 8px; }
.hm-game .hm-game__howto-body ul { margin: 0 0 8px; padding-left: 18px; }
.hm-game .hm-game__howto-body li { margin-bottom: 5px; }
.hm-game .hm-game__howto-body b { color: var(--fg); }
.hm-game .hm-game__howto-body .hm-game__foe { color: #FF5E00; }
.hm-game .hm-game__howto-body ul.hm-game__chips { list-style: none; padding: 0; }
.hm-game .hm-game__chip { display: inline-block; padding: 2px 10px; margin-right: 6px; border-radius: 999px; background: #F2F2F2; color: #0B0B0B; font-weight: 600; font-size: 12px; }
.hm-game .hm-game__chip i { font-style: normal; background: var(--acc); color: #0B0B0B; font: 700 10px "Pixelify Sans", monospace; padding: 1px 4px; margin-left: 4px; }
.hm-game .hm-game__chip-small { box-shadow: inset 0 0 0 2px var(--acc); }
.hm-game .hm-game__chip-tank { background: #2B2B2B; color: #F2F2F2; box-shadow: inset 0 0 0 2px #F2F2F2; }
.hm-game .hm-game__chip-diver { background: var(--acc); }
.hm-game .hm-game__notes { margin-top: 22px; font-size: 13px; color: #9A9A9A; line-height: 1.6; }
.hm-game .hm-game__notes b { color: #DADADA; }

/* Bouton de fin du jeu : texte court et retour à la ligne sur mobile */
.hm-mob-only{display:none}
@media (max-width:900px){.hm-br-d{display:none}}
.hm-game__end .x-badge{max-width:100%;box-sizing:border-box;text-align:center}
@media (max-width:560px){
	.hm-desk-only{display:none}
	.hm-mob-only{display:inline}
	.hm-game__end .x-badge{white-space:normal;line-height:1.3}
}

/* =========================================================================
   Droit au but : page condensée, lisible en une minute (15 novembre)
   ========================================================================= */
.d-btn{gap:10px}
.d-btn--tel span{font-variant-numeric:tabular-nums}
.d-sec{max-width:1400px;margin:0 auto;box-sizing:border-box}
.d-grid--6{margin-top:20px;column-gap:12px;row-gap:44px}
.d-card[data-dab-open]{cursor:zoom-in}
.d-card__meta i{font-size:20px;font-weight:400;line-height:1}

/* Aperçu d'un projet */
.d-vw{padding:0;border:0;background:transparent;max-width:min(1040px,calc(100vw - 32px));width:100%;max-height:calc(100dvh - 32px);color:#0B0B0B}
.d-vw::backdrop{background:rgba(11,11,11,.86)}
.d-vw__box{background:#FFFFFF;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}
.d-vw__imgs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;background:#F4F4F4;flex:none}
.d-vw__imgs img{flex:none;width:100%;aspect-ratio:16 / 9;object-fit:cover;scroll-snap-align:start;display:block}
.d-vw__imgs:focus-visible{outline:3px solid #0B0B0B;outline-offset:-3px}
.d-vw__txt{padding:24px 32px 28px;display:flex;flex-direction:column;gap:14px;overflow:auto}
.d-vw__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.d-vw h3{margin:0;font-size:28px;font-weight:700;letter-spacing:-.03em}
.d-vw__head span{font-size:14px;color:#5C5C5C}
.d-vw .bf-round{border-color:#D6D6D6;color:#0B0B0B}
.d-vw p{margin:0;max-width:640px;font-size:16px;line-height:1.55;color:#2E2E2E}
.d-vw__foot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px}
.d-vw__foot a{font-size:15px;font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;color:#0B0B0B}
.d-vw__foot a:hover{text-decoration:underline;text-underline-offset:5px}

/* Ce qu'on fait */
.d-serv{list-style:none;margin:0;padding:0}
.d-serv li{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:24px;align-items:baseline;padding:18px 0;border-bottom:1px solid var(--soft)}
.d-serv h3{margin:0;font-size:22px;font-weight:600;letter-spacing:-.02em}
.d-serv p{margin:0;font-size:17px;color:var(--muted)}

/* Comment ça se passe */
.d-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:20px}
.d-steps li{display:flex;flex-direction:column;gap:8px;padding-top:18px;border-top:1.5px solid var(--fg)}
.d-steps__n{font-size:14px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.d-steps b{font-size:22px;font-weight:600;letter-spacing:-.02em}
.d-steps li > span:last-child{font-size:16px;color:var(--muted)}
#d-etapes .d-bar{border-top:0;padding-top:0}

/* Et le budget ? */
.d-budget{background:var(--alt2);padding:72px 32px;margin-bottom:112px}
.d-budget__in{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-end;gap:40px;flex-wrap:wrap}
.d-budget h2{margin:0;font-size:clamp(32px,3.2vw,44px);font-weight:700;letter-spacing:-.04em;line-height:1.02}
.d-budget h2 .bf-serif{font-weight:400}
.d-budget p{margin:18px 0 0;max-width:720px;font-size:18px;line-height:1.55}
.d-budget .d-budget__studio{margin-top:12px;font-size:15px;color:var(--muted)}

/* Les 5 questions */
.d-faq__in{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:24px}
.d-faq h2{margin:0;padding-top:24px;font-size:14px;font-weight:600}
.d-faq__list{border-top:1.5px solid var(--fg)}
.d-faq__all{display:inline-flex;min-height:44px;align-items:center;margin-top:12px;font-size:15px;font-weight:600;text-decoration:none}

@media (max-width:900px){
	.d-sec{padding-left:var(--pad);padding-right:var(--pad);padding-bottom:64px}
	.d-grid--6{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:26px}
	.d-grid--6 .d-card__meta b{font-size:15px}
	.d-grid--6 .d-card__meta span span{font-size:13px}
	.d-serv li{grid-template-columns:1fr;gap:4px;padding:16px 0}
	.d-serv h3{font-size:19px}
	.d-serv p{font-size:15px}
	.d-steps{grid-template-columns:1fr;gap:0;margin-top:8px}
	.d-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:8px;row-gap:2px;padding:14px 0}
	.d-steps__n{grid-row:span 2;padding-top:3px}
	.d-steps b{font-size:18px}
	.d-steps li > span:last-child{font-size:15px}
	.d-budget{padding:48px var(--pad);margin-bottom:64px}
	.d-budget .d-btn{width:100%;justify-content:center}
	.d-faq__in{grid-template-columns:1fr;gap:0}
	.d-faq h2{padding:0 0 12px}
	.d-vw__txt{padding:18px 20px 20px}
	.d-vw h3{font-size:22px}
	.d-btns .d-btn{flex:1 1 100%;justify-content:center}
}
.hm-cta__bottom{align-items:center}
.hm-cta__bottom .bf-social{margin:-12px 0}
@media (max-width:700px){
	.hm-cta__bottom{flex-wrap:wrap;row-gap:4px}
	.hm-cta__bottom .bf-social{order:-1;flex-basis:100%;margin:0 0 0 -10px}
}

/* « Mais vous faites quoi ici ? » : image au survol du titre, comme l'index */
.hm-studio__t{position:relative}
.hm-studio__t .x-float--t{right:auto;left:62%;top:40%}
.hm-studio__t:hover .x-float--t{opacity:1;transform:translateY(-50%) rotate(4deg) scale(1)}
/* Sur mobile (pas de survol) : la photo de la vitrine s'affiche sous le titre, inclinée, et se pose au défilement */
@media (hover:none),(max-width:900px){
	.hm-studio__t .x-float.x-float--t{display:block;position:relative;left:auto;right:auto;top:auto;width:72%;max-width:320px;margin:24px 0 8px 6%;opacity:1;transform:rotate(-4deg)}
	@supports (animation-timeline: view()){
		.hm-bf .hm-studio__t .x-float--t{animation:xVitrine linear both;animation-timeline:view();animation-range:entry 10% cover 35%}
	}
}
@keyframes xVitrine{from{opacity:0;transform:translateY(30px) rotate(6deg) scale(.85)}to{opacity:1;transform:rotate(-4deg)}}

/* Review 16.11 : catégories des Highlights alignées (2 lignes au besoin), Hors-champ sur fond gris, studio plus serré sur mobile */
.hm-index .x-cat{flex:0 0 260px;min-width:0;line-height:1.45}
.hm-hc{background:var(--alt2)}
@media (max-width:900px){
	.hm-studio .hm-wrap{padding-top:72px;padding-bottom:56px}
	.hm-studio .hm-two{gap:16px;margin-bottom:40px}
	.hm-studio__t .x-float.x-float--t{margin-top:16px;margin-bottom:0}
}

@media (max-width:600px){.ct-pin span{font-size:11px;padding:6px 10px}.ct-pin{gap:8px}}
@media (max-width:400px){.ct-pin span{font-size:10px;padding:5px 8px}.ct-pin{gap:6px}}
