/* Brumaria — site vitrine. Couleurs : docs/art/charte-graphique.md */
:root {
  --suie-0: #1A1718;
  --suie-1: #2B2628;
  --suie-2: #403A3B;
  --laiton: #F2C94C;
  --laiton-clair: #FFF0A8;
  --laiton-sombre: #7A5A1C;
  --cuivre: #E8913A;
  --cuivre-moyen: #D06E2C;
  --cuivre-sombre: #723317;
  --acier: #A3B6CF;
  --vapeur: #F8F6EE;
  --vapeur-2: #D2D8DA;
  --smog: #B5E61D;
  --texte: #EAEDEA;
  --texte-doux: #B4BCC0;
  --rayon: 14px;
  --titre: "Rockwell", "Roboto Slab", "Georgia", "Times New Roman", serif;
  --corps: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--suie-0);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--laiton); }
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: rgba(242, 201, 76, .12);
  color: var(--laiton-clair);
  padding: .1em .4em;
  border-radius: 6px;
}

/* ================= EN-TÊTE ANIMÉ ================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 28px 16px 56px;
  isolation: isolate;
}
.ciel {
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(180deg, #1E2733 0%, #34435A 22%, #7489A8 46%, #E89A2A 72%, #B8662E 88%, #5A2E06 100%);
}
.couche {
  position: absolute;
  inset: -60px;            /* marge pour que le décor ne laisse pas de bord vide en bougeant */
  z-index: -2;
  container-type: size;
  will-change: transform;
}
/* La scène garde le format 16:9 et couvre tout l'écran (comme « cover ») */
.scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100cqw, 177.78cqh);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
}
.scene img { position: absolute; image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; max-width: none; }
.scene .fond { left: 0; top: 0; width: 100%; height: auto; }
.sprite { height: auto; }
.voile {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 26%, rgba(26, 23, 24, .35), transparent 55%),
    radial-gradient(ellipse 50% 22% at 50% 80%, rgba(26, 23, 24, .45), transparent 100%),
    linear-gradient(180deg, transparent 88%, var(--suie-0) 100%);
}

/* Animations du décor */
.tourne { animation: tourne 2.4s linear infinite; }
.tourne.lent { animation-duration: 30s; }
.tourne.inverse { animation-duration: 22s; animation-direction: reverse; }
.flotte { animation: flotte 6s ease-in-out infinite; }
.flotte.lente { animation-duration: 9s; }
.derive { animation: derive 50s ease-in-out infinite alternate; }
.derive-smog { animation: derive 24s ease-in-out infinite alternate-reverse; }
.fumee { animation: fumee 4.2s linear infinite; opacity: 0; }
.oiseau { animation: oiseau 26s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes flotte { 50% { transform: translateY(-4%); } }
@keyframes derive { to { transform: translateX(-12%); } }
@keyframes fumee {
  0%   { transform: translate(0, 0) scale(.5); opacity: 0; }
  15%  { opacity: .9; }
  100% { transform: translate(60%, -260%) scale(1.8); opacity: 0; }
}
@keyframes oiseau {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(3500%, -120%); }
  100% { transform: translate(7200%, 40%); }
}

