/*
  VOICE   : gala panafricain — fierté, chaleur, prestige d'une grande finale.
  IDEA    : une étoile qui monte : chaque vote rapproche l'artiste du billet pour Dubaï (seuil 10 000).
  PICTURE : skyline de Dubaï au crépuscule rose, Burj Khalifa, reflets dans l'eau (SVG remplaçable).
  COLOUR  : pourpre profond dominant, rose magenta en soutien, or lumineux en accent, blanc net.
  TYPE    : Archivo Black (titres massifs comme l'affiche) + Outfit (texte) ; LAYOUT : bandes pleine largeur, 1240px max.
*/

/* ===================== 1. THÈME (modifiez ici les couleurs) ===================== */
:root {
  color-scheme: dark;
  --abyss: #1a0412;      /* fond le plus profond */
  --deep: #3d0821;       /* bleu marine */
  --royal: #7a0e3f;      /* bleu royal */
  --royal-2: #a8185a;
  --turq: #ff6fae;       /* turquoise océan */
  --lagoon: #ffc2dc;
  --gold: #f7c948;       /* or lumineux */
  --gold-2: #e39b16;
  --gold-3: #fff0b8;
  --ink: #fff5f9;
  --muted: #ecbdd1;
  --line: rgba(255, 180, 210, .2);
  --card: rgba(90, 10, 48, .55);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --f-title: "Archivo Black", "Arial Black", Impact, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===================== 2. BASE ===================== */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--abyss); color: var(--ink); font: 16px/1.6 var(--f-body); overflow-x: clip; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-title); line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: max(4vw, 16px); }
