/* ZZ Wars : la galaxie associative. Aucune ligne de JavaScript : le générique est
   une animation CSS, et les fiches s'ouvrent avec :target (l'adresse #fiche-…).
   Deux univers mêlés : l'ébauche Star Wars d'origine (jaune, barre noire bordée de jaune,
   aurebesh, sabres laser, transmissions holographiques) et l'esprit spatial du portfolio
   (police technique, coordonnées façon tableau de bord, ciel étoilé). */

@font-face {
  font-family: "Galactic Basic";
  src: url("polices/galbasic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --fond: #03040a;
  --texte: #e6ebf5;
  --texte-doux: #9aa6bf;
  --jaune: #ffe81f;
  --jaune-doux: rgba(255, 232, 31, 0.35);
  --cyan: #62e3ff;
  --holo: #7fe3ff;
  --cadre: rgba(8, 14, 28, 0.96);
  --sabre-bleu: #4fc3ff;
  --titre: "Chakra Petch", "Segoe UI", sans-serif;
  --corps: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--fond);
  color: var(--texte);
  font: 400 1.0625rem/1.65 var(--corps);
  -webkit-font-smoothing: antialiased;
}
/* ciel étoilé : plusieurs couches de petites étoiles répétées */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 140px 80px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 90px 160px, #cfe8ff, transparent),
    radial-gradient(1px 1px at 210px 210px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 260px 40px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40px 250px, #ffe9b3, transparent),
    radial-gradient(ellipse 70% 50% at 75% 0%, rgba(60, 80, 180, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(120, 40, 160, 0.18), transparent 70%);
  background-size: 280px 280px, 280px 280px, 280px 280px, 280px 280px, 280px 280px, 280px 280px, 100% 100%, 100% 100%;
}
a { color: var(--cyan); }
a:hover { color: var(--jaune); }
:focus-visible { outline: 2px solid var(--jaune); outline-offset: 4px; }
h1, h2 { font-family: var(--titre); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }
.aurebesh {
  font-family: "Galactic Basic", var(--titre);
  letter-spacing: 0.1em;
  color: rgba(255, 232, 31, 0.7);
  overflow-wrap: anywhere;  /* les mots en aurebesh sont larges : ils passent à la ligne sur téléphone */
}

/* ===== Introduction pilotée par le défilement =====
   Sans JavaScript : un simple bloc de texte. Avec (classe .js) : une scène fixée à
   l'écran pendant qu'on fait défiler une section haute ; script.js calcule la
   progression et donne les valeurs --debut-o, --logo-s, --texte-y, --hyper… */
.intro { position: relative; }
.intro-scene { position: relative; padding: 40px 16px; text-align: center; }
.hyperespace, .indice { display: none; }
.intro-debut { margin: 0 auto 1rem; max-width: 26em; font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: #4bd5ee; }
.intro-logo {
  margin: 0 0 1rem;
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.85;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 3px var(--jaune);
}
.defilement-texte { max-width: 34em; margin: 0 auto; font-family: var(--titre); color: var(--jaune); text-align: justify; }
.defilement-texte p { margin: 0 0 1.2em; }
.episode, .episode-titre { text-align: center; }
.episode-titre { font-size: 1.4em; font-weight: 700; }

.js .intro { height: 900vh; }  /* texte, hyperespace puis arrivée dans la galaxie */
.js .intro-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}
.js .intro-debut {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(90vw, 18em);
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-align: left;
  opacity: var(--debut-o, 1);
}
.js .intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  font-size: clamp(5rem, 18vw, 13rem);
  -webkit-text-stroke-width: 4px;
  opacity: var(--logo-o, 0);
  transform: translate(-50%, -50%) scale(var(--logo-s, 2.6));
}
.js .defilement { position: absolute; inset: 0; perspective: 900px; overflow: hidden; }  /* perspective douce : le texte reste grand plus longtemps */
.js .defilement-texte {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(96vw, 24em);  /* colonne large : le texte occupe l'écran */
  max-width: none;
  font-weight: 700;
  font-size: clamp(1.4rem, 4.2vw, 3rem);
  line-height: 1.4;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 100%;
  opacity: var(--texte-o, 0);
  transform: translateX(-50%) rotateX(24deg) translateY(calc(var(--texte-y, 0) * -125%));
}
/* saut en hyperespace : des traits de lumière partent du centre, s'allongent et
   s'intensifient (--hyper), puis s'effacent (--hyper-o) pendant que la galaxie apparaît */
