/* Polices hébergées sur le site (licence SIL Open Font License) */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/anton-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("polices/inter-latin.woff2") format("woff2"); }

/* =====================================================================
   Astuces GTA6 — design « nuit tropicale »
   ===================================================================== */
:root {
  --fond: #0a0714;
  --fond-2: #120c22;
  --verre: rgba(22, 14, 40, .55);
  --bord: rgba(255, 255, 255, .09);
  --texte: #f6f1ff;
  --texte-doux: #bdb2d6;
  --rose: #ff3d9a;
  --orange: #ffad42;
  --cyan: #38e1ff;
  --violet: #8a5cff;
  --degrade: linear-gradient(90deg, var(--rose), var(--orange));
  --rayon: 18px;
  --titre: "Anton", "Impact", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
/* grain photo très léger sur tout le site */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--cyan); }
img { display: block; max-width: 100%; }
.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; scroll-margin-top: 64px; }

/* ---------- En-tête ---------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
header.solide { background: rgba(10, 7, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--bord); }
header .conteneur { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--titre); font-size: 1.6rem; letter-spacing: 1px; text-decoration: none; color: var(--texte); text-transform: uppercase; }
.logo span { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
header nav a { color: var(--texte); opacity: .8; text-decoration: none; margin-left: 26px; font-weight: 600; font-size: .9rem; letter-spacing: .5px; text-transform: uppercase; }
header nav a:hover { opacity: 1; color: var(--rose); }

/* ---------- Bandeau plein écran ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; overflow: hidden; padding: 110px 0 80px; }
.hero-fond { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: zoomLent 28s ease-in-out infinite alternate; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,7,20,.55) 0%, rgba(10,7,20,.25) 40%, rgba(10,7,20,.85) 85%, var(--fond) 100%),
    radial-gradient(ellipse at 20% 10%, rgba(255,61,154,.35), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(56,225,255,.22), transparent 55%); }
.hero .conteneur { position: relative; z-index: 2; width: 100%; }
@keyframes zoomLent { from { transform: scale(1); } to { transform: scale(1.12) translateY(-1.5%); } }
.surtitre { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; color: var(--orange); margin-bottom: 18px; }
.hero h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 9vw, 7rem); line-height: .95; margin: 0 0 18px; letter-spacing: 1px; text-shadow: 0 8px 40px rgba(0,0,0,.5); }
.hero h1 em { font-style: normal; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(255,61,154,.45)); }
.hero p { color: #e6def6; font-size: clamp(1rem, 2vw, 1.2rem); margin: 0 auto 30px; max-width: 640px; }
.compteur { display: flex; justify-content: center; gap: 12px; margin: 0 0 34px; }
.compteur .bloc { background: var(--verre); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--bord); border-radius: 14px; min-width: 84px; padding: 12px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.compteur strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.compteur span { color: var(--texte-doux); font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; }
.recherche { width: 100%; max-width: 580px; padding: 16px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,7,20,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--texte); font-size: 1rem; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.recherche::placeholder { color: var(--texte-doux); }
.recherche:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255,61,154,.2), 0 10px 40px rgba(0,0,0,.35); }
.defiler { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--texte-doux); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; animation: flotte 2.4s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translate(-50%, 6px); } }

/* ---------- Titres de section ---------- */
.entete-section { margin-bottom: 28px; }
.entete-section .surtitre { margin-bottom: 6px; }
h2.titre-section { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin: 0; }
.legende { color: var(--texte-doux); font-size: .95rem; margin: 10px 0 0; }
.legende .fiab { margin: 0 4px 0 12px; }
.legende .fiab:first-child { margin-left: 0; }

/* ---------- Grilles et cartes ---------- */
.grille { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.carte { position: relative; display: block; background: var(--fond-2); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 22px; text-decoration: none; color: var(--texte); transition: transform .25s, border-color .25s, box-shadow .25s; }
a.carte:hover { transform: translateY(-4px); border-color: rgba(255,61,154,.6); box-shadow: 0 18px 40px rgba(255,61,154,.15); }
.carte h3 { margin: 10px 0 6px; font-size: 1.12rem; line-height: 1.3; }
.carte p { margin: 0; color: var(--texte-doux); font-size: .95rem; }
.carte.inactive { opacity: .62; }
.meta { color: var(--texte-doux); font-size: .82rem; margin-top: 12px; }
.vide { color: var(--texte-doux); }

/* Carte photo (fond image + dégradé) */
.carte-photo { overflow: hidden; padding: 0; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.carte-photo .fond { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.carte-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,7,20,0) 25%, rgba(10,7,20,.75) 65%, rgba(10,7,20,.96) 100%); }
.carte-photo:hover .fond { transform: scale(1.07); }
.carte-photo .corps { padding: 22px; }
.carte-photo h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; font-size: 1.7rem; margin: 8px 0 4px; }
.carte-photo p { color: #ddd3ee; }

/* Accès rapides */
.hub { grid-template-columns: repeat(4, 1fr); margin-top: -140px; position: relative; z-index: 3; }
.hub .carte-photo { min-height: 240px; }
.hub .carte-photo h3 { font-size: 1.45rem; }

/* Rubriques */
.rubriques .carte-photo { min-height: 210px; }
.rubriques .carte-photo h3 { font-size: 1.45rem; }
.carte-photo.choisie { border-color: var(--rose); box-shadow: 0 0 0 2px var(--rose), 0 18px 40px rgba(255,61,154,.25); }
.compteur-guides { position: absolute; top: 14px; right: 14px; }

/* Univers : affiches verticales */
.univers-grille { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.univers-grille .carte-photo { min-height: 360px; }

/* Étiquettes */
.etiquettes { display: flex; gap: 6px; flex-wrap: wrap; }
.etiquette { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; background: rgba(56,225,255,.14); color: var(--cyan); backdrop-filter: blur(6px); }
.etiquette.bientot { background: rgba(255,173,66,.18); color: var(--orange); }
.etiquette.sombre { background: rgba(10,7,20,.6); color: #fff; border: 1px solid var(--bord); }
.fiab { display: inline-block; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.fiab.officiel { background: rgba(80,220,140,.16); color: #5ee39a; }
.fiab.confirme { background: rgba(56,225,255,.14); color: var(--cyan); }
.fiab.rumeur   { background: rgba(255,90,90,.16); color: #ff7a7a; }

/* Liste d'articles : bande photo en haut */
.carte-article { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.carte-article .vignette { height: 150px; background-size: cover; background-position: center; position: relative; transition: transform .6s; }
.carte-article .vignette::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--fond-2)); }
.carte-article:hover .vignette { transform: scale(1.05); }
.carte-article .corps { padding: 18px 22px 22px; position: relative; }
.carte-article.inactive .vignette { filter: grayscale(.8) brightness(.7); }

/* Bandeau photo pleine largeur (actus, carte) */
.bandeau-photo { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--bord); padding: clamp(28px, 6vw, 64px); min-height: 360px; display: flex; align-items: flex-end; isolation: isolate; }
.bandeau-photo .fond { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.bandeau-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,7,20,.95) 0%, rgba(10,7,20,.7) 45%, rgba(10,7,20,.15) 100%); }
.bandeau-photo .texte { max-width: 560px; }
.bandeau-photo p { color: #ddd3ee; font-size: 1.05rem; }
.points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.points span { background: var(--verre); border: 1px solid var(--bord); padding: 6px 12px; border-radius: 999px; font-size: .85rem; backdrop-filter: blur(6px); }

/* Fond d'ambiance entre sections */
.ambiance { position: relative; }
.ambiance::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 10% 0%, rgba(138,92,255,.18), transparent 50%), radial-gradient(ellipse at 90% 100%, rgba(255,61,154,.12), transparent 50%); }

