/* Site Wanpi — même langage que le lanceur et l'écran-titre : fond quasi noir, verre, doré réservé aux actions. */
@font-face { font-family: Inter; src: url("fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Outfit; src: url("fonts/Outfit.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --fond: #08090c;
  --fond-2: #0d0f14;
  --panneau: #111318;
  --bord: rgba(255, 255, 255, .09);
  --texte: #eceef2;
  --doux: #9aa1ae;
  --discret: #6f7685;
  --or: #f6c33a;
  --or-clair: #e8cf8f;
  --or-texte: #17110a;
  --vert: #4fd69c;
  --rayon: 22px;
  --large: 1180px;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--fond); }
body { margin: 0; color: var(--texte); background: var(--fond); font: 16px/1.65 Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; }
code { font: 500 .92em ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 2px 7px; border-radius: 7px;
  background: rgba(246, 195, 58, .1); color: #f3d68a; }
/* Touche du clavier (même rendu que les touches du HUD) */
kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 7px;
  font: 600 12.5px Inter, sans-serif; color: var(--texte); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35); vertical-align: 1px; }
.wrap { width: min(var(--large), 100% - 32px); margin: 0 auto; }
.or { color: var(--or); }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Verre */
.verre { background: rgba(12, 14, 20, .58); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--bord); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }

/* Surtitre « — TEXTE — » */
.surtitre { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--or-clair); }
.surtitre::before, .surtitre::after { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 207, 143, .7)); }
.surtitre::after { transform: scaleX(-1); }

/* --- Boutons ------------------------------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid var(--bord);
  background: rgba(255, 255, 255, .06); color: var(--texte); transition: transform .15s, border-color .2s, background .2s; }
.btn:hover { border-color: rgba(246, 195, 58, .45); transform: translateY(-1px); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.rond { width: 40px; padding: 0; }
.btn.soon { opacity: .55; cursor: not-allowed; }
/* Bouton principal doré : relief, disque sombre, halo et reflet au survol (comme dans le lanceur) */
.btn.or { position: relative; overflow: hidden; height: 60px; padding: 0 34px 0 70px; border: 0; color: var(--or-texte);
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 16px;
  background: linear-gradient(180deg, #ffe7a0 0%, #f8c94a 38%, #eeae22 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -3px 0 rgba(120, 70, 0, .28), 0 0 0 1px rgba(120, 75, 5, .55),
    0 12px 30px rgba(0, 0, 0, .45), 0 0 46px rgba(246, 195, 58, .3); }
.btn.or .disque { position: absolute; left: 7px; top: 7px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #2a1d08, #120c03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.or .disque svg { width: 20px; height: 20px; fill: none; stroke: #f8c94a; stroke-width: 2.2; }
.btn.or.sm { height: 42px; padding: 0 20px; font-size: 13px; letter-spacing: .08em; }
.btn.or::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); opacity: 0; }
.btn.or:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(120, 70, 0, .28),
  0 0 0 1px rgba(120, 75, 5, .55), 0 16px 36px rgba(0, 0, 0, .5), 0 0 64px rgba(246, 195, 58, .45); }
.btn.or:hover::after { animation: reflet .8s ease-out; }
@keyframes reflet { from { left: -40%; opacity: 1; } to { left: 130%; opacity: 1; } }

/* --- En-tête ------------------------------------------------------------------------------------------------------ */
.entete { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; }
.entete .barre { display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 20px; border-radius: 999px; }
.entete .marque img { height: 30px; width: auto; }
.entete nav { display: flex; gap: 4px; flex: 1; }
.entete nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #c4c9d3; text-decoration: none; }
.entete nav a:hover, .entete nav a.actif { color: #fff; background: rgba(255, 255, 255, .07); }
.entete .actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) {
  /* Mobile : seul « Voter » reste dans la barre. */
  .entete nav a:not([href="/vote"]) { display: none; }
  .entete .barre { gap: 10px; }
  .entete .barre { justify-content: space-between; }
}

/* --- Héros (mise en page centrée, comme le lanceur) -------------------------------------------------------------- */
.heros { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 120px 16px 40px; overflow: hidden; isolation: isolate; }
.heros .scene { position: absolute; inset: 0; z-index: -1; background: url("img/fond.svg") center / cover no-repeat; }
.heros .galion { position: absolute; right: 3vw; top: 38%; width: min(21vw, 330px);
  filter: brightness(.82) saturate(.95) sepia(.18) drop-shadow(0 0 28px rgba(255, 175, 95, .45)) drop-shadow(0 18px 30px rgba(0, 0, 0, .5));
  animation: houle 7s ease-in-out infinite; }
