/* RiftBlock : nuit violette, améthyste, faille cyan, pierre. Mobile d'abord. */

@font-face {
  font-family: "Lilita One";
  src: url("polices/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("polices/Rubik-wght.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --nuit: #07050d;
  --nuit-2: #140d24;
  --nuit-3: #1d1433;
  --ame: #a855f7;
  --ame-clair: #d8b4fe;
  --cyan: #22d3ee;
  --cyan-clair: #a5f3fc;
  --pierre: #d8c6a4;
  --texte: #ece6f7;
  --texte-doux: #b9adcf;
  --ligne: rgba(168, 85, 247, .22);
  --ligne-forte: rgba(168, 85, 247, .45);
  --rayon: 16px;
  --marge: 16px;
  --titre: "Lilita One", "Rubik", system-ui, sans-serif;
  --corps: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-clair); }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
b, strong { font-weight: 600; }
.cyan { color: var(--cyan-clair); }
.ame { color: var(--ame-clair); }
.pierre { color: var(--pierre); }
.vert { color: #86efac; }

.saut { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ame); color: #fff; padding: 8px 14px; border-radius: 8px; }
.saut:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.enveloppe { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--marge); }

/* ---------- boutons ---------- */
.bouton {
  --fond: var(--ame);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 12px;
  font: 600 16px/1 var(--corps); color: #fff; text-decoration: none;
  background: var(--fond);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: translateY(0); }