.band { padding-block: clamp(64px, 8vw, 116px); position: relative; }
.gold-text { background: linear-gradient(180deg, #fff6cf 0%, #f7c948 48%, #d98c0f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: .5em; color: var(--gold); font-weight: 600; font-size: 15px; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 17px; }
.note { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; }
.note .icon { color: var(--gold); margin-top: 2px; }

/* ===================== 3. BOUTONS & CHAMPS ===================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, opacity .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn--gold { background: linear-gradient(180deg, #ffe07a, #f2b51f 55%, #d98c0f); color: #1b1200; box-shadow: 0 12px 30px -12px rgba(247, 201, 72, .75), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(6px); }
.btn--wa { background: #1fae55; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.field { width: 100%; min-height: 50px; border-radius: 14px; background: rgba(40, 5, 24, .85); border: 1px solid var(--line); color: #fff; padding: 0 16px; font-size: 16px; }
.field:focus { border-color: var(--turq); outline: none; box-shadow: 0 0 0 3px rgba(255, 111, 174, .25); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select.field option { background: var(--deep); }
label.lbl { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.err { color: #ffa3a3; font-size: 14px; min-height: 1em; }

/* ===================== 4. EN-TÊTE ===================== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(26, 4, 18, .88); backdrop-filter: blur(14px); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1 var(--f-title); }
.logo .icon { color: var(--gold); width: 34px; height: 34px; stroke-width: 1.6; }
.logo small { display: block; font: 600 12px/1.4 var(--f-body); color: var(--gold); }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; color: #ffd9e8; font-size: 15px; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); place-items: center; cursor: pointer; }
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; background: rgba(26, 4, 18, .97); padding: 10px 16px 22px; border-bottom: 1px solid var(--line); transform: translateY(-130%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px; font-size: 17px; }
  .burger { display: grid; margin-left: auto; }
  .header__cta { display: none; }
}

/* ===================== 5. HERO ===================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 112px 0 72px; isolation: isolate; overflow: hidden; }
/* IMAGE HERO : remplacez le <svg class="hero__scene"> par <img class="hero__scene" src="assets/zanzibar-hero.jpg"> (2400×1350 min.) */
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 4, 18, .94) 0%, rgba(58, 6, 32, .78) 36%, rgba(58, 6, 32, .2) 66%, transparent 85%), linear-gradient(0deg, var(--abyss) 0%, transparent 26%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { display: grid; justify-items: start; font-weight: 900; line-height: .95; margin: 16px 0 18px; }
.t-royal { font-size: clamp(58px, 9vw, 120px); filter: drop-shadow(0 4px 0 #6d4100) drop-shadow(0 14px 26px rgba(0, 0, 0, .45)); }
.t-challenge { font-size: clamp(34px, 5.5vw, 74px); color: #fff; text-shadow: 0 3px 0 #b0577f, 0 12px 28px rgba(0, 0, 0, .45); }
.t-year { font-size: clamp(30px, 4vw, 52px); display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.t-year::before, .t-year::after { content: ""; width: clamp(30px, 6vw, 80px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.t-year::after { transform: scaleX(-1); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #ffe6f0; max-width: 560px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(61, 8, 33, .72); border: 1px solid rgba(247, 201, 72, .45); font-weight: 500; font-size: 15px; }
.chip .icon { color: var(--gold); }
.status__label { font-weight: 600; color: var(--lagoon); display: flex; align-items: center; gap: 10px; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s infinite; flex: none; }
.countdown { display: flex; gap: 10px; margin: 12px 0 28px; }
.cd { min-width: 78px; padding: 12px 8px 10px; text-align: center; border-radius: 14px; background: linear-gradient(180deg, rgba(168, 24, 90, .7), rgba(61, 8, 33, .9)); border: 1px solid rgba(247, 201, 72, .4); }
.cd b { display: block; font: 800 clamp(26px, 3.4vw, 38px)/1 var(--f-title); color: var(--gold); font-variant-numeric: tabular-nums; }
.cd span { font-size: 13px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Carte d'embarquement */
.pass { position: relative; background: linear-gradient(160deg, #fffdf6, #fff1c9); color: #5a0a2e; border-radius: 22px; padding: 22px 24px; box-shadow: 0 44px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(247, 201, 72, .7); transform: rotate(-2deg); max-width: 430px; width: 100%; justify-self: end; }
.pass__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; color: var(--royal); padding-bottom: 12px; border-bottom: 1px dashed rgba(122, 14, 63, .3); }
.pass__top .icon { color: var(--gold-2); width: 22px; height: 22px; }
.pass__route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 18px 0 14px; }
.pass__route small { font-size: 12px; color: #8a4b66; font-weight: 600; display: block; }
.pass__route b { font: 900 clamp(34px, 4vw, 46px)/1 var(--f-title); color: var(--royal); display: block; }
.pass__route span { font-size: 13px; color: #6e2a48; }
.pass__route > div:last-child { text-align: right; }
.pass__fly { display: grid; place-items: center; color: var(--gold-2); width: 70px; height: 24px; background: radial-gradient(circle, rgba(122, 14, 63, .35) 1.5px, transparent 2px) 0 50% / 8px 8px repeat-x; }
.pass__fly .icon { width: 26px; height: 26px; background: #fff8e2; border-radius: 50%; padding: 2px; }
.pass__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pass__dl dt { font-size: 12px; color: #8a4b66; font-weight: 600; }
.pass__dl dd { margin: 0; font-weight: 700; font-size: 14px; }
.pass__tear { margin: 16px -24px; border-top: 2px dashed rgba(122, 14, 63, .25); }
.pass__prize strong { display: block; font: 800 20px/1.2 var(--f-title); color: var(--royal); margin-bottom: 8px; }
.pass__prize ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.pass__prize li { display: flex; gap: 8px; align-items: center; }
.pass__prize li .icon { color: var(--gold-2); }
.pass__barcode { height: 44px; margin-top: 16px; border-radius: 4px; opacity: .85; background: repeating-linear-gradient(90deg, #5a0a2e 0 2px, transparent 2px 4px, #5a0a2e 4px 7px, transparent 7px 9px, #5a0a2e 9px 10px, transparent 10px 13px); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pass { justify-self: start; transform: none; max-width: 520px; }
  .hero::before { background: linear-gradient(180deg, rgba(26, 4, 18, .6) 0%, rgba(26, 4, 18, .82) 45%, rgba(26, 4, 18, .95) 80%, var(--abyss)); }
}
@media (max-width: 480px) {
  .countdown { gap: 6px; } .cd { min-width: 0; flex: 1; }
  .hero__cta .btn { flex: 1 1 100%; }
  .pass__dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Bandeau défilant */
.ribbon { background: linear-gradient(90deg, #d98c0f, #f7c948 30%, #ffe48a 50%, #f7c948 70%, #d98c0f); color: #1b1200; overflow: hidden; border-block: 1px solid #fff0b8; }
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon__set { display: flex; align-items: center; gap: 28px; padding: 14px 14px; font: 800 15px/1 var(--f-title); white-space: nowrap; }
.ribbon__set .icon { width: 18px; height: 18px; }

/* ===================== 6. ZANZIBAR ===================== */
.zanzibar { background: linear-gradient(180deg, var(--abyss) 0%, #4a0928 35%, #5a0f33 100%); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.spot { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .12); }
.spot--xl { grid-column: span 2; grid-row: span 2; padding: 28px; }
.spot--wide { grid-column: span 2; }
.spot > .ph, .spot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.spot:hover > .ph, .spot:hover > img { transform: scale(1.05); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(26, 4, 18, .92) 0%, rgba(26, 4, 18, .35) 45%, transparent 70%); }
.spot h3 { font-size: 22px; }
.spot--xl h3 { font-size: clamp(26px, 3vw, 36px); }
.spot p { margin-top: 6px; color: #ffe1ed; font-size: 15px; max-width: 46ch; }
.ph-label { display: none; position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 12px; font-weight: 500; background: rgba(0, 0, 0, .45); padding: 4px 8px; border-radius: 6px; color: #fff; }
/* Placeholders paysages (dégradés) — remplacés par vos photos */
.ph { position: relative; overflow: hidden; }
.ph svg { position: absolute; }
.ph--beach { background: radial-gradient(circle at 72% 40%, #fff4c8 0 3%, rgba(255, 214, 120, .55) 8%, transparent 20%), linear-gradient(180deg, #4aa8f5 0%, #a8e3ff 40%, #39dbe3 41%, #12a7c6 60%, #f6e7c3 61%, #e5c991 100%); }
.ph--sunset { background: radial-gradient(circle at 50% 54%, #fff2c4 0 4%, rgba(255, 190, 90, .7) 10%, transparent 30%), linear-gradient(180deg, #1c2a85 0%, #9a4f86 28%, #f29b4a 48%, #ffd98a 54%, #e2873f 55%, #5a2f6b 100%); }
.ph--lagoon { background: linear-gradient(180deg, #8fdcff 0%, #d8f6ff 36%, #46e3e8 37%, #18bccb 62%, #0a7aa6 100%); }
.ph--stone { background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(70, 40, 20, .35) 46px 60px, transparent 60px 92px), linear-gradient(180deg, #7cc6ff 0 22%, #ecd4ab 22%, #c99c66 70%, #8a5a35 100%); }
.ph--reef { background: radial-gradient(circle at 20% 70%, rgba(255, 255, 255, .35) 0 2%, transparent 3%), radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .3) 0 1.5%, transparent 2.5%), radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .35), transparent 60%), linear-gradient(180deg, #36e0e8, #0aa4c4 45%, #06508a); }
.ph--forest { background: radial-gradient(ellipse at 70% 10%, rgba(255, 240, 180, .45), transparent 55%), repeating-linear-gradient(100deg, rgba(0, 0, 0, .15) 0 12px, transparent 12px 40px), linear-gradient(180deg, #2b8a5c, #0d3d2a); }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.perk { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px; border-radius: var(--radius); background: rgba(50, 6, 28, .55); border: 1px solid rgba(255, 194, 220, .25); backdrop-filter: blur(6px); }
.perk__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 111, 174, .15); color: var(--lagoon); }
.perk__ic .icon { width: 26px; height: 26px; }
.perk h3 { font-size: 18px; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; } .perks { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; } .spot--xl, .spot--wide { grid-column: auto; grid-row: auto; } .spot--xl { min-height: 340px; } }

/* ===================== 7. RÉCOMPENSES ===================== */
.prizes-band { background: radial-gradient(ellipse at 80% 0%, rgba(255, 111, 174, .18), transparent 50%), linear-gradient(180deg, #5a0f33 0%, var(--deep) 30%, var(--abyss) 100%); }
.prizes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.prize { border-radius: 22px; padding: 26px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.prize--first { background: linear-gradient(160deg, #9a1450, #5e0b33 70%); border-color: rgba(247, 201, 72, .75); box-shadow: 0 30px 60px -28px rgba(247, 201, 72, .45); }
.medal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 900 28px/1 var(--f-title); color: #1b1200; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2), 0 8px 20px -6px rgba(0, 0, 0, .5); }
.medal--1 { background: radial-gradient(circle at 35% 30%, #fff6c8, #f7c948 45%, #c98208); }
.medal--2 { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd6e4 45%, #8c96aa); }
.medal--3 { background: radial-gradient(circle at 35% 30%, #ffd9b8, #d08a4f 45%, #8a4f22); color: #fff; }
.prize__place { font: 800 22px/1.1 var(--f-title); }
.prize__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prize__list li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.prize__list .icon { color: var(--gold); }
.prize__cash { font: 900 clamp(22px, 2.3vw, 32px)/1.1 var(--f-title); white-space: nowrap; }
.prize--first .prize__cash { font-size: clamp(28px, 3vw, 40px); }
.prize--first .prize__dest { font: 900 clamp(34px, 4vw, 52px)/1 var(--f-title); }
.extras { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.extra { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 20px; background: rgba(247, 201, 72, .1); border: 1px solid rgba(247, 201, 72, .45); }
.extra .icon { width: 40px; height: 40px; color: var(--gold); }
.extra b { font: 800 clamp(24px, 2.6vw, 32px)/1 var(--f-title); color: var(--gold); white-space: nowrap; }
.extra p { color: #ffe6f0; font-size: 15px; }
@media (max-width: 900px) { .prizes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .prize--first { grid-column: 1 / -1; } .extras { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .prizes { grid-template-columns: minmax(0, 1fr); } }

/* ===================== 8. CANDIDATS ===================== */
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 210px 210px; gap: 12px; margin-bottom: 14px; }
.search { position: relative; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search .field { padding-left: 46px; }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cand { background: linear-gradient(180deg, rgba(122, 14, 63, .6), rgba(61, 8, 33, .9)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.cand:hover { transform: translateY(-4px); border-color: rgba(247, 201, 72, .6); box-shadow: 0 24px 50px -24px rgba(247, 201, 72, .35); }
.cand__poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--deep); }
.cand__poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; background: radial-gradient(circle at 50% 38%, hsl(var(--h) 80% 55% / .55), transparent 55%), linear-gradient(170deg, hsl(var(--h) 70% 30%), #3d0821 75%); }
.poster-ph b { font: 900 64px/1 var(--f-title); color: var(--gold); text-shadow: 0 4px 0 #6d4100; }
.poster-ph span { font-size: 12px; color: rgba(255, 255, 255, .75); }
.poster-ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(247, 201, 72, .45); border-radius: 12px; }
.cand__code { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #1b1200; font-weight: 800; padding: 5px 10px; border-radius: 8px; font-size: 14px; z-index: 1; }
.cand__rank { position: absolute; top: 12px; right: 12px; background: rgba(26, 4, 18, .8); color: #fff; font-weight: 700; padding: 5px 10px; border-radius: 8px; font-size: 13px; z-index: 1; border: 1px solid var(--line); }
.cand__body { padding: 16px; display: grid; gap: 10px; flex: 1; align-content: start; }
.cand__name { font: 700 20px/1.2 var(--f-title); }
.cand__country { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.cc { font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .12); color: #fff; letter-spacing: .02em; }
.votes { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.votes b { font: 800 24px/1 var(--f-title); color: var(--gold); font-variant-numeric: tabular-nums; }
.votes span { font-size: 13px; color: var(--muted); }
.meter { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--turq), var(--gold)); border-radius: inherit; transition: width .6s; }
.cand__actions { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; margin-top: 6px; }
.icon-btn { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(31, 174, 85, .16); border: 1px solid rgba(31, 174, 85, .55); color: #6df29a; text-decoration: none; }
.icon-btn .icon { width: 22px; height: 22px; }
.bump { animation: bump .6s; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
@media (max-width: 760px) { .toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .search { grid-column: 1 / -1; } }
@media (max-width: 420px) { .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .cand__body { padding: 12px; } .cand__name { font-size: 16px; } .votes b { font-size: 19px; } .votes span { font-size: 12px; } .poster-ph b { font-size: 44px; } .cand__actions { grid-template-columns: minmax(0, 1fr); } .cand__actions .icon-btn { display: none; } .cand__actions .btn { padding: 0 10px; } }

/* ===================== 9. CLASSEMENT ===================== */
.board-band { background: radial-gradient(ellipse at 10% 0%, rgba(168, 24, 90, .45), transparent 55%), var(--abyss); }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.live { display: inline-flex; gap: 8px; align-items: center; color: #ff7b7b; font-weight: 600; font-size: 15px; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { padding: 12px 18px; border-radius: 14px; background: rgba(61, 8, 33, .8); border: 1px solid var(--line); }
.stat b { display: block; font: 800 24px/1.1 var(--f-title); color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat span { font-size: 13px; color: var(--muted); }
.board { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; padding: 28px 20px 0; border-radius: 24px; background: linear-gradient(180deg, rgba(168, 24, 90, .45), rgba(61, 8, 33, .9)); border: 1px solid rgba(247, 201, 72, .35); overflow: hidden; }
.pod { text-align: center; display: grid; gap: 8px; justify-items: center; }
.pod__av { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font: 900 26px/1 var(--f-title); color: var(--gold); background: radial-gradient(circle at 50% 35%, hsl(var(--h) 80% 50% / .6), #3d0821 75%); border: 3px solid var(--ring, var(--gold)); overflow: hidden; }
.pod__av img { width: 100%; height: 100%; object-fit: cover; }
.pod--1 .pod__av { width: 96px; height: 96px; font-size: 32px; }
.pod__name { font: 700 16px/1.2 var(--f-title); }
.pod__v { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15px; }
.pod__step { width: 100%; border-radius: 14px 14px 0 0; display: grid; place-items: start center; padding-top: 10px; font: 900 34px/1 var(--f-title); color: #1b1200; }
.pod--1 .pod__step { height: 130px; background: linear-gradient(180deg, #ffe07a, #d98c0f); }
.pod--2 .pod__step { height: 96px; background: linear-gradient(180deg, #eef2fa, #8c96aa); --ring: #cfd6e4; }
.pod--3 .pod__step { height: 72px; background: linear-gradient(180deg, #f0b98a, #8a4f22); color: #fff; }
.pod--2 { --ring: #cfd6e4; } .pod--3 { --ring: #d08a4f; }
.ranks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(61, 8, 33, .75); border: 1px solid var(--line); }
.rank__n { font: 800 18px/1 var(--f-title); color: var(--gold); text-align: center; }
.rank__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank__name small { color: var(--muted); font-weight: 400; }
.rank__bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin-top: 6px; overflow: hidden; }
.rank__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--turq), var(--gold)); transition: width .6s; }
.rank__v { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
@media (max-width: 900px) { .board { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .podium { padding: 20px 10px 0; gap: 6px; } .pod__av { width: 58px; height: 58px; font-size: 20px; } .pod--1 .pod__av { width: 72px; height: 72px; } .pod__name { font-size: 14px; } .pod__v { font-size: 13px; } }

/* ===================== 10. DÉROULEMENT & INSCRIPTION ===================== */
.rules-band { background: linear-gradient(180deg, var(--abyss), var(--deep)); }
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.panel { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.panel > h3 { font-size: 24px; margin-bottom: 20px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 4px; }
.tl li { position: relative; padding: 0 0 24px 30px; border-left: 2px solid rgba(247, 201, 72, .35); }
.tl li:last-child { padding-bottom: 0; border-color: transparent; }
.tl li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 201, 72, .2); }
.tl time { display: block; font: 800 18px/1.2 var(--f-title); color: var(--gold); white-space: nowrap; }
.tl strong { display: block; margin: 4px 0 2px; font-size: 17px; }
.tl p { color: var(--muted); font-size: 15px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.how__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(247, 201, 72, .14); color: var(--gold); }
.how strong { display: block; font-size: 17px; }
.how p { color: var(--muted); font-size: 15px; }
.signup { margin-top: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.reqs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.reqs li { display: flex; gap: 10px; align-items: center; }
.reqs .icon { color: var(--turq); }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.drop { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px dashed rgba(247, 201, 72, .55); background: rgba(247, 201, 72, .06); cursor: pointer; }
.drop__thumb { width: 84px; aspect-ratio: 4 / 5; border-radius: 10px; background: rgba(255, 255, 255, .08) center / cover; display: grid; place-items: center; color: var(--gold); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop small { display: block; color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--gold); margin-top: 2px; flex: none; }
.form-ok { display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: rgba(31, 174, 85, .12); border: 1px solid rgba(31, 174, 85, .5); }
@media (max-width: 900px) { .rules, .signup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ===================== 11. AMBASSADRICE ===================== */
.amb-band { background: radial-gradient(circle at 20% 30%, rgba(247, 201, 72, .16), transparent 40%), radial-gradient(circle at 90% 80%, rgba(255, 111, 174, .18), transparent 45%), linear-gradient(180deg, var(--deep), var(--royal) 60%, var(--deep)); overflow: hidden; }
.amb { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; padding: 8px; background: conic-gradient(from 200deg, #fff0b8, #f7c948, #d98c0f, #fff0b8, #f7c948, #d98c0f, #fff0b8); box-shadow: 0 0 80px -10px rgba(247, 201, 72, .5); }
.portrait > .ph, .portrait > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.portrait .ph { display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle at 50% 30%, #b0306f, #3d0821 70%); color: rgba(255, 255, 255, .8); text-align: center; font-size: 13px; }
.portrait .ph .icon { width: 42%; height: auto; aspect-ratio: 1; color: rgba(247, 201, 72, .7); stroke-width: 1; }
.portrait__badge { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); background: var(--deep); border: 1px solid var(--gold); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--gold); }
.amb__name { font-size: clamp(52px, 8vw, 104px); font-weight: 900; line-height: 1; margin: 10px 0 6px; }
.amb__role { font-weight: 600; color: #fff; letter-spacing: .02em; }
.amb blockquote { margin: 24px 0; padding: 0 0 0 20px; border-left: 3px solid var(--gold); font: 700 clamp(22px, 2.6vw, 30px)/1.25 var(--f-title); }
.amb__text { color: #ffe1ed; font-size: 17px; max-width: 60ch; }
.event { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.event .chip { border-radius: 14px; padding: 12px 14px; }
.event .chip small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .amb { grid-template-columns: minmax(0, 1fr); } .portrait { width: min(320px, 80%); } }
@media (max-width: 420px) { .event { grid-template-columns: minmax(0, 1fr); } }

/* ===================== 12. PIED DE PAGE ===================== */
.footer { background: #12020b; border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer h4 { margin: 0 0 12px; font-size: 15px; color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #f5c9dc; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__tag { color: var(--muted); margin-top: 12px; max-width: 40ch; }
.footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer__in { grid-template-columns: minmax(0, 1fr); } }

/* ===================== 13. TIROIR DE VOTE ===================== */
.drawer { position: fixed; inset: 0; z-index: 100; display: grid; justify-items: end; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(20, 2, 12, .72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: relative; width: min(480px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #6a0c37, #3d0821 40%, #22040f); border-left: 1px solid rgba(247, 201, 72, .45); transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); padding: 20px 22px calc(28px + env(safe-area-inset-bottom)); display: grid; align-content: start; gap: 18px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer__top h2 { font-size: 22px; }
.x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); display: grid; place-items: center; cursor: pointer; }
.who { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.who__img { width: 72px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; position: relative; }
.who__img img { width: 100%; height: 100%; object-fit: cover; }
.who__img .poster-ph b { font-size: 26px; }
.who__img .poster-ph span, .who__img .poster-ph::after { display: none; }
.who strong { font: 700 19px/1.2 var(--f-title); display: block; }
.who small { color: var(--muted); }
.fs { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.fs legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pack { min-height: 72px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; display: grid; place-content: center; text-align: center; gap: 2px; padding: 8px; }
.pack b { font: 800 22px/1 var(--f-title); }
.pack span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pack[aria-pressed="true"] { border-color: var(--gold); background: rgba(247, 201, 72, .14); box-shadow: inset 0 0 0 1px var(--gold); }
.pack[aria-pressed="true"] b { color: var(--gold); }
.stepper { display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; gap: 8px; }
.stepper button { min-height: 50px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); cursor: pointer; display: grid; place-items: center; }
.stepper input { text-align: center; font-weight: 700; font-size: 18px; }
.ops { display: flex; flex-wrap: wrap; gap: 8px; }
.op { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; font-weight: 600; font-size: 15px; }
.op[aria-pressed="true"] { border-color: var(--turq); background: rgba(255, 111, 174, .16); color: var(--lagoon); }
.phone { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 8px; }
.sum { border-radius: 16px; background: rgba(0, 0, 0, .25); padding: 16px; display: grid; gap: 8px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--muted); } .sum dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.sum .total { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 18px; }
.sum .total dd { color: var(--gold); font: 800 22px/1.1 var(--f-title); }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; background: rgba(255, 111, 174, .1); border: 1px solid rgba(255, 111, 174, .35); color: #ffe1ed; }
.flag .icon { color: var(--lagoon); margin-top: 1px; }
.success { display: grid; gap: 16px; text-align: center; justify-items: center; padding-top: 12px; }
.success__ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff6c8, #f7c948 45%, #c98208); color: #1b1200; }
.success__ic .icon { width: 42px; height: 42px; stroke-width: 2.6; }
.success h3 { font-size: 26px; }
.success p { color: #ffe1ed; }
.ref { font-family: ui-monospace, Menlo, monospace; background: rgba(255, 255, 255, .08); padding: 6px 10px; border-radius: 8px; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .drawer { align-items: end; justify-items: stretch; }
  .drawer__panel { width: 100%; height: auto; max-height: 92svh; border-radius: 24px 24px 0 0; border-left: 0; border-top: 1px solid rgba(247, 201, 72, .45); transform: translateY(100%); }
}

/* ===================== 14. BARRE MOBILE & TOAST ===================== */
.mbar { position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(26, 4, 18, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: none; gap: 10px; align-items: center; }
.mbar__info { flex: 1; font-size: 13px; color: var(--muted); line-height: 1.3; }
.mbar__info b { display: block; color: #fff; font-size: 14px; }
@media (max-width: 760px) { .mbar { display: flex; } body { padding-bottom: 76px; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 120; background: #fff; color: #5a0a2e; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ===================== 15. ANIMATIONS ===================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.18); color: #fff; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===================== 16. MULTI-PAGES ===================== */
.nav a[aria-current="page"] { color: var(--gold); background: rgba(247, 201, 72, .1); }
/* Bandeau d'en-tête des pages intérieures (image remplaçable comme le hero) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; display: grid; align-items: end; padding: 132px 0 clamp(40px, 6vw, 72px); }
.page-hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 4, 18, .94) 0%, rgba(58, 6, 32, .72) 45%, rgba(58, 6, 32, .1) 80%), linear-gradient(0deg, var(--abyss) 0%, transparent 40%); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 900; margin: 12px 0 14px; }
.page-hero p { color: #ffe1ed; font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: #ffd9e8; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
@media (max-width: 700px) { .page-hero { min-height: 320px; } .page-hero::before { background: linear-gradient(180deg, rgba(26, 4, 18, .5), rgba(26, 4, 18, .9) 70%, var(--abyss)); } }
/* Accueil : aperçus */
.section-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.teaser { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 230px 230px; gap: 16px; }
.teaser .spot--xl { grid-row: span 2; grid-column: auto; }
@media (max-width: 760px) { .teaser { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 240px; } .teaser .spot--xl { grid-row: auto; min-height: 320px; } }
.amb-teaser { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.amb-teaser .portrait { width: 220px; }
.amb-teaser .amb__name { font-size: clamp(44px, 6vw, 72px); }
@media (max-width: 700px) { .amb-teaser { grid-template-columns: minmax(0, 1fr); } .amb-teaser .portrait { width: 180px; margin: 0; } }
.cta-band { text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(247, 201, 72, .28), transparent 60%), linear-gradient(180deg, var(--deep), var(--abyss)); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .hero__cta { justify-content: center; }
.page-hero > .wrap { width: 100%; }
.page-hero + .band, .page-hero + section { padding-top: clamp(32px, 4vw, 56px); }
.teaser .spot--wide { grid-column: auto; }
/* Affiches officielles */
.posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px)); gap: 24px; }
.poster { margin: 0; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid rgba(247, 201, 72, .4); box-shadow: var(--shadow); }
.poster img { width: 100%; height: auto; }
.poster figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; flex-wrap: wrap; }
.portrait > img { background: var(--deep); }
/* Pages légales */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; }
.legal p, .legal li { color: #ffe1ed; font-size: 16.5px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal a { color: var(--gold); }
.todo { background: rgba(247, 201, 72, .16); color: #ffe7a0; border: 1px dashed rgba(247, 201, 72, .6); padding: 1px 6px; border-radius: 6px; font-style: normal; }
.draft { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(247, 201, 72, .1); border: 1px solid rgba(247, 201, 72, .5); color: #fff3cf; margin-bottom: 12px; }
.draft .icon { color: var(--gold); margin-top: 2px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toc a { font-size: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: #ffd9e8; }

/* ===================== 17. ESPACE ADMIN ===================== */
.admin { background: linear-gradient(180deg, var(--deep), var(--abyss) 40%); min-height: 100vh; }
.adm-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.adm-login__card { width: min(420px, 100%); display: grid; gap: 14px; }
.adm-top { position: sticky; top: 0; z-index: 30; background: rgba(26, 4, 18, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.adm-top__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.adm-user { margin-left: auto; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-tabs { display: flex; gap: 4px; overflow-x: auto; }
.adm-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 46px; }
.adm-tabs button[aria-selected="true"] { color: var(--gold); border-color: var(--gold); }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: #1b1200; font-size: 12px; margin-left: 4px; }
.adm-main { padding-block: 28px 64px; display: grid; gap: 20px; }
.adm-main section { display: grid; gap: 16px; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-head h2 { font-size: 24px; }
.adm-hint { color: var(--muted); font-size: 14px; }
.adm-filter { width: auto; min-width: 170px; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 15px; background: rgba(61, 8, 33, .6); border-radius: 16px; overflow: hidden; }
.adm-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 180, 210, .08); vertical-align: middle; }
.adm-table td small { color: var(--muted); }
.adm-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill--approved { background: rgba(31, 174, 85, .18); color: #7cf0a6; }
.pill--pending { background: rgba(247, 201, 72, .16); color: var(--gold); }
.pill--failed, .pill--rejected { background: rgba(255, 107, 107, .16); color: #ff9b9b; }
.adm-thumb { width: 44px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .08); cursor: pointer; color: var(--gold); }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-regs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.adm-reg { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.adm-reg__img { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.adm-reg__img img { width: 100%; height: 100%; object-fit: cover; }
.adm-reg__body { display: grid; gap: 4px; align-content: start; font-size: 14px; color: var(--muted); }
.adm-reg__body strong { font: 700 18px/1.2 var(--f-title); color: #fff; }
.adm-reg__body a { color: #6df29a; }
.adm-reg .adm-actions { margin-top: 8px; }
@media (max-width: 600px) { .adm-table { font-size: 14px; } .adm-user { display: none; } .adm-top__in .btn { margin-left: auto; } }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
/* Lien admin : visible dans le menu mobile ; sur ordinateur, lien en pied de page */
.nav__admin { display: none !important; }
@media (max-width: 1020px) {
  .nav .nav__admin { display: flex !important; align-items: center; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); border-radius: 0; color: var(--muted); font-size: 15px; }
}

/* ===================== 18. ÉTOILES D'ALKEBU-LAN ===================== */
:root { --rose: #ff6fae; --rose-2: #e0307a; --f-wide: "Montserrat", "Outfit", system-ui, sans-serif; }
body { background: radial-gradient(ellipse 90% 60% at 80% -10%, rgba(224, 48, 122, .28), transparent 60%), var(--abyss); }
h1, h2, h3 { letter-spacing: -.005em; }
h2 { font-weight: 400; }
.wide { font-family: var(--f-wide); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.logo { font-family: var(--f-title); font-weight: 400; letter-spacing: .01em; }
.logo .star { width: 38px; height: 38px; flex: none; }
.logo b { color: var(--gold); }
.logo small { font-family: var(--f-wide); letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
/* Titre du hero, façon affiche */
.ea-title { display: grid; justify-items: start; line-height: .92; margin: 18px 0 14px; }
.ea-les { font: 400 clamp(26px, 3.2vw, 42px)/1 var(--f-title); color: #fff; letter-spacing: .06em; }
.ea-etoiles { font: 400 clamp(64px, 10vw, 136px)/.95 var(--f-title); filter: drop-shadow(0 4px 0 #6d3a00) drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.ea-alkebu { font: 700 clamp(22px, 3.5vw, 46px)/1.1 var(--f-wide); letter-spacing: .12em; color: #fff; text-shadow: 0 4px 22px rgba(0, 0, 0, .4); }
.ea-sign { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; color: var(--gold-3); font: 700 clamp(11px, 1.1vw, 14px)/1.3 var(--f-wide); letter-spacing: .22em; text-transform: uppercase; }
.ea-sign::before { content: ""; width: 44px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); flex: none; }
.hero__lead em { color: var(--gold); font-style: italic; }
/* Les deux phases */
.phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.phase { position: relative; padding: 38px 26px 26px; border-radius: 24px; border: 1.5px solid rgba(247, 201, 72, .7); background: linear-gradient(160deg, rgba(168, 24, 90, .55), rgba(61, 8, 33, .92)); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 240, 184, .08); display: grid; gap: 14px; align-content: start; overflow: hidden; isolation: isolate; }
.phase__tag { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); padding: 7px 22px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #ffe07a, #e0a521); color: #3a1200; font: 800 15px/1 var(--f-wide); letter-spacing: .06em; white-space: nowrap; }
.phase h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; text-align: center; }
.phase h3 span { color: var(--gold); }
.phase__key { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); }
.phase__key .icon { width: 46px; height: 46px; color: var(--gold); stroke-width: 1.3; }
.phase__key b { display: block; font: 400 clamp(26px, 3vw, 36px)/1 var(--f-title); color: var(--gold); }
.phase__key small { color: #ffe6f0; font-size: 14px; }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phase li { display: flex; gap: 10px; align-items: flex-start; color: #ffe1ed; font-size: 15.5px; }
.phase li .icon { color: var(--gold); margin-top: 3px; }
.phase__sky { position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; opacity: .5; }
.phase__sky svg { width: 100%; height: 100%; }
@media (max-width: 800px) { .phases { grid-template-columns: minmax(0, 1fr); } }
/* Récompense */
.prize-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 24px); padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 40px); border-radius: 999px; border: 2px solid rgba(247, 201, 72, .8); background: radial-gradient(ellipse at 50% 0%, rgba(255, 224, 122, .22), transparent 70%), linear-gradient(180deg, #6a0c37, #3d0821); text-align: center; box-shadow: 0 30px 70px -30px rgba(247, 201, 72, .45); }
.prize-band small { display: block; font: 700 clamp(13px, 1.4vw, 18px)/1 var(--f-wide); letter-spacing: .3em; color: #fff; margin-bottom: 8px; }
.prize-band strong { display: block; font: 400 clamp(38px, 7vw, 92px)/1 var(--f-title); }
.prize-band p { margin-top: 8px; color: #ffe1ed; font-size: 15px; }
.laurel { width: clamp(42px, 7vw, 92px); height: auto; color: var(--gold); }
.laurel--r { transform: scaleX(-1); }
@media (max-width: 560px) { .prize-band { border-radius: 28px; grid-template-columns: minmax(0, 1fr); } .laurel { display: none; } }
/* Ce qu'on célèbre */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pillar .icon { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.4; }
.pillar h3 { font-size: 21px; font-weight: 400; }
.pillar p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
/* Cartes artistes */
.cand__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cand__tags span { font-size: 12.5px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 111, 174, .15); color: #ffc2dc; border: 1px solid rgba(255, 111, 174, .3); }
.cand__qual { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: linear-gradient(180deg, #ffe07a, #e0a521); color: #3a1200; font-weight: 800; font-size: 13px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.cand__qual .icon { width: 16px; height: 16px; }
.pill--gold { background: rgba(247, 201, 72, .18); color: var(--gold); margin-left: 4px; }
.rank__bar { position: relative; overflow: visible; }
.rank__bar i { position: relative; }
.rank__bar b { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--gold); border-radius: 2px; }
.poster-ph b { font-family: var(--f-title); font-weight: 400; }
/* Dubaï */
.ph--skyline { background: linear-gradient(180deg, #3a0a2a 0%, #a8185a 45%, #ff9ec4 62%, #4a0928 63%, #1a0412 100%); }
.ph--marina { background: linear-gradient(180deg, #250720 0%, #6a0c37 55%, #1a0412 56%, #3d0821 100%); }
.ph--stage { background: radial-gradient(ellipse at 50% 0%, rgba(255, 224, 122, .7), transparent 45%), radial-gradient(ellipse at 20% 10%, rgba(255, 111, 174, .5), transparent 40%), linear-gradient(180deg, #2a0518, #12020b); }
.ph--desert { background: radial-gradient(circle at 70% 38%, #fff1c4 0 4%, rgba(255, 190, 110, .6) 10%, transparent 26%), linear-gradient(180deg, #7a1a50 0%, #f08a6a 45%, #ffc98a 56%, #d98a4a 57%, #8a4a2a 100%); }
.ph--fountain { background: radial-gradient(ellipse at 50% 100%, rgba(255, 194, 220, .55), transparent 50%), linear-gradient(180deg, #12020b 0%, #3d0821 60%, #6a0c37 100%); }
.ph--burj { background: linear-gradient(180deg, #ff9ec4 0%, #e0307a 40%, #6a0c37 100%); }
.ph svg { position: absolute; }
.dubai-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
@media (max-width: 860px) { .dubai-facts { grid-template-columns: minmax(0, 1fr); } }
/* Manifeste */
.manifesto { max-width: 760px; margin-inline: auto; }
.manifesto p { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.6; color: #ffe6f0; }
.manifesto p + p { margin-top: 18px; }
.manifesto .strong { font: 400 clamp(26px, 3.2vw, 40px)/1.15 var(--f-title); color: var(--gold); }
.manifesto .sig { font: 700 15px/1.4 var(--f-wide); letter-spacing: .22em; text-transform: uppercase; color: #fff; }
/* Réseaux */
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ffe07a, #e0a521); color: #3a1200; }
.socials .icon { width: 22px; height: 22px; }
/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.hero__copy { max-width: 680px; }
.hero .hero__lead { max-width: 600px; }
.hero > .wrap { width: 100%; }
.toolbar--4 { grid-template-columns: minmax(0, 1fr) 190px 190px 190px; }
@media (max-width: 960px) { .toolbar--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .toolbar--4 .search { grid-column: 1 / -1; } }
@media (max-width: 420px) { .toolbar--4 { grid-template-columns: minmax(0, 1fr); } }
.hero .status { margin-bottom: 24px; }

/* Admin : retour au site + affichage du mot de passe */
.adm-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; justify-self: start; }
.adm-back:hover { color: #fff; }
.pw { position: relative; }
.pw .field { padding-right: 54px; }
.pw__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 12px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pw__toggle:hover { color: #fff; }
.pw__toggle .icon { width: 22px; height: 22px; }
@media (max-width: 600px) { .adm-top__in a[href="index.html"].btn { display: none; } }

/* étiquettes des emplacements photo : visibles seulement avec ?photos dans l'adresse */
body.show-ph .ph-label { display: block; }

/* Admin : solde SasPay + bouton retrait */
.adm-wallet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0 8px; }
.adm-wallet__nums { display: flex; flex-wrap: wrap; gap: 28px; margin: 10px 0 6px; }
.adm-wallet__nums b { display: block; font: 800 28px/1.1 var(--f-title); color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-wallet__nums small { font-size: 13px; color: var(--muted); }
.adm-wallet__muted { font-size: 13px; color: var(--muted); margin: 0; }
.adm-wallet__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
