/* ASTRAVEX : Prélude · l'accueil : le jeu tourne en fond (pilote automatique), le titre devant. */
body { overflow-x: hidden; }
.fond { position: fixed; inset: 0; z-index: 0; background: var(--espace); }
.fond canvas, .fond img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fond img { opacity: .55; transition: opacity .8s; }
.fond.vivant img { opacity: 0; }
.fond::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4, 3, 14, .92) 0%, rgba(4, 3, 14, .55) 45%, rgba(4, 3, 14, .1) 75%),
  linear-gradient(0deg, rgba(4, 3, 14, .9) 0%, transparent 35%); }

.accueil { position: relative; z-index: 1; min-height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; gap: 28px;
  max-width: 1180px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.marque-tv { font-family: var(--titre); font-weight: 900; letter-spacing: .08em; text-decoration: none; color: #fff; }
.marque-tv b { color: var(--cyan); font-weight: 700; }

.titre-bloc { align-self: center; display: grid; gap: 16px; max-width: 620px; }
.surtitre { color: var(--or); margin: 0; }
.titre-jeu { margin: 0; font-family: var(--titre); font-weight: 900; line-height: .95; letter-spacing: .14em;
  font-size: clamp(2.6rem, 9vw, 6.2rem); color: #fff; text-shadow: 0 0 40px rgba(63, 224, 245, .35); }
.titre-jeu span { display: block; font-weight: 500; font-size: .36em; letter-spacing: .62em; margin-top: .55em; color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--rose)); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
.accroche { margin: 0; font-size: 1.06rem; font-weight: 300; color: var(--texte); max-width: 54ch; }
.accroche b { color: var(--cyan); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.actions a { text-decoration: none; display: inline-block; }
.appareil { margin: 0; font-family: var(--mono); font-size: .8rem; color: var(--doux); letter-spacing: .04em; }
.appareil b { color: var(--vert); font-weight: 400; }
.appareil .alerte { color: var(--or); }

.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.carte { background: var(--panneau); backdrop-filter: blur(6px); border: 1px solid var(--trait); border-radius: 6px; padding: 16px 18px; min-width: 0; }
.carte .etiquette { margin: 0 0 6px; color: var(--cyan); }
.carte h2 { margin: 0 0 6px; font-family: var(--titre); font-weight: 700; font-size: 1rem; letter-spacing: .04em; text-wrap: balance; }
.carte p:last-child { margin: 0; color: var(--doux); font-size: .9rem; }
@media (max-width: 820px) { .cartes { grid-template-columns: minmax(0, 1fr); } }

.pied { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: .76rem; color: var(--doux); }
.pied a { color: var(--doux); }
.pied a:hover { color: var(--cyan); }
