/* Youth Christmas Night Show 2026 — feuille de style du site public */
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2-variations"), url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2-variations"), url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}

:root {
  --pine: #041D10;        /* fond le plus profond */
  --forest: #08301A;      /* surfaces */
  --forest-2: #0D4024;    /* surfaces relevees */
  --gold: #E8C66C;        /* filets, details dores */
  --lime: #D3EE72;        /* pastilles comme sur les visuels */
  --cream: #F6F0E0;       /* texte principal */
  --mist: #B8C8B5;        /* texte secondaire */
  --carpet: #D2303C;      /* tapis rouge : action principale */
  --carpet-deep: #A81F2B;
  --line: rgba(232, 198, 108, 0.28);
  --display: "Bricolage", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1160px, 100% - 2.5rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: radial-gradient(120% 70% at 50% 0%, #0A3A20 0%, var(--pine) 55%) fixed, var(--pine); color: var(--cream);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--lime); color: var(--pine); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-stretch: 82%; }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--mist); max-width: 60ch; margin: 1rem 0 0; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 750; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-vote { background: linear-gradient(180deg, #F4DC92, #D7AE55); color: #1F1804; box-shadow: 0 0 0 1px rgba(255,240,200,.35) inset, 0 12px 34px -12px rgba(232,198,108,.75); }
.btn-vote:hover { background: linear-gradient(180deg, #F8E4A6, #E0BA63); }
.btn-ghost { background: rgba(246,240,224,.06); color: var(--cream); box-shadow: 0 0 0 1px var(--line) inset; }
.btn-ghost:hover { background: rgba(246,240,224,.12); }
.btn-wa { background: #25D366; color: #06331A; }
.btn-wa:hover { background: #20bd5b; }
.btn-gold { background: var(--gold); color: #2A2208; }
.btn-gold:hover { background: #f0d385; }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .93rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ---------- En-tete ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 29, 16, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,198,108,.14);
}
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img.ems { width: 38px; height: 38px; border-radius: 50%; }
.brand img.ycns { height: 40px; width: auto; }
.nav { display: flex; gap: .3rem; align-items: center; }
.nav a { text-decoration: none; padding: .5rem .8rem; border-radius: 999px; color: var(--mist); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); background: rgba(246,240,224,.07); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--cream); margin: 4px auto; border-radius: 2px; }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav { position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; padding: .8rem 1.25rem 1.2rem; gap: .2rem;
    background: rgba(4,29,16,.97); border-bottom: 1px solid var(--line); display: none; }
  .menu-open .nav { display: flex; }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .top .btn-vote { min-height: 44px; padding: .5rem 1rem; font-size: .92rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--pine) center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 30%, rgba(4,29,16,.1), rgba(4,29,16,.7) 70%), linear-gradient(to bottom, rgba(4,29,16,0) 55%, rgba(4,29,16,.55) 80%, rgba(4,29,16,0)); }
.hero-bg { opacity: .9; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.hero-in { display: grid; justify-items: center; text-align: center; }
.church { display: inline-flex; align-items: center; gap: .6rem; color: var(--cream); font-weight: 700; font-size: .82rem; letter-spacing: .22em; }
.church img { width: 30px; height: 30px; border-radius: 50%; }
.hero-title { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3rem); flex-wrap: wrap; margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; }
.hero-title .logo { width: min(520px, 82vw); height: auto; }
.hero-title .theme { width: min(420px, 70vw); height: auto; }
.when {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; font-family: var(--display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(1.9rem, 5.2vw, 3.6rem); line-height: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2em .45em;
}
.when .hl { color: var(--lime); }
.when .dot { width: .22em; height: .22em; background: var(--gold); transform: rotate(45deg); display: inline-block; }
.free { font-family: var(--body); font-stretch: 100%; font-size: .78rem; font-weight: 800; letter-spacing: .04em; line-height: 1.1; background: var(--carpet); color: #fff;
  padding: .45rem .6rem; border-radius: 6px; text-align: left; align-self: center; }
.where { margin: .9rem 0 0; color: var(--mist); font-weight: 600; font-size: clamp(.98rem, 1.6vw, 1.1rem); }
.where b { color: var(--gold); font-weight: 700; }
.countdown { display: flex; gap: clamp(.5rem, 2vw, 1rem); margin: 2rem 0 0; }
.countdown div { min-width: 74px; padding: .7rem .5rem .55rem; border-radius: 12px; background: rgba(4,29,16,.55); box-shadow: 0 0 0 1px var(--line) inset; }
.countdown b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .78rem; color: var(--mist); font-weight: 600; }
.countdown.is-live div { display: none; }
.countdown.is-live::after { content: "C'est ce soir !"; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--lime); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 2rem 0 0; }

/* ---------- Film ---------- */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(0,0,0,.8); }
.player video, .player iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.film-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .film-grid { grid-template-columns: 1.7fr 1fr; gap: 3rem; } }
.film-grid p { color: var(--mist); margin: 1rem 0 1.5rem; }