@keyframes houle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(6px) rotate(.8deg); } }
.heros .voile { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 42%, rgba(6, 8, 12, .1), rgba(6, 8, 12, .7) 100%),
  linear-gradient(0deg, var(--fond) 0%, rgba(8, 9, 12, 0) 38%); }
.heros .logo { width: min(80vw, 520px); margin: 22px 0 18px; filter: drop-shadow(0 14px 44px rgba(0, 0, 0, .6)); }
.heros .pitch { max-width: 34em; color: #c8cdd6; font-size: 18px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.heros .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 30px 0 14px; }
.etat { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; color: #c4c9d3; }
.etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--discret); }
.etat.en-ligne::before { background: #2fd07d; box-shadow: 0 0 8px #2fd07d; }
.tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 270px)); gap: 14px; margin-top: 52px; text-align: left; }
.tuile { position: relative; padding: 16px 18px 16px 72px; border-radius: 20px; min-height: 86px; display: flex; flex-direction: column;
  justify-content: center; transition: transform .2s, border-color .2s; }
.tuile:hover { transform: translateY(-2px); border-color: rgba(246, 195, 58, .3); }
.tuile .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: var(--or); background: linear-gradient(180deg, rgba(246, 195, 58, .2), rgba(246, 195, 58, .07));
  box-shadow: inset 0 0 0 1px rgba(246, 195, 58, .22); }
.k { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #8e95a3; }
.tuile b { font-size: 16px; font-weight: 600; margin-top: 2px; }
.tuile small { font-size: 13px; color: var(--doux); }
.tuile small.vert { color: var(--vert); }
@media (max-width: 1100px) { .heros .galion { opacity: .35; } }
@media (max-width: 760px) { .tuiles { grid-template-columns: 1fr; width: 100%; max-width: 360px; } .heros .galion { display: none; } }

/* --- Bandeau de chiffres ------------------------------------------------------------------------------------------ */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px auto 0; }
.chiffre { padding: 22px; border-radius: var(--rayon); background: var(--panneau); border: 1px solid #1a1d24; }
.chiffre b { display: block; font: 600 34px Outfit; color: var(--or); letter-spacing: -.02em; }
.chiffre span { color: var(--doux); font-size: 14px; }
@media (max-width: 760px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

/* --- Sections ----------------------------------------------------------------------------------------------------- */
section { padding: 110px 0; }
section.sombre { background: var(--fond-2); border-block: 1px solid #14161c; }
.tete { text-align: center; max-width: 46em; margin: 0 auto 50px; }
.tete h2 { margin: 16px 0 14px; }
.tete p { color: var(--doux); font-size: 17px; }
.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.duo.inverse > :first-child { order: 2; }
.duo h2 { margin: 16px 0 16px; }
.duo p { color: var(--doux); font-size: 17px; }
.duo p + p { margin-top: 12px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 34px; } .duo.inverse > :first-child { order: 0; } }
.liste { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.liste li { display: flex; gap: 12px; color: #c8cdd6; }
.liste li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 7px;
  background: rgba(246, 195, 58, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23f6c33a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.liste b { color: var(--texte); }

/* Visuels : cadre arrondi, léger étalonnage, éléments 3D qui débordent */
.visuel { position: relative; }
.cadre { position: relative; border-radius: var(--rayon); overflow: hidden; border: 1px solid #1d2028;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45); cursor: zoom-in; }
.cadre img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.92) contrast(1.06) brightness(.94); transition: transform .5s; }
.cadre:hover img { transform: scale(1.03); }
.cadre::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 170, 90, .07), rgba(8, 9, 12, 0) 40%, rgba(8, 9, 12, .35)); }
.deborde { position: absolute; width: 46%; right: -6%; bottom: -12%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); pointer-events: none; }
.deborde.gauche { right: auto; left: -6%; }
.etiquette { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--or-clair); }

