/* Styles chargés uniquement pour la racine, jamais dans les deux pôles validés. */
body.portal-immersive{background:#080f12;color:#fff;margin:0}body.portal-immersive>.site-header{display:none}.portal-immersive main{padding:0}.portal-entry{min-height:100svh;--ribbon:116px}.portal-ribbon{height:var(--ribbon);display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#30443977,transparent 65%),linear-gradient(105deg,#0c1519,#182820,#10191b);border-bottom:1px solid #c5a56a88;position:relative;z-index:3;box-shadow:0 6px 30px #0005}.portal-ribbon:before,.portal-ribbon:after{content:"";height:1px;width:clamp(30px,15vw,230px);background:linear-gradient(90deg,transparent,#c5a56a);margin:0 clamp(1rem,4vw,4rem)}.portal-ribbon:after{transform:scaleX(-1)}.portal-ribbon a{height:100%;display:flex;align-items:center}.portal-ribbon img{height:94px;max-width:240px;object-fit:contain}.portal-worlds{position:relative;height:calc(100svh - var(--ribbon));min-height:580px;overflow:hidden;background:#111c20}.portal-world{position:absolute;inset:0;display:block;text-decoration:none;color:white;isolation:isolate;overflow:hidden}.portal-world>img{position:absolute;width:100%;height:100%;object-fit:cover;transition:transform .7s,filter .5s;z-index:-2}.portal-world:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#061319c9,transparent 65%);z-index:-1}.portal-services{clip-path:polygon(0 0,0 100%,100% 100%);z-index:1}.portal-games{clip-path:polygon(0 0,100% 0,100% 100%);z-index:2}.portal-services>img{object-position:30% center}.portal-games>img{object-position:72% center}.portal-services:after{background:linear-gradient(35deg,#06191be6,transparent 75%)}.portal-games:after{background:linear-gradient(215deg,#15160e99,transparent 75%)}.portal-caption{position:absolute;display:flex;flex-direction:column;gap:.6rem;max-width:40%;text-shadow:0 2px 16px #0009}.portal-services .portal-caption{left:7%;bottom:13%}.portal-games .portal-caption{right:7%;top:12%;text-align:right;align-items:flex-end}.portal-caption strong{font-size:clamp(2rem,4.5vw,4.5rem);font-weight:600;line-height:1.1;letter-spacing:-.03em}.portal-games strong{font-family:Cinzel,Georgia,serif;color:#ffe5ac}.portal-caption>span:not(.portal-arrow){font-size:clamp(.85rem,1.3vw,1.1rem);letter-spacing:.08em;color:#eee}.portal-arrow{display:grid;place-items:center;border:1px solid #e5d4a577;width:46px;height:46px;border-radius:50%;margin-top:1rem;background:#10201e88;font-size:1.4rem;transition:background .2s,transform .2s}.portal-world:hover>img{transform:scale(1.045);filter:brightness(1.12)}.portal-world:hover .portal-arrow{background:#d4b576;color:#111b16;transform:translate(2px,-2px)}.portal-world:focus-visible{outline:none}.portal-world:focus-visible .portal-caption{outline:3px solid #ffe4a6;outline-offset:16px;border-radius:2px}.portal-ribbon a:focus-visible{outline:3px solid #ffe4a6;outline-offset:0}.portal-seam{position:absolute;inset:0;clip-path:polygon(0 0,.25% 0,100% 99.5%,100% 100%,99.75% 100%,0 .5%);background:#e1c68ba6;z-index:3;pointer-events:none}.portal-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.portal-immersive .site-footer-grid{padding-top:1.5rem;padding-bottom:1.5rem;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-immersive .site-footer-grid>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-immersive .site-footer-grid>nav>strong{grid-column:1/-1}
@media(max-width:700px){.portal-entry{--ribbon:94px}.portal-ribbon img{height:76px;max-width:190px}.portal-worlds{height:calc(100svh - var(--ribbon));min-height:620px}.portal-services{clip-path:polygon(0 0,100% 0,100% 56%,0 44%)}.portal-games{clip-path:polygon(0 44%,100% 56%,100% 100%,0 100%)}.portal-services>img{object-position:35% center}.portal-games>img{object-position:65% center}.portal-services .portal-caption{left:7%;top:10%;bottom:auto;max-width:80%}.portal-games .portal-caption{right:7%;bottom:10%;top:auto;max-width:80%}.portal-caption strong{font-size:2.5rem}.portal-arrow{margin-top:.4rem;width:38px;height:38px}.portal-seam{clip-path:polygon(0 43.8%,100% 55.8%,100% 56.2%,0 44.2%)}}
@media(prefers-reduced-motion:reduce){.portal-world>img,.portal-arrow{transition:none!important;transform:none!important}}
/* Toute la scène est le lien : aucun bouton superposé. */
.portal-world{cursor:pointer}.portal-world:hover>img,.portal-world:focus-visible>img{transform:scale(1.08);filter:brightness(1.12)}
@media(prefers-reduced-motion:reduce){.portal-world:hover>img,.portal-world:focus-visible>img{transform:none}}
/* Met en évidence le côté choisi, sans atténuer les images au repos. */
@media(hover:hover) and (pointer:fine){
.portal-worlds:has(.portal-world:hover) .portal-world:not(:hover)>img{filter:grayscale(.65) brightness(.62) saturate(.6);transform:scale(1)}
.portal-worlds:has(.portal-world:hover) .portal-world:not(:hover) .portal-caption{opacity:.6}
.portal-world:hover>img{filter:brightness(1.18) saturate(1.1)}
}
.portal-caption{transition:opacity .25s}.portal-world:focus-visible>img{filter:brightness(1.18) saturate(1.1)}
.portal-worlds:has(.portal-world:focus-visible) .portal-world:not(:focus-visible)>img{filter:grayscale(.65) brightness(.62) saturate(.6)}
@media(prefers-reduced-motion:reduce){.portal-caption{transition:none}}
/* Identité BDS fournie : noir, blanc et vert vif, limitée au portail. */
.portal-entry{--ribbon:164px}.portal-ribbon{background:#030704 url('/assets/bds-bandeau.jpg') center/cover no-repeat;border-bottom:1px solid #80dd2366;box-shadow:0 6px 32px #0008}.portal-ribbon:before,.portal-ribbon:after{display:none}.portal-ribbon a{width:440px;max-width:70vw;height:138px;position:relative}.portal-ribbon img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 49%;mix-blend-mode:screen}.portal-ribbon a:focus-visible{outline-color:#a0ef43;outline-offset:2px}.portal-seam{background:#98ed58bd}.portal-world:focus-visible .portal-caption{outline-color:#b0ff72}.portal-services .portal-caption strong{color:#efffe9}.portal-services .portal-caption>span{color:#e1f1db}
@media(max-width:700px){.portal-entry{--ribbon:124px}.portal-ribbon a{height:105px;width:340px;max-width:85vw}.portal-ribbon img{height:105px;max-width:none}.portal-ribbon{background-position:center}}
/* Version horizontale officielle : aucun recadrage des lettres du logo. */
.portal-ribbon a{width:560px;height:148px;max-width:70vw}.portal-ribbon img{object-fit:contain;object-position:center}
@media(max-width:700px){.portal-ribbon a{width:400px;height:110px;max-width:92vw}.portal-ribbon img{height:110px}}

/* Laisser apparaître le pied de page sous les deux univers. */
.portal-entry{min-height:0}.portal-worlds{height:calc(100svh - var(--ribbon) - 120px);min-height:360px}
@media(max-width:700px){.portal-worlds{height:calc(100svh - var(--ribbon) - 100px);min-height:440px}}