/* ---------- Cartes des candidates (visuel de Vincent, intact) ---------- */
.queens { background: linear-gradient(to bottom, transparent, rgba(8,48,26,.55) 30%, rgba(8,48,26,.55) 70%, transparent); overflow: hidden; }
.queen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 2.4vw, 1.6rem) clamp(.6rem, 2vw, 1.4rem); }
@media (min-width: 900px) { .queen-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.queen { display: grid; justify-items: center; text-align: center; position: relative; }
.queen .card { width: 100%; height: auto; aspect-ratio: 810 / 841; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.queen .name { margin-top: .2rem; font-family: var(--display); font-weight: 750; font-stretch: 85%; font-size: clamp(1.02rem, 2vw, 1.25rem); line-height: 1.15; }
.queen .name small { display: block; font-family: var(--body); font-stretch: 100%; font-size: .8rem; font-weight: 600; color: var(--mist); letter-spacing: .02em; margin-top: .15rem; }
.pct { width: min(220px, 92%); margin: .7rem auto 0; }
.pct-row { display: flex; justify-content: space-between; font-size: .82rem; color: var(--mist); font-weight: 600; }
.pct-row b { color: var(--cream); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 6px; background: rgba(246,240,224,.1); overflow: hidden; margin-top: .3rem; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--lime)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.queen .actions { display: flex; gap: .45rem; justify-content: center; flex-wrap: wrap; margin-top: .8rem; }
.queens-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.note { font-size: .92rem; color: var(--mist); max-width: 62ch; text-align: center; margin: 0; }
.note b { color: var(--gold); }

/* ---------- Programme ---------- */
.lineup { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35em .55em; margin: 0 auto; max-width: 980px; padding: 0; list-style: none;
  font-family: var(--display); font-weight: 800; font-stretch: 76%; font-size: clamp(1.7rem, 4.6vw, 3.3rem); line-height: 1.12; text-align: center; }
.lineup li { display: inline-flex; align-items: center; gap: .55em; }
.lineup li + li::before { content: ""; width: .2em; height: .2em; background: var(--gold); transform: rotate(45deg); display: inline-block; }
.lineup .star { color: var(--lime); }

/* ---------- Artistes ---------- */
.artists { overflow: hidden; }
.artists-strip { width: min(1100px, 100%); margin: 0 auto; }
.artists-strip img { width: 100%; height: auto; }

/* ---------- Dress code ---------- */
.dress { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .dress { grid-template-columns: 1.3fr 1fr; } }
.dress img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.9); }
.swatches { display: flex; gap: .8rem; margin: 1.6rem 0 0; }
.swatch { display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem .5rem .5rem; border-radius: 999px; background: rgba(246,240,224,.06); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 700; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.tag { display: inline-block; background: #BFE59A; color: #0B3A1E; font-weight: 800; font-size: .8rem; padding: .3rem .7rem; border-radius: 6px; letter-spacing: .03em; margin-bottom: 1rem; }

/* ---------- Infos pratiques ---------- */
.infos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.info { padding: 1.5rem; border-radius: var(--radius); background: rgba(246,240,224,.04); box-shadow: 0 0 0 1px rgba(232,198,108,.18) inset; }
.info h3 { color: var(--gold); font-size: 1rem; font-family: var(--body); font-weight: 700; margin-bottom: .6rem; }
.info p { margin: 0; font-size: 1.08rem; font-weight: 600; }
.info p + p { margin-top: .3rem; }
.info .muted { color: var(--mist); font-weight: 500; font-size: .95rem; }
.info a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.info a:hover { text-decoration-color: var(--gold); }
.info .btn { margin-top: 1rem; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid rgba(232,198,108,.14); padding: 2.5rem 0 3rem; color: var(--mist); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.foot .org { display: flex; align-items: center; gap: .8rem; }
.foot .org img { width: 44px; height: 44px; border-radius: 50%; }
.foot .org b { color: var(--cream); display: block; }
.socials { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(246,240,224,.06); color: var(--cream); box-shadow: 0 0 0 1px var(--line) inset; }
.socials a:hover { background: rgba(246,240,224,.14); }
.socials svg { width: 19px; height: 19px; }

/* ---------- Page vote ---------- */
.ad { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0,0,0,.9); background: var(--forest); }
.ad video { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #000; }
.ad-bar { display: flex; gap: .6rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .8rem 1rem; }
.ad-bar span { font-weight: 700; font-size: .92rem; color: var(--mist); }
.ad-label { position: absolute; top: .7rem; left: .7rem; background: rgba(4,29,16,.75); color: var(--gold); font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; }
.vote-head { display: grid; gap: 1.2rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .vote-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.rules { list-style: none; padding: 1.1rem 1.2rem; margin: 0; border-radius: var(--radius); background: rgba(246,240,224,.04); box-shadow: 0 0 0 1px rgba(232,198,108,.18) inset; display: grid; gap: .55rem; font-size: .95rem; }
.rules li { display: flex; gap: .6rem; align-items: flex-start; }
.rules svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: .2rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(211,238,114,.1); color: var(--lime); margin-top: 1rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.closed { background: rgba(210,48,60,.14); color: #ff9aa2; }
.voted-banner { display: none; margin: 0 0 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: rgba(211,238,114,.08); box-shadow: 0 0 0 1px rgba(211,238,114,.3) inset; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.voted-banner.show { display: flex; }
.demo-banner { background: #E8C66C; color: #2A2208; text-align: center; font-weight: 700; font-size: .85rem; padding: .45rem 1rem; }

/* ---------- Fenetre candidate / merci ---------- */
dialog.sheet { width: min(560px, 100% - 1.5rem); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 20px; background: var(--forest); color: var(--cream);
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0,0,0,.7); overflow: auto; }
dialog.sheet::backdrop { background: rgba(2, 12, 6, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-in { padding: 1.3rem 1.3rem 1.6rem; position: relative; }
.x { position: absolute; top: .7rem; right: .7rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(246,240,224,.08); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.x svg { width: 18px; height: 18px; }
.sheet-top { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding-right: 2.5rem; }
.sheet-top img { width: 120px; height: 120px; object-fit: contain; }
.queen > a, .queen > button { display: block; width: 100%; }
.sheet-top h3 { font-size: 1.45rem; font-stretch: 85%; }
.sheet-top p { margin: .25rem 0 0; color: var(--mist); font-size: .92rem; }
.video-box { margin-top: 1.1rem; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: rgba(0,0,0,.35); box-shadow: 0 0 0 1px rgba(232,198,108,.18) inset; display: grid; place-items: center; text-align: center; }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.video-box.vertical { aspect-ratio: 9 / 16; width: min(100%, calc(64vh * 9 / 16)); margin-inline: auto; }
.video-box .soon { padding: 1rem; color: var(--mist); font-size: .95rem; }
.video-box .soon b { display: block; color: var(--cream); font-family: var(--display); font-size: 1.1rem; margin-bottom: .2rem; }
.vote-form { margin-top: 1.3rem; display: grid; gap: .5rem; }
.vote-form label { font-weight: 700; }
.vote-form .hint { font-size: .85rem; color: var(--mist); margin: 0; }
.phone { display: flex; align-items: stretch; border-radius: 12px; background: rgba(4,29,16,.6); box-shadow: 0 0 0 1px rgba(232,198,108,.35) inset; overflow: hidden; }
.phone span { display: grid; place-items: center; padding: 0 .9rem; color: var(--mist); font-weight: 700; border-right: 1px solid rgba(232,198,108,.2); }
.phone input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .9rem 1rem; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; outline: none; }
.phone:focus-within { box-shadow: 0 0 0 2px var(--lime) inset; }
.err { color: #ff9aa2; font-size: .9rem; font-weight: 600; margin: 0; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vote-form .btn { width: 100%; margin-top: .3rem; }

/* Fiche merci */
.thanks { text-align: center; padding: 1.8rem 1.3rem 1.6rem; position: relative;
  background: radial-gradient(120% 60% at 50% 0%, rgba(232,198,108,.14), transparent 60%); }
.thanks .check { width: 60px; height: 60px; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-items: center; color: var(--gold); box-shadow: 0 0 0 1.5px var(--gold) inset; }
.thanks .check svg { width: 28px; height: 28px; }
.thanks .card { width: 170px; height: 170px; object-fit: contain; margin: -.3rem auto .2rem; }
.thanks h3 { font-size: clamp(1.5rem, 5vw, 1.9rem); font-stretch: 85%; }
.thanks .who { color: var(--gold); font-weight: 700; font-size: .95rem; margin: .4rem 0 1.1rem; }
.weight { background: rgba(232,198,108,.1); border-radius: 12px; padding: .95rem 1rem; font-size: 1rem; line-height: 1.55; }
.weight strong { color: var(--lime); font-size: 1.15em; }
.date-line { margin: 1.1rem 0 .1rem; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 1.35rem; }
.place-line { margin: 0 0 1.3rem; color: var(--mist); font-size: .93rem; }
.thanks .btns { display: grid; gap: .6rem; }
.thanks .btns .btn { width: 100%; }
.thanks .small-link { display: inline-block; margin-top: .9rem; color: var(--mist); font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar i { transition: none; }
  .btn { transition: none; }
}

/* Lecteur YouTube leger : la video ne se charge qu'au clic (economise les donnees mobiles) */
.yt { position: relative; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; display: block; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%); }
.yt .play { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(180deg, #F4DC92, #D7AE55);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .15s ease; }
.yt:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.yt .play svg { width: 30px; height: 30px; color: #1F1804; margin-left: 4px; }
.yt .cap { position: absolute; left: 1rem; bottom: .85rem; z-index: 1; font-weight: 700; font-size: .92rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.video-box .yt .play { width: 60px; height: 60px; }
@media (max-width: 700px) {
  .ad-bar span { font-size: .85rem; }
  .ad-bar .btn { width: 100%; }
}

.share-panel { padding: 1rem; border-radius: 14px; background: rgba(4,29,16,.55); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: .7rem; }
.share-img { width: 150px; height: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.share-help { margin: 0; font-size: .9rem; color: var(--mist); }

[hidden] { display: none !important; }

/* ================= Animations (toutes coupees si « reduire les animations ») ================= */
/* Ciel etoile anime en fond de page */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.top { z-index: 50; }
main, .foot, .demo-banner { position: relative; z-index: 1; }

/* Lumieres de scene qui respirent (degrades doux, seul transform/opacity anime) */
.aurora { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; opacity: .32; will-change: transform; }
.aurora i:nth-child(1) { left: -10%; top: 0; background: radial-gradient(closest-side, rgba(232,198,108,.55), transparent); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -15%; top: 10%; background: radial-gradient(closest-side, rgba(40,160,90,.55), transparent); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 30%; bottom: -20%; background: radial-gradient(closest-side, rgba(211,238,114,.28), transparent); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); opacity: .45; } }
@keyframes drift2 { to { transform: translate(-14vw, 10vh) scale(.9); opacity: .25; } }
@keyframes drift3 { to { transform: translate(-8vw, -12vh) scale(1.2); opacity: .4; } }

/* Apparition douce au defilement */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
.queen[data-reveal] { transition-delay: calc(var(--i, 0) * 70ms); }

/* Titre du hero : entree + halo */
.hero-title .logo { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both, glow 6s ease-in-out 1.2s infinite alternate; }
.hero-title .theme { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes glow { to { filter: drop-shadow(0 0 22px rgba(211,238,114,.35)); } }

/* Reflet dore qui passe sur les cartes des reines (masque = la carte elle-meme) */
.card-wrap { position: relative; display: block; width: 100%; }
.card-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255,246,214,.75) 48%, rgba(255,255,255,.95) 50%, rgba(255,246,214,.75) 52%, transparent 62%) 0 0 / 300% 100% no-repeat;
  mix-blend-mode: soft-light; animation: shine 6.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .8s); }
@keyframes shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.queen .card { transition: transform .35s ease; }
.queen:hover .card { transform: translateY(-6px) scale(1.02); }

/* Artistes : respiration + lumiere qui balaie */
.artists-strip { position: relative; }
.artists-strip::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 15%; z-index: -1;
  background: radial-gradient(closest-side, rgba(232,198,108,.32), transparent); animation: pulse 5s ease-in-out infinite alternate; }
.artists-strip picture { display: block; animation: float 7s ease-in-out infinite alternate; }
.artists-strip .sweep { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../img/artistes-paysage-s.webp) center / contain no-repeat; mask: url(../img/artistes-paysage-s.webp) center / contain no-repeat;
  background: linear-gradient(100deg, transparent 40%, rgba(255,240,200,.5) 50%, transparent 60%) 0 0 / 300% 100% no-repeat;
  mix-blend-mode: soft-light; animation: shine 8s ease-in-out infinite 1s; }
@keyframes float { from { transform: translateY(4px); } to { transform: translateY(-8px); } }
@keyframes pulse { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

/* Programme : les points dores scintillent */
.lineup li + li::before { animation: twinkle 3s ease-in-out infinite; }
.lineup li:nth-child(odd)::before { animation-delay: 1.5s; }
@keyframes twinkle { 50% { opacity: .35; transform: rotate(45deg) scale(.7); } }
.lineup .star { background: linear-gradient(90deg, var(--lime), #fff6c8, var(--lime)) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: textshine 5s linear infinite; }
@keyframes textshine { to { background-position: -200% 0; } }

/* Bouton voter : halo doux */
.btn-vote { position: relative; }
.btn-vote::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(232,198,108,.5); animation: ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(232,198,108,.45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(232,198,108,0); } }
.btn-sm.btn-vote::after { animation: none; }

/* ================= Edition 2025 ================= */
.past-video { max-width: 960px; margin: 0 auto 1.5rem; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 1.5rem auto 0; max-width: 1080px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; } }
@media (max-width: 759px) { #gallery button.ph:nth-of-type(9) { display: none; } }
.gallery button { all: unset; cursor: pointer; display: block; position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: rgba(246,240,224,.05); box-shadow: 0 0 0 1px rgba(232,198,108,.12); }
.gallery button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery .more span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem; text-align: center; padding: .4rem; background: rgba(4,29,16,.72);
  color: var(--gold); font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1rem); line-height: 1.25; transition: background .3s ease; }
.gallery .more:hover span { background: rgba(4,29,16,.55); }
.all-photos { width: min(1100px, 100% - 1.5rem); }
.all-grid { max-width: none; margin-top: 0; }
dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2,12,6,.94); color: var(--cream); }
dialog.lightbox::backdrop { background: transparent; }
.lightbox .lb-img { position: absolute; inset: 3.5rem .5rem 3.5rem; display: grid; place-items: center; }
.lightbox .lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(246,240,224,.12); color: var(--cream); cursor: pointer; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox .lb-prev { left: .6rem; } .lightbox .lb-next { right: .6rem; }
.lightbox .x { top: .8rem; right: .8rem; }
.lightbox .lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--mist); font-size: .9rem; }

/* ================= Vote du jour ================= */
.today-box { margin-top: 1.2rem; padding: 1rem; border-radius: 12px; background: rgba(211,238,114,.08); box-shadow: 0 0 0 1px rgba(211,238,114,.25) inset; text-align: center; }
.today-box b { color: var(--lime); }
.today-box .cd { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 1.6rem; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.ts-box { min-height: 0; display: flex; justify-content: center; }
.again { margin: .9rem 0 0; font-weight: 700; color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  #sky, .aurora { display: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-title .logo, .hero-title .theme, .card-wrap::after, .artists-strip picture, .artists-strip::before, .artists-strip .sweep,
  .lineup li + li::before, .lineup .star, .btn-vote::after { animation: none !important; }
}

/* ================= Versets ================= */
.verse { position: relative; z-index: 1; padding: clamp(2.5rem, 6vw, 4.5rem) 0; text-align: center; }
.verse blockquote { margin: 0 auto; max-width: 880px; }
.verse p { margin: 0; font-family: var(--display); font-weight: 600; font-stretch: 92%; font-size: clamp(1.25rem, 2.6vw, 1.85rem); line-height: 1.4; color: var(--cream); text-wrap: balance; }
.verse footer { margin-top: 1rem; color: var(--gold); font-weight: 700; letter-spacing: .06em; font-size: .95rem; }
.verse-star { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 1rem; display: block; animation: twinkle2 3.5s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(232,198,108,.6)); }
@keyframes twinkle2 { 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }
.verse-sm p { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--mist); }
.verse::before, .verse::after { content: ""; display: block; width: min(220px, 40%); height: 1px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(232,198,108,.5), transparent); }
.verse::before { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); } .verse::after { margin-top: clamp(1.5rem, 4vw, 2.5rem); }

