/* Titre centré dans la colonne de gauche ; commandes sur le paysage. */
body.home-duel .hero{min-height:680px;height:clamp(680px,75svh,820px);max-height:none;padding:0;display:flex;flex-direction:column;background:#052b25}
body.home-duel .hero-image{object-position:70% center;opacity:0;transition:opacity 1.2s ease-in-out;pointer-events:none}
body.home-duel .hero-image.is-active{opacity:1}
body.home-duel .hero-image[data-hero-mode=race]{object-position:72% center}
body.home-duel .hero-shade{background:linear-gradient(110deg,#052b25 0%,#052b25f5 36%,#052b2512 78%);clip-path:polygon(0 0,52% 0,41% 100%,0 100%)}
body.home-duel .hero:after{content:"";position:absolute;inset:55% 0 0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#052b25ed,transparent 65%)}
body.home-duel .site-header{position:relative;z-index:9;flex:0 0 auto;display:grid;grid-template-columns:43% minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px 4.2vw}
body.home-duel .wordmark{grid-column:1;grid-row:1}
body.home-duel .main-nav{grid-column:2;grid-row:1;justify-self:center;display:flex;align-items:center;gap:24px;padding:5px 16px;border:1px solid #f5f1e738;border-radius:6px;background:#052722;color:var(--cream);font-size:15px;font-weight:600;white-space:nowrap}
body.home-duel .main-nav a{padding:10px 0}
body.home-duel .header-actions{grid-column:3;grid-row:1;gap:12px}
body.home-duel .language-label select{height:44px;border:1px solid #f5f1e770;background:#052722;color:var(--cream);font-size:14px;font-weight:600;color-scheme:dark}
body.home-duel .landing-profile-button{border-color:#f5f1e770;background:#052722;color:var(--cream)}
body.home-duel .landing-profile-button:hover,body.home-duel .landing-profile-button[aria-expanded=true]{border-color:var(--cream);background:var(--cream);color:var(--pine)}
body.home-duel .hero-copy{position:absolute;inset-inline-start:4.2vw;top:50%;transform:translateY(-50%);display:flex;align-items:center;width:45%;max-width:700px;min-height:0;margin:0}
.duel-headline{margin:0;font-family:Impact,"Arial Narrow",sans-serif;font-style:italic;font-weight:900;text-transform:uppercase;letter-spacing:-.035em}
.duel-question{display:block;max-width:none;font-size:clamp(64px,6.2vw,116px);line-height:.98}
.duel-answer{display:block;color:var(--yellow);font-size:clamp(105px,9vw,166px);line-height:1;margin-top:4px}
.duel-modes{flex:0 0 auto;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:28px;width:calc(100% - 8.4vw);max-width:none;margin:auto auto 22px}
.duel-mode{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 6px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--cream);font:inherit;font-size:15px;text-align:start;cursor:pointer}
.duel-mode svg{width:30px;height:28px;flex-shrink:0}
.duel-mode:hover{border-bottom-color:#f5f1e780}
.duel-mode[aria-pressed=true]{border-bottom-color:var(--yellow);font-weight:750}
.duel-mode[aria-pressed=true] svg{color:var(--yellow)}
body.home-duel .action-band{min-height:108px;padding:22px 4.2vw;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}
body.home-duel .demo-link{max-width:100%;min-width:0;padding:14px 22px;border:2px solid var(--pine);border-radius:8px;font-family:"Avenir Next",Avenir,Arial,sans-serif;font-size:clamp(18px,1.8vw,26px);font-weight:800;font-style:normal;letter-spacing:0;text-transform:none;text-align:center;min-height:54px}
body.home-duel .rower-link{background:var(--pine);color:var(--cream)}
body.home-duel .demo-link:hover{box-shadow:0 0 0 1px currentColor}
body.home-duel #webgpuNotice{flex-basis:100%;max-width:760px;margin:4px 0 0;font-size:14px;line-height:1.5;text-align:center}
body.home-duel #heroPause{position:absolute;inset-inline-end:4.2vw;bottom:112px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #f5f1e770;border-radius:50%;background:#052722;color:var(--cream);padding:10px}
body.home-duel #heroPause[hidden]{display:none}
body.home-duel #heroPause svg{width:22px;height:22px}
body.home-duel #heroPause .carousel-play,body.home-duel #heroPause[data-paused=true] .carousel-pause{display:none}
body.home-duel #heroPause[data-paused=true] .carousel-play{display:block}
body.home-duel .introduction{padding-top:35px;padding-bottom:45px}
html[dir=rtl] body.home-duel .hero-copy{text-align:start}
html[dir=rtl] body.home-duel .hero-image,html[dir=rtl] body.home-duel .hero-shade{transform:scaleX(-1)}
html[dir=rtl] .duel-headline{font-family:Arial,sans-serif;font-style:normal;letter-spacing:0}
html[dir=rtl] .duel-question{font-size:clamp(48px,5vw,85px);line-height:1.2}
html[lang=zh] .duel-question{font-size:clamp(48px,5vw,82px);line-height:1.2;max-width:8ch}
@media(max-width:1100px){
 body.home-duel .site-header{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 body.home-duel .header-actions{grid-column:2}
 body.home-duel .main-nav{grid-column:1/-1;grid-row:2;justify-self:end;font-size:14px}
 body.home-duel .hero-copy{width:49%}
 .duel-question{font-size:clamp(55px,6.5vw,70px)}.duel-answer{font-size:clamp(88px,10vw,110px)}
 .duel-modes{gap:20px}.duel-mode{font-size:14px}
}
@media(max-width:700px){
 body.home-duel .hero{min-height:680px;height:auto}
 body.home-duel .site-header{padding:14px 18px;gap:10px}
 body.home-duel .main-nav{justify-self:center;max-width:100%;gap:18px;padding:3px 12px;font-size:12px}
 body.home-duel .main-nav a{padding:8px 0}
 body.home-duel .header-actions{gap:9px}
 body.home-duel .language-label select{font-size:12px;max-width:79px}
 body.home-duel .hero-image{top:0;height:310px;object-position:65% center}
 body.home-duel .hero-shade{clip-path:none;background:linear-gradient(180deg,#052b2510 80px,#052b2500 160px,#052b25 310px)}
 body.home-duel .hero:after{display:none}
 body.home-duel .hero-copy{position:static;transform:none;flex:1;width:auto;max-width:none;margin:180px 23px 30px}
 .duel-question{font-size:clamp(48px,13vw,76px)}.duel-answer{font-size:clamp(82px,21vw,115px)}
 .duel-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:calc(100% - 46px);margin:0 23px 20px}
 .duel-mode{flex-direction:column;align-items:center;justify-content:flex-start;font-size:11px;line-height:1.4;text-align:center;gap:8px;padding:8px 0 12px;min-width:0}
 .duel-mode svg{width:27px;height:27px}
 body.home-duel .action-band{min-height:0;padding:20px 23px;flex-direction:column;align-items:stretch}
 body.home-duel .demo-link{font-size:18px;min-height:48px;text-align:center}
 body.home-duel #heroPause{top:230px;bottom:auto;inset-inline-end:23px}
 body.home-duel #webgpuNotice{flex-basis:auto}
 body.home-duel .introduction{padding-top:28px}
 html[dir=rtl] body.home-duel .hero-copy{margin:180px 23px 30px}
 html[dir=rtl] .duel-question,html[lang=zh] .duel-question{font-size:48px}
}
/* Le carrousel conserve son fondu sans mouvement, même si les animations sont réduites. */
@media(prefers-reduced-motion:reduce){body.home-duel .hero-image{transition:opacity 1.2s ease-in-out!important}}