/* Navires */
.navires { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 60px; }
.navire { padding: 18px; border-radius: 18px; background: var(--panneau); border: 1px solid #1a1d24; }
.navire .k { color: var(--or); }
.navire h3 { margin: 6px 0 4px; }
.navire span { font-size: 13.5px; color: var(--doux); }
.navire.haut { border-color: rgba(246, 195, 58, .45); background: linear-gradient(180deg, rgba(246, 195, 58, .1), var(--panneau)); }
@media (max-width: 900px) { .navires { grid-template-columns: repeat(2, 1fr); } }

/* Cartes à image */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carte { border-radius: var(--rayon); overflow: hidden; background: var(--panneau); border: 1px solid #1a1d24; transition: transform .2s, border-color .2s; }
.carte:hover { transform: translateY(-3px); border-color: #2a2e38; }
.carte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.92) contrast(1.05); }
.carte .corps { padding: 20px 22px 24px; }
.carte .k { color: var(--or); }
.carte h3 { margin: 6px 0 8px; }
.carte p { color: var(--doux); font-size: 15px; }
.carte p b { color: var(--texte); }
@media (max-width: 900px) { .cartes { grid-template-columns: 1fr; } }

/* Factions */
.factions { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.faction { position: relative; border-radius: var(--rayon); padding: 30px 30px 30px 200px; min-height: 230px; overflow: hidden; }
.faction img { position: absolute; left: 22px; bottom: -6px; height: 112%; width: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
.faction h3 { font-size: 26px; margin-bottom: 8px; }
.faction p { color: var(--doux); }
.faction.pirate { background: linear-gradient(135deg, rgba(200, 70, 60, .16), rgba(17, 19, 24, .9)); border: 1px solid rgba(220, 90, 70, .25); }
.faction.marine { background: linear-gradient(135deg, rgba(70, 120, 220, .16), rgba(17, 19, 24, .9)); border: 1px solid rgba(90, 140, 230, .25); }
.vs { font: 700 18px Outfit; color: var(--discret); letter-spacing: .2em; }
.tiers { text-align: center; color: var(--doux); margin-top: 26px; }
@media (max-width: 900px) { .factions { grid-template-columns: 1fr; } .vs { text-align: center; } }

/* Saison */
.saison { display: flex; align-items: center; gap: 22px; margin-top: 26px; padding: 22px 26px; border-radius: var(--rayon);
  background: linear-gradient(90deg, rgba(246, 195, 58, .1), var(--panneau) 60%); border: 1px solid rgba(246, 195, 58, .25); }
.saison .medaille { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 22px Outfit;
  color: var(--or-texte); background: linear-gradient(180deg, #ffe7a0, #eeae22); }
.saison div p { color: var(--doux); }
.saison .btn { margin-left: auto; flex: none; }
@media (max-width: 760px) { .saison { flex-direction: column; align-items: flex-start; } .saison .btn { margin-left: 0; } }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: etape; }
.etape { padding: 28px; border-radius: var(--rayon); background: var(--panneau); border: 1px solid #1a1d24; }
.etape .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 600 18px Outfit; color: var(--or);
  background: rgba(246, 195, 58, .12); box-shadow: inset 0 0 0 1px rgba(246, 195, 58, .25); margin-bottom: 18px; }
.etape h3 { margin-bottom: 8px; }
.etape p { color: var(--doux); font-size: 15px; }
.etape a { color: var(--or); }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr; } }

/* Vote */
.vote { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(246, 195, 58, .12), transparent 60%), var(--panneau); border: 1px solid #1d2028; }
.vote h2 { margin: 14px 0 12px; }
.vote p { color: var(--doux); margin-bottom: 24px; }
.recompenses { display: grid; gap: 12px; }
.recompense { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid #1d2028; }
.recompense .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--or);
  background: rgba(246, 195, 58, .12); flex: none; }
.recompense b { display: block; }
.recompense span { color: var(--doux); font-size: 14px; }
@media (max-width: 900px) { .vote { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panneau); border: 1px solid #1a1d24; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--or); font: 400 22px/1 Outfit; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--doux); padding-bottom: 18px; }

/* Appel final */
.final { text-align: center; padding: 120px 0; position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("img/fond.svg") center 60% / cover; opacity: .55; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--fond), rgba(8, 9, 12, .4) 40%, var(--fond)); }
.final img { width: min(70vw, 360px); margin: 0 auto 22px; }
.final h2 { margin-bottom: 28px; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Pages de texte (guide, règlement) ---------------------------------------------------------------------------- */
.bandeau { position: relative; padding: 150px 0 60px; overflow: hidden; isolation: isolate; text-align: center; }
.bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("img/fond.svg") center 62% / cover; opacity: .8; }
.bandeau::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 12, .3), var(--fond)); }
.bandeau h1 { font-size: clamp(36px, 5vw, 56px); margin: 16px 0 14px; }
.bandeau p { color: #c8cdd6; max-width: 40em; margin: 0 auto; font-size: 17px; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 50px; padding: 40px 0 100px; align-items: start; }
/* Sommaire en barre latérale (direction v2 du jeu) : pas de boîte, filet à droite, élément actif doré */
.doc nav { position: sticky; top: 96px; display: grid; gap: 2px; padding: 4px 18px 4px 0; border-right: 1px solid var(--bord); }
.doc nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--doux); font-size: 14.5px;
  transition: background .2s, color .2s; }