/* ================= Soutenir ================= */
.support-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); max-width: 980px; margin: 0 auto; }
.support-card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: 18px; background: linear-gradient(160deg, rgba(232,198,108,.1), rgba(246,240,224,.03) 45%); box-shadow: 0 0 0 1px rgba(232,198,108,.22) inset; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.support-card h3 { font-size: 1.5rem; font-stretch: 85%; }
.support-card p { margin: 0; color: var(--mist); }
.support-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(232,198,108,.14); color: var(--gold); }
.support-ico svg { width: 26px; height: 26px; }
.don-list { display: grid; gap: .5rem; width: 100%; }
.don { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(4,29,16,.55); box-shadow: 0 0 0 1px rgba(232,198,108,.18) inset; }
.don b { display: block; font-size: 1.15rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.don small { color: var(--mist); font-size: .8rem; }
.don .op { font-weight: 800; font-size: .78rem; padding: .3rem .5rem; border-radius: 6px; color: #fff; flex: none; }
.don .op.flooz { background: #0F5BB5; } .don .op.mixx { background: #E8B400; color: #2A2208; }
.don button { margin-left: auto; }
.muted-sm { color: var(--mist); font-size: .85rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .verse-star { animation: none; } }

.status.total { background: rgba(232,198,108,.14); color: var(--gold); }
.status.total::before { display: none; }
.total-home { color: var(--gold) !important; font-weight: 700; margin-bottom: 0 !important; }

.cand-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(232,198,108,.15); }
.cand-share span { width: 100%; text-align: center; font-size: .85rem; color: var(--mist); }