.bouton-ip {
  background: linear-gradient(180deg, #67e8f9, #22d3ee 55%, #0eb5d3);
  color: #071a22; font-family: var(--titre); font-weight: 400; font-size: 18px; letter-spacing: .03em;
  box-shadow: 0 0 0 1px rgba(165, 243, 252, .6) inset, 0 8px 30px -8px rgba(34, 211, 238, .7);
}
.bouton-ip:hover { box-shadow: 0 0 0 1px rgba(165, 243, 252, .8) inset, 0 10px 40px -6px rgba(34, 211, 238, .9); }
.bouton-ip.copie { background: linear-gradient(180deg, #bbf7d0, #4ade80); }
.bouton-ip.petit { min-height: 40px; padding: 0 14px; font-size: 15px; }
.bouton-discord {
  background: linear-gradient(180deg, #b77cf9, #a855f7 55%, #8b3fe0);
  font-family: var(--titre); font-weight: 400; font-size: 18px; letter-spacing: .03em;
  box-shadow: 0 0 0 1px rgba(216, 180, 254, .45) inset, 0 8px 30px -8px rgba(168, 85, 247, .8);
}
.bouton-fantome { background: rgba(20, 13, 36, .6); border: 1px solid var(--ligne-forte); color: var(--ame-clair); backdrop-filter: blur(6px); }
.bouton-fantome:hover { border-color: var(--ame); }

/* ---------- barre ---------- */
.barre {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 var(--marge);
  background: rgba(7, 5, 13, 0);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.barre.pleine { background: rgba(7, 5, 13, .82); border-color: var(--ligne); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.barre-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); font-family: var(--titre); font-size: 20px; }
.barre-logo img { width: 48px; height: auto; }
.barre-liens { display: none; }
.barre-liens a { color: var(--texte-doux); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 4px; transition: color .2s; }
.barre-liens a:hover { color: var(--cyan-clair); }

/* ---------- accueil ---------- */
.accueil {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px var(--marge) 88px;
  overflow: hidden;
  text-align: center;
}
.accueil-fond { position: absolute; inset: 0; z-index: -3; }
.accueil-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(1.2) brightness(.5) blur(2px); transform: scale(1.08); }
.accueil-fond::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 40%, rgba(168, 85, 247, .28), transparent 70%),
    radial-gradient(ellipse 40% 60% at 50% 110%, rgba(34, 211, 238, .25), transparent 70%),
    linear-gradient(180deg, rgba(7, 5, 13, .55) 0%, rgba(7, 5, 13, .35) 40%, var(--nuit) 100%);
}
.cristaux { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.faille-trait {
  position: absolute; z-index: -1; left: 50%; top: 0; width: 40px; height: 100%; transform: translateX(-50%);
  opacity: .5; filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 18px var(--cyan));
  animation: pulsation 4s ease-in-out infinite;
}
.faille-trait path { fill: none; stroke: var(--cyan-clair); stroke-width: 2; vector-effect: non-scaling-stroke; }
@keyframes pulsation { 0%, 100% { opacity: .28; } 50% { opacity: .6; } }

.accueil-contenu { width: 100%; max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pastille {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(20, 13, 36, .75); border: 1px solid var(--ligne-forte);
  color: var(--ame-clair); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: clignote 2s ease-in-out infinite; }
@keyframes clignote { 50% { opacity: .35; } }
.logo-titre { margin: 0; }
.logo-titre img {
  width: min(84vw, 460px);
  filter: drop-shadow(0 10px 40px rgba(168, 85, 247, .55)) drop-shadow(0 0 2px rgba(0, 0, 0, .8));
  animation: flotte 6s ease-in-out infinite;
}
@keyframes flotte { 50% { transform: translateY(-8px); } }
.accroche { font-size: 20px; line-height: 1.4; color: var(--texte); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.accroche strong { color: var(--cyan-clair); font-weight: 600; }
.sous-accroche { color: var(--texte-doux); max-width: 520px; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }

.ip-carte {
  width: 100%; max-width: 480px; margin-top: 6px;
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  padding: 14px; border-radius: var(--rayon);
  background: rgba(20, 13, 36, .78); border: 1px solid var(--ligne-forte);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(34, 211, 238, .08) inset;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ip-gauche { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.ip-etiquette { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.ip-valeur { font: 600 19px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--cyan-clair); word-break: break-all; }
.accueil-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.descendre { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(216, 180, 254, .5); border-radius: 14px; }
.descendre span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: molette 1.8s ease-in-out infinite; }
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- sections ---------- */
.section { position: relative; padding: 80px 0; }
.section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ligne-forte), rgba(34, 211, 238, .5), var(--ligne-forte), transparent);
}
#jeu::before { display: none; }
.entete { max-width: 720px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.surtitre { color: var(--cyan); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.entete h2 { font-size: clamp(34px, 8vw, 56px); background: linear-gradient(180deg, #fff 20%, var(--ame-clair)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entete p { color: var(--texte-doux); font-size: 17px; }

.cadre {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--ligne-forte);
  background: var(--nuit-2);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
}
.cadre img { width: 100%; image-rendering: auto; transition: transform .5s ease; }
.zoomable { cursor: zoom-in; }
.cadre.menu { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 50%, #241740, var(--nuit-2)); }
.cadre.menu img { object-fit: contain !important; height: 100%; }
.cadre.menu:hover img { transform: scale(1.02); }
.zoomable:hover img { transform: scale(1.03); }

/* apparition au défilement */
.revele { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.revele.vu { opacity: 1; transform: none; }

/* ---------- le jeu en 3 temps ---------- */
.temps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: t; }
.temps-carte {
  display: flex; flex-direction: column; gap: 18px;
  padding: 14px 14px 22px; border-radius: 20px;
  background: linear-gradient(180deg, var(--nuit-2), rgba(20, 13, 36, .4));
  border: 1px solid var(--ligne);
}
.temps-carte .cadre { aspect-ratio: 16 / 10; }
.temps-carte .cadre img { height: 100%; object-fit: cover; }
.temps-texte { position: relative; padding: 0 6px; display: flex; flex-direction: column; gap: 8px; }
.temps-num {
  font-family: var(--titre); font-size: 22px; color: #071a22;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--cyan-clair), var(--cyan));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.temps-texte h3 { font-size: 28px; color: #fff; }
.temps-texte p { color: var(--texte-doux); }

/* ---------- failles ---------- */
.section-failles { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, .08), transparent 70%), linear-gradient(180deg, var(--nuit), #0b0716 50%, var(--nuit)); }
.failles-grille { display: grid; gap: 28px; }
.paliers { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
.paliers::before {
  content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--cyan-clair), var(--ame), #f43f5e);
  box-shadow: 0 0 12px var(--cyan);
}
.palier { --teinte: calc(190 + var(--p) * 30); position: relative; display: flex; gap: 14px; align-items: flex-start; }
.palier-num {
  flex: 0 0 64px; height: 64px; position: relative; z-index: 1; isolation: isolate;
  display: grid; place-items: center;
  font-family: var(--titre); font-size: 30px; line-height: 1; color: #fff;
  text-shadow: 0 0 12px hsl(var(--teinte) 85% 60%);
}
.palier-num::before {
  content: ""; position: absolute; inset: 9px; z-index: -1;
  background: var(--nuit-2); border: 2px solid hsl(var(--teinte) 85% 65%);
  border-radius: 10px; transform: rotate(45deg);
  box-shadow: 0 0 22px -4px hsl(var(--teinte) 85% 60%);
}
.palier-num span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.palier-corps {
  flex: 1; min-width: 0;
  padding: 16px 16px 18px; border-radius: 14px;
  background: rgba(20, 13, 36, .75); border: 1px solid var(--ligne);
  display: flex; flex-direction: column; gap: 8px;
}
.palier-corps h3 { font-size: 24px; color: #fff; }
.palier-corps p { color: var(--texte-doux); font-size: 15px; }
.palier-corps .roche { color: var(--pierre); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.dangers { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dangers li { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid; }
.d-rodeur { color: var(--ame-clair); border-color: rgba(168, 85, 247, .5); background: rgba(168, 85, 247, .12); }
.d-calme { color: var(--pierre); border-color: rgba(216, 198, 164, .4); background: rgba(216, 198, 164, .08); }
.d-eau { color: #7dd3fc; border-color: rgba(56, 189, 248, .5); background: rgba(56, 189, 248, .12); }
.d-lave { color: #fdba74; border-color: rgba(249, 115, 22, .55); background: rgba(249, 115, 22, .14); }
.d-sculk { color: #5eead4; border-color: rgba(20, 184, 166, .55); background: rgba(13, 80, 90, .35); }
.d-gardien { color: #fde68a; border-color: rgba(255, 200, 90, .6); background: rgba(255, 200, 90, .12); }
.d-coeur { color: #fecdd3; border-color: rgba(244, 63, 94, .7); background: rgba(244, 63, 94, .2); }
.palier-coeur .palier-corps { border-color: rgba(244, 63, 94, .5); background: linear-gradient(135deg, rgba(60, 10, 30, .7), rgba(20, 13, 36, .8)); box-shadow: 0 0 40px -12px rgba(244, 63, 94, .6); }
.palier-coeur .palier-num::before { border-color: #fb7185; box-shadow: 0 0 26px -2px #f43f5e; }

.regles { display: flex; flex-direction: column; gap: 18px; }
.regles .cadre { aspect-ratio: 4 / 3; }
.regles .cadre img { height: 100%; object-fit: cover; }
.regles-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.regles-liste li { padding: 14px 16px; border-radius: 12px; background: rgba(20, 13, 36, .7); border-left: 3px solid var(--ame); color: var(--texte-doux); font-size: 15px; }
.regles-liste li:nth-child(1) { border-left-color: var(--cyan); }
.regles-liste li:nth-child(3) { border-left-color: var(--pierre); }
.regles-liste li:nth-child(4) { border-left-color: #4ade80; }

/* ---------- abri ---------- */
.abri-haut { display: grid; gap: 22px; margin-bottom: 26px; }
.salles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.salles li {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 14px 14px 14px; border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, transparent), rgba(20, 13, 36, .85) 60%);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.salles b { font-family: var(--titre); font-weight: 400; font-size: 19px; color: var(--c); letter-spacing: .02em; }
.salles span:not(.salle-icone) { font-size: 13.5px; color: var(--texte-doux); line-height: 1.45; }
.salle-icone { width: 14px; height: 14px; background: var(--c); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); box-shadow: 0 0 10px var(--c); margin-bottom: 4px; }
.abri-bas { display: grid; gap: 18px; }
.carte { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 20px; border-radius: 18px; background: var(--nuit-2); border: 1px solid var(--ligne); }
.carte .cadre { aspect-ratio: 16 / 11; }
.carte .cadre img { height: 100%; object-fit: cover; }
.carte h3 { font-size: 24px; padding: 0 6px; color: #fff; }
.carte p { padding: 0 6px; color: var(--texte-doux); font-size: 15px; }

/* ---------- progression ---------- */
.section-progression { background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(168, 85, 247, .12), transparent 70%); }
.progression-grille { display: grid; gap: 16px; }
.bloc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; border-radius: 18px;
  background: linear-gradient(180deg, var(--nuit-2), rgba(20, 13, 36, .6));
  border: 1px solid var(--ligne);
}
.bloc > *:not(.bloc-chiffre) { position: relative; z-index: 1; }
.bloc h3 { font-size: 26px; color: #fff; }
.bloc p { color: var(--texte-doux); font-size: 15px; }
.bloc-chiffre {
  position: absolute; right: 14px; top: -8px;
  font-family: var(--titre); font-size: 92px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(168, 85, 247, .22);
  pointer-events: none;
}
.commande { align-self: flex-start; margin-top: 4px; padding: 8px 12px; border-radius: 8px; background: var(--nuit); border: 1px solid var(--ligne); color: var(--cyan-clair); font: 500 14px/1.3 ui-monospace, Menlo, Consolas, monospace; max-width: 100%; overflow-wrap: anywhere; }
.titres { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: r; }
.titres li { counter-increment: r; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .3); color: var(--ame-clair); }
.titres li::before { content: counter(r, decimal) " · "; color: var(--texte-doux); font-weight: 400; }
.titres .legende { background: rgba(255, 200, 90, .14); border-color: rgba(255, 200, 90, .5); color: #fde68a; }
.bloc-contrats .cadre, .bloc-comptoir .cadre { margin: -6px -4px 6px; }
.bandeau-infobulles { margin: 22px auto 0; max-width: 900px; }
.note { margin-top: 14px; text-align: center; color: var(--texte-doux); font-size: 13.5px; }

/* ---------- rejoindre ---------- */
.section-rejoindre { background: linear-gradient(180deg, var(--nuit), #0d0919); }
.etapes { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.etapes li { position: relative; padding: 22px 20px 22px 20px; border-radius: 16px; background: var(--nuit-2); border: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 8px; }
.etape-num { font-family: var(--titre); font-size: 15px; color: var(--cyan); letter-spacing: .1em; }
.etape-num::before { content: "ÉTAPE "; }
.etapes h3 { font-size: 23px; color: #fff; }
.etapes p { color: var(--texte-doux); font-size: 15px; }
.etapes b { color: var(--cyan-clair); }
.bouton.pleine { width: 100%; justify-content: space-between; margin-top: 6px; font-size: 16px; padding: 0 8px 0 14px; }
.bouton.pleine code { font: 600 15px/1 ui-monospace, Menlo, Consolas, monospace; color: #071a22; overflow: hidden; text-overflow: ellipsis; }
.bouton.pleine .ip-texte { background: rgba(7, 26, 34, .15); padding: 8px 10px; border-radius: 8px; }

.appel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 32px 20px; border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(168, 85, 247, .35), transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 110%, rgba(34, 211, 238, .25), transparent 70%),
    var(--nuit-2);
  border: 1px solid var(--ligne-forte);
}
.appel img { width: 180px; filter: drop-shadow(0 8px 24px rgba(168, 85, 247, .5)); }
.appel h3 { font-size: 32px; color: #fff; }
.appel p { color: var(--texte-doux); margin-top: 6px; }

/* ---------- pied ---------- */
.pied { border-top: 1px solid var(--ligne); padding: 36px 0 40px; background: #05030a; }
.pied-grille { display: flex; flex-direction: column; gap: 22px; }
.pied-marque { display: flex; align-items: center; gap: 12px; }
.pied-marque img { width: 56px; }
.pied-marque b { display: block; font-family: var(--titre); font-weight: 400; font-size: 22px; }
.pied-marque span { color: var(--texte-doux); font-size: 14px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pied-liens a { color: var(--texte-doux); text-decoration: none; font-size: 15px; }
.pied-liens a:hover { color: var(--cyan-clair); }
.mentions { color: #8a7fa0; font-size: 13px; line-height: 1.6; }

/* ---------- toast et visionneuse ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 30px);
  padding: 12px 18px; border-radius: 12px; max-width: calc(100vw - 32px);
  background: var(--nuit-3); border: 1px solid var(--cyan); color: var(--cyan-clair); font-weight: 600;
  box-shadow: 0 10px 40px -10px rgba(34, 211, 238, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.visionneuse { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 10, .92); backdrop-filter: blur(6px); cursor: zoom-out; }
.visionneuse[hidden] { display: none; }
.visionneuse img { max-width: 100%; max-height: 90vh; border-radius: 10px; border: 1px solid var(--ligne-forte); box-shadow: 0 30px 80px -20px #000; }
.visionneuse-fermer { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne-forte); background: var(--nuit-2); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- tablette ---------- */
@media (min-width: 700px) {
  :root { --marge: 24px; }
  .ip-carte { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; }
  .abri-bas { grid-template-columns: repeat(3, 1fr); }
  .salles { grid-template-columns: repeat(3, 1fr); }
  .etapes { grid-template-columns: 1fr 1fr; }
  .progression-grille { grid-template-columns: repeat(2, 1fr); }
  .bloc-rangs { grid-column: span 2; }
  .pied-grille { display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .pied-liens { justify-content: flex-end; }
  .mentions { grid-column: 1 / -1; }
}

/* ---------- bureau ---------- */
@media (min-width: 1000px) {
  .barre-liens { display: flex; gap: 22px; }
  .section { padding: 120px 0; }
  .accroche { font-size: 24px; }
  .temps { grid-template-columns: repeat(3, 1fr); }
  .failles-grille { grid-template-columns: 1.25fr 1fr; align-items: start; gap: 40px; }
  .regles { position: sticky; top: 90px; }
  .abri-haut { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .salles { grid-template-columns: 1fr 1fr; }
  .progression-grille { grid-template-columns: repeat(6, 1fr); }
  .bloc-escouade { grid-column: span 2; }
  .bloc-rangs { grid-column: span 2; }
  .bloc-classement { grid-column: span 2; }
  .bloc-contrats, .bloc-comptoir { grid-column: span 3; }
  .etapes { grid-template-columns: repeat(4, 1fr); }
  .appel { flex-direction: row; text-align: left; padding: 28px 36px; }
  .appel div { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .revele { opacity: 1; transform: none; }
}