.doc nav a:hover { color: var(--texte); background: rgba(255, 255, 255, .04); }
.doc nav a.actif { color: var(--or); background: rgba(246, 195, 58, .1); }
.doc article section { padding: 0 0 42px; scroll-margin-top: 100px; }
.doc article h2 { font-size: 28px; margin-bottom: 14px; }
.doc article p, .doc article li { color: #c4c9d3; }
.doc article p + p { margin-top: 12px; }
.doc article ul, .doc article ol { padding-left: 20px; display: grid; gap: 6px; margin: 14px 0; }
.doc article li::marker { color: var(--or); }
.doc article b { color: var(--texte); }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0; border-radius: 16px; overflow: hidden;
  border: 1px solid #1d2028; background: var(--panneau); font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #1a1d24; }
.doc th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8e95a3; font-weight: 600; background: rgba(255, 255, 255, .02); }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { white-space: nowrap; }
.note { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(246, 195, 58, .08); border: 1px solid rgba(246, 195, 58, .2); color: #e9dcb4 !important; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.ladder div { padding: 16px; border-radius: 16px; background: var(--panneau); border: 1px solid #1a1d24; }
.ladder div:nth-child(4) { border-color: rgba(230, 90, 80, .35); }
.ladder b { display: block; margin-bottom: 4px; }
.ladder span { font-size: 14px; color: var(--doux); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .doc nav { position: static; border-right: 0; padding: 0; } .ladder { grid-template-columns: 1fr 1fr; } }

/* --- Pied de page ------------------------------------------------------------------------------------------------- */
footer { border-top: 1px solid #14161c; padding: 56px 0 40px; background: #060709; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer img { height: 34px; width: auto; margin-bottom: 14px; }
footer p { color: var(--discret); font-size: 13.5px; max-width: 28em; }
footer h4 { margin: 0 0 12px; font: 600 12px Inter; letter-spacing: .15em; text-transform: uppercase; color: #8e95a3; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: #c4c9d3; text-decoration: none; font-size: 14.5px; }
footer a:hover { color: var(--or); }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* Agrandissement d'une capture */
dialog.zoom { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); }
dialog.zoom::backdrop { background: rgba(4, 6, 10, .85); backdrop-filter: blur(4px); }
dialog.zoom img { border-radius: 16px; }

/* Apparition au défilement */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; } .heros .galion { animation: none; } html { scroll-behavior: auto; } }

/* --- Page de vote ------------------------------------------------------------------------------------------------ */
.votes-page { padding: 40px 0 100px; }
.sites-vote { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.site-vote { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--rayon); background: var(--panneau);
  border: 1px solid #1a1d24; transition: border-color .2s, transform .2s; }
.site-vote:hover { border-color: rgba(246, 195, 58, .35); transform: translateY(-2px); }
.site-vote h3 { font-size: 19px; }
.site-vote .delai { color: var(--doux); font-size: 14px; margin-bottom: 12px; }
.site-vote .btn { align-self: flex-start; margin-top: auto; }
.site-vote.attente .delai { color: var(--or-clair); }
.site-vote.attente .btn { background: rgba(255, 255, 255, .06); color: var(--texte); box-shadow: none; border: 1px solid var(--bord); }
.aide-vote { text-align: center; color: var(--doux); margin: 22px 0 0; }
.vote-bas { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 80px; }
.vote-bas h2 { margin: 14px 0 22px; font-size: clamp(26px, 3vw, 34px); }
.pas-vote { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #c8cdd6; }
.pas-vote li::marker { color: var(--or); font-weight: 600; }
@media (max-width: 900px) { .vote-bas { grid-template-columns: 1fr; gap: 40px; } }

/* Classement des votes du mois */
.classement-vote { margin-top: 80px; }
.classement-vote h2 { margin: 14px 0 8px; font-size: clamp(26px, 3vw, 34px); }
.classement-vote .sous-titre { color: var(--doux); margin-bottom: 22px; }
.tableau-vote { border-radius: var(--rayon); background: var(--panneau); border: 1px solid #1a1d24; overflow: hidden; }
.tableau-vote .vide { padding: 28px; text-align: center; color: var(--doux); }
.tableau-vote table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau-vote th { text-align: left; padding: 14px 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #8e95a3; font-weight: 600; background: rgba(255, 255, 255, .02); }
.tableau-vote td { padding: 12px 20px; border-top: 1px solid #1a1d24; }
.tableau-vote .n { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tableau-vote .rang { width: 56px; color: var(--doux); font-weight: 600; }
.tableau-vote .pirate { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tableau-vote .pirate img { width: 24px; height: 24px; border-radius: 6px; image-rendering: pixelated; }
.tableau-vote .recompense-rang { color: var(--doux); }
.tableau-vote .podium .rang { color: var(--or); }
.tableau-vote .p1 { background: linear-gradient(90deg, rgba(246, 195, 58, .1), transparent 60%); }
.tableau-vote .p1 .n { color: var(--or); }
@media (max-width: 600px) { .tableau-vote th, .tableau-vote td { padding: 10px 12px; } .tableau-vote .recompense-rang { display: none; } }
