/* ==========================================================================
   Gru'llywood 2027 : design system (v2 « clair et cinéma »)
   Charte : noir #000, blanc #FFF, rouge #B50026, or #CD9300. Lovelo (titres) + Montserrat (texte).
   Base claire (crème), aérée et lisible ; les « grands moments » (affiche d'accueil, journées,
   humoristes, pied de page) passent en salle noire via .theme-dark, qui redéfinit les tokens.
   Contrastes vérifiés : texte #16140F/crème 17.2, secondaire 7.5, légendes 5.4, rouge/crème 6.6,
   or foncé #7A5700/crème 6.2, blanc/rouge 7.0, noir/or 7.8. Jamais de blanc sur or.
   ========================================================================== */

@font-face { font-family: "Lovelo"; src: url("/assets/fonts/lovelo-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Lovelo Line"; src: url("/assets/fonts/lovelo-line-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --red: #b50026;
  --gold: #cd9300;
  --red-dark: #8f001e;
  --gold-text: #7a5700;
  --gold-soft: #fff3d6;
  --gold-light: #e4b23a;
  --ink: #16140f;

  --bg: #faf7f2;
  --bg-alt: #f3eee6;
  --surface: #fff;
  --surface-2: #f6f2eb;
  --line: #e6dfd3;
  --line-strong: #b9b0a2;
  --text: var(--ink);
  --text-2: #55504a;
  --text-3: #6b655c;
  --accent: var(--red);
  --accent-2: var(--gold-text);
  --shadow: 0 1px 2px rgba(22,20,15,.05), 0 8px 24px -12px rgba(22,20,15,.18);
  --shadow-hover: 0 2px 4px rgba(22,20,15,.06), 0 18px 36px -16px rgba(22,20,15,.28);

  --font-title: "Lovelo", "Montserrat", system-ui, sans-serif;
  --font-text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --radius-card: 16px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .2s;
}

.theme-dark {
  --bg: #000;
  --bg-alt: #0c0b09;
  --surface: #17150f;
  --surface-2: #211e17;
  --line: #34302a;
  --line-strong: #5a544b;
  --text: #fff;
  --text-2: #c9c3b9;
  --text-3: #a39c91;
  --accent: var(--gold);
  --accent-2: var(--gold);
  --shadow: none;
  --shadow-hover: none;
  background: var(--bg);
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-text); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; color: var(--text); }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hp { position: absolute; left: -9999px; }

mark.todo { background: var(--gold-soft); color: var(--gold-text); border: 1px dashed var(--gold); border-radius: 4px; padding: 0 .35em; font-style: normal; font-weight: 600; font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-size: .9em; }
.theme-dark mark.todo { background: rgba(205,147,0,.12); color: var(--gold-light); }

/* ---------- Typographie ---------- */
.title-xl, .title-l, .title-m, .row-title { font-family: var(--font-title); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
.title-xl { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.title-l  { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.title-m  { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.row-title { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 .8rem; font: 700 .78rem/1.2 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.28rem); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0 0 1.1rem; font-weight: 600; font-size: .95rem; color: var(--text-2); }
.meta-row > span { display: inline-flex; align-items: center; gap: .4em; }
.meta-row > span + span::before { content: "♪"; color: var(--accent); margin-right: .55rem; }
.badge { display: inline-block; border: 1px solid var(--line-strong); color: var(--text-2); padding: .15em .6em; font-size: .8rem; font-weight: 700; border-radius: 4px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.45em; border: 0; border-radius: var(--radius); cursor: pointer; font: 700 1rem/1.15 var(--font-text); text-decoration: none; text-align: center; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur), box-shadow var(--dur); touch-action: manipulation; user-select: none; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 18px -8px rgba(181,0,38,.55); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 6px 18px -8px rgba(205,147,0,.6); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-grey { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.theme-dark .btn-grey { background: rgba(255,255,255,.12); box-shadow: none; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .85em 1.7em; font-size: 1.06rem; }
@media (hover: hover) {
  .btn-red:hover { background: var(--red-dark); color: var(--white); }
  .btn-gold:hover { background: var(--gold-light); color: var(--black); }
  .btn-dark:hover { background: #000; color: var(--white); }
  .btn-white:hover { background: #ece7df; color: var(--black); }
  .btn-grey:hover { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
  .theme-dark .btn-grey:hover { background: rgba(255,255,255,.2); box-shadow: none; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; text-decoration: none; color: var(--accent); }
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow { max-width: 100%; overflow-wrap: anywhere; } /* adresse e-mail longue : coupée plutôt que de déborder (320 px) */
@media (hover: hover) { .link-arrow:hover { color: var(--accent); } .link-arrow:hover .icon { transform: translateX(3px); } }

/* ---------- En-tête (blanc, logo couleur) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.brand { flex: none; display: block; }
.brand-full { display: none; width: 158px; }
.brand-compact { width: 46px; }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
.header-cta-2 { display: none; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 0; }
.menu-bars { display: grid; gap: 5px; width: 24px; }
.menu-bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1099px) {
  .main-nav.is-open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
  .main-nav ul { list-style: none; margin: 0; padding: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { display: block; padding: 14px 0; font: 900 1.3rem/1.1 var(--font-title); text-transform: uppercase; text-decoration: none; color: var(--ink); }
  .main-nav a[aria-current="page"] { color: var(--red); }
  .main-nav .sub { padding: 0 0 12px; }
  .main-nav .sub a { display: block; padding: 7px 0 7px 14px; color: var(--text-2); text-decoration: none; border-left: 2px solid var(--line); }
  .main-nav .sub-day { color: var(--red); font-weight: 700; }
  .nav-extra { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; font-size: .95rem; color: var(--text-2); }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 1100px) {
  :root { --header-h: 76px; }
  .brand-full { display: block; }
  .brand-compact { display: none; }
  .menu-toggle { display: none; }
  .header-cta-2 { display: inline-flex; }
  .main-nav { display: block; margin-left: 8px; }
  .main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a { display: block; padding: 10px 9px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--text-2); }
  .main-nav > ul > li > a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
  .main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
  .main-nav .sub { position: absolute; top: 100%; left: 0; min-width: 330px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
  .main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .main-nav .sub a { display: block; padding: 9px 12px; font-size: .92rem; text-decoration: none; border-radius: 8px; color: var(--ink); }
  .main-nav .sub a:hover { background: var(--bg); }
  .main-nav .sub-day { display: inline-block; min-width: 7.4em; color: var(--red); font-weight: 700; }
  .nav-extra { display: none; }
}
.home .site-header:not(.is-solid) .brand { opacity: 0; visibility: hidden; }
.home .site-header .brand { transition: opacity .3s var(--ease), visibility .3s; }

/* ---------- Affiche (accueil, journées, 404) ---------- */
.billboard { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(80svh, 740px); padding: 64px 0 72px;
  background: radial-gradient(70% 90% at 92% 10%, rgba(181,0,38,.72) 0%, rgba(181,0,38,.18) 45%, transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(205,147,0,.16), transparent 70%), #000; }
.billboard-art { position: absolute; z-index: -1; right: -6%; bottom: -8%; width: min(60vw, 520px); opacity: .1; }
.billboard-content { position: relative; max-width: 700px; }
.billboard h1 { margin: 0 0 1.2rem; color: var(--white); }
.billboard-logo { width: min(100%, 520px); margin: 0 0 1.1rem -4px; }
.billboard .h1-sub { display: block; font: 700 clamp(1.1rem, 2.4vw, 1.4rem)/1.35 var(--font-text); }
.billboard .h1-sub strong { color: var(--gold); }
.billboard .lead { color: #e7e2da; }
.billboard .btn-row { margin-top: 1.6rem; }
.day-hero { min-height: min(66svh, 600px); }
.day-date { font: 800 clamp(.95rem, 2vw, 1.1rem)/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 .8rem; }
.countdown-label { margin: 2rem 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.countdown { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.countdown li { min-width: 64px; padding: 10px 8px 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; text-align: center; }
.countdown b { display: block; font: 900 clamp(1.5rem, 4.5vw, 2.1rem)/1 var(--font-title); font-variant-numeric: tabular-nums; color: var(--white); }
.countdown span { display: block; margin-top: 4px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #bdb6ab; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.pt-0 { padding-top: 0; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.row-head .link-arrow { font-size: .95rem; white-space: nowrap; }
.row-head .title-l { margin: 0; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 280px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .shelf-5 { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 4px 0 8px; } }

/* Affiches des 5 journées */
.poster { position: relative; }
.poster-link { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 20px 18px; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: var(--white); background: var(--ink); isolation: isolate; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.poster-1 .poster-link { background: var(--red); }
.poster-3 .poster-link { background: var(--gold); color: var(--black); }
.poster-4 .poster-link { background: #5c0014; }
.poster-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 100% 0%, rgba(255,255,255,.14), transparent 60%); }
.poster-num { position: absolute; top: 10px; left: 16px; font: 900 5.2rem/1 var(--font-title); letter-spacing: -.03em; }
.poster-icon { position: absolute; top: 20px; right: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.poster-3 .poster-icon { color: var(--black); }
.poster-icon .icon { width: 44px; height: 44px; }
.poster-body { display: flex; flex-direction: column; gap: 6px; }
.poster-day { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.poster-title { margin: 0; font: 900 1.35rem/1.05 var(--font-title); text-transform: uppercase; color: inherit; }
.poster-promise { font-size: .92rem; line-height: 1.45; opacity: .9; }
.poster-time { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; font-size: .84rem; font-weight: 700; }
@media (hover: hover) {
  .poster-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--white); }
  .poster-3 .poster-link:hover { color: var(--black); }
  .poster-link:hover .poster-icon { transform: rotate(-8deg) scale(1.08); }
}
@media (min-width: 1100px) { .poster-num { font-size: 4.4rem; } .poster-title { font-size: 1.18rem; } }

/* Cartes */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card { background: var(--surface); border-radius: var(--radius-card); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3, .h3-like { font: 800 1.12rem/1.3 var(--font-text); display: flex; align-items: center; gap: .55em; margin: 0 0 .5em; color: var(--text); }
.card h3 .icon, .h3-like .icon { color: var(--accent); width: 1.35em; height: 1.35em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; display: block; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--text); } }
.feature { position: relative; overflow: hidden; border-radius: var(--radius-card); padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-gold { background: var(--gold-soft); border-color: #f0dca8; }
.feature-gold .eyebrow { color: var(--gold-text); }
.feature-mascot { position: absolute; right: 16px; bottom: -14px; width: 110px; opacity: .08; pointer-events: none; }
.cta-banner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .cta-banner { grid-template-columns: 1fr auto; } }

/* Bénévoles (accueil) : grand aplat or */
.spotlight { display: grid; gap: 24px; align-items: end; padding: clamp(28px, 5vw, 56px); border-radius: 22px; background: var(--gold); color: var(--black); border: 0; box-shadow: 0 24px 48px -28px rgba(122,87,0,.55); }
.spotlight .eyebrow, .spotlight h2, .spotlight .lead { color: var(--black); }
.spotlight .pill { background: rgba(0,0,0,.08); border-color: transparent; color: var(--black); }
.spotlight .link-arrow { color: var(--black); }
.spotlight-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr auto; } }

/* Humoristes (accueil, section sombre) */
.top-cast { grid-auto-columns: min(46vw, 190px); list-style: none; margin-top: 8px; }
.cast-card { position: relative; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 16px 14px; border-radius: var(--radius-card); overflow: hidden; background: #1d1a14; border: 1px solid #2c2820; }
.cast-card:nth-child(3n+1) { background: linear-gradient(160deg, #6d0017, #1d1a14 70%); }
.cast-card:nth-child(3n+2) { background: linear-gradient(160deg, #4d3700, #1d1a14 70%); }
.cast-num { position: absolute; top: 6px; left: 12px; font: 900 4.6rem/1 var(--font-title); color: rgba(255,255,255,.14); }
.cast-name { position: relative; font: 900 1.2rem/1.05 var(--font-title); text-transform: uppercase; color: var(--white); }
@media (min-width: 1100px) { .top-cast { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.souper-cta { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); }
.souper-cta .lead { color: var(--text-2); font-size: 1.05rem; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); background: var(--bg-alt); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(181,0,38,.12), transparent 70%); pointer-events: none; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--text-3); margin: 0 0 1rem; }
.breadcrumb a { color: var(--text-2); }
.prose { max-width: 70ch; }
.prose h2 { font: 900 clamp(1.35rem, 3vw, 1.8rem)/1.1 var(--font-title); text-transform: uppercase; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent); }
.prose li { margin-bottom: .35em; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.layout-2 > * { min-width: 0; } /* une rangée défilante ne doit jamais élargir la page (mobile) */
@media (min-width: 960px) { .layout-2 { grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr); gap: 56px; align-items: start; } .sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.day-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.episode { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 4px 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: start; }
.episode-time { font: 900 1.55rem/1 var(--font-title); color: var(--accent); }
.episode-time mark.todo { font-size: .62rem; display: inline-block; line-height: 1.3; }
.episode-title { font-weight: 800; font-size: 1.08rem; margin: 0 0 .25em; }
.episode-detail { color: var(--text-2); margin: 0; }
@media (min-width: 700px) { .episode { grid-template-columns: 7rem minmax(0, 1fr); padding: 22px 12px; } .episode-time { font-size: 1.9rem; } }
.cast { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); list-style: none; margin: 0; padding: 0; }
.cast li { aspect-ratio: 3 / 4; border-radius: var(--radius-card); background: linear-gradient(160deg, #6d0017, #16140f 75%); display: flex; align-items: flex-end; padding: 14px; position: relative; overflow: hidden; color: var(--white); }
.cast li img { position: absolute; top: 16%; right: 12%; width: 46%; opacity: .12; }
.cast b { position: relative; font: 900 1.05rem/1.1 var(--font-title); text-transform: uppercase; }

/* Billetterie */
.tickets { display: grid; gap: 16px; }
.ticket { position: relative; display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--red); box-shadow: var(--shadow); }
.ticket-day { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
.ticket h2 { font: 900 1.4rem/1.05 var(--font-title); text-transform: uppercase; margin: .2em 0 .3em; }
.ticket-info { color: var(--text-2); margin: 0; }
@media (min-width: 760px) { .ticket { grid-template-columns: 1fr auto; align-items: center; padding: 26px 32px; } }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.steps li { position: relative; display: grid; gap: 10px; padding: 24px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 14px; right: 18px; font: 900 2.4rem/1 var(--font-title); color: var(--line); }
.steps li > .icon { width: 30px; height: 30px; color: var(--accent); }
.steps h3 { font-size: 1.05rem; margin: 0 0 .3em; }
.steps p { margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--font-text); color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--text-2); max-width: 70ch; }

/* Actualités */
.news-card { display: flex; flex-direction: column; gap: 8px; height: 100%; text-decoration: none; }
.news-thumb { aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(150deg, var(--red), #5c0014); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin-bottom: 8px; }
.news-thumb-day { font: 900 3rem/1 var(--font-title); }
.news-thumb-month { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.news-date { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.news-title { font-size: 1.15rem; margin: 0; }
.news-sum { color: var(--text-2); font-size: .96rem; margin: 0; }
.article-body { font-size: 1.08rem; }

/* Partenaires */
.partners { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); list-style: none; margin: 0; padding: 0; }
.partners li { aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.partners li > a, .partners li > span, .partners li > img { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px; text-decoration: none; }
.partners li.has-logo img { width: auto; height: auto; max-width: 100%; max-height: 62px; object-fit: contain; }
.partners li.no-logo { color: var(--text); font-weight: 700; font-size: .92rem; }
.partners li a { transition: transform .2s var(--ease); }
@media (hover: hover) { .partners li.has-logo a:hover { transform: scale(1.04); } .partners li.no-logo a:hover { color: var(--accent); } }
.partners-platine { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.partners-platine li { aspect-ratio: 16 / 9; }
.partners-platine li.has-logo img { max-height: 80px; }

/* Chiffres, sponsoring */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 22px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats b { display: block; font: 900 clamp(2rem, 5vw, 2.8rem)/1 var(--font-title); color: var(--red); }
.stats span { color: var(--text-2); font-size: .92rem; }
.stats-inline { margin: 1rem 0 1.4rem; }
.stats-inline b { font-size: 2rem; }
.oscars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 22px; }
.oscar { padding: 26px 24px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--oscar, var(--gold)); box-shadow: var(--shadow); }
.oscar-platine { --oscar: #9ea3a8; } .oscar-or { --oscar: var(--gold); } .oscar-argent { --oscar: #b9c0c6; } .oscar-bronze { --oscar: #b0763c; }
.oscar-name { font: 900 1.35rem/1.05 var(--font-title); text-transform: uppercase; margin: 0 0 14px; }
.oscar ul { list-style: none; margin: 0; padding: 0; }
.oscar li { display: flex; gap: .55em; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.oscar li .icon { color: var(--gold); margin-top: 3px; }

/* Vins */
.wine-group + .wine-group { margin-top: clamp(48px, 6vw, 72px); }
.wine-group:first-of-type { margin-top: 32px; }
.producer { display: grid; gap: 18px; align-items: center; margin-bottom: 22px; max-width: 840px; }
.producer-pic img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; }
@media (min-width: 700px) { .producer { grid-template-columns: 240px 1fr; } }
.wine { display: flex; flex-direction: column; }
.wine-type { display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: .2em .65em; border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--surface-2); }
.wine-rouge { background: var(--red); color: var(--white); }
.wine-blanc, .wine-liquoreux { background: var(--gold); color: var(--black); }
.wine-rose { background: #f7d3da; color: var(--black); }
.wine-name { font: 900 1.35rem/1.05 var(--font-title); text-transform: uppercase; margin: 0 0 6px; }
.wine-meta { color: var(--accent-2); font-size: .9rem; font-weight: 600; }
.wine .icon { display: inline; vertical-align: -3px; }
.wine-note { display: flex; gap: .5em; align-items: flex-start; margin-top: 18px; color: var(--text-2); font-style: italic; }
.wine-note .icon { color: var(--gold); flex: none; margin-top: 3px; }
.wine-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; font-size: .94rem; }
.wine-list li { margin-bottom: 6px; break-inside: avoid; }

/* Listes */
.inline-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: .4em; padding: .45em .95em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--text); }
a.pill:hover { border-color: var(--accent); color: var(--accent); }
.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { display: flex; gap: .6em; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist .icon { color: var(--gold); margin-top: 4px; }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 40px 20px; color: var(--text-2); }
.empty img { width: 84px; opacity: .6; }
.mascot-404 { width: 110px; margin-bottom: 1.2rem; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; margin-bottom: 6px; font-weight: 600; font-size: .94rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-strong); color: var(--ink); font: 400 16px/1.4 var(--font-text); transition: border-color var(--dur), box-shadow var(--dur); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8378; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(205,147,0,.35); }
.field [aria-invalid="true"] { border-color: var(--red); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.field .check { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: .95rem; font-weight: 500; }
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--red); }
.check:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.form-note { font-size: .85rem; color: var(--text-3); margin: 0; }
.form-note a { color: var(--text-2); }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1f7a45; }
.form-status.err { color: var(--red); }
.form .btn { justify-self: start; }

/* ---------- Pied de page (sombre) ---------- */
.site-footer { padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .94rem; color: var(--text-2); }
.footer-top { display: grid; gap: 14px; margin-bottom: 40px; }
.footer-logo { width: 230px; }
.footer-baseline { max-width: 52ch; margin: 0; color: var(--white); font-weight: 600; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-title { font: 700 .78rem/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.f16-credit { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3) !important; }
.f16-logo { width: 90px; height: auto; }

/* ---------- Utilitaires ---------- */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-l { margin-top: 2.5rem; } .mb-s { margin-bottom: 18px; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (min-width: 1100px) {
  .main-nav .nav-dup { display: none; }      /* Bénévoles et Billetterie : déjà en boutons dans l'en-tête */
  .main-nav > ul > li > a { white-space: nowrap; }
}

/* En-tête noir (demande du 29.09) : logos blancs, texte clair, menu mobile noir */
.site-header { background: rgba(0,0,0,.96); border-bottom-color: #1f1c17; }
.menu-toggle { color: var(--white); }
@media (max-width: 1099px) {
  .main-nav.is-open { background: #000; }
  .main-nav > ul > li { border-bottom-color: #2a2620; }
  .main-nav > ul > li > a { color: var(--white); }
  .main-nav a[aria-current="page"], .main-nav .sub-day { color: var(--gold); }
  .main-nav .sub a { color: #c9c3b9; border-left-color: #2a2620; }
  .nav-extra, .nav-extra a { color: #c9c3b9; }
}
@media (min-width: 1100px) {
  .main-nav > ul > li > a { color: #d6d0c6; }
  .main-nav > ul > li > a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
  .main-nav .sub { background: #0c0b09; border-color: #2a2620; }
  .main-nav .sub a { color: var(--white); }
  .main-nav .sub a:hover { background: #1d1a14; }
  .main-nav .sub-day { color: var(--gold); }
}

/* ==========================================================================
   Images d'illustration (photos provisoires Unsplash, remplacées par celles de la fête)
   ========================================================================== */

/* Accueil : mur d'affiches incliné derrière le logo (esprit plateforme de streaming) */
.billboard-wall { min-height: min(88svh, 820px); text-align: center; background: #000; }
.billboard-wall .billboard-content { margin-inline: auto; max-width: 760px; }
.billboard-wall .billboard-logo { margin-inline: auto; }
.billboard-wall .lead { margin-inline: auto; }
.billboard-wall .btn-row, .billboard-wall .countdown { justify-content: center; }
.poster-wall {
  position: absolute; z-index: -2; inset: -18% -12%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  transform: rotate(-8deg) scale(1.05); transform-origin: center;
}
.poster-wall picture, .poster-wall img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.poster-wall picture { aspect-ratio: 2 / 3; overflow: hidden; }
.poster-wall picture:nth-child(n+13) { display: none; }
@media (min-width: 700px) { .poster-wall { grid-template-columns: repeat(4, 1fr); } .poster-wall picture:nth-child(n+13) { display: block; } .poster-wall picture:nth-child(n+17) { display: none; } }
@media (min-width: 1100px) { .poster-wall { grid-template-columns: repeat(6, 1fr); inset: -30% -8%; } .poster-wall picture:nth-child(n+13) { display: block; } }
.billboard-wall::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.45) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.25) 40%, rgba(0,0,0,.9));
}
.billboard-wall .h1-sub { text-shadow: 0 2px 16px rgba(0,0,0,.6); }

/* Affiches des journées : photo plein cadre, dégradé pour la lisibilité */
.poster-photo { position: absolute; inset: 0; z-index: -2; }
.poster-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.poster-link.has-photo { color: var(--white); }
.poster-link.has-photo::after { background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.92) 100%); }
.poster-link.has-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 0; background: var(--poster-accent, var(--red)); }
.poster-1 .poster-link.has-photo, .poster-2 .poster-link.has-photo, .poster-3 .poster-link.has-photo, .poster-4 .poster-link.has-photo, .poster-5 .poster-link.has-photo { background: #000; color: var(--white); }
.poster-3 { --poster-accent: var(--gold); } .poster-2, .poster-5 { --poster-accent: var(--gold); }
.poster-link.has-photo .poster-icon { color: var(--gold); }
.poster-link.has-photo .poster-num { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
@media (hover: hover) { .poster-link.has-photo:hover .poster-photo img { transform: scale(1.06); } .poster-3 .poster-link.has-photo:hover { color: var(--white); } }

/* Bénévoles (accueil) : photo à gauche de l'aplat or */
.spotlight.has-photo { overflow: hidden; }
.spotlight-photo { display: block; margin: calc(-1 * clamp(28px, 5vw, 56px)) calc(-1 * clamp(28px, 5vw, 56px)) 0; }
.spotlight-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) {
  .spotlight.has-photo { grid-template-columns: minmax(260px, .9fr) 1.4fr auto; align-items: center; }
  .spotlight-photo { margin: calc(-1 * clamp(28px, 5vw, 56px)) 0 calc(-1 * clamp(28px, 5vw, 56px)) calc(-1 * clamp(28px, 5vw, 56px)); align-self: stretch; }
  .spotlight-photo img { height: 100%; aspect-ratio: auto; min-height: 340px; }
}

/* Section sombre avec photo de fond (souper-spectacle) */
.section-photo { position: relative; isolation: isolate; overflow: hidden; }
.section-bg { position: absolute; inset: 0; z-index: -1; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.section-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.85)); }

/* Page d'une journée : photo en fond de l'affiche */
.billboard-photo { position: absolute; inset: 0; z-index: -2; }
.billboard-photo img { width: 100%; height: 100%; object-fit: cover; }
.day-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.3) 100%), linear-gradient(to top, rgba(0,0,0,.7), transparent 40%); }

/* En-têtes des pages intérieures : photo à droite (plein fond sur mobile) */
.page-hero.has-photo { background: #000; color: var(--white); border-bottom: 0; }
.page-hero.has-photo::after { display: none; }
.page-hero.has-photo .title-xl, .page-hero.has-photo .lead, .page-hero.has-photo .meta-row { color: var(--white); position: relative; }
.page-hero.has-photo .lead { color: #e7e2da; }
.page-hero.has-photo .eyebrow { color: var(--gold); }
.page-hero.has-photo .meta-row .icon, .page-hero.has-photo .meta-row span::before { color: var(--gold); }
.page-hero-photo { position: absolute; inset: 0; z-index: 0; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero.has-photo .wrap { position: relative; z-index: 1; }
@media (min-width: 960px) {
  .page-hero.has-photo { padding: clamp(72px, 9vw, 120px) 0; }
  .page-hero-photo { left: 42%; }
  .page-hero-photo img { opacity: 1; }
  .page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.1) 100%); }
  .page-hero.has-photo .wrap > * { max-width: 620px; }
}

/* ==========================================================================
   Retour au thème sombre intégral (esprit plateforme de streaming), photos conservées
   body.theme-dark : tokens sombres partout ; ci-dessous les composants pensés pour le clair.
   Accent sur fond noir = or (7.8) ; le rouge reste réservé aux aplats et boutons.
   ========================================================================== */
body.theme-dark { --bg-alt: #0b0a08; --surface: #141310; --surface-2: #1e1c17; --line: #2c2923; --line-strong: #5a5a5a; --text-2: #b3b3b3; --text-3: #8c8c8c;
  --card-gradient: linear-gradient(149deg, #3a0010 0%, #120508 55%, #0a0a0a 100%);
  --card-gradient-gold: linear-gradient(149deg, #3d2b00 0%, #140e02 55%, #0a0a0a 100%); }
.theme-dark .section-alt { background: var(--bg-alt); }
.theme-dark .card, .theme-dark .steps li, .theme-dark .stats li, .theme-dark .oscar, .theme-dark .ticket, .theme-dark .souper-cta { background: var(--surface); border-color: var(--line); box-shadow: none; }
.theme-dark .feature { background: var(--card-gradient); border-color: rgba(255,255,255,.06); box-shadow: none; }
.theme-dark .feature-gold { background: var(--card-gradient-gold); border-color: rgba(205,147,0,.25); }
.theme-dark .feature-gold .eyebrow { color: var(--gold); }
.theme-dark .spotlight { background: var(--gold); color: var(--black); }
.theme-dark .spotlight .eyebrow, .theme-dark .spotlight h2, .theme-dark .spotlight .lead { color: var(--black); }
.theme-dark .page-hero { background: radial-gradient(80% 120% at 90% 0%, rgba(181,0,38,.45), transparent 60%), #000; border-bottom: 0; }
.theme-dark .page-hero::after { display: none; }
.theme-dark .breadcrumb a { color: var(--text-2); }
.theme-dark .stats b { color: var(--white); }
.theme-dark .steps li::before { color: #2c2923; }
.theme-dark .pill { background: var(--surface-2); border-color: var(--line); color: var(--white); }
.theme-dark .spotlight .pill { background: rgba(0,0,0,.1); color: var(--black); }
.theme-dark .news-thumb { background: var(--card-gradient); }
.theme-dark .wine-type { background: var(--surface-2); }
.theme-dark .wine-rouge { background: var(--red); color: var(--white); }
.theme-dark .wine-blanc, .theme-dark .wine-liquoreux { background: var(--gold); color: var(--black); }
.theme-dark .wine-rose { background: #f7d3da; color: var(--black); } /* sinon fond sombre + texte noir (contraste) */
.theme-dark .oscar-platine { --oscar: #d9dcdf; }
/* Partenaires : les logos restent sur tuile blanche, les noms sur tuile sombre */
.theme-dark .partners li { background: var(--surface); border-color: var(--line); }
.theme-dark .partners li.has-logo { background: var(--white); border-color: var(--white); }
.theme-dark .partners li.no-logo { color: var(--white); }
/* Formulaires sombres */
.theme-dark .field input, .theme-dark .field select, .theme-dark .field textarea { background: rgba(22,22,22,.9); border-color: var(--line-strong); color: var(--white); }
.theme-dark .field input::placeholder, .theme-dark .field textarea::placeholder { color: #808080; }
.theme-dark .field input:focus, .theme-dark .field select:focus, .theme-dark .field textarea:focus { border-color: var(--white); }
.theme-dark .field .check { background: transparent; border-color: var(--line-strong); }
.theme-dark .check:has(input:checked) { background: rgba(205,147,0,.14); border-color: var(--gold); }
.theme-dark .field .req, .theme-dark .form-status.err { color: #ff8a9b; }
.theme-dark .form-status.ok { color: #7ee0a1; }
.theme-dark .form-note { color: var(--text-3); }
/* Liens et accents */
.theme-dark .prose a, .theme-dark .muted a { color: var(--gold); }
.theme-dark .episode-time { color: var(--white); }
.theme-dark .poster-link { box-shadow: none; }

/* Humoristes : photos de presse dans les cases */
.cast-card.has-photo { isolation: isolate; background: #111; }
.cast-photo { position: absolute; inset: 0; z-index: -2; }
.cast-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cast-card.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, transparent 28%, transparent 50%, rgba(0,0,0,.88) 100%); }
.cast-card.has-photo .cast-num { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); text-shadow: none; }
.cast-name small { display: block; margin-top: 4px; font: 600 .78rem/1.2 var(--font-text); text-transform: none; color: var(--gold); letter-spacing: 0; }
.cast-credit { position: absolute; top: 8px; right: 10px; font-size: .62rem; color: rgba(255,255,255,.7); }
.cast .cast-card { aspect-ratio: 3 / 4; }
.cast li.cast-card { background: #111; }
@media (hover: hover) { .cast-card.has-photo:hover .cast-photo img { transform: scale(1.05); } }

/* ==========================================================================
   Moins d'or (demande du 29.09) : l'or est réservé au bouton « Bénévoles »,
   au logo et aux repères [À COMPLÉTER]. Accents = blanc et rouge de la charte.
   ========================================================================== */
body.theme-dark, .theme-dark { --accent: #fff; --accent-2: #d6d0c6; }
.eyebrow { color: #fff; }
.eyebrow::before { background: var(--red); width: 24px; height: 3px; }
.link-arrow { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-arrow .icon { color: var(--red); }
.theme-dark .prose a, .theme-dark .muted a, .theme-dark .faq a { color: #fff; text-decoration-color: var(--red); }
.meta-row > span + span::before { color: var(--red); }
.billboard .h1-sub strong { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.countdown-label, .footer-title, .day-date, .news-date, .ticket-day, .poster-day { color: #d6d0c6; }
.poster-icon, .poster-link.has-photo .poster-icon { color: #fff; }
.card h3 .icon, .h3-like .icon, .steps li > .icon, .checklist .icon, .oscar li .icon, .wine-note .icon { color: var(--red); }
.theme-dark .card h3 .icon, .theme-dark .h3-like .icon { color: #ff4d6a; }  /* rouge éclairci pour rester lisible sur noir (6.5) */
.theme-dark .steps li > .icon, .theme-dark .checklist .icon, .theme-dark .oscar li .icon, .theme-dark .wine-note .icon { color: #ff4d6a; }
.cast-name small { color: #d6d0c6; }
.wine-meta { color: #d6d0c6; }
.theme-dark .feature-gold { background: var(--card-gradient); border-color: rgba(255,255,255,.06); }
.theme-dark .feature-gold .eyebrow { color: #fff; }
.theme-dark .check:has(input:checked) { background: rgba(181,0,38,.18); border-color: #ff4d6a; }
.theme-dark .stats b { color: #fff; }
.news-thumb-month { color: #fff; }
/* Bloc bénévoles de l'accueil : aplat rouge profond, seul le bouton reste or */
.theme-dark .spotlight { background: linear-gradient(135deg, #8f001e 0%, #5c0014 55%, #2a0009 100%); color: #fff; box-shadow: none; }
.theme-dark .spotlight .eyebrow, .theme-dark .spotlight h2, .theme-dark .spotlight .lead { color: #fff; }
.theme-dark .spotlight .lead { opacity: .9; }
.theme-dark .spotlight .pill { background: rgba(255,255,255,.12); color: #fff; }
.theme-dark .spotlight .link-arrow { color: #fff; }
.theme-dark .spotlight .eyebrow::before { background: #fff; }
.poster-2, .poster-3, .poster-5 { --poster-accent: var(--red); }
/* Carte d'humoriste cliquable (accueil -> page du souper-spectacle) */
.cast-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.cast-link:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
@media (hover: hover) { .cast-card:has(.cast-link):hover { border-color: rgba(255,255,255,.5); } }

/* En-tête : uniquement la mascotte caméra (jamais le logo Gru'llywood), visible partout */
.brand-mascot { display: block; height: 46px; width: auto; }
@media (min-width: 1100px) { .brand-mascot { height: 52px; } }
.home .site-header:not(.is-solid) .brand { opacity: 1; visibility: visible; }

/* ==========================================================================
   En-tête v3 : plus grand, menus déroulants lisibles (panneau Programme avec vignettes)
   ========================================================================== */
:root { --header-h: 76px; }
.site-header { background: #000; border-bottom: 1px solid #1f1c17; }
.brand-mascot { height: 54px; }
.header-inner { gap: 18px; max-width: 1440px; }
.header-actions { gap: 10px; }
.header-actions .btn { min-height: 46px; padding: .6em 1.15em; font-size: 1rem; }
.nav-caret { width: .85em; height: .85em; transform: rotate(90deg); margin-left: 4px; opacity: .7; transition: transform .2s var(--ease); }
@media (max-width: 1099px) {
  .header-actions .btn { min-height: 44px; padding: .5em 1em; }
  .main-nav > ul > li > a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 1.45rem; }
  .main-nav .nav-caret { display: none; }
  .main-nav .sub, .main-nav .mega ul { list-style: none; margin: 0; padding: 0 0 14px; }
  .main-nav .sub a, .main-nav .mega a { display: flex; flex-direction: column; padding: 9px 0 9px 16px; border-left: 2px solid #2a2620; color: #fff; text-decoration: none; font-size: 1.05rem; font-weight: 600; }
  .main-nav .sub-desc { font-size: .88rem; font-weight: 400; color: #b3b3b3; }
  .main-nav .sub-day { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b3b3b3; }
  .main-nav .mega-thumb, .main-nav .mega-foot { display: none; }
  .main-nav .nav-dup > a { color: #fff; }
}
@media (min-width: 1100px) {
  :root { --header-h: 88px; }
  .brand-mascot { height: 60px; }
  .main-nav { margin-left: 18px; }
  .main-nav > ul { gap: 4px; }
  .main-nav > ul > li > a { display: flex; align-items: center; height: var(--header-h); padding: 0 14px; font-size: 1.04rem; font-weight: 600; color: #e5e0d8; }
  .main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); color: #fff; }
  .main-nav .has-sub:hover > a .nav-caret, .main-nav .has-sub:focus-within > a .nav-caret { transform: rotate(-90deg); opacity: 1; }
  .main-nav .sub { top: calc(100% - 6px); min-width: 320px; padding: 10px; border-radius: 12px; border: 1px solid #2a2620; border-top: 3px solid var(--red); background: #0c0b09; box-shadow: 0 24px 48px -12px rgba(0,0,0,.8); }
  .main-nav .sub > li > a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 8px; color: #fff; }
  .main-nav .sub > li > a:hover { background: #1d1a14; }
  .main-nav .sub-title { font-size: 1.02rem; font-weight: 700; }
  .main-nav .sub-desc { font-size: .88rem; color: #b3b3b3; }
  /* Panneau Programme : 5 vignettes photo */
  .main-nav .has-mega { position: static; }
  .main-nav .mega { left: 50%; transform: translate(-50%, -4px); width: min(1100px, calc(100vw - 48px)); padding: 18px; }
  .main-nav .has-mega:hover .mega, .main-nav .has-mega:focus-within .mega { transform: translate(-50%, 0); }
  .main-nav .mega ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
  .main-nav .mega a { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 10px; text-decoration: none; color: #fff; }
  .main-nav .mega a:hover { background: #1d1a14; }
  .mega-thumb { display: block; margin-bottom: 6px; border-radius: 8px; overflow: hidden; }
  .mega-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s var(--ease); }
  .main-nav .mega a:hover .mega-thumb img { transform: scale(1.05); }
  .main-nav .mega .sub-day { min-width: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b3b3b3; }
  .main-nav .mega .sub-title { font: 900 1.05rem/1.1 var(--font-title); text-transform: uppercase; }
  .mega-foot { margin: 14px 8px 2px; text-align: right; }
  .mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
}
@media (min-width: 1100px) { .main-nav .mega .mega-foot a { flex-direction: row; padding: 4px 8px; background: none; } }
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }  /* sinon le menu mobile (position fixe) reste coincé dans l en-tête */

/* Survol des cartes photo : zoom seul (pas de cadre), texte toujours au-dessus de l'image (accents des capitales compris) */
.cast-card, .cast-card:has(.cast-link):hover { border-color: transparent; }
.cast-card.has-photo { border: 0; }
.cast-name { position: relative; z-index: 1; line-height: 1.15; padding-top: .15em; }
.cast-num { z-index: 1; }
.cast-photo img, .poster-photo img { will-change: transform; backface-visibility: hidden; }

/* Programme : le JOUR en grand, l'activité en dessous (demande du 29.09) */
.poster-title { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.poster-title .poster-day { font: 900 1.55rem/1.02 var(--font-title); letter-spacing: .01em; text-transform: uppercase; opacity: 1; }
.poster-activity { font: 700 .98rem/1.25 var(--font-text); text-transform: none; letter-spacing: 0; opacity: .95; }
@media (min-width: 1100px) { .poster-title .poster-day { font-size: 1.35rem; } }
.day-heading { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; }
.day-heading-date { font: 900 clamp(2.1rem, 5vw, 3.2rem)/1 var(--font-title); text-transform: uppercase; }
.day-heading-activity { font: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.2 var(--font-text); color: var(--text-2); }
.day-heading-xl .day-heading-date { font-size: clamp(2.8rem, 8vw, 5rem); }
.day-heading-xl .day-heading-activity { color: #fff; font-size: clamp(1.3rem, 2.8vw, 1.9rem); }
@media (min-width: 1100px) {
  .main-nav .mega .sub-day-big { font: 900 1.15rem/1.05 var(--font-title); text-transform: uppercase; }
  .main-nav .mega .sub-activity { font-size: .92rem; font-weight: 600; color: #b3b3b3; }
}
@media (max-width: 1099px) {
  .main-nav .sub-day-big { font: 900 1.1rem/1.1 var(--font-title); text-transform: uppercase; }
  .main-nav .sub-activity { font-size: .92rem; font-weight: 500; color: #b3b3b3; }
}
/* Affiches : sans grand numéro ni promesse, le jour porte l'affiche */
.poster-title .poster-day { font-size: clamp(1.7rem, 6vw, 2rem); line-height: 1; }
@media (min-width: 1100px) { .poster-title .poster-day { font-size: 1.6rem; } }
.poster-activity { font-size: 1rem; }
.poster-body { gap: 10px; }
.poster-title .poster-day { display: flex; flex-direction: column; color: #fff; opacity: 1; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.poster-weekday { font-size: 1em; }
.poster-date { font-size: .78em; color: #fff; }

/* Lueur rouge « à la Netflix » à la place des photos de fond (PHOTOS_FOND = false) */
.page-hero:not(.has-photo), .day-hero:not(:has(.billboard-photo)) {
  background:
    radial-gradient(70% 110% at 85% 0%, rgba(181,0,38,.75) 0%, rgba(181,0,38,.22) 40%, transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(181,0,38,.18), transparent 70%),
    #000;
}
.day-hero:not(:has(.billboard-photo))::before { display: none; }
.section-photo:not(:has(.section-bg))::after { background: radial-gradient(60% 80% at 50% 0%, rgba(181,0,38,.35), transparent 70%); }

/* ==========================================================================
   Lueur rouge sur toute la page, qui pulse très lentement (fond fixe derrière le contenu)
   ========================================================================== */
body.theme-dark { background: #000; }
body.theme-dark::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 85% 8%, rgba(181,0,38,.55) 0%, rgba(181,0,38,.14) 45%, transparent 72%),
    radial-gradient(45% 40% at 8% 92%, rgba(181,0,38,.35) 0%, transparent 70%),
    radial-gradient(35% 30% at 50% 55%, rgba(92,0,20,.25) 0%, transparent 70%);
  animation: lueur 14s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
@keyframes lueur {
  from { opacity: .55; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { body.theme-dark::before { animation: none; opacity: .8; } }
/* Les sections laissent passer la lueur */
.theme-dark .section, .theme-dark .section-alt, .theme-dark .page-hero, .theme-dark .page-hero:not(.has-photo),
.theme-dark .day-hero:not(:has(.billboard-photo)), .site-footer.theme-dark, .theme-dark .section.theme-dark { background: transparent; }
.theme-dark .section-alt { background: rgba(255,255,255,.015); }
.section-photo:not(:has(.section-bg))::after { display: none; }
.site-footer.theme-dark { border-top-color: rgba(255,255,255,.08); }

/* ---------- Accueil : affiche v2 (colonnes d'affiches qui défilent, logo plus grand, fondu dans la lueur) ---------- */
.billboard-wall { background: transparent; min-height: min(94svh, 900px); padding: 96px 0 88px; }
.poster-wall { inset: -12% -6%; display: flex; gap: 14px; grid-template-columns: none; transform: rotate(-6deg) scale(1.08);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 96%); mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 96%); }
.poster-col { flex: 1 1 0; min-width: 0; overflow: hidden; }
.poster-col:nth-child(n+4) { display: none; }
.poster-track { display: flex; flex-direction: column; gap: 14px; animation: defile 90s linear infinite; will-change: transform; }
.poster-col:nth-child(even) .poster-track { animation-direction: reverse; animation-duration: 110s; }
.poster-col:nth-child(3n) .poster-track { animation-duration: 75s; }
.poster-wall picture { display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; }
.poster-wall picture:nth-child(n+13) { display: block; }
.poster-wall img { filter: saturate(.55) brightness(.8); }
@keyframes defile { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@media (min-width: 700px) { .poster-col:nth-child(4) { display: block; } .poster-wall picture:nth-child(n+17) { display: block; } }
@media (min-width: 1100px) { .poster-wall { inset: -18% -4%; } .poster-col:nth-child(n+5) { display: block; } }
@media (prefers-reduced-motion: reduce) { .poster-track { animation: none; } }
/* Voile : noir au centre pour le logo, teinte rouge sur les bords, fondu vers la page */
.billboard-wall::before {
  background:
    radial-gradient(52% 50% at 50% 50%, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 50%, rgba(0,0,0,.35) 100%),
    radial-gradient(60% 70% at 100% 0%, rgba(181,0,38,.45), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(181,0,38,.3), transparent 70%),
    linear-gradient(to bottom, rgba(0,0,0,.7) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.6) 100%);
}
.billboard-wall .billboard-content { max-width: 860px; }
.billboard-wall .billboard-logo { width: min(100%, 720px); margin-bottom: .6rem; filter: drop-shadow(0 10px 40px rgba(0,0,0,.85)) drop-shadow(0 0 60px rgba(181,0,38,.25)); }
.billboard-wall h1 { margin-bottom: 1rem; }
.billboard-wall .lead { max-width: 54ch; color: #f1ece4; font-size: clamp(1.1rem, 2vw, 1.35rem); text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.billboard-wall .btn-row { margin-top: 2rem; gap: 14px; }
/* Compte à rebours : une seule barre vitrée, chiffres séparés par des filets */
.billboard-wall .countdown-label { margin: 2.6rem 0 .8rem; color: #d6d0c6; }
.billboard-wall .countdown { display: inline-flex; gap: 0; padding: 6px; background: rgba(10,10,10,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.billboard-wall .countdown li { min-width: 78px; padding: 12px 14px 10px; background: none; border: 0; border-radius: 0; }
.billboard-wall .countdown li + li { border-left: 1px solid rgba(255,255,255,.1); }
.billboard-wall .countdown b { font-size: clamp(1.7rem, 4.8vw, 2.5rem); }
@media (max-width: 480px) { .billboard-wall .countdown li { min-width: 64px; padding: 10px 8px 8px; } .billboard-wall { padding-top: 80px; } }
@media (max-width: 560px) { .billboard-wall .btn-row { flex-direction: column; align-items: stretch; } .billboard-wall .btn-row .btn { width: 100%; justify-content: center; padding-inline: 1em; font-size: 1rem; } }

/* ---------- Accueil : bloc bénévoles v2 ---------- */
.benev { display: grid; overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, #8f001e 0%, #5c0014 50%, #22000a 100%);
  box-shadow: 0 40px 80px -40px rgba(181,0,38,.6), inset 0 0 0 1px rgba(255,255,255,.07); }
.benev-photo { position: relative; min-height: 280px; }
.benev-photo picture, .benev-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.benev-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, #6e0018 100%); }
.benev-badge { position: absolute; z-index: 1; left: 18px; bottom: 16px; margin: 0; display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em;
  border-radius: 999px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: .85rem; font-weight: 700; }
.benev-badge .icon { width: 16px; height: 16px; color: var(--gold); }
.benev-body { padding: clamp(28px, 5vw, 56px); color: #fff; }
.benev-body .eyebrow, .benev-body h2 { color: #fff; }
.benev-body .eyebrow::before { background: #fff; }
.benev-body .lead { color: rgba(255,255,255,.9); margin-bottom: 1.6rem; }
.benev-secteurs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.benev-secteurs li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: .95rem; line-height: 1.25; transition: background .2s, transform .2s; }
.benev-secteurs li:hover { background: rgba(0,0,0,.42); transform: translateY(-2px); }
.benev-secteurs .icon { flex: none; width: 22px; height: 22px; color: var(--gold); }
.benev-etapes { display: grid; gap: 10px; margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: none; }
.benev-etapes li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(255,255,255,.92); }
.benev-etapes b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #5c0014;
  font: 900 1rem/1 var(--font-title); }
.benev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.benev-actions .link-arrow { color: #fff; }
@media (min-width: 700px) { .benev-secteurs { grid-template-columns: repeat(3, 1fr); } .benev-etapes { grid-template-columns: repeat(3, 1fr); } .benev-etapes li { align-items: flex-start; } }
@media (min-width: 1000px) {
  .benev { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }
  .benev-photo { min-height: 100%; }
  .benev-photo::after { background: linear-gradient(to right, transparent 78%, #8a001d 100%); }
}
@media (max-width: 560px) { .benev-actions .btn { width: 100%; justify-content: center; } }
.benev-secteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benev-secteurs li span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 700px) { .benev-secteurs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benev-body { padding: 26px 20px 30px; } .benev-secteurs li { gap: 8px; padding: 10px; font-size: .85rem; } .benev-secteurs .icon { width: 18px; height: 18px; } .benev-actions .btn { font-size: .98rem; padding-inline: .8em; } }
/* Bloc bénévoles sans photo (demande du 29.09) : texte + bouton à gauche, secteurs et étapes à droite */
.benev { grid-template-columns: 1fr !important; }
.benev-body { display: grid; gap: 28px 56px; }
.benev-intro .lead { margin-bottom: 1.8rem; }
.benev-etapes { margin-bottom: 0; }
@media (min-width: 1000px) { .benev-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; padding: 64px; } }

/* ---------- En-tête simplifié (29.09) : liens à plat, police des titres (Lovelo) ---------- */
.main-nav > ul > li > a, .header-actions .btn { font-family: var(--font-title); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 1100px) {
  .main-nav { margin-inline: auto; }
  .main-nav > ul { gap: 2px; }
  .main-nav > ul > li > a { padding: 0 14px; font-size: .98rem; color: #d6d0c6; transition: color .2s; }
  .main-nav > ul > li > a:hover { color: #fff; }
  .header-actions .btn { font-size: .95rem; }
}
@media (min-width: 1100px) and (max-width: 1260px) { .main-nav > ul > li > a { padding: 0 9px; font-size: .9rem; } }
@media (max-width: 1099px) {
  .main-nav > ul > li > a { font-size: 1.6rem; }
  .nav-extra { display: flex; gap: 10px 24px; margin: 24px 0 0; font-size: 1rem; font-weight: 600; }
  .nav-extra a { color: #c9c3b9; text-decoration: none; }
}

/* ---------- Accueil : programme en accordéon d'affiches (29.09) ---------- */
.prog-intro { margin: -.4rem 0 1.4rem; color: #c9c3b9; font-weight: 500; }
.prog-acc { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px;
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
.prog-acc::-webkit-scrollbar { display: none; }
.prog-item { scroll-snap-align: start; min-width: 0; }
.prog-link { position: relative; isolation: isolate; display: flex; align-items: flex-end; height: 100%; min-height: 440px; overflow: hidden; border-radius: 16px;
  color: #fff; text-decoration: none; background: #1a0007; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.prog-photo, .prog-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.prog-photo img { transition: transform .8s var(--ease), filter .5s; filter: saturate(.8) brightness(.85); }
.prog-link::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.05) 70%), linear-gradient(to top, rgba(181,0,38,.35), transparent 50%); }
.prog-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.prog-icon { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.prog-icon .icon { width: 22px; height: 22px; }
.prog-badge { position: absolute; top: 18px; left: 16px; display: inline-flex; align-items: center; gap: .45em; padding: .4em .8em; border-radius: 999px; background: var(--red);
  font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.prog-badge .icon { width: 14px; height: 14px; }
.prog-body { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 22px 20px 24px; }
.prog-day { display: flex; flex-direction: column; margin: 0; font: 900 clamp(1.9rem, 3vw, 2.4rem)/.95 var(--font-title); text-transform: uppercase; }
.prog-date { font-size: .62em; color: #e7e2da; margin-top: 4px; }
.prog-activity { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.prog-more { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.prog-promesse { color: #d6d0c6; font-size: .95rem; line-height: 1.45; }
.prog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; font-weight: 700; }
.prog-time { display: inline-flex; align-items: center; gap: .4em; color: #d6d0c6; }
.prog-time .icon { width: 16px; height: 16px; }
.prog-cta { display: inline-flex; align-items: center; gap: .4em; }
.prog-cta .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.prog-link:hover .prog-photo img, .prog-link:focus-visible .prog-photo img { transform: scale(1.06); filter: none; }
.prog-link:hover::after, .prog-link:focus-visible::after { transform: scaleX(1); }
.prog-link:hover .prog-cta .icon { transform: translateX(4px); }
/* Grand écran : accordéon, l'affiche survolée s'élargit et révèle sa promesse */
@media (min-width: 1100px) {
  .prog-acc { display: flex; gap: 12px; margin: 0; padding: 0; overflow: visible; height: 500px; }
  .prog-item { flex: 1 1 0; transition: flex-grow .6s var(--ease); }
  .prog-acc:not(:hover):not(:focus-within) .prog-item:nth-child(2), .prog-item:hover, .prog-item:focus-within { flex-grow: 2.4; }
  .prog-link { min-height: 0; }
  .prog-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s .1s; }
  .prog-acc:not(:hover):not(:focus-within) .prog-item:nth-child(2) .prog-more, .prog-item:hover .prog-more, .prog-item:focus-within .prog-more { max-height: 160px; opacity: 1; }
  .prog-activity { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prog-item:hover .prog-activity, .prog-item:focus-within .prog-activity, .prog-acc:not(:hover):not(:focus-within) .prog-item:nth-child(2) .prog-activity { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .prog-item, .prog-more, .prog-photo img, .prog-link::after { transition: none; } }
@media (min-width: 1100px) {
  .prog-acc:not(:hover):not(:focus-within) .prog-item:nth-child(2), .prog-item:hover, .prog-item:focus-within { flex-grow: 1.9; }
  .prog-body { padding: 20px 16px 22px; }
  .prog-day { font-size: 1.4rem; transition: font-size .4s var(--ease); }
  .prog-acc:not(:hover):not(:focus-within) .prog-item:nth-child(2) .prog-day, .prog-item:hover .prog-day, .prog-item:focus-within .prog-day { font-size: 2.3rem; }
  .prog-activity { font-size: .98rem; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) { .prog-day { transition: none; } }
.prog-badge { white-space: nowrap; }
@media (min-width: 1100px) {
  .prog-badge-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prog-acc:not(:hover):not(:focus-within) .prog-item:nth-child(2) .prog-badge-txt, .prog-item:hover .prog-badge-txt, .prog-item:focus-within .prog-badge-txt { position: static; width: auto; height: auto; clip-path: none; }
}

/* ==========================================================================
   Affiches graphiques (29.09) : plus aucune photo de stock. Aplats de la charte, trame de points,
   bande de pellicule, grande icône en filigrane. Variantes 1-5 (une par journée).
   ========================================================================== */
.art { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--art-bg); }
.art::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(255,255,255,.16) 1.1px, transparent 1.6px) 0 0 / 12px 12px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 55%); mask-image: linear-gradient(200deg, #000 0%, transparent 55%); }
.art::after { content: ""; position: absolute; inset: 0; background: var(--art-light); }
.art-film { position: absolute; left: 0; right: 0; top: 0; height: 22px; z-index: 1; background: #000;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 20px) center / 100% 8px no-repeat, linear-gradient(#000, #000) top / 100% 7px no-repeat, linear-gradient(#000, #000) bottom / 100% 7px no-repeat;
  mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 20px) center / 100% 8px no-repeat, linear-gradient(#000, #000) top / 100% 7px no-repeat, linear-gradient(#000, #000) bottom / 100% 7px no-repeat;
  opacity: .55; }
.art-icon { position: absolute; z-index: 1; right: -14%; top: 12%; width: 95%; height: auto; aspect-ratio: 1; color: var(--art-icon); transform: rotate(-14deg); transition: transform .8s var(--ease); }
.art-1 { --art-bg: linear-gradient(160deg, #d4002f 0%, #b50026 40%, #4a0010 100%); --art-light: radial-gradient(70% 50% at 80% 10%, rgba(255,255,255,.18), transparent 70%); --art-icon: rgba(255,255,255,.16); }
.art-2 { --art-bg: linear-gradient(180deg, #16060a 0%, #000 100%); --art-light: conic-gradient(from 160deg at 50% -10%, transparent 0deg, rgba(255,214,120,.22) 18deg, rgba(181,0,38,.25) 40deg, transparent 58deg); --art-icon: rgba(205,147,0,.3); }
.art-3 { --art-bg: linear-gradient(200deg, #6e0018 0%, #2a0009 70%, #120004 100%); --art-light: radial-gradient(80% 60% at 100% 0%, rgba(205,147,0,.35), transparent 65%); --art-icon: rgba(205,147,0,.28); }
.art-4 { --art-bg: linear-gradient(170deg, #cd9300 0%, #8a5f00 45%, #1e1300 100%); --art-light: radial-gradient(60% 40% at 20% 0%, rgba(255,255,255,.22), transparent 70%); --art-icon: rgba(0,0,0,.28); }
.art-5 { --art-bg: linear-gradient(150deg, #8f001e 0%, #5c0014 45%, #0d0003 100%); --art-light: radial-gradient(70% 55% at 90% 5%, rgba(181,0,38,.7), transparent 70%); --art-icon: rgba(255,255,255,.14); }
.art-2 .art-icon { top: 16%; }

/* Affiches (programme, pages) avec fond graphique : dégradé bas pour la lisibilité du texte */
.poster-link.has-art { background: #000; color: #fff; }
.poster-link.has-art::after { background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%); }
.poster-link.has-art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 0; background: var(--red); }
.poster-link.has-art .poster-icon { color: #fff; }
.poster-link.has-art:hover .art-icon, .prog-link:hover .art-icon, .prog-link:focus-visible .art-icon { transform: rotate(-6deg) scale(1.06); }

/* Accordéon de l'accueil */
.prog-link::before { background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 40%, transparent 70%); }
.prog-link .art { z-index: -2; }
@media (min-width: 1100px) { .prog-link .art-icon { width: 360px; right: -80px; top: 40px; } }

/* Mur de l'accueil : cartes graphiques avec un mot */
.wall-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; }
.wall-card .art { z-index: -1; }
.wall-word { position: relative; z-index: 2; padding: 0 12px 14px; font: 900 clamp(1rem, 2vw, 1.6rem)/1 var(--font-title); text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.poster-wall .wall-card { filter: saturate(.85) brightness(.75); }
@media (prefers-reduced-motion: reduce) { .art-icon { transition: none; } }

/* Mascotte en filigrane à la place des icônes (29.09) : silhouette teintée par variante, pose différente */
.art-icon { display: none; }
.art-mascot { position: absolute; z-index: 1; right: -12%; top: 10%; width: 85%; aspect-ratio: 78.46 / 109.13; background: var(--art-icon);
  -webkit-mask: url(/assets/brand/mascotte-blanc.svg) center / contain no-repeat; mask: url(/assets/brand/mascotte-blanc.svg) center / contain no-repeat;
  transform: rotate(-12deg); transition: transform .8s var(--ease); }
.art-2 .art-mascot { right: auto; left: 50%; top: 14%; width: 70%; transform: translateX(-50%) rotate(0deg); }
.art-3 .art-mascot { transform: scaleX(-1) rotate(-10deg); right: auto; left: -14%; }
.art-4 .art-mascot { top: 4%; transform: rotate(10deg); }
.art-5 .art-mascot { transform: scaleX(-1) rotate(8deg); }
.poster-link.has-art:hover .art-mascot, .prog-link:hover .art-mascot, .prog-link:focus-visible .art-mascot { translate: 0 -8px; }
@media (min-width: 1100px) { .prog-link .art-mascot { width: 300px; right: -60px; top: 50px; } .prog-link .art-2 .art-mascot { right: auto; } .prog-link .art-3 .art-mascot { right: auto; left: -60px; } }
@media (prefers-reduced-motion: reduce) { .art-mascot { transition: none; } }

/* Infos pratiques : bloc encore vide (29.09) */
.soon-badge { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .6rem; padding: .35em .8em; border-radius: 999px;
  background: rgba(181,0,38,.18); border: 1px solid rgba(181,0,38,.45); color: #fff; font-size: .82rem; font-weight: 700; }
.soon-badge .icon { width: 15px; height: 15px; }
.card.is-soon .h3-like { opacity: .85; }
.soon { display: inline-flex; align-items: center; gap: .4em; padding: .2em .7em; border-radius: 999px; background: rgba(181,0,38,.18); border: 1px solid rgba(181,0,38,.45);
  color: #fff; font-size: .85em; font-weight: 700; font-style: normal; letter-spacing: 0; text-transform: none; font-family: var(--font-text); white-space: nowrap; }
.time-tbd { display: block; font: 700 .8rem/1.2 var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: #b3b3b3; white-space: nowrap; }
.episode .soon, .episode-body .soon { margin-top: 2px; }
.soon { max-width: 100%; white-space: normal; } /* pastille « bientôt disponibles » : jamais plus large que sa colonne (390 px) */
.empty { padding: 48px 24px; border: 1px dashed rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.02); }
.empty p { margin: 0; max-width: 46ch; }
.empty-title { display: block; margin-bottom: .4rem; font: 900 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-title); text-transform: uppercase; color: #fff; }

/* ---- Listes déroulantes : même hauteur, marges et flèche partout (Safari iOS ignore sinon hauteur et padding) ---- */
.field select { -webkit-appearance: none; appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316140f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.theme-dark .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field select::-ms-expand { display: none; }

/* ---- Vente de vin : boutique (quantités, sans prix) ---- */
.shop-intro { display: flex; gap: .6em; align-items: flex-start; margin: 0 0 8px; max-width: 46rem; }
.shop-intro .icon { flex: none; margin-top: .2em; color: var(--gold); }
.shop .wine-group:first-of-type { margin-top: 28px; }
.shop-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.shop-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 20px; transition: border-color var(--dur), box-shadow var(--dur); }
.shop-item.is-chosen { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.shop-media { display: flex; align-items: flex-end; justify-content: center; height: 230px;
  border-radius: 10px; }
.shop-media img { width: auto; height: auto; max-width: 100%; max-height: 220px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); }
.shop-noimg { align-self: center; color: var(--gold); }
.shop-noimg .icon { width: 42px; height: 42px; }
.shop-body { display: flex; flex-direction: column; min-width: 0; }
.shop-body .wine-meta { margin-bottom: 8px; }
.shop-text { font-size: .94rem; margin-bottom: 10px; }
.shop-body > .qty { margin-top: auto; }
.qty { display: inline-flex; align-items: center; align-self: flex-start; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.qty-btn { width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: var(--white); font: 700 1.45rem/1 var(--font-text);
  cursor: pointer; touch-action: manipulation; transition: background-color var(--dur), transform var(--dur); }
@media (hover: hover) { .qty-btn:hover { background: rgba(255, 255, 255, .1); } }   /* pas de survol « collant » au toucher */
.qty-btn:active { transform: scale(.92); }
.qty-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.qty-input { width: 3em; height: 46px; border: 0; background: transparent; color: var(--white); text-align: center; font: 800 1.1rem/1 var(--font-text);
  -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: 2px solid var(--gold); border-radius: 6px; }
.shop-variants { list-style: none; margin: 0; padding: 0; }
.shop-variants li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .94rem; }
.shop-lines { list-style: none; margin: 8px 0 0; padding: 0; }
.shop-lines li { padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.shop-total { margin: 12px 0; font-weight: 800; }
.shop-empty { margin: 8px 0 14px; }
.shop-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 560px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px;
  background: #111; border: 1px solid #2c2820; border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); }
.shop-bar[hidden] { display: none; }
.shop-bar p { flex: 1; min-width: 0; margin: 0; font-size: .95rem; line-height: 1.25; }
.shop-bar .btn { flex: none; }
.shop-bar .btn { min-height: 46px; padding-inline: 1.2em; }
@media (prefers-reduced-motion: no-preference) { .shop-bar { animation: shop-bar-in .3s var(--ease) both; } }
@keyframes shop-bar-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 359px) { .shop-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 16px; } .qty-btn { width: 42px; height: 42px; } .qty-input { width: 2.6em; height: 42px; } }
.shop-price { margin: 4px 0 12px; font: 900 1.35rem/1.1 var(--font-title); color: var(--white); }
.shop-price span { font: 600 .85rem/1 var(--font-text); color: #d6d0c6; text-transform: none; }
.shop-variants li > span { display: flex; flex-direction: column; }
.shop-variants small { font-weight: 800; color: var(--white); }
.shop-lines li { display: flex; justify-content: space-between; gap: 12px; }
.shop-lines li span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.form-row-npa { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.shop-bar b { white-space: nowrap; }

/* Cartes des vins plus larges (Stéphane, 02.10.2026) : texte sur toute la largeur sur mobile, bouteille au-dessus ;
   2 cartes par ligne sur ordinateur, bouteille plus grande ; prix et quantité sur une même ligne. */
.shop-item { grid-template-columns: 130px minmax(0, 1fr); gap: 26px; padding: 26px 28px; }
.shop-media { height: 260px; }
.shop-media img { max-height: 250px; }
.shop-text { font-size: 1rem; line-height: 1.6; max-width: 46ch; }
.shop-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.shop-buy .shop-price { margin: 0; }
.shop-buy .qty { margin: 0; }
@media (max-width: 599px) {
  .shop-item { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .shop-media { height: 210px; }
  .shop-media img { max-height: 200px; }
}
@media (max-width: 359px) { .shop-item { grid-template-columns: minmax(0, 1fr); } .shop-buy { justify-content: center; } }
.shop-body .small { display: flex; align-items: flex-start; gap: .45em; }
.shop-body .small .icon { flex: none; margin-top: .2em; }
/* Comité d'organisation (page contact) */
.comite { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.comite-carte { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.comite-role { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.comite-nom { margin: 0 0 8px; font: 900 1.2rem/1.2 var(--font-title); text-transform: uppercase; }
.comite-carte .link-arrow { font-size: .9rem; overflow-wrap: normal; }
.comite-carte .link-arrow span { overflow-wrap: normal; word-break: normal; }
.wine-sirop, .theme-dark .wine-sirop { background: var(--gold); color: var(--black); }
.shop-item.shop-item-texte { grid-template-columns: minmax(0, 1fr); }
/* Crédits du pied de page : Forge16 | Bovel Studio (exception à la signature Forge16 seule, Stéphane, 02.10.2026) */
.credits { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.credits-sep { color: var(--text-3); opacity: .6; }
.bovel-credit { display: inline-flex; align-items: center; color: var(--text-3) !important; }
.bovel-logo { display: block; width: 92px; height: 12px; background-color: currentColor;
  -webkit-mask: url("/assets/brand/bovel-studio-blanc.png") center / contain no-repeat; mask: url("/assets/brand/bovel-studio-blanc.png") center / contain no-repeat; }
/* Étapes des bénévoles (accueil) : frise lisible, chiffre aligné sur le texte (02.10.2026) */
.benev-etapes li { align-items: center; line-height: 1.3; font-weight: 600; }
.benev-etapes li span { min-width: 0; }
@media (min-width: 700px) {
  .benev-etapes { position: relative; gap: 18px; }
  .benev-etapes::before { content: ""; position: absolute; top: 16px; left: 16px; right: calc(33.333% - 16px); height: 2px; background: rgba(255, 255, 255, .35); }
  .benev-etapes li { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; }
}