/* ---------- Apparition au défilement ---------- */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.apparait.vu { opacity: 1; transform: none; }

/* ---------- Page article ---------- */
.hero-article { position: relative; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 40px; isolation: isolate; }
.hero-article .fond { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero-article::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,7,20,.45), rgba(10,7,20,.75) 60%, var(--fond)); }
.hero-article .conteneur { max-width: 820px; width: 100%; }
.hero-article h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.02; margin: 14px 0 10px; letter-spacing: .5px; }
article { max-width: 820px; margin: 0 auto; padding: 10px 16px 72px; font-size: 1.07rem; }
article h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3rem); }
article h2 { margin-top: 40px; font-family: var(--titre); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; font-size: 1.8rem; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.astuce { background: linear-gradient(90deg, rgba(255,61,154,.14), rgba(255,173,66,.06)); border: 1px solid rgba(255,61,154,.3); padding: 16px 20px; border-radius: 14px; margin: 24px 0; }
.retour { display: inline-block; margin-bottom: 8px; text-decoration: none; color: #fff; opacity: .85; font-weight: 600; }
.retour:hover { opacity: 1; }
.page-simple { padding-top: 110px; }

/* ---------- Pied de page ---------- */
footer { position: relative; border-top: 1px solid var(--bord); padding: 48px 0 36px; color: var(--texte-doux); font-size: .85rem; text-align: center; background: linear-gradient(180deg, var(--fond), #07050f); }
footer .logo { display: inline-block; margin-bottom: 14px; }
.liens-pied { margin-bottom: 14px; }
.liens-pied a { color: var(--texte-doux); margin: 0 10px; text-decoration: none; }
.liens-pied a:hover { color: var(--texte); }
.credits { margin-top: 10px; font-size: .78rem; opacity: .8; }
.credits a { color: var(--texte-doux); }
.signaler { margin-top: 48px; }

/* ---------- Écrans moyens et téléphones ---------- */
@media (max-width: 900px) {
  .hub { grid-template-columns: repeat(2, 1fr); margin-top: -100px; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  header nav a { margin-left: 14px; font-size: .78rem; }
  header nav a:nth-child(n+3) { display: none; }
  .logo { font-size: 1.3rem; }
  .compteur { gap: 8px; }
  .compteur .bloc { min-width: 66px; padding: 10px 6px; }
  .compteur strong { font-size: 1.8rem; }
  .hub { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -70px; }
  .hub .carte-photo { min-height: 190px; }
  .hub .carte-photo h3 { font-size: 1.15rem; }
  .hub .carte-photo p { display: none; }
  .hub .carte-photo .corps { padding: 14px; }
  .univers-grille { grid-template-columns: 1fr 1fr; gap: 12px; }
  .univers-grille .carte-photo { min-height: 260px; }
  .univers-grille .carte-photo h3 { font-size: 1.25rem; }
  .univers-grille .carte-photo p { font-size: .82rem; }
  .univers-grille .carte-photo .corps { padding: 14px; }
  .bandeau-photo::before { background: linear-gradient(180deg, rgba(10,7,20,.35), rgba(10,7,20,.95) 70%); }
  .liens-pied a { display: inline-block; margin: 4px 8px; }
  .defiler { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fond, .defiler { animation: none; }
  .apparait { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Sources en bas d'article */
.sources { margin-top: 44px; padding: 18px 22px; border: 1px solid var(--bord); border-radius: 14px; background: var(--fond-2); font-size: .9rem; }
.sources ul { margin: 8px 0 0; padding-left: 18px; }
.sources a { color: var(--texte-doux); }
article ul li { margin-bottom: 6px; }

/* --- Fonctionnalités v5 --- */
.lien-bouton { background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; cursor: pointer; }
.lien-bouton:hover { text-decoration: underline; }

/* Bouton « Sans spoiler » */
.bouton-spoilers { background: var(--verre); border: 1px solid var(--bord); color: var(--texte); border-radius: 999px; padding: 6px 12px; font: 600 .78rem "Inter", system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bouton-spoilers:hover { border-color: var(--rose); }
.spoiler { position: relative; filter: blur(7px); cursor: pointer; transition: filter .3s; user-select: none; }
.spoiler::after { content: "Spoiler — cliquer pour afficher"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; filter: blur(0); font-weight: 700; font-size: .85rem; }
.spoiler.revele, .spoilers-visibles .spoiler { filter: none; cursor: auto; user-select: auto; }
.spoiler.revele::after, .spoilers-visibles .spoiler::after { display: none; }

/* Checklists à cocher */
ul.checklist { list-style: none; padding: 0; margin: 12px 0 28px; }
ul.checklist li { margin: 0 0 8px; }
ul.checklist label { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--bord); border-radius: 12px; background: var(--fond-2); cursor: pointer; transition: border-color .2s, background .2s; }
ul.checklist label:hover { border-color: rgba(255,61,154,.5); }
ul.checklist input { width: 20px; height: 20px; accent-color: var(--rose); flex-shrink: 0; }
ul.checklist input:checked + span { color: var(--texte-doux); text-decoration: line-through; }
.progression { margin-top: 24px; }
.progression-texte { font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.progression.complet .progression-texte { color: #5ee39a; }
.progression-piste { height: 8px; border-radius: 999px; background: var(--fond-2); border: 1px solid var(--bord); overflow: hidden; }
.progression-remplie { height: 100%; width: 0; background: var(--degrade); transition: width .4s ease; }

/* Frise chronologique */
ol.frise { list-style: none; padding: 0 0 0 26px; margin: 24px 0; border-left: 2px solid rgba(255,61,154,.4); }
ol.frise li { position: relative; margin: 0 0 18px; }
ol.frise li::before { content: ""; position: absolute; left: -34px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--degrade); box-shadow: 0 0 12px rgba(255,61,154,.6); }

@media (max-width: 600px) {
  .bouton-spoilers { padding: 5px 9px; font-size: .7rem; }
  header nav a:nth-child(n+3) { display: none; }
  header nav a:nth-child(n+2) { margin-left: 10px; }
}

/* =====================================================================
   MODULES INTERACTIFS
   ===================================================================== */
.bouton-neon { display: inline-block; border: 0; cursor: pointer; padding: 14px 26px; border-radius: 999px; font: 800 .95rem "Inter", system-ui, sans-serif; color: #fff; background: var(--degrade); box-shadow: 0 10px 30px rgba(255,61,154,.35); transition: transform .2s, box-shadow .2s; }
.bouton-neon:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,61,154,.5); }
.bouton-discret { border: 1px solid var(--bord); background: transparent; color: var(--texte); border-radius: 999px; padding: 13px 22px; font: 600 .9rem "Inter", system-ui, sans-serif; cursor: pointer; }
.bouton-discret:hover { border-color: var(--rose); }

/* 1. Sortie autour du monde */
.frise-monde { position: relative; height: 72px; margin: 10px 56px 26px; }
.frise-piste { position: absolute; left: 0; right: 0; top: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.frise-remplie { height: 100%; width: 0; border-radius: 4px; background: var(--degrade); box-shadow: 0 0 14px rgba(255,61,154,.7); transition: width 1s linear; }
.frise-curseur { position: absolute; top: -8px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,61,154,.35), 0 0 24px #ff3d9a; animation: battement 1.6s ease-in-out infinite; }
@keyframes battement { 50% { box-shadow: 0 0 0 12px rgba(255,61,154,.1), 0 0 34px #ff3d9a; } }
.frise-point { position: absolute; top: 24px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--fond); border: 2px solid rgba(255,255,255,.3); transition: all .5s; }
.frise-point span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; font-weight: 700; color: var(--texte-doux); }
.frise-point:nth-child(even) span { top: 22px; }
.frise-point.ouvert { background: #5ee39a; border-color: #5ee39a; box-shadow: 0 0 14px #5ee39a; }
.villes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ville { position: relative; overflow: hidden; padding: 16px; border-radius: 14px; border: 1px solid var(--bord); background: var(--fond-2); }
.ville::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 80% 0%, rgba(94,227,154,.25), transparent 60%); transition: opacity .6s; }
.ville.ouverte { border-color: rgba(94,227,154,.5); }
.ville.ouverte::before { opacity: 1; }
.ville-nom { font-family: var(--titre); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .5px; }
.ville-pays, .ville-heure, .ville-note { color: var(--texte-doux); font-size: .8rem; }
.ville-etat { position: relative; margin-top: 10px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--orange); }
.ville.ouverte .ville-etat { color: #5ee39a; }
.pastille-live { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #5ee39a; animation: battement-vert 1.2s infinite; vertical-align: middle; }
@keyframes battement-vert { 0% { box-shadow: 0 0 0 0 rgba(94,227,154,.7); } 100% { box-shadow: 0 0 0 10px rgba(94,227,154,0); } }
.ville-note { margin-top: 4px; font-style: italic; }

/* 2. Carte schématique de Leonida */
.carte-leonida { margin-bottom: 40px; scroll-margin-top: 84px; }
.leonida { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.leonida-svg { width: 100%; max-height: 560px; display: block; }
.leonida-svg .terre { fill: url(#lg-terre); stroke: rgba(255,61,154,.6); stroke-width: 2; filter: drop-shadow(0 0 18px rgba(255,61,154,.25)); }
.leonida-svg .lac { fill: rgba(56,225,255,.18); stroke: rgba(56,225,255,.5); }
.leonida-svg .ile { fill: #22183e; stroke: rgba(56,225,255,.45); }
.leonida-svg .vagues path { fill: none; stroke: rgba(56,225,255,.18); stroke-width: 1.5; stroke-dasharray: 6 8; animation: vague 6s linear infinite; }
@keyframes vague { to { stroke-dashoffset: -140; } }
.lieu { cursor: pointer; outline: none; }
.lieu-halo { opacity: 0; transition: opacity .3s; }
.lieu-point { fill: #fff; stroke: var(--rose); stroke-width: 3; transition: r .2s; }
.lieu-onde { fill: none; stroke: var(--rose); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onde 2.4s ease-out infinite; }
@keyframes onde { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.lieu-nom { fill: #fff; font: 800 12px "Inter", system-ui, sans-serif; paint-order: stroke; stroke: rgba(10,7,20,.9); stroke-width: 4px; pointer-events: none; }
.lieu:hover .lieu-halo, .lieu:focus .lieu-halo, .lieu.actif .lieu-halo { opacity: 1; }
.lieu.actif .lieu-point { fill: var(--orange); stroke: #fff; }
.lieu:focus-visible .lieu-point { stroke: var(--cyan); }
.leonida-fiche { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bord); background: var(--fond-2); }
.leonida-fiche.entre { animation: ficheEntre .5s cubic-bezier(.2,.7,.2,1); }
@keyframes ficheEntre { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.fiche-photo { height: 220px; background-size: cover; background-position: center; }
.fiche-corps { padding: 20px 22px 24px; }
.fiche-corps h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 10px 0 6px; }
.fiche-corps p { color: var(--texte-doux); margin: 0 0 10px; }
.fiche-inspi { font-size: .9rem; }

/* 3. Quiz */
.quiz-zone { max-width: 760px; margin: 0 auto; }
.quiz-carte { padding: clamp(22px, 5vw, 40px); border-radius: 22px; border: 1px solid var(--bord); background: linear-gradient(160deg, rgba(138,92,255,.16), var(--fond-2) 55%); text-align: center; }
.quiz-entre { animation: quizEntre .45s cubic-bezier(.2,.7,.2,1); }
.quiz-sort { animation: quizSort .3s ease forwards; }
@keyframes quizEntre { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes quizSort { to { opacity: 0; transform: translateX(-40px); } }
.quiz-progres { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 18px; }
.quiz-progres div { height: 100%; background: var(--degrade); transition: width .4s; }
.quiz-num { color: var(--orange); font-weight: 800; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; }
.quiz-q { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.1; margin: 10px 0 24px; }
.quiz-reponses { display: grid; gap: 10px; text-align: left; }
.quiz-rep { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--bord); background: rgba(10,7,20,.5); color: var(--texte); font: 600 1rem "Inter", system-ui, sans-serif; cursor: pointer; opacity: 0; animation: repEntre .4s ease forwards; transition: border-color .2s, background .2s, transform .2s; }
@keyframes repEntre { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-rep:hover { border-color: var(--rose); background: rgba(255,61,154,.12); transform: translateX(4px); }
.quiz-rep.choisie { border-color: var(--orange); background: rgba(255,173,66,.2); }
.quiz-resultat { position: relative; display: grid; grid-template-columns: 260px 1fr; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,61,154,.5); background: var(--fond-2); animation: resultat .7s cubic-bezier(.2,.9,.3,1.2); }
@keyframes resultat { from { opacity: 0; transform: scale(.85) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
.quiz-eclat { position: absolute; inset: -40%; z-index: 0; pointer-events: none; background: conic-gradient(from 0deg, transparent, rgba(255,61,154,.25), transparent 30%, rgba(255,173,66,.2), transparent 60%); animation: tourne 8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.quiz-photo { position: relative; z-index: 1; min-height: 280px; background-size: cover; background-position: center; }
.quiz-res-corps { position: relative; z-index: 1; padding: 28px; background: linear-gradient(90deg, rgba(18,12,34,.92), rgba(18,12,34,.98)); }
.quiz-res-corps h3 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; margin: 4px 0 6px; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quiz-accroche { font-weight: 800; margin-bottom: 8px; }
.quiz-res-corps p { color: var(--texte-doux); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (max-width: 760px) {
  .leonida { grid-template-columns: 1fr; }
  .leonida-svg { max-height: 420px; }
  .quiz-resultat { grid-template-columns: 1fr; }
  .quiz-photo { min-height: 180px; }
  .frise-point span { font-size: .6rem; }
  .frise-point:nth-child(3n) span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .frise-curseur, .pastille-live, .lieu-onde, .leonida-svg .vagues path, .quiz-eclat { animation: none; }
  .quiz-entre, .quiz-sort, .quiz-rep, .quiz-resultat, .leonida-fiche.entre { animation: none; opacity: 1; }
}

/* Photo d'accueil déclarée ici (et préchargée) pour s'afficher au plus vite */
.hero-fond { background-image: url("/images/1533106497176-45ae19e68ba2-l.webp"); }
@media (max-width: 760px) { .hero-fond { background-image: url("/images/1533106497176-45ae19e68ba2-m.webp"); } }

/* Menu hamburger (téléphone) */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--bord); border-radius: 12px; background: var(--verre); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--texte); transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.menu-ouvert .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .burger { display: block; }
  header nav { position: fixed; top: 68px; left: 0; right: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: rgba(10,7,20,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--bord); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .25s, visibility .3s; }
  .menu-ouvert nav { transform: none; opacity: 1; visibility: visible; }
  .menu-ouvert { background: rgba(10,7,20,.97); }
  header nav a, header nav a:nth-child(n+2), header nav a:nth-child(n+3) { display: block; margin: 0; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--bord); opacity: 1; }
  header nav a:last-child { border-bottom: 0; }
  .bouton-spoilers { align-self: flex-start; margin-bottom: 8px; padding: 8px 14px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { header nav, .burger span { transition: none; } }

/* Bandeau de consentement (mesure d'audience) */
#bandeau-cookies { position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--bord); background: rgba(18,12,34,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: bandeauEntre .4s cubic-bezier(.2,.7,.2,1); font-size: .92rem; }
#bandeau-cookies p { margin: 0 0 14px; color: var(--texte-doux); }
#bandeau-cookies strong { color: var(--texte); }
.bandeau-boutons { display: flex; gap: 10px; }
.bandeau-btn { flex: 1; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--bord); background: var(--fond-2); color: var(--texte); font: 700 .95rem "Inter", system-ui, sans-serif; cursor: pointer; }
.bandeau-btn:hover { border-color: var(--rose); }
.bandeau-sort { animation: bandeauSort .3s ease forwards; }
@keyframes bandeauEntre { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bandeauSort { to { opacity: 0; transform: translateY(24px); } }
.lien-cookies { display: block; margin: 10px auto 0; color: var(--texte-doux); font-size: .8rem; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { #bandeau-cookies, .bandeau-sort { animation: none; } }

/* Crédit des captures officielles du jeu */
.credit-jeu { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(10,7,20,.7); color: #e9e2f7; font-size: .65rem; font-weight: 600; letter-spacing: .3px; pointer-events: none; }
.fiche-photo { position: relative; }
.credit-hero { top: auto; bottom: 14px; right: 16px; }
.hero-article { position: relative; }

/* ---------- Filtres des guides ---------- */
.barre-filtres { display: flex; flex-direction: column; gap: 12px; margin: -8px 0 24px; }
.puces { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.puce { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--bord); background: var(--fond-2); color: var(--texte); font: 600 .88rem "Inter", system-ui, sans-serif; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.puce:hover:not(:disabled) { border-color: var(--rose); transform: translateY(-1px); }
.puce.active { background: var(--degrade); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(255,61,154,.35); }
.puce:disabled { opacity: .4; cursor: default; }
.puce em, .segment em { font-style: normal; font-size: .75rem; opacity: .75; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.1); }
.segments { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; border: 1px solid var(--bord); background: var(--fond-2); }
.segment { padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--texte-doux); font: 600 .85rem "Inter", system-ui, sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.segment.active { background: rgba(255,255,255,.12); color: var(--texte); }
.onglets-univers { margin-bottom: 18px; }
.centre { text-align: center; margin-top: 24px; }
.carte-article .vignette { position: relative; background-color: #1b1430; }
@media (max-width: 600px) {
  .puces { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .segment { padding: 8px 10px; font-size: .8rem; }
}
.puce.vide:not(.active) { opacity: .6; }

/* Téléphone : cartes de guides en liste compacte (vignette à gauche) */
@media (max-width: 600px) {
  .carte-article { flex-direction: row; align-items: stretch; min-height: 108px; }
  .carte-article .vignette { width: 104px; height: auto; flex-shrink: 0; }
  .carte-article .vignette::after { background: linear-gradient(90deg, transparent 55%, var(--fond-2)); }
  .carte-article .corps { padding: 12px 14px; }
  .carte-article h3 { font-size: .98rem; margin: 6px 0 2px; }
  .carte-article p { display: none; }
  .carte-article .meta { margin-top: 4px; font-size: .75rem; }
  .carte-article .etiquette, .carte-article .fiab { font-size: .6rem; padding: 2px 8px; }
  .carte-article .credit-jeu { display: none; }
  #grille-articles, #grille-actus { gap: 10px; }
  .villes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ville { padding: 12px; }
  .ville-nom { font-size: 1.1rem; }
  .ville-heure, .ville-note { font-size: .7rem; }
  .ville-etat { font-size: .8rem; margin-top: 6px; }
}
@media (max-width: 600px) { .carte-article .vignette[data-bg^="data:"] { background-position: 78% center !important; background-size: cover; } }
.credits-photos summary { cursor: pointer; color: var(--cyan); margin: 8px 0; }
.credits-photos ul { columns: 2; font-size: .85rem; }
@media (max-width: 600px) { .credits-photos ul { columns: 1; } }

/* =====================================================================
   OUTILS : progression, carte collaborative, live, newsletter
   ===================================================================== */
.hero-outil { min-height: 46vh; }
.intro-outil { color: #e6def6; max-width: 640px; font-size: 1.05rem; margin: 6px 0 0; }
.page-outil { padding: 10px 16px 64px; }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
header nav a { margin-left: 22px; }

/* ---- Progression ---- */
.prog-tete { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; margin: 10px 0 30px; }
.anneau { position: relative; width: 170px; height: 170px; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau-fond { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 12; }
.anneau-plein { fill: none; stroke: url(#deg-anneau); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 0 8px rgba(255,61,154,.6)); }
.anneau-texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.anneau-texte strong { font-family: var(--titre); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.anneau-texte span { color: var(--texte-doux); font-size: .85rem; }
.prog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prog-actions .bouton-discret { padding: 9px 14px; font-size: .82rem; }
.prog-message { min-height: 1.4em; margin-top: 10px; font-weight: 700; color: #5ee39a; opacity: 0; }
.prog-message.visible { animation: messageApparait 3.5s ease forwards; }
@keyframes messageApparait { 0% { opacity: 0; transform: translateY(6px); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.prog-sections { display: grid; gap: 12px; }
.prog-section { position: relative; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--fond-2); overflow: hidden; transition: border-color .3s; }
.prog-section.complete { border-color: rgba(94,227,154,.6); box-shadow: 0 0 0 1px rgba(94,227,154,.25) inset; }
.prog-section.bientot { opacity: .65; }
.prog-entete { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: none; border: 0; color: var(--texte); text-align: left; cursor: pointer; font: inherit; }
.prog-entete:disabled { cursor: default; }
.prog-icone { font-size: 1.6rem; }
.prog-titre { flex: 1; display: flex; flex-direction: column; }
.prog-titre strong { font-size: 1.05rem; }
.prog-titre small { color: var(--texte-doux); }
.prog-compte { font-weight: 800; font-variant-numeric: tabular-nums; }
.prog-section.complete .prog-compte { color: #5ee39a; }
.prog-fleche { transition: transform .3s; color: var(--texte-doux); }
.prog-section.ouverte .prog-fleche { transform: rotate(180deg); }
.prog-barre { height: 4px; background: rgba(255,255,255,.06); }
.prog-barre div { height: 100%; background: var(--degrade); transition: width .5s; }
.prog-section.complete .prog-barre div { background: #5ee39a; }
.prog-liste { list-style: none; margin: 0; padding: 6px 12px 14px; display: none; }
.prog-section.ouverte .prog-liste { display: block; animation: ficheEntre .35s ease; }
.prog-liste li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--bord); }
.prog-liste li:last-child { border-bottom: 0; }
.prog-liste label { flex: 1; display: flex; gap: 12px; align-items: center; padding: 11px 6px; cursor: pointer; }
.prog-liste input { width: 20px; height: 20px; accent-color: var(--rose); flex-shrink: 0; }
.prog-liste input:checked + span { color: var(--texte-doux); text-decoration: line-through; }
.prog-lien { font-size: .8rem; white-space: nowrap; text-decoration: none; }
.eclat { position: absolute; top: 30px; right: 60px; pointer-events: none; }
.eclat i { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--degrade); animation: eclat 1.1s cubic-bezier(.2,.7,.2,1) forwards; transform: rotate(var(--a)); }
.eclat i:nth-child(3n) { background: #5ee39a; } .eclat i:nth-child(3n+1) { background: var(--cyan); }
@keyframes eclat { to { transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(.4); opacity: 0; } }

/* ---- Carte collaborative ---- */
.cc-barre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 14px; }
.cc-barre .puces { flex: 1; min-width: 0; }
.cc-cadre { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--bord); background: #0d0920; }
.cc-svg { display: block; width: 100%; height: min(78vh, 760px); touch-action: pan-y; cursor: grab; user-select: none; }
.cc-svg:active { cursor: grabbing; }
.cc-mode-ajout .cc-svg { cursor: crosshair; touch-action: none; }
.cc-mode-ajout .cc-cadre { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,173,66,.4); }
.cc-grille line { stroke: rgba(56,225,255,.05); }
.cc-svg .terre { stroke: rgba(255,61,154,.55); stroke-width: 1.5; }
.cc-svg .lac { fill: rgba(56,225,255,.18); stroke: rgba(56,225,255,.5); }
.cc-svg .ile { fill: #22183e; stroke: rgba(56,225,255,.45); }
.cc-region { fill: rgba(233,226,247,.45); font: 800 9px "Inter", system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; }
.cc-point { cursor: pointer; animation: pointEntre .4s cubic-bezier(.2,.9,.3,1.3) both; }
.cc-point circle { stroke: #0a0714; stroke-width: 1.5; transition: r .2s; }
.cc-point:hover circle, .cc-point:focus circle { r: 9; }
@keyframes pointEntre { from { opacity: 0; transform: scale(0); } }
.cc-prov circle:last-child { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.cc-onde { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onde 1.6s ease-out infinite; }
.cc-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cc-zoom button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--bord); background: rgba(18,12,34,.9); color: var(--texte); font-size: 1.2rem; cursor: pointer; }
.cc-aide { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: var(--orange); color: #1a1230; font-weight: 800; font-size: .85rem; animation: battement 1.6s infinite; }
.cc-info { position: absolute; left: 12px; right: 64px; bottom: 12px; }
.cc-carte-info { max-width: 420px; padding: 14px 16px; border-radius: 14px; background: rgba(18,12,34,.95); border: 1px solid var(--bord); animation: ficheEntre .35s ease; }
.cc-carte-info p { margin: 8px 0; color: var(--texte-doux); }
.cc-formulaire { margin-top: 16px; padding: 20px; border-radius: var(--rayon); border: 1px solid rgba(255,173,66,.5); background: var(--fond-2); animation: ficheEntre .35s ease; }
.cc-formulaire h3 { margin: 0 0 12px; }
.cc-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.cc-formulaire small { color: var(--texte-doux); font-weight: 400; }
.cc-formulaire select, .cc-formulaire textarea, .nl-form input[type=email] { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--bord); background: rgba(10,7,20,.6); color: var(--texte); font: 1rem "Inter", system-ui, sans-serif; }
.cc-formulaire select:focus, .cc-formulaire textarea:focus, .nl-form input:focus { outline: none; border-color: var(--rose); }
.cc-retour, .nl-retour { margin-top: 10px; font-weight: 700; }

/* ---- Live ---- */
.live-barre { display: flex; align-items: center; gap: 14px; margin: 10px 0 14px; }
.live-badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 999px; background: rgba(255,61,154,.18); color: #ff7ab9; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; }
.live-badge .pastille-live { background: #ff3d9a; animation: battement-rose 1.2s infinite; }
@keyframes battement-rose { 0% { box-shadow: 0 0 0 0 rgba(255,61,154,.7); } 100% { box-shadow: 0 0 0 10px rgba(255,61,154,0); } }
.live-maj { color: var(--texte-doux); font-size: .85rem; }
.live-nouveau { position: sticky; top: 80px; z-index: 5; display: block; margin: 0 auto 10px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--degrade); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(255,61,154,.4); }
.live-fil { list-style: none; margin: 18px 0 40px; padding: 0 0 0 22px; border-left: 2px solid rgba(255,61,154,.35); }
.live-info { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 0 0 26px; }
.live-info::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--fond); border: 3px solid var(--rose); }
.live-info:first-child::before { background: var(--rose); box-shadow: 0 0 14px var(--rose); }
.live-neuve { animation: infoNeuve 2.5s ease; }
@keyframes infoNeuve { 0% { opacity: 0; transform: translateY(-14px); } 15% { opacity: 1; transform: none; } 30%, 70% { background: rgba(255,61,154,.08); } 100% { background: transparent; } }
.live-heure { color: var(--texte-doux); font-size: .85rem; padding-top: 4px; }
.live-corps h3 { margin: 6px 0 4px; font-size: 1.15rem; }
.live-corps p { margin: 0 0 6px; color: var(--texte-doux); }
.live-type { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.live-type.officiel { background: rgba(80,220,140,.16); color: #5ee39a; }
.live-type.confirme { background: rgba(56,225,255,.14); color: var(--cyan); }
.live-type.rumeur { background: rgba(255,90,90,.16); color: #ff7a7a; }
.live-type.probleme { background: rgba(255,173,66,.18); color: var(--orange); }
.live-type.astuce, .live-type.joueurs { background: rgba(196,113,245,.18); color: #d9a6ff; }

/* ---- Newsletter ---- */
.bloc-newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: clamp(22px, 5vw, 40px); border-radius: 26px; border: 1px solid var(--bord); background: radial-gradient(ellipse at 0% 0%, rgba(255,61,154,.22), transparent 60%), radial-gradient(ellipse at 100% 100%, rgba(56,225,255,.16), transparent 60%), var(--fond-2); }
.bloc-newsletter:empty { display: none; }
.bloc-newsletter p { color: var(--texte-doux); margin: 10px 0 0; }
.nl-ligne { display: flex; gap: 10px; }
.nl-ligne input { flex: 1; min-width: 0; }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .82rem; color: var(--texte-doux); cursor: pointer; }
.nl-consent input { margin-top: 3px; accent-color: var(--rose); }
.nl-merci .nl-ligne, .nl-merci .nl-consent { display: none; }
.nl-merci .nl-retour { color: #5ee39a; font-size: 1.05rem; }
.conteneur-nl { max-width: 980px; margin: 0 auto 70px; }
#newsletter { padding-top: 20px; }

@media (max-width: 760px) {
  .prog-tete { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .prog-actions { justify-content: center; }
  .cc-champs { grid-template-columns: 1fr; }
  .cc-svg { height: 70vh; }
  .cc-info { right: 12px; bottom: 12px; }
  .live-info { grid-template-columns: 1fr; gap: 2px; }
  .bloc-newsletter { grid-template-columns: 1fr; }
  .nl-ligne { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-point, .live-neuve, .eclat i, .cc-aide, .cc-onde { animation: none; }
}
.prog-section { padding: 0; }
.live-nouveau[hidden], .cc-aide[hidden], .cc-formulaire[hidden] { display: none; }

/* =====================================================================
   DESIGN SYSTEM v2 — couche d'harmonisation (montée en gamme)
   Jetons communs, puis finitions des composants. Placée en fin de fichier
   pour s'appliquer par-dessus les styles précédents.
   ===================================================================== */
:root {
  /* Surfaces : du plus profond au plus proche */
  --surface-0: #09061a;
  --surface-1: #110b22;
  --surface-2: #17102c;
  --surface-3: #1f1638;
  --fond: var(--surface-0);
  --fond-2: var(--surface-1);
  --bord: rgba(255, 255, 255, .08);
  --bord-fort: rgba(255, 255, 255, .16);
  --reflet: inset 0 1px 0 rgba(255, 255, 255, .06);
  /* Texte */
  --texte: #f7f3ff;
  --texte-doux: #b9aed3;
  --texte-faible: #8a7fa6;
  /* Accents */
  --vert: #5ee39a;
  --degrade: linear-gradient(100deg, #ff3d9a 0%, #ff6f6f 45%, #ffad42 100%);
  --degrade-froid: linear-gradient(100deg, #8a5cff, #38e1ff);
  /* Formes et profondeur */
  --rayon-s: 10px;
  --rayon: 16px;
  --rayon-l: 24px;
  --ombre-1: 0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.25);
  --ombre-2: 0 2px 6px rgba(0,0,0,.35), 0 18px 40px -12px rgba(0,0,0,.6);
  --ombre-neon: 0 10px 30px -8px rgba(255,61,154,.55);
  --anneau-focus: 0 0 0 3px rgba(56,225,255,.45);
  /* Mouvement */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duree: .25s;
}

/* Typographie plus fine */
body {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(138,92,255,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(255,61,154,.06), transparent 60%),
    var(--surface-0);
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(255,61,154,.35); color: #fff; }
a { color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--duree); }
a:hover { color: #8aefff; }

/* Focus clavier visible et cohérent partout */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--anneau-focus); border-radius: 8px; }
.carte:focus-visible, .puce:focus-visible, .segment:focus-visible, button:focus-visible { box-shadow: var(--anneau-focus); }

/* Barres de défilement discrètes */
html { scrollbar-color: #3a2c5c transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2c2147; border-radius: 10px; border: 2px solid var(--surface-0); }

/* En-tête : filet lumineux une fois défilé */
header.solide { background: rgba(9,6,26,.78); box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 10px 30px -20px rgba(0,0,0,.8); }
header.solide::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,61,154,.5), rgba(255,173,66,.4), transparent); }
header nav a { position: relative; opacity: .78; font-size: .82rem; letter-spacing: 1.2px; transition: opacity var(--duree), color var(--duree); }
header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--degrade); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
header nav a:hover { color: var(--texte); opacity: 1; }
header nav a:hover::after { transform: scaleX(1); }

/* Titres de section : petite barre lumineuse devant le surtitre */
.surtitre { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 2.5px; font-size: .74rem; }
.entete-section .surtitre::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--degrade); box-shadow: 0 0 10px rgba(255,61,154,.6); }
h2.titre-section { letter-spacing: .5px; }
.legende { color: var(--texte-faible); }

/* Cartes : relief, reflet et contour lumineux au survol */
.carte { background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border-color: var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre-1), var(--reflet); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
a.carte:hover { transform: translateY(-4px); border-color: rgba(255,61,154,.45); box-shadow: var(--ombre-2), 0 0 0 1px rgba(255,61,154,.15), var(--reflet); }
.carte h3 { letter-spacing: -.01em; }
.carte-article .corps h3 { font-size: 1.06rem; line-height: 1.35; }
.carte-article .vignette { height: 160px; }
.carte-photo { border-radius: var(--rayon-l); }

/* Étiquettes et pastilles de fiabilité : plus nettes */
.etiquette, .fiab, .live-type { font-size: .66rem; letter-spacing: .9px; padding: 4px 10px; border: 1px solid transparent; }
.etiquette { background: rgba(56,225,255,.1); border-color: rgba(56,225,255,.22); }
.etiquette.bientot { background: rgba(255,173,66,.12); border-color: rgba(255,173,66,.28); }
.etiquette.sombre { background: rgba(9,6,26,.62); border-color: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fiab.officiel, .live-type.officiel { border-color: rgba(94,227,154,.3); }
.fiab.confirme, .live-type.confirme { border-color: rgba(56,225,255,.3); }
.fiab.rumeur, .live-type.rumeur { border-color: rgba(255,122,122,.3); }

/* Boutons : trois niveaux cohérents (principal, secondaire, discret) */
.bouton-neon, .bouton-discret, .bandeau-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 700; letter-spacing: .2px; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; }
.bouton-neon { position: relative; overflow: hidden; background: var(--degrade); box-shadow: var(--ombre-neon), inset 0 1px 0 rgba(255,255,255,.25); }
.bouton-neon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.bouton-neon:hover::after { transform: translateX(120%); }
.bouton-neon:active, .bouton-discret:active { transform: translateY(1px) scale(.99); }
.bouton-discret { background: rgba(255,255,255,.04); border: 1px solid var(--bord-fort); box-shadow: var(--reflet); }
.bouton-discret:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); transform: translateY(-1px); }
.bouton-neon:disabled, .bouton-discret:disabled { opacity: .55; cursor: default; transform: none; }

/* Pastilles de filtre et segments */
.puce { background: rgba(255,255,255,.035); border-color: var(--bord); box-shadow: var(--reflet); transition: background var(--duree), border-color var(--duree), transform .2s var(--ease), box-shadow var(--duree); }
.puce:hover:not(:disabled) { background: rgba(255,255,255,.07); border-color: var(--bord-fort); }
.puce.active { box-shadow: var(--ombre-neon), inset 0 1px 0 rgba(255,255,255,.25); }
.segments { background: rgba(255,255,255,.03); border-color: var(--bord); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.segment.active { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08)); box-shadow: var(--ombre-1), var(--reflet); }

/* Champs de saisie */
.recherche, .nl-form input[type=email], .cc-formulaire select, .cc-formulaire textarea {
  background: rgba(9,6,26,.55); border: 1px solid var(--bord-fort); box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
  transition: border-color var(--duree), box-shadow var(--duree), background var(--duree);
}
.recherche:hover, .nl-form input[type=email]:hover { border-color: rgba(255,255,255,.24); }
.recherche:focus, .nl-form input[type=email]:focus { border-color: rgba(255,61,154,.7); box-shadow: 0 0 0 4px rgba(255,61,154,.16), inset 0 1px 2px rgba(0,0,0,.35); background: rgba(9,6,26,.75); }
input[type=checkbox] { accent-color: var(--rose); }

/* Compteur et blocs « verre » */
.compteur .bloc { background: linear-gradient(180deg, rgba(31,22,56,.72), rgba(17,11,34,.72)); border-color: rgba(255,255,255,.12); box-shadow: var(--ombre-2), var(--reflet); }

/* Articles : lecture plus confortable */
article { font-size: 1.06rem; line-height: 1.75; }
article p { margin: 0 0 1.1em; }
article h2 { margin-top: 2.2em; }
article ul li::marker { color: var(--rose); }
.astuce { border-radius: var(--rayon); background: linear-gradient(100deg, rgba(255,61,154,.12), rgba(255,173,66,.05)); border-color: rgba(255,61,154,.28); box-shadow: var(--reflet); }
.sources { background: var(--surface-1); border-color: var(--bord); border-radius: var(--rayon); }

/* Pied de page */
footer { background: linear-gradient(180deg, transparent, rgba(5,3,14,.9) 40%); border-top: 0; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }
.liens-pied a { transition: color var(--duree); }

@media (prefers-reduced-motion: reduce) {
  .bouton-neon::after, header nav a::after { transition: none; }
  a.carte:hover, .bouton-discret:hover { transform: none; }
}

/* ---------- Bandeau de consentement v2 ---------- */
#bandeau-cookies { left: 20px; right: auto; bottom: 20px; width: min(440px, calc(100vw - 32px)); max-width: none; margin: 0; padding: 20px 20px 14px; border-radius: var(--rayon-l);
  border: 1px solid var(--bord-fort); background: linear-gradient(180deg, rgba(31,22,56,.96), rgba(17,11,34,.97));
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,61,154,.08), var(--reflet);
  animation: bcEntre .55s var(--ease); font-size: .9rem; }
#bandeau-cookies::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; border-radius: 2px; background: var(--degrade); opacity: .8; }
@keyframes bcEntre { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.bandeau-sort { animation: bcSort .28s ease forwards !important; }
@keyframes bcSort { to { opacity: 0; transform: translateY(16px) scale(.98); } }
.bc-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bc-icone { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 12px; color: var(--orange); background: rgba(255,173,66,.12); border: 1px solid rgba(255,173,66,.25); }
.bc-tete h2 { flex: 1; margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.bc-continuer { background: none; border: 0; padding: 4px 0; color: var(--texte-faible); font: 600 .74rem "Inter", system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: color var(--duree); }
.bc-continuer:hover { color: var(--texte); }
#bandeau-cookies p { margin: 0 0 14px; color: var(--texte-doux); line-height: 1.55; }
#bandeau-cookies p strong { color: var(--texte); }
.bc-detail { margin: 0 0 14px; padding: 4px 0 2px; border-top: 1px solid var(--bord); animation: ficheEntre .3s var(--ease); }
.bc-detail[hidden] { display: none; }
.bc-ligne { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--bord); cursor: pointer; }
.bc-ligne div { display: flex; flex-direction: column; gap: 2px; }
.bc-ligne small { color: var(--texte-faible); font-size: .76rem; line-height: 1.4; }
.bc-toujours { font-size: .7rem; font-weight: 700; color: var(--vert); white-space: nowrap; }
.bc-interrupteur { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.bc-interrupteur input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bc-interrupteur span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid var(--bord-fort); transition: background .25s; pointer-events: none; }
.bc-interrupteur span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.bc-interrupteur input:checked + span { background: var(--degrade); border-color: transparent; }
.bc-interrupteur input:checked + span::after { transform: translateX(18px); }
.bc-interrupteur input:focus-visible + span { box-shadow: var(--anneau-focus); }
.bc-enregistrer { width: 100%; margin-top: 12px; }
.bc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Même apparence pour refuser et accepter : aucun choix n'est mis en avant */
#bandeau-cookies .bandeau-btn { min-height: 44px; background: rgba(255,255,255,.07); border: 1px solid var(--bord-fort); color: var(--texte); font: 700 .88rem "Inter", system-ui, sans-serif; box-shadow: var(--reflet); }
#bandeau-cookies .bandeau-btn:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
.bc-pied { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.bc-lien { background: none; border: 0; padding: 4px 0; color: var(--texte-faible); font: 600 .76rem "Inter", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bc-lien:hover { color: var(--texte); }
@media (max-width: 600px) {
  #bandeau-cookies { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px 16px 10px; border-radius: 20px; }
  .bc-tete { flex-wrap: wrap; }
  .bc-continuer { order: 3; width: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { #bandeau-cookies, .bandeau-sort { animation: none !important; } }