.js .hyperespace, .js .hyperespace::after {
  position: absolute;
  inset: -60%;
  -webkit-mask-image: radial-gradient(circle, transparent 0 6%, #000 50%);
  mask-image: radial-gradient(circle, transparent 0 6%, #000 50%);
}
.js .hyperespace {
  display: block;
  background: repeating-conic-gradient(from 0deg, transparent 0deg 2.6deg, rgba(200, 230, 255, 0.85) 2.6deg 2.85deg, transparent 2.85deg 5.3deg, rgba(255, 255, 255, 0.7) 5.3deg 5.45deg);
  opacity: var(--hyper-o, 0);
  transform: scale(calc(0.3 + var(--hyper, 0) * 2.2)) rotate(calc(var(--hyper, 0) * 6deg));
  filter: brightness(calc(1 + var(--hyper, 0) * 1.5));
}
.js .hyperespace::after {
  content: "";
  inset: 0;
  background: repeating-conic-gradient(from 1.3deg, transparent 0deg 3.4deg, rgba(120, 190, 255, 0.6) 3.4deg 3.6deg);
  transform: scale(calc(1 + var(--hyper, 0) * 0.8));
}
.js .indice {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 28px;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jaune);
  opacity: var(--indice-o, 1);
  animation: rebond 1.6s ease-in-out infinite;
}
@keyframes rebond { 50% { transform: translate(-50%, 6px); } }

/* la galaxie, dernière couche de la scène : elle apparaît par transparence (--galaxie-o)
   avec un léger zoom arrière (--galaxie-s), comme une arrivée au sortir de l'hyperespace.
   Elle ne reçoit les clics qu'une fois arrivée (classe .arrivee posée par script.js). */
.js .couche-galaxie {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding-top: 56px;  /* sous la barre de navigation */
  opacity: var(--galaxie-o, 0);
  transform: scale(var(--galaxie-s, 1.35));
  pointer-events: none;
}
.js .intro.arrivee .couche-galaxie { pointer-events: auto; }
.js .couche-galaxie .entete { padding: 8px 16px 0; }
.js .couche-galaxie .entete .aurebesh { margin-bottom: 0.2rem; font-size: clamp(0.75rem, 1.6vw, 1rem); }
.js .couche-galaxie .entete h1 { font-size: clamp(1.6rem, 3.8vw, 2.6rem); margin-bottom: 0.2rem; }
.js .couche-galaxie .sabre { margin: 2px auto 8px; }
.js .couche-galaxie .sous-titre { font-size: 0.95rem; }
.js .couche-galaxie .systeme-solaire { width: min(96vw, calc(100vh - 210px)); margin-top: 0; }

/* écran large : le titre flotte dans la marge à gauche, et le système solaire prend
   toute la hauteur de l'écran ; le titre laisse passer les clics vers les astres */
@media (min-aspect-ratio: 8/5) {
  .js .couche-galaxie .systeme-solaire { width: min(96vw, calc(100vh - 70px)); }
  .js .couche-galaxie .entete {
    position: absolute;
    top: 72px;
    left: 28px;
    z-index: 5;
    width: calc((100vw - min(96vw, 100vh - 70px)) / 2 - 20px);
    padding: 0;
    text-align: left;
    pointer-events: none;
  }
  .js .couche-galaxie .entete h1 { font-size: clamp(1.6rem, 2.6vw, 2.8rem); line-height: 1.05; }
  .js .couche-galaxie .sabre { justify-content: flex-start; margin: 8px 0 12px; }
  .js .couche-galaxie .sabre-lame { width: 70%; }
  .js .couche-galaxie .sous-titre { margin: 0; max-width: none; }
}

/* ===== Barre de navigation (comme dans l'ébauche : noire, bordée de jaune) ===== */
.barre {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 2px solid var(--jaune);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}
.barre-titre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--jaune);
  text-decoration: none;
  text-transform: uppercase;
}
.barre-titre .aurebesh { margin-right: 0.6rem; font-size: 0.9rem; }
.barre-liens { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.barre-liens a {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--texte-doux);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.barre-liens a:hover { color: var(--jaune); border-bottom-color: var(--jaune); }

/* ===== En-tête : titre façon logo, lettres jaunes évidées ===== */
.entete {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px 8px;
  text-align: center;
}
.entete .aurebesh { margin: 0 0 0.6rem; font-size: clamp(0.85rem, 3.4vw, 1.3rem); }
.entete h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--jaune);
  text-shadow: 0 0 30px rgba(255, 232, 31, 0.25);
}
.sous-titre { margin: 0 auto; max-width: 38em; color: var(--texte-doux); }