/* Logo : l'image officielle (art/discord/logo-brumaria.png), qui flotte doucement */
.hero-haut { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.logo {
  margin: 8px 0 0;
  line-height: 0;
  text-align: center;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55));
}
.logo img {
  display: block;
  width: min(92vw, 640px);
  height: auto;
  margin: 0 auto;
  animation: apparait .9s ease-out both, flotte-logo 6s ease-in-out 1s infinite;
}
@keyframes apparait {
  from { opacity: 0; transform: translateY(-12px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes flotte-logo {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Barre de boutons : une plaque de bois verni cerclée de laiton, avec 4 rivets */
:root {
  --rivets:
    radial-gradient(circle at 9px 9px, #FFF0A8 0 1px, #D2A53A 2px, #4A3410 3.2px, transparent 4px),
    radial-gradient(circle at calc(100% - 9px) 9px, #FFF0A8 0 1px, #D2A53A 2px, #4A3410 3.2px, transparent 4px),
    radial-gradient(circle at 9px calc(100% - 9px), #FFF0A8 0 1px, #D2A53A 2px, #4A3410 3.2px, transparent 4px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #FFF0A8 0 1px, #D2A53A 2px, #4A3410 3.2px, transparent 4px);
}
.barre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px 16px;
  background:
    var(--rivets),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 22px, rgba(0, 0, 0, .12) 22px 24px),
    linear-gradient(180deg, #5A3820 0%, #3D2414 55%, #24140C 100%);
  border: 3px solid #A8802A;
  border-radius: 18px;
  box-shadow:
    0 0 0 2px #4A3410,
    inset 0 0 0 2px #4A3410,
    inset 0 3px 0 2px rgba(255, 240, 168, .12),
    0 16px 34px rgba(0, 0, 0, .55);
}

/* Bouton commun : plaque d'acier bleuté en relief */
.barre-bouton, .bouton-second, .bouton-discord {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px;
  padding: 8px 20px 8px 9px;
  border: 2px solid #1E2733;
  border-radius: 13px;
  color: var(--vapeur);
  text-decoration: none;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
  background: linear-gradient(180deg, #A3B6CF 0%, #7489A8 12%, #4F6380 55%, #34435A 100%);
  box-shadow:
    inset 0 2px 0 rgba(216, 228, 240, .55),
    inset 0 -4px 0 rgba(0, 0, 0, .22),
    0 5px 0 #1E2733,
    0 9px 14px rgba(0, 0, 0, .45);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.barre-bouton:hover, .bouton-second:hover, .bouton-discord:hover,
.barre-bouton:focus-visible, .bouton-second:focus-visible, .bouton-discord:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow:
    inset 0 2px 0 rgba(216, 228, 240, .55),
    inset 0 -4px 0 rgba(0, 0, 0, .22),
    0 8px 0 #1E2733,
    0 0 0 3px rgba(255, 199, 102, .35),
    0 14px 22px rgba(0, 0, 0, .5);
}
.barre-bouton:active, .bouton-second:active, .bouton-discord:active {
  transform: translateY(4px);
  box-shadow: inset 0 2px 0 rgba(216, 228, 240, .4), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 1px 0 #1E2733;
}
.barre-bouton:focus-visible, .adresse-bouton:focus-visible, .bouton-second:focus-visible, .bouton-discord:focus-visible {
  outline: 3px solid var(--laiton-clair); outline-offset: 4px;
}

/* La petite fenêtre ronde qui tient l'icône */
.ico-cadre {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .16), rgba(0, 0, 0, .38) 75%);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .14), 0 1px 0 rgba(255, 255, 255, .15);
}
.ico { width: 24px; height: 24px; flex: none; image-rendering: pixelated; }
.barre-bouton:hover .ico, .bouton-second:hover .ico, .bouton-discord:hover .ico { animation: sautille .45s ease; }
@keyframes sautille { 40% { transform: translateY(-3px) scale(1.12); } }

/* Jouer : le bouton principal, en cuivre, avec un reflet qui passe */
.barre-jouer {
  overflow: hidden;
  border-color: #3F1C0E;
  background: linear-gradient(180deg, #FFC487 0%, #E8913A 14%, #D06E2C 58%, #A54E22 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 240, 168, .7),
    inset 0 -4px 0 rgba(0, 0, 0, .2),
    0 5px 0 #723317,
    0 9px 14px rgba(0, 0, 0, .45);
}
.barre-jouer:hover, .barre-jouer:focus-visible {
  box-shadow:
    inset 0 2px 0 rgba(255, 240, 168, .7),
    inset 0 -4px 0 rgba(0, 0, 0, .2),
    0 8px 0 #723317,
    0 0 0 3px rgba(255, 199, 102, .5),
    0 0 26px rgba(255, 138, 30, .55);
}
.barre-jouer:active { box-shadow: inset 0 2px 0 rgba(255, 240, 168, .5), 0 1px 0 #723317; }
.barre-jouer::after {
  content: "";
  position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 168, .55), transparent);
  transform: skewX(-18deg);
  animation: reflet 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes reflet { 0%, 65% { left: -60%; } 100% { left: 130%; } }

/* Discord : aux couleurs de Discord (violet-bleu), comme demandé par Tom */
.barre-discord {
  border-color: #2B2F8F;
  background: linear-gradient(180deg, #A5ADFF 0%, #7983F5 14%, #5865F2 58%, #4752C4 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .5),
    inset 0 -4px 0 rgba(0, 0, 0, .2),
    0 5px 0 #2B2F8F,
    0 9px 14px rgba(0, 0, 0, .45);
}
.barre-discord:hover, .barre-discord:focus-visible {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .5),
    inset 0 -4px 0 rgba(0, 0, 0, .2),
    0 8px 0 #2B2F8F,
    0 0 0 3px rgba(165, 173, 255, .5),
    0 0 26px rgba(88, 101, 242, .6);
}
.barre-discord:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 1px 0 #2B2F8F; }

/* Boutons « bientôt » : métal terni, plus discret */
.barre-bouton[aria-disabled="true"] {
  cursor: default;
  color: var(--vapeur-2);
  background: linear-gradient(180deg, #7A7072 0%, #5A5254 14%, #403A3B 60%, #2B2628 100%);
  border-color: #1A1718;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -4px 0 rgba(0, 0, 0, .22), 0 5px 0 #1A1718, 0 9px 14px rgba(0, 0, 0, .45);
}
.barre-bouton[aria-disabled="true"]:active { transform: translateY(-3px); }
.pastille {
  position: absolute; top: -11px; right: -10px;
  font-family: var(--corps); font-style: normal; font-size: 10px; font-weight: 900;
  letter-spacing: .06em; text-shadow: none;
  padding: 2px 8px; border-radius: 6px;
  color: #3A2414;
  background: linear-gradient(180deg, #FFF0A8, #F2C94C 40%, #D2A53A);
  border: 1px solid #4A3410;
  box-shadow: 0 2px 0 #4A3410;
  transform: rotate(8deg);
}

/* Bas de l'en-tête */
.hero-bas { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.accroche {
  margin: 0;
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.15;
  color: var(--vapeur);
  text-shadow: 0 3px 0 #3F1C0E, 0 8px 18px rgba(0, 0, 0, .6);
}
.ouverture { margin: 0; color: var(--vapeur-2); text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.ouverture strong { color: var(--laiton); }
#compte { color: var(--cuivre); font-weight: 700; white-space: nowrap; }
.adresse { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 14px; margin-top: 6px; }

/* L'adresse : une plaque de cuivre rivetée, l'adresse gravée, et un bouton de laiton « Copier » */
.adresse-bouton {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 16px; row-gap: 4px;
  align-items: center;
  padding: 12px 14px 12px 22px;
  border: 3px solid #3F1C0E;
  border-radius: 16px;
  font: inherit; color: var(--vapeur); text-align: left;
  cursor: pointer;
  background:
    var(--rivets),
    linear-gradient(180deg, #FFC487 0%, #E8913A 10%, #D06E2C 55%, #A54E22 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 240, 168, .6),
    inset 0 -4px 0 rgba(0, 0, 0, .2),
    0 6px 0 #723317,
    0 14px 28px rgba(0, 0, 0, .5);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.adresse-bouton:hover { transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255, 240, 168, .6), inset 0 -4px 0 rgba(0, 0, 0, .2), 0 9px 0 #723317, 0 0 0 3px rgba(255, 199, 102, .45), 0 0 28px rgba(255, 138, 30, .45); }
.adresse-bouton:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 240, 168, .5), 0 2px 0 #723317; }
.adresse-label {
  grid-column: 1; grid-row: 1;
  font-family: var(--corps); font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .16em;
  color: #FFF0A8; text-shadow: 0 1px 0 #723317;
}
.adresse-bouton code {
  grid-column: 1; grid-row: 2;
  font-size: 21px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 9px;
  color: #FFF0A8;
  background: #3F1C0E;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, .65), 0 1px 0 rgba(255, 196, 135, .6);
}
.adresse-action {
  grid-column: 2; grid-row: 1 / span 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 10px;
  border: 2px solid #4A3410;
  border-radius: 11px;
  font-family: var(--titre); font-size: 16px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em;
  color: #3A2414;
  background: linear-gradient(180deg, #FFF0A8 0%, #F2C94C 25%, #D2A53A 70%, #A8802A 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 4px 0 #4A3410;
  transition: transform .12s ease, box-shadow .12s ease;
}
.adresse-bouton:active .adresse-action { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 1px 0 #4A3410; }
.adresse-bouton.copie .adresse-action {
  color: var(--vapeur);
  text-shadow: 0 1px 0 #1F4A44;
  border-color: #1F4A44;
  background: linear-gradient(180deg, #A8E6D8 0%, #6FC2B0 25%, #4A9A8A 70%, #2F6E64 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 4px 0 #1F4A44;
}

/* Découvrir l'univers : bouton d'acier sombre */
.bouton-second {
  padding-left: 14px;
  font-size: 16px;
  border-color: #1A1718;
  background: linear-gradient(180deg, #5A5254 0%, #403A3B 20%, #2B2628 100%);
  box-shadow: inset 0 0 0 2px rgba(168, 128, 42, .6), inset 0 3px 0 rgba(255, 255, 255, .12), 0 5px 0 #1A1718, 0 9px 14px rgba(0, 0, 0, .45);
}
.copie-ok { min-height: 1.4em; font-weight: 700; color: var(--laiton-clair); text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }

/* ================= SECTIONS ================= */
.section { padding: 72px 16px; }
.conteneur { max-width: 1100px; margin: 0 auto; }
.centre { text-align: center; }
h2 {
  font-family: var(--titre);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--laiton);
  margin: 0 0 20px;
}
h3 { margin: 6px 0 6px; font-size: 19px; color: var(--vapeur); }
.mot-smog { color: var(--smog); }

.deux-colonnes { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .deux-colonnes { grid-template-columns: 1fr 1.1fr; } }

.cadre {
  margin: 0;
  border: 3px solid var(--laiton-sombre);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--suie-1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.cadre figcaption { padding: 10px 14px; font-size: 14px; color: var(--texte-doux); }

.atouts { background: linear-gradient(180deg, var(--suie-0), var(--suie-1)); }
.grille {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.carte {
  padding: 22px;
  border-radius: var(--rayon);
  background: linear-gradient(180deg, #403A3B, #2B2628);
  border: 1px solid rgba(210, 165, 58, .3);
  box-shadow: inset 0 1px 0 rgba(255, 240, 168, .08);
  transition: transform .2s, border-color .2s;
}
.carte:hover { transform: translateY(-4px); border-color: rgba(242, 201, 76, .7); }
.carte p { margin: 0; color: var(--texte-doux); }
.icone {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  font-size: 26px; color: var(--suie-0);
  background: linear-gradient(180deg, #F2C94C, #A8802A);
  box-shadow: 0 3px 0 #4A3410;
}
.carte-smog .icone { background: linear-gradient(180deg, #B5E61D, #5A7E22); box-shadow: 0 3px 0 #1C2A12; }

.teaser { max-width: 680px; margin: 0; font-size: 18px; color: var(--texte-doux); }
.teaser a { font-weight: 700; }

.rejoindre { background: var(--suie-1); }
.etapes {
  display: inline-block; text-align: left;
  margin: 0 auto 24px; padding-left: 1.4em;
  font-size: 18px;
}
.etapes li { margin: 8px 0; }
.etapes li::marker { color: var(--cuivre); font-weight: 800; }
.note { color: var(--texte-doux); max-width: 640px; margin: 0 auto 24px; }
.bouton-discord { padding-left: 14px; }

.pied { padding: 32px 16px; text-align: center; font-size: 14px; color: var(--texte-doux); border-top: 2px solid var(--laiton-sombre); }
.pied p { margin: 6px 0; }
.mentions { font-size: 13px; opacity: .85; }
.pied-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0; }
.pied-liens a { color: var(--laiton-clair); font-weight: 700; text-decoration: none; }
.pied-liens a:hover, .pied-liens a:focus-visible { text-decoration: underline; }
.pied-liens a[hidden] { display: none; }

/* ================= PAGE VOTE ================= */
.votes { list-style: none; margin: 0 auto 26px; padding: 0; max-width: 640px; display: grid; gap: 14px; }
.vote-site {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: 12px; text-align: left;
  background: var(--suie-1); border: 1px solid rgba(210, 165, 58, .35);
}
.vote-site strong { display: block; font-size: 18px; color: var(--texte); }
.vote-site span { font-size: 14px; color: var(--texte-doux); }
.vote-vide { padding: 18px; border-radius: 12px; background: var(--suie-1); border: 1px dashed rgba(210, 165, 58, .5); }
.vote-etapes { margin-top: 8px; }
.vote-suite { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Classement du mois (page Vote) */
.classement-section { background: var(--suie-1); }
.classement-section .vote-vide { max-width: 640px; margin: 0 auto 20px; background: var(--suie-0); }
.podium { list-style: none; margin: 0 auto 18px; padding: 0; max-width: 760px; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.podium[hidden], .classement-suite[hidden], .classement-maj[hidden], .vote-vide[hidden] { display: none; }
.podium-place {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  padding: 16px 12px; border-radius: 12px; background: var(--suie-0);
  border: 2px solid var(--laiton-sombre);
}
.podium-1 { order: 2; padding-top: 28px; border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(242, 201, 76, .18); }
.podium-2 { order: 1; border-color: var(--acier); }
.podium-3 { order: 3; border-color: var(--cuivre-moyen); }
.podium-rang { font-family: var(--titre); font-size: 26px; font-weight: 800; color: var(--laiton); line-height: 1; }
.podium-2 .podium-rang { color: var(--acier); }
.podium-3 .podium-rang { color: var(--cuivre); }
.podium-pseudo { font-size: 18px; color: var(--vapeur); max-width: 100%; overflow-wrap: anywhere; }
.podium-votes { font-size: 14px; color: var(--texte-doux); }
.podium-prix { font-size: 14px; font-weight: 700; color: var(--laiton-clair); }
.classement-suite { margin: 0 auto 14px; padding: 0 0 0 2.2em; max-width: 520px; text-align: left; }
.classement-ligne { display: list-item; padding: 6px 4px; border-bottom: 1px solid rgba(210, 165, 58, .2); }
.classement-ligne::marker { color: var(--cuivre); font-weight: 800; }
.classement-pseudo { font-weight: 700; color: var(--texte); overflow-wrap: anywhere; }
.classement-votes { float: right; margin-left: 12px; color: var(--texte-doux); }
.classement-maj { font-size: 14px; color: var(--texte-doux); margin: 0 0 24px; }
.reglement { max-width: 680px; margin: 0 auto; text-align: left; padding: 16px 20px; border-radius: 12px; border: 1px dashed rgba(210, 165, 58, .5); }
.reglement h3 { margin-top: 0; color: var(--laiton); }
.reglement ul { margin: 0; padding-left: 1.2em; font-size: 15px; color: var(--texte-doux); }
.reglement li { margin: 4px 0; }
@media (max-width: 600px) {
  .podium { grid-template-columns: 1fr; }
  .podium-1, .podium-2, .podium-3 { order: 0; padding-top: 16px; }
}

/* ================= TÉLÉPHONE ================= */
@media (max-width: 600px) {
  .hero { padding-top: 20px; padding-bottom: 40px; }
  .barre { gap: 12px 8px; padding: 14px 10px 16px; width: 100%; max-width: 420px; }
  .barre-bouton { flex: 1 1 calc(50% - 8px); min-width: 0; justify-content: flex-start; gap: 7px; padding: 6px 8px 6px 6px; min-height: 50px; font-size: 14px; letter-spacing: .02em; }
  .ico-cadre { width: 32px; height: 32px; }
  .barre-discord { flex-basis: 100%; justify-content: center; }
  .adresse-bouton { padding: 12px 12px 12px 16px; column-gap: 10px; }
  .adresse-bouton code { font-size: 17px; padding: 6px 10px; }
  .adresse-action { padding: 8px 10px 8px 8px; font-size: 14px; }
  .adresse-bouton, .bouton-second { width: 100%; justify-content: center; }
  .section { padding: 56px 16px; }
  /* peu de place : on garde la tour de la Guilde, recentrée, et on cache la plateforme de gauche */
  .bord-gauche { display: none; }
  .bord-droit .scene {
    width: 768px;            /* scène de 640 px affichée à 1,2 */
    left: calc(60px + 50vw - 618px);
    top: calc(60px + 330px - 214px);
    transform: none;
  }
}

/* Moins d'animation si la personne l'a demandé dans son système */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= PAGE BOUTIQUE (maquette) ================= */
.hero-court { min-height: 0; padding-bottom: 40px; }
.hero-court .hero-haut { gap: 18px; }
.logo-lien { text-decoration: none; display: block; }
.logo-petit { display: block; margin: 0 auto; width: min(80vw, 400px); height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.barre-actif { outline: 3px solid rgba(255, 240, 168, .85); outline-offset: 3px; }

.bandeau-maquette {
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  color: #3A2414;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .08) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #FFF0A8, #F2C94C 40%, #D2A53A);
  border-top: 3px solid #4A3410;
  border-bottom: 3px solid #4A3410;
}

.boutique-intro { padding-bottom: 24px; }
.titre-page {
  margin: 0 0 14px;
  font-family: var(--titre);
  font-size: clamp(34px, 5vw, 52px);
  color: var(--laiton);
  text-shadow: 0 3px 0 #3F1C0E;
}
.chapo { max-width: 680px; margin: 0 auto 26px; font-size: 19px; color: var(--texte); }
.reperes {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.reperes li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--suie-1);
  border: 1px solid rgba(210, 165, 58, .35);
  color: var(--texte-doux);
  font-size: 15px;
  text-align: left;
}

.packs-section { padding-top: 32px; }
.packs {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.pack {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 20px 22px;
  border-radius: 18px;
  background:
    var(--rivets),
    radial-gradient(ellipse at 50% 22%, rgba(200, 222, 214, .14), transparent 60%),
    linear-gradient(180deg, #403A3B, #2B2628);
  border: 3px solid #7A5A1C;
  box-shadow: 0 0 0 2px #2B2628, inset 0 0 0 2px rgba(0, 0, 0, .35), inset 0 3px 0 2px rgba(255, 240, 168, .08), 0 14px 26px rgba(0, 0, 0, .45);
  transition: transform .2s ease, border-color .2s ease;
}
.pack:hover { transform: translateY(-5px); border-color: #D2A53A; }
.pack-image {
  width: 256px; max-width: 100%; height: auto;
  image-rendering: pixelated;
  margin: 0 0 8px;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5));
}
.pack:hover .pack-image { animation: sautille .5s ease; }
/* Petit halo de couleur derrière chaque pile (choix de Tom : blanc, vert, bleu, violet, jaune légendaire, rouge mythique) */
.pack-halo { position: relative; display: grid; place-items: center; margin-bottom: 8px; }
.pack-halo::before {
  content: "";
  position: absolute; left: 50%; top: 58%;
  width: 190px; height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--halo) 0%, transparent 68%);
  opacity: .45;
  filter: blur(6px);
  animation: halo 3.2s ease-in-out infinite;
  pointer-events: none;
}
.pack-halo .pack-image { position: relative; margin: 0; filter: drop-shadow(0 0 6px var(--halo)) drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.pack:hover .pack-halo::before { opacity: .7; }
@keyframes halo { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.08); } }
.pack h3 { margin: 0; font-family: var(--titre); font-size: 20px; color: var(--vapeur); }
.pack-nombre { display: block; font-size: 34px; line-height: 1.1; color: #C8DED6; text-shadow: 0 2px 0 #2E3C3A; }
.pack-offert {
  margin: 10px 0 0; min-height: 1.6em;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  padding: 2px 10px; border-radius: 8px;
  color: var(--vapeur); background: #2F6E64; border: 1px solid #1F4A44;
}
.pack-offert-vide { background: none; border-color: transparent; }
.pack-prix {
  margin: 14px 0 16px;
  font-family: var(--titre); font-size: 28px; font-weight: 900;
  color: var(--laiton); text-shadow: 0 2px 0 #4A3410;
}
.pack-bouton {
  width: 100%;
  min-height: 50px;
  border: 2px solid #4A3410;
  border-radius: 12px;
  font-family: var(--titre); font-size: 16px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .05em;
  color: #3A2414;
  background: linear-gradient(180deg, #FFF0A8 0%, #F2C94C 25%, #D2A53A 70%, #A8802A 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 5px 0 #4A3410, 0 9px 14px rgba(0, 0, 0, .4);
}
.pack-bouton { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.pack-bouton:hover { transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 8px 0 #4A3410, 0 0 22px rgba(242, 201, 76, .45); }
.pack-bouton:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 1px 0 #4A3410; }
.pack-bouton:focus-visible { outline: 3px solid var(--laiton-clair); outline-offset: 3px; }
.pack-bouton:disabled { cursor: not-allowed; opacity: .75; filter: saturate(.6); }

/* Étape « pseudo » de la maquette boutique */
.pseudo-etape { padding-top: 24px; }
.pseudo-plaque {
  max-width: 640px; margin: 0 auto;
  padding: 30px 28px 24px;
  text-align: center;
  border-radius: 20px;
  background:
    var(--rivets),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 22px, rgba(0, 0, 0, .12) 22px 24px),
    linear-gradient(180deg, #5A3820 0%, #3D2414 55%, #24140C 100%);
  border: 3px solid #A8802A;
  box-shadow: 0 0 0 2px #4A3410, inset 0 0 0 2px #4A3410, inset 0 3px 0 2px rgba(255, 240, 168, .12), 0 16px 34px rgba(0, 0, 0, .55);
}
.pseudo-numero {
  display: inline-block; margin: 0 0 10px;
  padding: 2px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: #3A2414; background: linear-gradient(180deg, #FFF0A8, #F2C94C 40%, #D2A53A); border: 1px solid #4A3410;
}
.pseudo-plaque h2 { margin: 0 0 6px; }
.pseudo-aide { margin: 0 0 18px; color: var(--vapeur-2); }
.pseudo-ligne { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pseudo-tete {
  width: 48px; height: 48px; image-rendering: pixelated; flex: none;
  border-radius: 10px; padding: 4px; box-sizing: content-box;
  background: #24140C; box-shadow: inset 0 0 0 2px #7A5A1C;
}
.pseudo-ligne input {
  flex: 1 1 220px; min-width: 0;
  min-height: 54px; padding: 0 16px;
  font: 700 20px ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: #FFF0A8;
  background: #1A1718;
  border: 2px solid #7A5A1C;
  border-radius: 12px;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, .6);
}
.pseudo-ligne input::placeholder { color: #7A7072; }
.pseudo-ligne input:focus { outline: 3px solid var(--laiton-clair); outline-offset: 2px; border-color: #D2A53A; }
.pseudo-ligne input[aria-invalid="true"] { border-color: #F06449; }
.pseudo-bouton {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 54px; padding: 8px 20px 8px 14px;
  border: 2px solid #3F1C0E; border-radius: 12px;
  font-family: var(--titre); font-size: 17px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  color: var(--vapeur); text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
  cursor: pointer;
  background: linear-gradient(180deg, #FFC487 0%, #E8913A 14%, #D06E2C 58%, #A54E22 100%);
  box-shadow: inset 0 2px 0 rgba(255, 240, 168, .7), inset 0 -4px 0 rgba(0, 0, 0, .2), 0 5px 0 #723317, 0 9px 14px rgba(0, 0, 0, .45);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pseudo-bouton:hover { transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255, 240, 168, .7), 0 8px 0 #723317, 0 0 24px rgba(255, 138, 30, .5); }
.pseudo-bouton:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 240, 168, .5), 0 1px 0 #723317; }
.pseudo-erreur { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; color: #FF9A80; }
.pseudo-note { margin: 4px 0 0; font-size: 14px; color: var(--texte-doux); }

.pseudo-choisi {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  max-width: 640px; margin: 0 auto 26px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--suie-1);
  border: 1px solid rgba(210, 165, 58, .45);
}
.pseudo-choisi p { margin: 0; color: var(--vapeur-2); }
.pseudo-choisi strong { color: var(--laiton); font-family: ui-monospace, Consolas, monospace; font-size: 18px; }
.pseudo-choisi .pseudo-tete { width: 32px; height: 32px; padding: 3px; }
.pseudo-changer {
  padding: 6px 14px; border-radius: 9px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 14px;
  color: var(--vapeur); background: #403A3B; border: 1px solid #7A5A1C;
}
.pseudo-changer:hover { border-color: #D2A53A; }
[hidden] { display: none !important; }

/* Panier de la maquette boutique : colonne à gauche, barre en bas sur téléphone */
.boutique-grille { display: grid; gap: 26px; align-items: start; }
@media (min-width: 980px) { .boutique-grille { grid-template-columns: 300px 1fr; } }
.boutique-packs .packs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.panier {
  position: sticky; top: 16px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background:
    var(--rivets),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 22px, rgba(0, 0, 0, .12) 22px 24px),
    linear-gradient(180deg, #5A3820 0%, #3D2414 55%, #24140C 100%);
  border: 3px solid #A8802A;
  box-shadow: 0 0 0 2px #4A3410, inset 0 0 0 2px #4A3410, 0 14px 28px rgba(0, 0, 0, .5);
}
.panier-titre { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 22px; }
.panier-vide { margin: 0 0 12px; color: var(--vapeur-2); font-size: 15px; }
.panier-liste { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.panier-ligne {
  display: grid; grid-template-columns: 40px 1fr auto auto; gap: 8px; align-items: center;
  padding: 6px 8px; border-radius: 10px;
  background: rgba(26, 23, 24, .6); border: 1px solid rgba(168, 128, 42, .4);
  animation: entre .25s ease-out;
}
@keyframes entre { from { opacity: 0; transform: translateX(-10px); } }
.panier-ligne img { width: 40px; height: auto; image-rendering: pixelated; }
.panier-nom { font-weight: 700; font-size: 14px; color: var(--vapeur); line-height: 1.25; }
.panier-nom small { display: block; font-weight: 600; font-size: 12px; color: #6FC2B0; }
.panier-prix { font-weight: 800; color: var(--laiton); font-size: 14px; white-space: nowrap; }
.panier-retirer {
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--vapeur);
  background: #403A3B; border: 1px solid #7A5A1C;
}
.panier-retirer:hover { background: #8E2418; border-color: #F06449; }
.panier-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 10px; border-top: 1px dashed rgba(242, 201, 76, .45);
  font-weight: 700; color: var(--vapeur-2);
}
.panier-total strong { font-family: var(--titre); font-size: 26px; color: var(--laiton); text-shadow: 0 2px 0 #4A3410; }
.panier-perles { margin: 2px 0 12px; min-height: 1.2em; font-size: 13px; color: #C8DED6; text-align: right; }
.panier-payer {
  width: 100%; min-height: 52px; cursor: pointer;
  border: 2px solid #3F1C0E; border-radius: 12px;
  font-family: var(--titre); font-size: 18px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  color: var(--vapeur); text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
  background: linear-gradient(180deg, #FFC487 0%, #E8913A 14%, #D06E2C 58%, #A54E22 100%);
  box-shadow: inset 0 2px 0 rgba(255, 240, 168, .7), inset 0 -4px 0 rgba(0, 0, 0, .2), 0 5px 0 #723317, 0 9px 14px rgba(0, 0, 0, .45);
  transition: transform .12s ease, box-shadow .12s ease;
}
.panier-payer:hover:not(:disabled) { transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255, 240, 168, .7), 0 8px 0 #723317, 0 0 24px rgba(255, 138, 30, .5); }
.panier-payer:active:not(:disabled) { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 240, 168, .5), 0 1px 0 #723317; }
.panier-payer:disabled { cursor: not-allowed; filter: grayscale(.7); opacity: .6; }
.panier-payer:focus-visible, .panier-retirer:focus-visible { outline: 3px solid var(--laiton-clair); outline-offset: 3px; }
.panier-note { margin: 10px 0 0; font-size: 12px; color: var(--texte-doux); text-align: center; }
.pack-bouton.dans-panier {
  color: var(--vapeur); text-shadow: 0 1px 0 #1F4A44;
  border-color: #1F4A44;
  background: linear-gradient(180deg, #A8E6D8 0%, #6FC2B0 25%, #4A9A8A 70%, #2F6E64 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 5px 0 #1F4A44, 0 9px 14px rgba(0, 0, 0, .4);
}

/* Téléphone et tablette : le panier devient une barre fixée en bas de l'écran */
@media (max-width: 979px) {
  .panier {
    position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; z-index: 20;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .panier-titre, .panier-vide, .panier-liste, .panier-note { display: none; }
  .panier-total { grid-column: 1; border: 0; padding: 0; gap: 8px; justify-content: flex-start; }
  .panier-total strong { font-size: 21px; white-space: nowrap; }
  .panier-perles { grid-column: 1; margin: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .panier-payer { grid-column: 2; grid-row: 1 / span 2; width: auto; min-height: 48px; padding: 0 18px; font-size: 16px; white-space: nowrap; }
  .panier-payer .prix-mobile { display: none; }
  .packs-section { padding-bottom: 120px; }
}

/* Univers sans image : lignes de texte pas trop longues */
.univers p { max-width: 720px; }

/* Compteur de joueurs en ligne (script.js, partie 5) */
.en-ligne {
  margin: 0; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--vapeur-2); text-shadow: 0 2px 6px rgba(0, 0, 0, .8);
}
.voyant { width: 10px; height: 10px; border-radius: 50%; background: var(--suie-2); box-shadow: 0 0 0 2px rgba(0, 0, 0, .5); }
.voyant.allume { background: var(--smog); box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 0 8px var(--smog); }
.vote-en-ligne { margin-top: 18px; }

/* Lien retour obligatoire vers le classement serveurs-minecraft.org (étape 19) */
.pied-classement a { color: var(--laiton-clair); font-weight: 700; }
