/* AURACULAS PRODUCTION · V8
   Feuille commune à toutes les pages. Aucun framework, aucune police distante.
   Les illustrations restent intégrales : pas de hauteur minimale d'écran.
*/
:root {
  color-scheme: dark;
  --ink: #060304;
  --panel: #100709;
  --blood: #c32b3e;
  --red: #f05a68;
  --text: #f3e9e7;
  --muted: #b9a7a7;
  --line: #4a1a23;
  --gutter: clamp(18px, 4.6vw, 76px);
  --content: 1280px;
  --nav-height: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 32px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; background: var(--ink); color: var(--text); font: 400 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
::selection { background: #8d263a; color: #fff; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
p, h1, h2, h3 { overflow-wrap: break-word; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid #ff9b9f; outline-offset: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: #1b080d; border: 1px solid var(--red); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Une seule ambiance, sans carrés opaques ni filtres de flou plein écran. */
.masthead { position: relative; isolation: isolate; display: grid; place-items: center; padding: clamp(20px, 2.3vw, 36px) var(--gutter) 30px; background: radial-gradient(ellipse at 50% 40%, #33040e 0, #140409 38%, #060304 76%); overflow: hidden; }
.masthead::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.masthead-haze { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.masthead-haze::before, .masthead-haze::after { content: ""; position: absolute; bottom: -12%; width: min(47vw, 740px); height: 100%; background-repeat: no-repeat; background-position: center bottom; background-size: contain; opacity: .88; }
.masthead-haze::before { left: -8%; background-image: url('../decor/brume-gauche.webp'); }
.masthead-haze::after { right: -8%; background-image: url('../decor/brume-droite.webp'); }
.brand { position: relative; display: block; width: clamp(280px, 44vw, 660px); max-width: 100%; }
.brand picture { display: block; }
.brand img { width: 100%; height: auto; aspect-ratio: 819 / 452; filter: drop-shadow(0 0 9px #b3132945); }
.masthead--compact { padding-block: 18px 24px; }
.masthead--compact .brand { width: clamp(240px, 28vw, 380px); }

/* La barre seule reste accessible au défilement. Aucun script par frame. */
.nav-sentinel { height: 1px; margin-top: -1px; pointer-events: none; }
.nav-dock { position: sticky; top: 0; z-index: 30; padding-inline: var(--gutter); background: linear-gradient(#060304eb, #06030400); }
.nav-frame { position: relative; width: min(100%, 1376px); margin-inline: auto; }
.nav-frame::before { content: ""; position: absolute; inset: 0 52px; box-shadow: 0 5px 30px #0009, 0 0 20px #8a102f26; pointer-events: none; }
.nav { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: var(--nav-height); margin: 0 64px; padding: 0; background: linear-gradient(180deg, #1b0a0f 0, #0c0709 46%, #090507 70%, #19080d 100%); border-block: 1px solid #812536; box-shadow: inset 0 1px #df65742b, inset 0 -1px #7b172633; }
.nav-link { position: relative; display: flex; align-items: center; justify-content: center; gap: 13px; min-width: 0; min-height: var(--nav-height); padding: 16px 12px; color: #d7c7c6; font: 400 clamp(13px, 1.18vw, 18px)/1.3 Georgia, "Times New Roman", serif; letter-spacing: .12em; text-transform: uppercase; transition: color 160ms ease, background-color 160ms ease; }
.nav-link + .nav-link::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent,#70203290,transparent); }
.nav-link::after { content: ""; position: absolute; left: 19%; right: 19%; bottom: -1px; height: 2px; background: #ed475b; box-shadow: 0 0 12px #dd1c49a6; opacity: 0; transform: scaleX(.45); transition: opacity 180ms ease, transform 180ms ease; }
.nav-link[aria-current] { color: #ff7d89; background: linear-gradient(180deg,#69132b33,#a221353d); text-shadow: 0 0 14px #f9265366; }
.nav-link[aria-current]::after { opacity: 1; transform: scaleX(1); }
.nav-link[aria-current] .icon { color: #f85467; }
.nav-link:focus-visible { outline-offset: -6px; z-index: 3; }
.nav-wing { position: absolute; top: calc((var(--nav-height) + 2px) * -.407); width: 150px; height: calc((var(--nav-height) + 2px) * 1.86); max-width: none; pointer-events: none; z-index: 2; }
.nav-wing--left { left: -17px; }
.nav-wing--right { right: -17px; }
.nav-crest { position: absolute; width: 150px; max-width: none; left: 50%; transform: translateX(-50%); pointer-events: none; z-index: 3; }
.nav-crest--top { top: -34px; height: 35px; }
.nav-crest--bottom { bottom: -65px; width: 170px; height: 80px; }
.nav-dock[data-pinned="true"] { background: #090406f7; box-shadow: 0 8px 26px #0006; }
.nav-dock[data-pinned="true"] .nav-crest { opacity: 0; }
.nav-dock[data-pinned="true"] .nav-wing { opacity: .5; }

/* Images à hauteur naturelle : les bandes noires de 100dvh sont supprimées.
   La limite en vh ne recadre pas l'image : elle limite sa largeur avec son ratio. */
.art-section { position: relative; background: #000; padding-block: 0; }
.art-section::before { content: ""; position: absolute; top: 0; height: 60px; left: 0; right: 0; background: linear-gradient(var(--ink), transparent); pointer-events: none; }
.art-picture { display: block; width: min(100%, 1320px, 130vh); margin: 0 auto; }
.art-picture img { width: 100%; height: auto; aspect-ratio: 7/4; object-fit: contain; }
.art-section--games { padding-bottom: 0; }
.art-bottom { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; width: min(88%, 980px); margin-inline: auto; padding: 14px 0 26px; }
.art-bottom::before, .art-bottom::after { content: ""; width: 130px; height: 1px; background: linear-gradient(90deg, transparent, #5b2430); }
.art-bottom::after { transform: rotate(180deg); }
.scroll-link { flex: 0 0 auto; display: inline-flex; gap: 14px; align-items: center; min-height: 44px; color: #d3b2b8; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.scroll-link .icon { width: 16px; height: 16px; color: var(--red); }

/* Actualités : les emplacements sont indiqués comme tels, sans fausse annonce. */
.news { position: relative; padding: clamp(56px, 6vw, 96px) 0 clamp(72px, 8vw, 126px); background: radial-gradient(ellipse at 15% 0%, #310a145c, transparent 52%), linear-gradient(#080304, #100509 70%, #060304); border-top: 1px solid #36121c; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; padding-bottom: 30px; margin-bottom: 38px; border-bottom: 1px solid #48202a; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 17px; color: #d68f9a; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; }
.kicker::before { content: ""; width: 24px; height: 1px; background: #b02a40; }
.section-heading h2 { margin: 0; font: 400 clamp(40px, 5.4vw, 76px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.section-heading h2 em { color: #e05769; font-weight: 400; }
.heading-aside { max-width: 240px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: 22px; }
.news-feature, .news-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid #4d1c27; padding: clamp(24px, 3vw, 42px); overflow: hidden; background: linear-gradient(135deg,#210b13,#0a0608 78%); }
.news-feature { min-height: 446px; }
.news-feature::after, .news-card::after { content: ""; position: absolute; width: 32px; height: 32px; top: 9px; left: 9px; border-left: 1px solid #9f3b4d; border-top: 1px solid #9f3b4d; opacity: .65; pointer-events: none; }
.news-watermark { position: absolute; z-index: -1; width: min(82%, 400px); top: 26px; left: 50%; transform: translateX(-50%); opacity: .24; pointer-events: none; }
.news-feature::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 12%,#50112750,transparent 70%); }
.news-meta { color: #e2929e; font-size: 10px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .18em; }
.news-feature h3, .news-card h3 { margin: 16px 0 13px; font: 400 clamp(28px,3vw,43px)/1.12 Georgia,serif; letter-spacing: -.02em; }
.news-feature p, .news-card p { margin: 0; max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.news-side { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.news-card { min-height: 212px; background: linear-gradient(135deg,#1b0a10,#0b0608 80%); }
.news-card h3 { margin-block: 12px 10px; font-size: clamp(25px,2.3vw,33px); }
.news-note { margin: 22px 0 0; color: #ad969e; font-size: 12px; }

/* Six fiches réelles, vignettes volontairement vides. */
.games-section { padding: clamp(36px,5vw,70px) 0 clamp(70px,8vw,112px); background: radial-gradient(ellipse at 80% 0%,#3e0c1866,transparent 58%), #080405; border-top: 1px solid #3d1420; }
.catalogue-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; color: #b89aa3; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.catalogue-meta span:first-child { color: #ee99a8; }
.games-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,28px); }
.game-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #55202d; background: linear-gradient(150deg,#210b13,#0d0709 65%); transition: border-color 180ms ease, transform 180ms ease; }
.game-card::before { content: ""; position: absolute; z-index: 1; top: -1px; left: -1px; width: 30px; height: 30px; border-left: 1px solid #b8485d; border-top: 1px solid #b8485d; pointer-events: none; }
.game-card-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16/11; background: radial-gradient(ellipse at center,#53112b33,transparent 66%); overflow: hidden; }
.game-number { position: absolute; left: 23px; top: 17px; color: #d68a9c; font-size: 11px; letter-spacing: .2em; }
.game-seal { position: relative; display: grid; place-items: center; width: 60px; height: 60px; transform: rotate(45deg); border: 1px solid #6a2e403d; }
.game-seal::before { content: ""; width: 38px; height: 38px; border: 1px solid #95314a4f; }
.game-seal::after { content: ""; position: absolute; width: 7px; height: 7px; background: #a13a52; box-shadow: 0 0 18px #99193266; }
.game-image-label { position: absolute; bottom: 24px; color: #bb9aa4; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.game-card-bottom { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; margin-inline: 23px; padding: 22px 0 26px; border-top: 1px solid #4f2532; }
.game-card-title { display: block; margin-bottom: 7px; font: 400 clamp(28px,3vw,37px)/1.15 Georgia,serif; }
.game-card-link { display: block; color: #cba4ae; font-size: 11px; }
.game-card-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #6c3040; color: #ec8194; transition: background-color 180ms ease; }
.game-card-arrow .icon { width: 17px; height: 17px; }

/* Les pages de jeux utilisent exactement la même navigation. */
.detail { padding: clamp(58px,6vw,88px) 0 clamp(70px,8vw,112px); background: radial-gradient(ellipse at 10% 20%,#300b165c,transparent 65%); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; color: #bd9ba5; font-size: 12px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb span[aria-hidden] { color: #7c4958; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(30px,6vw,84px); align-items: center; }
.detail-visual { display: grid; place-items: center; min-height: 300px; aspect-ratio: 4/3; border: 1px solid #5a2232; background: radial-gradient(ellipse at 50% 50%,#3f0d2466,transparent 66%),#0e070a; }
.detail-visual-inner { display: flex; flex-direction: column; align-items: center; gap: 35px; color: #c7a3af; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.detail h1 { margin: 12px 0 24px; font: 400 clamp(54px,6vw,90px)/1 Georgia,serif; letter-spacing: -.04em; }
.detail-copy { max-width: 480px; margin-bottom: 24px; color: var(--muted); }
.download-state { margin: 30px 0 26px; padding: 22px 0; border-block: 1px solid #4a2130; }
.download-state h2 { margin: 0 0 8px; color: #dcbbc5; font: 500 13px/1.4 system-ui,sans-serif; }
.download-state p { margin: 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 12px; color: #edb2bf; }
.text-link .icon { width: 17px; height: 17px; }

.site-footer { background: #070305; border-top: 1px solid #411725; padding-block: 30px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 34px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-mark { display: block; width: 96px; flex: 0 0 auto; opacity: .9; }
.copyright { color: #b797a3; font-size: 11px; line-height: 1.7; }
.footer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-link, .effects-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; color: #c8a9b5; font-size: 11px; }
.effects-button { border: 1px solid #532332; padding: 7px 12px; background: #12070c; }
.effects-dot { width: 5px; height: 5px; border-radius: 50%; background: #c16078; }
.effects-button[aria-pressed="true"] .effects-dot { background: #999; }

/* Effets modestes, activés seulement par site.js si le support s'y prête. */
@keyframes brume { from { transform: translate3d(-1%,0,0); } to { transform: translate3d(3%,3%,0); } }
html[data-effects="full"] .masthead-haze::before { animation: brume 18s ease-in-out infinite alternate; }
html[data-effects="full"] .masthead-haze::after { animation: brume 23s ease-in-out infinite alternate-reverse; }
html[data-paused="true"] .masthead-haze::before, html[data-paused="true"] .masthead-haze::after,
.masthead[data-visible="false"] .masthead-haze::before, .masthead[data-visible="false"] .masthead-haze::after { animation-play-state: paused; }
html[data-effects="reduced"] { scroll-behavior: auto; }
html[data-effects="reduced"] *, html[data-effects="reduced"] *::before, html[data-effects="reduced"] *::after { animation: none !important; transition: none !important; }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: #ff9caa; background-color: #6d173833; }
  .nav-link:hover::after { opacity: .7; transform: scaleX(.85); }
  .nav-link[aria-current]:hover::after { opacity: 1; transform: scaleX(1); }
  .game-card:hover { transform: translateY(-4px); border-color: #c65a73; }
  .game-card:hover .game-card-arrow { background: #671b34; }
  .text-link:hover, .footer-link:hover, .scroll-link:hover, .breadcrumb a:hover { color: #ff849d; }
}
@media (min-width: 1800px) { :root { --content: 1380px; } .nav-frame { width: min(100%, 1470px); } }
@media (max-width: 1000px) {
  :root { --nav-height: 72px; }
  .brand { width: clamp(280px,58vw,600px); }
  .nav { margin-inline: 45px; }
  .nav-wing { width: 120px; }
  .nav-crest--bottom { width: 145px; height: 69px; bottom: -55px; }
  .nav-link { gap: 9px; }
  .news-grid { grid-template-columns: 1.1fr 1fr; gap: 18px; }
  .news-side { gap: 18px; }
  .news-feature { min-height: 424px; }
  .news-card { min-height: 203px; }
  .heading-aside { max-width: 210px; }
  .games-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  :root { --gutter: 22px; --nav-height: 66px; }
  .masthead { padding: 20px 26px 25px; }
  .brand { width: min(86vw,420px); }
  .masthead-haze::before, .masthead-haze::after { width: 65vw; opacity: .52; }
  .nav-dock { padding-inline: 12px; }
  .nav { margin-inline: 16px; }
  .nav-wing { width: 64px; }
  .nav-wing--left { left: -7px; }
  .nav-wing--right { right: -7px; }
  .nav-crest--top { width: 105px; height: 25px; top: -24px; }
  .nav-crest--bottom { width: 115px; height: 54px; bottom: -44px; }
  .nav-link { flex-direction: column; gap: 5px; padding: 11px 5px; font-size: 12px; letter-spacing: .09em; }
  .nav-link .icon { width: 18px; height: 18px; }
  .art-section { padding-top: 15px; }
  .art-picture { width: 100%; }
  .art-bottom { padding-top: 6px; padding-bottom: 18px; gap: 18px; }
  .scroll-link { font-size: 9px; letter-spacing: .16em; }
  .section-heading { display: block; margin-bottom: 26px; padding-bottom: 25px; }
  .section-heading h2 { font-size: clamp(40px,7.8vw,54px); }
  .heading-aside { margin-top: 20px; max-width: 340px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-feature { min-height: 352px; }
  .news-watermark { width: 300px; top: 8px; }
  .news-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .news-card { padding: 25px 20px; }
  .news-card h3 { font-size: 26px; }
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-visual { min-height: 0; aspect-ratio: 16/10; }
  .detail h1 { font-size: 64px; }
  .footer-brand { gap: 14px; }
  .footer-tools { width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .masthead { padding-top: 18px; padding-bottom: 24px; }
  .brand { width: 100%; }
  .masthead--compact .brand { width: min(100%,285px); }
  .nav { margin-inline: 7px; }
  .nav-wing { display: none; }
  .nav-frame::before { inset-inline: 6px; }
  .nav-crest--bottom { width: 102px; height: 48px; bottom: -39px; }
  .nav-link { font-size: clamp(10px, 3.44vw, 11px); letter-spacing: .075em; }
  .nav-link::after { left: 12%; right: 12%; }
  .news { padding-top: 48px; }
  .section-heading h2 em { display: block; }
  .kicker { font-size: 9px; letter-spacing: .19em; }
  .news-side { grid-template-columns: 1fr; }
  .news-card { min-height: 186px; padding: 26px; }
  .news-feature { min-height: 350px; }
  .news-feature h3 { font-size: 34px; }
  .catalogue-meta { font-size: 9px; letter-spacing: .1em; }
  .games-grid { grid-template-columns: 1fr; gap: 22px; }
  .game-card-visual { aspect-ratio: 16/10; }
  .game-card-bottom { padding-bottom: 23px; }
  .copyright { font-size: 10px; }
  .footer-mark { width: 83px; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .masthead { padding-block: 14px 22px; }
  .brand { width: min(38vw,330px); }
  .masthead--compact .brand { width: 250px; }
  .art-picture { width: min(100%, 140vh); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .nav, .game-card, .news-feature, .news-card, .effects-button { border: 1px solid CanvasText; }
  .nav-link[aria-current] { outline: 2px solid Highlight; outline-offset: -4px; }
  .masthead-haze, .nav-wing, .nav-crest { display: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .masthead, .nav-dock, .nav-sentinel, .art-bottom, .footer-tools, .skip-link { display: none; }
  .art-section, .news, .games-section, .detail { padding-block: 20px; background: none; }
  .news-feature, .news-card, .game-card { break-inside: avoid; }
  .site-footer { background: none; }
  .news-grid, .games-grid { display: block; }
}