/* sabre laser : poignée grise, lame lumineuse qui s'allume au chargement */
.sabre { display: flex; align-items: center; justify-content: center; margin: 4px auto 22px; height: 12px; }
.sabre-poignee {
  width: 46px;
  height: 10px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #8c929c 0 6px, #3a3f47 6px 8px);
}
.sabre-lame {
  width: min(320px, 60vw);
  height: 5px;
  border-radius: 0 4px 4px 0;
  background: #f4fbff;
  box-shadow: 0 0 6px 2px var(--sabre-bleu), 0 0 18px 4px rgba(79, 195, 255, 0.55);
  transform-origin: left center;
  animation: allumer 0.9s ease-out 0.3s both;
}
@keyframes allumer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ===== Système solaire =====
   Les tailles sont en cqw (% de la largeur du système) : tout reste proportionné.
   Une orbite est un cercle qui tourne ; ce qu'elle porte (planète ou lune) tourne en
   sens inverse à la même vitesse pour rester droit et lisible. */
.systeme-solaire {
  position: relative;
  width: min(1000px, 96vw, calc(100vh - 64px));  /* tient dans la hauteur de l'écran */
  aspect-ratio: 1;
  margin: 8px auto 0;
  container-type: inline-size;
}
.soleil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12cqw;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 38%, #fffbe0, #ffe36b 35%, #f7a823 70%, #c25e0a);
  box-shadow: 0 0 40px 10px rgba(255, 210, 80, 0.55), 0 0 120px 40px rgba(255, 170, 40, 0.25);
  animation: pulser 6s ease-in-out infinite;
}
.soleil span { font-family: var(--titre); font-weight: 700; font-size: clamp(0.7rem, 1.8cqw, 1.2rem); color: #5a2a00; letter-spacing: 0.08em; }
.soleil small { font-family: var(--mono); font-size: clamp(0.45rem, 0.9cqw, 0.65rem); color: #7a3d05; }
@keyframes pulser {
  50% { box-shadow: 0 0 55px 14px rgba(255, 210, 80, 0.65), 0 0 140px 50px rgba(255, 170, 40, 0.3); }
}

.orbite-planete, .orbite {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;  /* le cercle ne bloque pas les clics ; seuls les astres sont cliquables */
}
.orbite-planete { border: 1px dashed rgba(255, 232, 31, 0.18); }
.orbite { border: 1px dashed rgba(255, 255, 255, 0.16); z-index: 3; }
.orbite-bde { width: 46cqw; }
.orbite-drezzing { width: 84cqw; }

/* chaque astre est placé sur son cercle selon son angle --a : script.js le fait
   avancer à chaque image ; sans script, les angles ci-dessous restent fixes */
.porteur, .lune {
  position: absolute;
  left: calc(50% + 50% * cos(var(--a)));
  top: calc(50% + 50% * sin(var(--a)));
  transform: translate(-50%, -50%);
}
.orbite-bde .porteur { --a: -150deg; }
.orbite-drezzing .porteur { --a: 30deg; }
.lune-ca { --a: -140deg; }
.lune-wea { --a: -20deg; }
.lune-site { --a: 110deg; }
.lune-boutique { --a: -50deg; }
.sous-systeme { position: relative; aspect-ratio: 1; }
.sous-bde { width: 22cqw; }
.sous-drezzing { width: 14cqw; }

.planete, .lune {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-family: var(--titre);
  font-weight: 700;
  pointer-events: auto;
}
.planete {
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  font-size: clamp(0.8rem, 2.2cqw, 1.5rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  z-index: 4;  /* devant ses lunes : une lune passe derrière sa planète */
  transition: box-shadow 0.25s ease, filter 0.25s ease;
}
.sous-bde .planete { width: 34%; }
.sous-drezzing .planete { width: 46%; }
.planete:hover, .planete:focus-visible { color: #fff; filter: brightness(1.15); }
.planete-bde {
  background: radial-gradient(circle at 34% 30%, #ffe1a1, #f0913f 42%, #8c3514 78%, #3b1206);
  box-shadow: 0 0 40px rgba(240, 145, 63, 0.45), inset -14px -14px 30px rgba(0, 0, 0, 0.5);
}
.planete-drezzing {
  background: radial-gradient(circle at 34% 30%, #d4f6ff, #4ab3d6 42%, #1b5c86 76%, #0a2238);
  box-shadow: 0 0 40px rgba(74, 179, 214, 0.45), inset -12px -12px 26px rgba(0, 0, 0, 0.5);
}
/* survol d'une planète : halo de sabre laser */
.planete-bde:hover, .planete-bde:focus-visible { box-shadow: 0 0 0 3px #ff5a3c, 0 0 30px 8px rgba(255, 90, 60, 0.6); }
.planete-drezzing:hover, .planete-drezzing:focus-visible { box-shadow: 0 0 0 3px var(--sabre-bleu), 0 0 30px 8px rgba(79, 195, 255, 0.6); }

.sous-bde .orbite-1 { width: 56%; }
.sous-bde .orbite-2 { width: 78%; }
.sous-bde .orbite-3 { width: 100%; }
.sous-drezzing .orbite-1 { width: 100%; }

.lune {
  width: clamp(22px, 3.6cqw, 40px);
  aspect-ratio: 1;
}
.lune span {
  position: absolute;
  top: 100%;
  margin-top: 4px;
  padding: 1px 7px;
  border: 1px solid rgba(255, 232, 31, 0.25);
  border-radius: 3px;
  background: rgba(3, 4, 10, 0.8);
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.2cqw, 0.75rem);
  font-weight: 400;
  white-space: nowrap;
}
.lune:hover, .lune:focus-visible { box-shadow: 0 0 0 3px #39ff7a, 0 0 22px rgba(57, 255, 122, 0.6); color: #fff; }
.lune-ca { background: radial-gradient(circle at 35% 30%, #f1ece0, #9b9484 55%, #3d3a33); }
.lune-wea { background: radial-gradient(circle at 35% 30%, #fff0c2, #d29a3c 55%, #5b3a0e); }
.lune-site { background: radial-gradient(circle at 35% 30%, #ddd0ff, #7d63d9 55%, #2b1f61); }
.lune-boutique { background: radial-gradient(circle at 35% 30%, #d6ffe6, #48b37c 55%, #134a30); }


/* sur un petit écran, les noms des lunes encombreraient : la liste ci-dessous les reprend */
@container (max-width: 560px) {
  .lune span { display: none; }
}

/* ===== Liste des fiches ===== */
.liste {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 0 16px;
}
.liste h2 {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--jaune);
}
.liste ul { margin: 0; padding-left: 1.2rem; }
.liste li { margin: 0.3rem 0; }
.liste li::marker { color: var(--jaune); }

/* ===== Fiches : transmissions holographiques (ouvertes avec :target) ===== */
.fiche {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(3, 4, 10, 0.8);
  backdrop-filter: blur(4px);
}
.fiche:target { display: grid; }
.fiche-cadre {
  position: relative;
  width: min(660px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 56px 30px 26px;
  border: 1px solid var(--jaune-doux);
  background:
    repeating-linear-gradient(0deg, rgba(127, 227, 255, 0.035) 0 1px, transparent 1px 3px),
    var(--cadre);
  box-shadow: 0 0 0 1px rgba(127, 227, 255, 0.12) inset, 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(127, 227, 255, 0.08);
  animation: transmission 0.45s ease-out;
}
/* bandeau de transmission en haut de la fiche */
.fiche-cadre::before {
  content: "◉ Transmission entrante";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 30px;
  border-bottom: 1px solid var(--jaune-doux);
  background: rgba(255, 232, 31, 0.08);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jaune);
}
/* coins du cadre, façon écran de console */
.fiche-cadre::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background:
    linear-gradient(var(--jaune), var(--jaune)) top left / 16px 2px,
    linear-gradient(var(--jaune), var(--jaune)) top left / 2px 16px,
    linear-gradient(var(--jaune), var(--jaune)) bottom right / 16px 2px,
    linear-gradient(var(--jaune), var(--jaune)) bottom right / 2px 16px;
  background-repeat: no-repeat;
  opacity: 0.7;
}
@keyframes transmission {
  from { opacity: 0; transform: scaleY(0.04); filter: brightness(2); }
  60% { opacity: 1; transform: scaleY(1.02); }
  to { transform: none; filter: none; }
}
.fiche h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--jaune); text-transform: uppercase; letter-spacing: 0.03em; }
.fiche-type {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--holo);
}
.role { font-family: var(--titre); color: var(--cyan); margin-top: -0.3rem; }
.chiffre strong { font-family: var(--titre); font-size: 2.4rem; color: var(--jaune); margin-right: 0.3rem; }
.chiffre { color: var(--texte-doux); margin: 0; }
.chiffres { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin: 0.6rem 0 1rem; }
.chiffres .chiffre strong { font-size: 2rem; }
.retiens {
  margin: 1.2rem 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--sabre-bleu);
  background: rgba(79, 195, 255, 0.07);
  box-shadow: inset 4px 0 12px -6px var(--sabre-bleu);
}
.retiens h3 {
  margin: 0 0 0.3rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--holo);
}
.retiens p { margin: 0; }
.fiche ul { padding-left: 1.2rem; }
.fiche li { margin: 0.25rem 0; }
.fiche li::marker { color: var(--jaune); }
/* liens des fiches : soulignés d'une lame de sabre */
.fiche-cadre a:not(.fermer) {
  text-decoration: none;
  border-bottom: 2px solid rgba(79, 195, 255, 0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fiche-cadre a:not(.fermer):hover { color: #fff; border-bottom-color: var(--sabre-bleu); box-shadow: 0 6px 10px -6px var(--sabre-bleu); }
.fermer {
  position: absolute;
  top: 2px;
  right: 12px;
  z-index: 1;
  font-size: 1.6rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--jaune);
}
.fermer:hover { color: #ff5a3c; }
.retour-carte { margin-top: 1.4rem; font-size: 0.95rem; }

/* ===== Pied de page ===== */
.pied {
  margin-top: 40px;
  padding: 24px 16px 32px;
  border-top: 2px solid var(--jaune);
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  color: var(--texte-doux);
  font-size: 0.9rem;
}
.pied-titre {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--jaune);
}
.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.contacts a {
  font-family: var(--titre);
  text-decoration: none;
  border-bottom: 2px solid rgba(79, 195, 255, 0.5);
}
.contacts a:hover { color: #fff; border-bottom-color: var(--sabre-bleu); box-shadow: 0 6px 10px -6px var(--sabre-bleu); }
.pied .aurebesh { margin: 0.4rem 0; font-size: clamp(0.7rem, 2.8vw, 0.95rem); }
.clin-oeil { font-size: 0.8rem; opacity: 0.7; }

/* ===== Mouvement réduit : script.js ne s'active pas (page immobile, intro en texte) ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .soleil, .sabre-lame, .fiche-cadre { animation: none; }
}
