/* =====================================================================
   POLYPHONIE SAVANTE — Système de design public
   Élégance · Clarté · Humanité
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --ink: #0F1B2D;          /* texte principal — bleu nuit */
    --navy: #142B5C;         /* bleu institutionnel */
    --navy-2: #1E3A7B;
    --navy-deep: #0B1630;
    --gold: #B8892F;         /* or — accents */
    --gold-text: #8E6517;    /* or lisible sur fond clair (AA) */
    --gold-bright: #D4AF5A;  /* or sur fond sombre */
    --champagne: #E9D7A5;
    --ivory: #FAF6EE;
    --sand: #F2EBDC;
    --paper: #FFFFFF;
    --line: #E6DECD;
    --line-soft: #EFE9DC;
    --muted: #5C6577;
    --terracotta: #B4532A;
    --success: #1F7A4D;
    --danger: #B42318;
    --warning: #B26B00;

    --night: #09090B;        /* univers Gala */
    --night-2: #131316;
    --night-3: #1C1C21;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .06);
    --shadow: 0 10px 30px -12px rgba(15, 27, 45, .22);
    --shadow-lg: 0 30px 60px -20px rgba(15, 27, 45, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1240px;
    --header-h: 76px;

    --staff: none;           /* ancien motif de lignes horizontales : supprimé, fonds unis */
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy-2); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
::selection { background: var(--champagne); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.ico { width: 18px; height: 18px; stroke-width: 1.8; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.ico-sm { width: 14px; height: 14px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: .74rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-bright); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---------- 3. Boutons ---------- */
.btn {
    --bg: var(--navy); --fg: #fff; --bd: var(--navy);
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd);
    background: var(--bg); color: var(--fg); font-weight: 700; font-size: .92rem;
    letter-spacing: .01em; line-height: 1.2; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--navy); --bd: var(--navy); }
.btn-primary:hover { --bg: var(--navy-2); --bd: var(--navy-2); }
.btn-gold { --bg: var(--gold-bright); --fg: var(--ink); --bd: var(--gold-bright); }
.btn-gold:hover { --bg: var(--champagne); --bd: var(--champagne); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: rgba(15, 27, 45, .25); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-gala { --bg: var(--night); --fg: var(--gold-bright); --bd: var(--night); padding: 10px 18px; }
.btn-gala:hover, .btn-gala.active { --bg: var(--gold-bright); --fg: var(--night); --bd: var(--gold-bright); }
.btn-sm { padding: 8px 15px; font-size: .82rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

.icon-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border-radius: 50%; border: 0; background: transparent; color: inherit;
    transition: background .2s;
}
.icon-btn:hover { background: rgba(15, 27, 45, .07); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: color-mix(in srgb, var(--c, var(--gold)) 14%, white); color: color-mix(in srgb, var(--c, var(--gold)) 75%, black);
}
.chip--dark { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); }

/* ---------- 4. Barre supérieure ---------- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .78); font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar__tagline { margin: 0; display: flex; align-items: center; gap: 8px; font-style: italic; font-family: var(--font-display); font-size: 1rem; }
.topbar__tagline .ico { color: var(--gold-bright); width: 15px; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__right a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .82); }
.topbar__right a:hover { color: var(--gold-bright); }
.topbar__right .ico { width: 15px; height: 15px; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.topbar__cta { white-space: nowrap; padding: 4px 12px; border: 1px solid rgba(212, 175, 90, .55); border-radius: 999px; color: var(--gold-bright) !important; }

/* ---------- 5. En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 246, 238, .88);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 27, 45, .5); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 42px; height: 42px; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.brand__sub { font-size: .66rem; font-weight: 800; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-text); margin-top: 3px; padding-left: 2px; }
.brand--light { color: #fff; }
.brand--light .brand__sub { color: var(--gold-bright); }

.main-nav { flex: 1; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.main-nav__list > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 13px; font-size: .9rem; font-weight: 600; color: var(--ink); border-radius: 8px;
}
.main-nav__list > li > a::after {
    content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav__list > li > a:hover::after, .main-nav__list > li > a.active::after { transform: scaleX(1); }
.main-nav__list > li > a.active { color: var(--navy); }
.main-nav__mobile-only { display: none; }

/* Méga-menu */
.has-mega { position: static; }
.mega {
    position: absolute; left: 50%; top: calc(var(--header-h) - 6px); transform: translate(-50%, 10px);
    width: min(980px, calc(100vw - 48px)); display: grid; grid-template-columns: 260px 1fr; gap: 32px;
    padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .28s var(--ease);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__intro { padding-right: 24px; border-right: 1px solid var(--line-soft); }
.mega__title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; margin: 10px 0 18px; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mega__grid a { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; transition: background .2s; }
.mega__grid a:hover { background: var(--ivory); color: var(--ink); }
.mega__grid strong { display: block; font-size: .92rem; }
.mega__grid small { color: var(--muted); font-size: .78rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }

.site-header__actions { display: flex; align-items: center; gap: 6px; }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 12px 0 0; max-width: 18ch; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 52ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 22ch; }
.title-accent em { color: var(--gold-text); font-style: italic; }

/* ---------- 7. Hero / carrousel ---------- */
.hero { position: relative; height: min(86vh, 760px); min-height: 560px; overflow: hidden; background: var(--navy-deep); color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: -4%; background-size: cover; background-position: center; transform: scale(1.06); }
.hero__slide.is-active .hero__bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.hero__bg::before { content: ''; position: absolute; inset: 0; background: var(--staff); opacity: .9; }
.hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(212, 175, 90, .28), transparent 60%),
        linear-gradient(90deg, rgba(9, 18, 40, .92) 0%, rgba(9, 18, 40, .55) 55%, rgba(9, 18, 40, .25) 100%);
}
.hero__art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: min(40vw, 520px); opacity: .9; pointer-events: none; }
.hero__art circle { fill: none; stroke: var(--gold-bright); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__content { max-width: 640px; }
.hero__content .chip { margin-bottom: 22px; }
.hero h1, .hero__title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin-bottom: 18px; color: #fff; }
.hero__title em { color: var(--gold-bright); }
.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 54ch; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__slide.is-active .hero__content > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; }
.hero__nav .container { display: flex; align-items: center; gap: 20px; }
.hero__tabs { display: flex; gap: 10px; flex: 1; }
.hero__tab {
    flex: 1; max-width: 240px; text-align: left; background: none; border: 0; color: rgba(255, 255, 255, .6);
    padding: 12px 0 0; border-top: 2px solid rgba(255, 255, 255, .2); position: relative; font-size: .8rem; font-weight: 600;
}
.hero__tab span { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--gold-bright); }
.hero__tab.is-active { color: #fff; }
.hero__tab.is-active span { animation: tabfill 7s linear forwards; }
@keyframes tabfill { to { width: 100%; } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows .icon-btn { color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.hero__arrows .icon-btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- 8. Traditions / régions ---------- */
.regions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.region {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
    min-height: 230px; padding: 22px; border-radius: var(--radius); color: #fff; isolation: isolate;
    background: linear-gradient(160deg, var(--c) 0%, color-mix(in srgb, var(--c) 45%, #0B1630) 100%);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.region::before { content: ''; position: absolute; inset: 0; background: var(--staff); z-index: -1; }
.region::after {
    content: ''; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -60px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 22px rgba(255, 255, 255, .05), 0 0 0 44px rgba(255, 255, 255, .03);
    z-index: -1; transition: transform .6s var(--ease);
}
.region:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.region:hover::after { transform: scale(1.25); }
.region__count { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.region__name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; margin: 0 0 8px; }
.region__desc { font-size: .8rem; line-height: 1.45; opacity: .82; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 9. Cartes ---------- */
.cover {
    position: relative; overflow: hidden; background-color: var(--navy); background-size: cover; background-position: center;
    aspect-ratio: 16 / 10; border-radius: var(--radius);
}
.cover::before { content: ''; position: absolute; inset: 0; background: var(--staff); opacity: .8; }
.cover--img::before { display: none; }
.cover__mark {
    position: absolute; right: 16px; bottom: 12px; font-family: var(--font-display); font-style: italic;
    font-size: 4rem; line-height: 1; color: rgba(255, 255, 255, .16); pointer-events: none;
}
.cover > .chip { position: absolute; left: 14px; top: 14px; z-index: 1; }

.card { display: flex; flex-direction: column; gap: 14px; }
.card .cover { transition: transform .6s var(--ease), box-shadow .4s; }
.card:hover .cover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); font-weight: 600; }
.card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.card__title { font-size: 1.45rem; margin: 0; line-height: 1.15; }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__excerpt { color: var(--muted); font-size: .94rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Magazine : une + liste */
.mag { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; }
.mag__lead .cover { aspect-ratio: 4 / 3; }
.mag__lead .card__title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.mag__list { display: flex; flex-direction: column; }
.mag__item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mag__item:first-child { padding-top: 0; }
.mag__item .cover { aspect-ratio: 1; border-radius: 10px; }
.mag__item .card__title { font-size: 1.2rem; }
.mag__item .cover__mark { font-size: 2.4rem; right: 8px; bottom: 4px; }

/* ---------- 10. Podcast ---------- */
.podcast-feature {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
    padding: 44px; border-radius: var(--radius-lg); color: #fff;
    background: radial-gradient(80% 120% at 100% 0%, rgba(212, 175, 90, .22), transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.podcast-feature::before { content: ''; position: absolute; inset: 0; background: var(--staff); pointer-events: none; }
.podcast-feature > * { position: relative; }
.podcast-feature .cover { aspect-ratio: 1; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.podcast-feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: #fff; margin: 14px 0 12px; }
.podcast-feature p { color: rgba(255, 255, 255, .75); }
.podcast-feature--plain { background: none; padding: 30px 0 0; grid-template-columns: 260px 1fr; overflow: visible; }
.podcast-feature--plain::before { display: none; }
.podcast-feature__guest { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--champagne); margin-bottom: 22px; }

.wave { display: flex; align-items: center; gap: 3px; height: 54px; margin: 6px 0 24px; }
.wave span { flex: 1; max-width: 5px; border-radius: 3px; background: rgba(255, 255, 255, .28); height: var(--h); transition: background .3s; }
.wave.is-playing span { background: var(--gold-bright); animation: bounce 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes bounce { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

.play-btn {
    display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    border: 0; background: var(--gold-bright); color: var(--ink); box-shadow: 0 0 0 0 rgba(212, 175, 90, .5);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.play-btn:hover { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(212, 175, 90, .18); }
.play-btn .ico { width: 22px; height: 22px; fill: currentColor; }
.play-btn--sm { width: 42px; height: 42px; }
.play-btn--sm .ico { width: 16px; height: 16px; }

.episodes { display: flex; flex-direction: column; }
.episode {
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
    padding: 18px 20px; border-radius: var(--radius); transition: background .2s;
}
.episode + .episode { border-top: 1px solid var(--line); }
.episode:hover { background: var(--paper); }
.episode.is-current { background: var(--paper); box-shadow: inset 3px 0 0 var(--gold); }
.episode__num { font-family: var(--font-display); font-size: .95rem; color: var(--gold-text); font-weight: 700; }
.episode__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 0; line-height: 1.2; }
.episode__meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.episode__meta span { display: inline-flex; align-items: center; gap: 5px; }
.episode__meta .ico { width: 14px; height: 14px; }

/* ---------- 11. Rails (carrousels horizontaux) ---------- */
.rail-wrap { position: relative; }
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px;
    scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav .icon-btn { border: 1px solid var(--line); background: var(--paper); }
.rail-nav .icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-nav .icon-btn[disabled] { opacity: .35; pointer-events: none; }

.video-card { display: flex; flex-direction: column; gap: 12px; }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy) center / cover; }
.video-card__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65)); transition: background .3s; }
.video-card__play {
    position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9);
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .92); color: var(--ink); transition: transform .35s var(--ease), background .3s;
}
.video-card__play .ico { fill: currentColor; margin-left: 3px; }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.05); background: var(--gold-bright); }
.video-card__dur { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .75rem; font-weight: 700; }
.video-card__cat { position: absolute; z-index: 1; left: 10px; top: 10px; }
.video-card h3 { font-size: 1.2rem; margin: 0; }

/* ---------- 12. Bande Gala (noir & or) ---------- */
.gala-band {
    position: relative; overflow: hidden; color: #fff; background: var(--night);
    padding: clamp(70px, 9vw, 120px) 0;
}
.gala-band::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(40% 60% at 15% 0%, rgba(212, 175, 90, .22), transparent 70%),
        radial-gradient(35% 50% at 90% 100%, rgba(212, 175, 90, .16), transparent 70%);
}
.gala-band::after {
    content: ''; position: absolute; inset: 0; opacity: .5;
    background-image: radial-gradient(rgba(233, 215, 165, .5) 1px, transparent 1.5px);
    background-size: 46px 46px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.gala-band > .container { position: relative; z-index: 1; }
.gala-band__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.gala-band h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.gala-band h2 em { color: var(--gold-bright); }
.gala-band p { color: rgba(255, 255, 255, .72); }
.gold-text {
    background: linear-gradient(100deg, #9C7A2E 0%, #E9D7A5 30%, #C9A24B 55%, #F5E7BF 75%, #A8822F 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trophy-line { display: flex; align-items: center; gap: 14px; color: var(--gold-bright); margin-bottom: 18px; }
.trophy-line::before, .trophy-line::after { content: ''; height: 1px; flex: 0 0 40px; background: linear-gradient(90deg, transparent, var(--gold-bright)); }
.trophy-line::after { transform: scaleX(-1); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0; max-width: 460px; }
.countdown__cell { text-align: center; padding: 18px 8px; border: 1px solid rgba(212, 175, 90, .3); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.countdown__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; line-height: 1; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.countdown__lbl { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

.award-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.award-list li {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, transform .3s var(--ease);
}
.award-list li:hover { border-color: rgba(212, 175, 90, .55); transform: translateX(6px); }
.award-list__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(212, 175, 90, .14); color: var(--gold-bright); flex-shrink: 0; }
.award-list strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.award-list small { color: rgba(255, 255, 255, .55); font-size: .8rem; }

/* ---------- 13. Agenda ---------- */
.events { display: grid; gap: 14px; }
.event-row {
    display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center;
    padding: 20px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.event-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.datebox { text-align: center; padding: 12px 6px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); line-height: 1; }
.datebox__day { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--navy); }
.datebox__month { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 4px; }
.datebox__year { display: block; font-size: .7rem; color: var(--muted); margin-top: 4px; }
.event-row h3 { font-size: 1.35rem; margin: 6px 0 6px; }
.event-row__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.event-row__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-row__meta .ico { width: 15px; height: 15px; }
.event-row__go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: all .3s; }
.event-row:hover .event-row__go { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-45deg); }
.event-row.is-past { opacity: .78; }

/* ---------- 14. Bibliothèque ---------- */
.lib-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lib-type {
    display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius);
    background: var(--paper); border: 1px solid var(--line-soft); transition: all .35s var(--ease);
}
.lib-type:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); border-color: transparent; }
.lib-type.is-active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.lib-type__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ivory); color: var(--navy); }
.lib-type__ico .ico { width: 24px; height: 24px; }
.lib-type strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.lib-type small { color: var(--muted); }

.resource {
    display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
    padding: 20px 24px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.resource__ico { width: 64px; height: 76px; border-radius: 8px 18px 8px 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--navy-2), var(--navy-deep)); position: relative; }
.resource__ico::after { content: ''; position: absolute; right: 0; top: 0; width: 16px; height: 16px; background: linear-gradient(225deg, var(--ivory) 50%, rgba(255, 255, 255, .25) 50%); border-radius: 0 0 0 4px; }
.resource h3 { font-size: 1.25rem; margin: 0 0 4px; }
.resource p { margin: 0; color: var(--muted); font-size: .9rem; }
.resource__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* ---------- 15. Statistiques ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat__lbl { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }

/* ---------- 16. Valeurs / mission ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.value__num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--sand); font-weight: 700; position: absolute; right: 18px; top: 10px; }
.value__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); margin-bottom: 20px; }
.value h3 { font-size: 1.35rem; margin-bottom: 8px; position: relative; }
.value p { color: var(--muted); font-size: .92rem; margin: 0; }

.quote-band { position: relative; padding: clamp(60px, 8vw, 100px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; font-style: italic; }
.quote-band blockquote::before { content: '“'; display: block; font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: 20px; }
.quote-band cite { display: block; margin-top: 20px; font-style: normal; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 700; }

/* ---------- 17. Partenaires (défilement) ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-pill {
    display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px;
    background: var(--paper); border: 1px solid var(--line); white-space: nowrap; font-weight: 700; font-size: .92rem;
}
.partner-pill img { height: 28px; width: auto; }
.partner-pill__ini { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); font-family: var(--font-display); font-size: 1rem; }

/* ---------- 18. Newsletter & pied de page ---------- */
.newsletter { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; inset: 0; background: var(--staff); }
.newsletter__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 70px 24px; }
.newsletter__title { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 12px 0; }
.newsletter__title em { color: var(--gold-bright); }
.newsletter p { color: rgba(255, 255, 255, .72); margin: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.newsletter__form input[type=email] { flex: 1; min-width: 180px; padding: 12px 18px; border: 0; background: transparent; color: #fff; outline: none; }
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter__form .form-feedback { flex-basis: 100%; margin: 0; padding: 0 18px; font-size: .86rem; }
.newsletter__form .form-feedback:empty { display: none; }

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 70px 0 28px; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer h3 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 18px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .link-arrow { color: var(--gold-bright); }
.site-footer__slogan { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: #fff; margin: 22px 0; max-width: 34ch; line-height: 1.35; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .ico { color: var(--gold-bright); margin-top: 3px; width: 16px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transition: all .3s; }
.socials a:hover { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- 19. Lecteur audio persistant ---------- */
.player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; color: #fff;
    background: rgba(11, 22, 48, .97); backdrop-filter: blur(14px); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3);
    transform: translateY(100%); transition: transform .45s var(--ease);
}
.player.is-open { transform: none; }
.player__progress { height: 4px; background: rgba(255, 255, 255, .12); cursor: pointer; position: relative; }
.player__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold-bright); }
.player__inner { display: flex; align-items: center; gap: 16px; height: 74px; }
.player__cover { width: 48px; height: 48px; border-radius: 10px; background: var(--navy-2) center / cover; flex-shrink: 0; }
.player__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.player__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; }
.player__title { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 4px; }
.player .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.player__play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold-bright); color: var(--ink); display: grid; place-items: center; }
.player__play .ico { fill: currentColor; }
.player__time { font-size: .8rem; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; min-width: 92px; text-align: right; }
#playerRate { font-size: .8rem; font-weight: 800; }
body.has-player { padding-bottom: 78px; }

/* ---------- 20. Recherche plein écran ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(11, 22, 48, .96); backdrop-filter: blur(10px); color: #fff; animation: fade .3s var(--ease); }
.search-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.search-overlay__close { position: absolute; top: 24px; right: 24px; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.search-overlay__form { width: min(820px, 100%); }
.search-overlay input {
    width: 100%; margin: 20px 0 26px; padding: 12px 0; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .3);
    background: transparent; color: #fff; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); outline: none;
}
.search-overlay input:focus { border-color: var(--gold-bright); }
.search-overlay__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.search-overlay__tags a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-size: .88rem; }
.search-overlay__tags a:hover { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }

/* ---------- 21. Toasts ---------- */
.toasts { position: fixed; top: 92px; right: 20px; z-index: 120; display: grid; gap: 10px; width: min(400px, calc(100vw - 40px)); }
.toast {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper);
    box-shadow: var(--shadow-lg); border-left: 4px solid var(--navy); font-size: .92rem; animation: toastIn .45s var(--ease);
}
.toast--success { border-color: var(--success); } .toast--success .ico { color: var(--success); }
.toast--error { border-color: var(--danger); } .toast--error .ico { color: var(--danger); }
.toast--warning { border-color: var(--warning); } .toast--warning .ico { color: var(--warning); }
.toast span { flex: 1; }
.toast__close { border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); padding: 0 2px; }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- 22. En-tête de page intérieure ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 70px); background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after {
    content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
    border: 1px solid var(--line); box-shadow: 0 0 0 40px rgba(184, 137, 47, .04), 0 0 0 80px rgba(184, 137, 47, .03);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 16px 0 14px; max-width: 18ch; }
.page-hero h1 em { color: var(--gold-text); }
.page-hero--dark { background: var(--navy-deep); color: #fff; border: 0; }
.page-hero--dark::before { content: ''; position: absolute; inset: 0; background: var(--staff); }
.page-hero--dark::after { border-color: rgba(255, 255, 255, .1); }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark h1 em { color: var(--gold-bright); }
.page-hero--dark .lead { color: rgba(255, 255, 255, .75); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb .ico { width: 13px; height: 13px; }
.page-hero--dark .breadcrumb { color: rgba(255, 255, 255, .6); }

/* Filtres en pastilles */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.filter {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600;
    border: 1px solid var(--line); background: var(--paper); transition: all .2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter small { opacity: .65; font-weight: 700; }

.layout-aside { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.aside-box { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); }
.aside-box + .aside-box { margin-top: 20px; }
.aside-box h3 { font-size: 1.3rem; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.rank li::before { content: counter(r, decimal-leading-zero); font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-text); font-weight: 700; line-height: 1.2; }
.rank a { font-weight: 600; font-size: .92rem; line-height: 1.35; }

.search-inline { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search-inline input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 14px; background: transparent; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: .9rem; }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

.empty { text-align: center; padding: 70px 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.empty .ico { width: 42px; height: 42px; color: var(--gold); margin: 0 auto 16px; }
.empty h3 { margin-bottom: 6px; }

/* ---------- 23. Article ---------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); z-index: 70; }
.article-hero { padding: clamp(48px, 7vw, 90px) 0 0; text-align: center; }
.article-hero h1 { max-width: 22ch; margin: 20px auto 18px; font-size: clamp(2.3rem, 5vw, 4rem); }
.article-hero .lead { margin: 0 auto 28px; text-align: center; }
.article-hero__meta { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { max-width: 1100px; margin: 44px auto 0; aspect-ratio: 21 / 9; border-radius: var(--radius-lg); }
.article-body { display: grid; grid-template-columns: 80px minmax(0, 720px) 1fr; gap: 40px; justify-content: center; padding: 60px 0 40px; }
.share { position: sticky; top: calc(var(--header-h) + 30px); display: flex; flex-direction: column; gap: 10px; align-items: center; align-self: start; }
.share span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 800; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.prose { font-size: 1.12rem; line-height: 1.85; }
.prose > p:first-of-type::first-letter { float: left; font-family: var(--font-display); font-size: 4.6rem; line-height: .82; padding: 6px 12px 0 0; color: var(--navy); font-weight: 700; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.55rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-size: 1.6rem; font-style: italic; line-height: 1.35; color: var(--navy); }
.prose img, .prose iframe { border-radius: var(--radius); margin: 2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }

.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); margin-top: 40px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; flex-shrink: 0; background-size: cover; }

.comments { max-width: 720px; margin: 0 auto; padding: 40px 0 0; }
.comment { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.comment .avatar { width: 44px; height: 44px; font-size: 1.15rem; }
.comment__head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.comment__head small { color: var(--muted); }
.comment p { margin: 0; white-space: pre-line; }

/* ---------- 24. Formulaires ---------- */
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field textarea, .field select {
    width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ivory);
    color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .input:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(20, 43, 92, .1); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .8rem; font-weight: 600; }
.field__help { color: var(--muted); font-size: .8rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.input-icon { position: relative; }
.input-icon .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 44px !important; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 8px; }
.pw-meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); }
.contact-card + .contact-card { margin-top: 14px; }
.contact-card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); flex-shrink: 0; }
.contact-card strong { display: block; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- 25. Auth (écran scindé) ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth__visual {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
    padding: 48px; color: #fff; background: radial-gradient(70% 60% at 80% 20%, rgba(212, 175, 90, .25), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.auth__visual::before { content: ''; position: absolute; inset: 0; background: var(--staff); }
.auth__visual > * { position: relative; }
.auth__quote { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.2; font-style: italic; max-width: 18ch; }
.auth__quote em { color: var(--gold-bright); }
.auth__perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.auth__perks li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .8); }
.auth__perks .ico { color: var(--gold-bright); }
.auth__form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--ivory); }
.auth__box { width: min(440px, 100%); }
.auth__box h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 14px 0 8px; }
.auth__box form { display: grid; gap: 18px; margin-top: 30px; }
.auth__alt { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 24px; }
.auth__alt a { color: var(--navy); font-weight: 700; }
.demo-accounts { margin-top: 26px; padding: 16px 18px; border-radius: 12px; background: var(--sand); font-size: .82rem; color: var(--muted); }
.demo-accounts code { color: var(--ink); font-weight: 700; }

/* ---------- 26. Espace membre ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.tab { padding: 14px 18px; border: 0; background: none; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tab.is-active { color: var(--ink); border-color: var(--gold); }
.tab-panel[hidden] { display: none; }
.profile-head { display: flex; gap: 22px; align-items: center; }
.profile-head .avatar { width: 84px; height: 84px; font-size: 2.2rem; }

.table-simple { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-simple th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line); }
.table-simple td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); }

/* =====================================================================
   27. UNIVERS GALA (body.theme-gala) — noir & or
   ===================================================================== */
.theme-gala { background: var(--night); color: rgba(255, 255, 255, .86); }
.theme-gala .site-header { background: rgba(9, 9, 11, .82); }
.theme-gala .site-header.is-scrolled { border-color: rgba(255, 255, 255, .08); }
.theme-gala .brand { color: #fff; }
.theme-gala .brand__sub { color: var(--gold-bright); }
.theme-gala .main-nav__list > li > a { color: rgba(255, 255, 255, .85); }
.theme-gala .main-nav__list > li > a.active, .theme-gala .main-nav__list > li > a:hover { color: #fff; }
.theme-gala .icon-btn { color: #fff; }
.theme-gala .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.theme-gala .btn-gala { --bg: var(--gold-bright); --fg: var(--night); --bd: var(--gold-bright); }
.theme-gala h1, .theme-gala h2, .theme-gala h3 { color: #fff; }
.theme-gala .muted { color: rgba(255, 255, 255, .55); }

.gala-hero { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); text-align: center; }
.gala-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        conic-gradient(from 200deg at 50% -10%, transparent 0deg, rgba(212, 175, 90, .2) 20deg, transparent 40deg, transparent 320deg, rgba(212, 175, 90, .2) 340deg, transparent 360deg),
        radial-gradient(50% 60% at 50% 0%, rgba(212, 175, 90, .25), transparent 70%);
}
.gala-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(233, 215, 165, .45) 1px, transparent 1.5px); background-size: 38px 38px; mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent); }
.gala-hero > .container { position: relative; z-index: 1; }
.gala-hero .trophy-line { justify-content: center; }
.gala-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 16ch; margin: 0 auto 20px; }
.gala-hero .lead { color: rgba(255, 255, 255, .72); margin: 0 auto; text-align: center; }
.gala-hero .countdown { margin: 40px auto; }
.gala-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(212, 175, 90, .45); color: var(--gold-bright); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gala-status .pulse { width: 8px; height: 8px; border-radius: 50%; background: #3BD67F; box-shadow: 0 0 0 0 rgba(59, 214, 127, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59, 214, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 214, 127, 0); } }

.gala-tabs { position: sticky; top: var(--header-h); z-index: 20; background: rgba(9, 9, 11, .9); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.gala-tabs .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.gala-tabs a { padding: 18px 16px; white-space: nowrap; font-size: .86rem; font-weight: 700; color: rgba(255, 255, 255, .6); border-bottom: 2px solid transparent; }
.gala-tabs a:hover, .gala-tabs a.is-active { color: var(--gold-bright); border-color: var(--gold-bright); }

.award-cat { padding: 80px 0 20px; scroll-margin-top: calc(var(--header-h) + 60px); }
.award-cat__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.award-cat__head h2 { margin: 10px 0 6px; }
.award-cat__head p { margin: 0; color: rgba(255, 255, 255, .6); }
.award-cat__votes { font-size: .84rem; color: rgba(255, 255, 255, .55); }
.award-cat__votes strong { color: var(--gold-bright); font-size: 1.1rem; }

.nominees { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.nominee {
    position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(180deg, var(--night-3), var(--night-2)); border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.nominee:hover { transform: translateY(-6px); border-color: rgba(212, 175, 90, .5); box-shadow: 0 30px 60px -30px rgba(212, 175, 90, .35); }
.nominee.is-voted { border-color: var(--gold-bright); box-shadow: 0 0 0 1px var(--gold-bright), 0 30px 60px -30px rgba(212, 175, 90, .5); }
.nominee.is-winner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #F5E7BF, #9C7A2E, #E9D7A5); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.nominee__img { position: relative; aspect-ratio: 4 / 3.4; background-size: cover; background-position: center; }
.nominee__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--night-2)); }
.nominee__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 4.4rem; font-weight: 600; color: rgba(255, 255, 255, .25); z-index: 1; }
.nominee__badge { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--gold-bright); color: var(--night); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nominee__body { padding: 4px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nominee__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: #fff; margin: 0; line-height: 1.1; }
.nominee__work { font-size: .82rem; color: var(--gold-bright); font-weight: 600; font-style: italic; }
.nominee__desc { font-size: .86rem; color: rgba(255, 255, 255, .6); margin: 0; flex: 1; }
.nominee__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 8px; }
.nominee__bar span { display: block; height: 100%; background: linear-gradient(90deg, #9C7A2E, var(--gold-bright)); width: 0; transition: width 1.2s var(--ease); }
.nominee__stats { display: flex; justify-content: space-between; font-size: .76rem; color: rgba(255, 255, 255, .5); }
.nominee__actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-vote { --bg: transparent; --fg: var(--gold-bright); --bd: rgba(212, 175, 90, .6); flex: 1; }
.btn-vote:hover { --bg: var(--gold-bright); --fg: var(--night); --bd: var(--gold-bright); }
.btn-vote.is-voted { --bg: var(--gold-bright); --fg: var(--night); --bd: var(--gold-bright); pointer-events: none; }
.nominee .icon-btn { border: 1px solid rgba(255, 255, 255, .15); color: #fff; }

.archives { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.archives a { padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); font-weight: 700; }
.archives a.is-active, .archives a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.gala-cta { text-align: center; padding: 70px 24px; border-radius: var(--radius-lg); border: 1px solid rgba(212, 175, 90, .3); background: radial-gradient(60% 100% at 50% 0%, rgba(212, 175, 90, .15), transparent 70%); }
.theme-gala .newsletter { background: var(--night-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.theme-gala .site-footer { background: #050506; }

/* Modale (connexion requise pour voter) */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); animation: fade .25s; }
.modal[hidden] { display: none; }
.modal__box { width: min(440px, 100%); padding: 36px; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); text-align: center; box-shadow: var(--shadow-lg); animation: rise .4s var(--ease); }
.modal__box h3 { color: var(--ink); font-size: 1.8rem; }
.modal__box .ico-xl { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--gold-text); }
.modal__actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* Lecture vidéo */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__poster { position: absolute; inset: 0; background-size: cover; background-position: center; display: grid; place-items: center; cursor: pointer; border: 0; width: 100%; }
.video-frame__poster::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.video-frame__poster .video-card__play { width: 88px; height: 88px; }

/* 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.error-page__code { font-family: var(--font-display); font-size: clamp(7rem, 20vw, 13rem); line-height: .9; font-weight: 700; }

/* ---------- 28. Révélation au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }

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

/* =====================================================================
   29. RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
    .main-nav__list > li > a { padding: 10px 9px; font-size: .86rem; }
    .regions { grid-template-columns: repeat(3, 1fr); }
    .rail { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
    .lib-types { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .burger { display: inline-flex; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; z-index: 49; overflow-y: auto;
        background: var(--ivory); padding: 20px 24px 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    }
    .main-nav.is-open { transform: none; }
    .site-header.is-scrolled .main-nav, .topbar-hidden .main-nav { inset-block-start: var(--header-h); }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav__list > li > a { font-family: var(--font-display); font-size: 1.7rem; padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
    .main-nav__list > li > a::after { display: none; }
    .main-nav__mobile-only { display: block; }
    .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; box-shadow: none; padding: 10px 0; border: 0; background: transparent; grid-template-columns: 1fr; }
    .has-mega.is-open .mega { display: grid; }
    .has-mega:hover .mega { transform: none; }
    .mega__intro { display: none; }
    .theme-gala .main-nav { background: var(--night); }
    .theme-gala .main-nav__list > li > a { border-color: rgba(255, 255, 255, .1); }
    .theme-gala .mega__grid a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .theme-gala .mega__grid small { color: rgba(255, 255, 255, .5); }

    .topbar__tagline { display: none; }
    .topbar__inner { justify-content: flex-end; }
    .mag { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .podcast-feature { grid-template-columns: 1fr; padding: 32px; }
    .podcast-feature .cover { max-width: 240px; }
    .podcast-feature--plain { grid-template-columns: 1fr; padding-top: 20px; }
    .gala-band__grid, .newsletter__inner, .contact-grid, .layout-aside { grid-template-columns: 1fr; }
    .values { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .article-body { grid-template-columns: minmax(0, 1fr); }
    .share { position: static; flex-direction: row; justify-content: center; }
    .share span { writing-mode: initial; transform: none; margin: 0 6px 0 0; }
    .auth { grid-template-columns: 1fr; }
    .auth__visual { min-height: 280px; padding: 32px 24px; }
    .hero__art { opacity: .35; }
}

@media (max-width: 680px) {
    .container { padding: 0 16px; }
    body { font-size: 15.5px; }
    .topbar__right a:not(.topbar__cta) .ico + * { display: none; }
    .brand__name { font-size: 1.35rem; }
    .brand__mark { width: 36px; height: 36px; }
    .btn-gala span { display: none; }
    .btn-gala { padding: 10px 12px; }
    .hero { min-height: 600px; height: auto; }
    .hero__inner { padding-top: 80px; padding-bottom: 140px; }
    .topbar__right > a[aria-label], .topbar__sep { display: none; }
    .topbar__right { gap: 12px; }
    .hero__tab { font-size: 0; max-width: none; }
    .hero__arrows { display: none; }
    .regions { grid-template-columns: repeat(2, 1fr); }
    .region { min-height: 190px; padding: 18px; }
    .grid-2, .grid-3, .grid-4, .values, .lib-types, .form-grid { grid-template-columns: 1fr; }
    .rail { grid-auto-columns: 82%; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .mag__item { grid-template-columns: 92px 1fr; }
    .event-row { grid-template-columns: 70px 1fr; padding: 16px; gap: 16px; }
    .event-row__go { display: none; }
    .datebox__day { font-size: 1.9rem; }
    .resource { grid-template-columns: 48px 1fr; }
    .resource__ico { width: 48px; height: 58px; }
    .resource .btn { grid-column: 1 / -1; }
    .countdown { gap: 8px; }
    .countdown__cell { padding: 12px 4px; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .newsletter__form { border-radius: var(--radius); }
    .newsletter__form .btn { width: 100%; }
    .player__time, .player [data-player="rate"], .player [data-player="back"], .player [data-player="fwd"] { display: none; }
    .episode { grid-template-columns: auto 1fr; padding: 16px 8px; }
    .episode > :last-child { display: none; }
    .section-head { margin-bottom: 30px; }
    .toasts { top: auto; bottom: 90px; right: 16px; width: calc(100vw - 32px); }
}



/* =====================================================================
   19. Charte Polyphonie Savante
   Noir profond #111118 (élégance, ambiance studio) · Jaune doré #FFB800
   (accent : énergie, nouveautés) · Gris pâle #F4F4F6 (respiration).
   Titres : Space Grotesk · Textes : Inter · Citations & accents : Playfair Display.
   Cartes arrondies et boutons pilule (famille gladimyjean.ht).
   Règle d'accessibilité : le jaune n'est jamais du texte fin sur fond clair —
   sur fond clair il devient surlignage ou fond de bouton (texte noir).
   Photos : public/img (Unsplash) via cover() / photo_bg().
   ===================================================================== */

/* ---------- 19.1 Jetons ---------- */
:root {
    --ink: #111118;           /* noir profond */
    --ink-2: #2A2A33;
    --navy: #111118;          /* couleur principale (boutons, liens actifs) */
    --navy-2: #2A2A33;
    --navy-deep: #111118;     /* surfaces sombres */
    --night: #0B0B10;
    --night-2: #16161D;
    --night-3: #1F1F27;
    --gold: #FFB800;          /* jaune doré : accent */
    --gold-bright: #FFB800;   /* jaune sur fond sombre */
    --gold-text: #8A6300;     /* jaune foncé lisible sur fond clair (AA) */
    --champagne: #FFE7A3;
    --ivory: #FFFFFF;
    --paper: #FFFFFF;
    --sand: #F4F4F6;          /* gris pâle */
    --line: #E6E6EA;
    --line-soft: #EFEFF2;
    --muted: #5F5F6B;

    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-accent: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(17, 17, 24, .05), 0 1px 3px rgba(17, 17, 24, .06);
    --shadow: 0 14px 34px -16px rgba(17, 17, 24, .28);
    --shadow-lg: 0 30px 60px -24px rgba(17, 17, 24, .36);
    --overlay: rgba(17, 17, 24, .72);
}

/* ---------- 19.2 Typographie ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; }
::selection { background: var(--champagne); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--gold); }

/* Mots d'accent : Playfair italique, surlignés en jaune sur fond clair */
h1 em, h2 em, h3 em, .hero__title em, .title-accent em, .newsletter__title em {
    font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em;
    color: inherit; box-shadow: inset 0 -.32em 0 rgba(255, 184, 0, .6);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* … et jaunes sur fond sombre */
.hero em, .page-hero--photo em, .article-hero--photo em, .photo-band em, .gala-band em, .gala-hero em,
.theme-gala em, .newsletter em, .podcast-feature em, .auth__visual em, .error-page em, .site-footer em {
    color: var(--gold-bright); box-shadow: none;
}

/* Citations et rubriques spéciales : Playfair Display */
blockquote, .quote-band blockquote, .auth__quote, .site-footer__slogan, .topbar__tagline, .mega__title, .prose blockquote {
    font-family: var(--font-accent);
}
.quote-band blockquote { font-weight: 500; }
.quote-band blockquote::before { color: var(--gold); }

.eyebrow { color: var(--ink); }
.eyebrow::before { background: var(--gold); height: 3px; width: 22px; border-radius: 3px; }
.eyebrow--light { color: var(--gold-bright); }
.eyebrow--light::before { background: currentColor; }
.brand__name { font-weight: 700; letter-spacing: -.03em; }
.gold-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gold-bright); }

/* ---------- 19.3 Fonds unis ---------- */
body { background: #fff; }
.section--paper { background: var(--sand); }
.section--sand { background: #EDEDF0; }
.topbar { background: var(--ink); }
.topbar__cta { border-color: var(--gold) !important; color: var(--gold) !important; }
.site-header { background: rgba(255, 255, 255, .95); }
.page-hero::after, .gala-band::before, .gala-band::after, .gala-hero::after { display: none; }
.podcast-feature { background: var(--ink); }
.gala-band, .theme-gala { background: var(--night); }
.newsletter { background: var(--ink); }
.site-footer { background: var(--night); }
.award-list li { background: rgba(255, 255, 255, .04); }
.award-list__ico { background: rgba(255, 184, 0, .14); }
.countdown__cell { border-color: rgba(255, 184, 0, .35); }
.resource__ico { background: var(--ink); }
.datebox { background: var(--sand); }
.datebox__day { color: var(--ink); }
.value__num { color: #ECECEF; }
.value__ico { background: var(--ink); color: var(--gold); }
.lib-type__ico { background: var(--sand); color: var(--ink); }
.contact-card__ico { background: var(--ink); color: var(--gold); }
.lib-type.is-active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* ---------- 19.4 Cartes & boutons (famille gladimyjean.ht) ---------- */
.aside-box, .value, .lib-type, .event-row, .resource, .contact-card, .form-card, .episode:hover {
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-primary:hover { --bg: var(--ink-2); --bd: var(--ink-2); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn-gold:hover { --bg: #FFC933; --bd: #FFC933; }
.btn-gala { --bg: var(--ink); --fg: var(--gold); --bd: var(--ink); }
.btn-gala:hover, .btn-gala.active { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.play-btn { background: var(--gold); color: var(--ink); }
.link-arrow { color: var(--ink); }
.link-arrow .ico { color: var(--gold-text); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.event-row:hover .event-row__go { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.newsletter__form { background: rgba(255, 255, 255, .06); }

/* ---------- 19.5 Héros photo, en panneau arrondi ---------- */
.hero, .page-hero--photo, .article-hero--photo { margin: 16px clamp(0px, 1.6vw, 24px) 0; border-radius: clamp(0px, 2vw, 28px); }
.hero { height: min(82vh, 720px); }
.hero__content { max-width: 760px; }
.hero__bg::after { background: linear-gradient(90deg, rgba(17, 17, 24, .9) 0%, rgba(17, 17, 24, .55) 55%, rgba(17, 17, 24, .2) 100%); }

.page-hero--photo { background: var(--ink) var(--hero-img) center / cover no-repeat; color: #fff; border: 0; }
.page-hero--photo::before { content: ''; position: absolute; inset: 0; background: var(--overlay); }
.page-hero--photo h1, .page-hero--photo h2 { color: #fff; }
.page-hero--photo .eyebrow { color: var(--gold-bright); }
.page-hero--photo .lead, .page-hero--photo .muted { color: rgba(255, 255, 255, .82); }
.page-hero--photo .breadcrumb { color: rgba(255, 255, 255, .72); }
.page-hero--photo .breadcrumb a:hover { color: #fff; }
.page-hero--photo .filter { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.page-hero--photo .filter:hover { border-color: #fff; color: #fff; }
.page-hero--photo .filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.page-hero--photo .btn-outline { --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.page-hero--photo .btn-outline:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.page-hero--photo .search-inline { border-color: transparent; }

.article-hero--photo {
    position: relative; overflow: hidden; color: #fff;
    padding: clamp(80px, 10vw, 130px) 0 clamp(56px, 7vw, 90px);
    background: var(--ink) var(--hero-img) center / cover no-repeat;
}
.article-hero--photo::before { content: ''; position: absolute; inset: 0; background: var(--overlay); }
.article-hero--photo > .container { position: relative; z-index: 1; }
.article-hero--photo h1 { color: #fff; }
.article-hero--photo .lead, .article-hero--photo .article-hero__meta { color: rgba(255, 255, 255, .82); }
.article-hero--photo .breadcrumb { color: rgba(255, 255, 255, .72); }
.article-hero--photo .breadcrumb a:hover { color: #fff; }
.video-hero { padding: 40px 0 56px; }

.gala-hero { background: var(--night) url('../img/stage.jpg') center top / cover no-repeat; }
.gala-hero::before { background: rgba(11, 11, 16, .68); }
.auth__visual { background: var(--ink) url('../img/stand.jpg') center / cover no-repeat; }
.auth__visual::before { background: rgba(17, 17, 24, .74); }

.error-page {
    position: relative; isolation: isolate; min-height: 100vh; color: #fff;
    background: var(--ink) url('../img/hall.jpg') center / cover no-repeat;
}
.error-page::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(17, 17, 24, .8); }
.error-page h1 { color: #fff; }
.error-page .lead { color: rgba(255, 255, 255, .82); }
.error-page .eyebrow { color: var(--gold-bright); }
.error-page .btn-outline { --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.error-page .btn-outline:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }

/* ---------- 19.6 Bandeau de mots-clés (sous le héros) ---------- */
.keywords { overflow: hidden; padding: 20px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.keywords__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.keywords span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.keywords span::after { content: '♪'; color: var(--gold); letter-spacing: 0; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .keywords__track { animation: none; } }

/* ---------- 19.7 Tuiles des traditions : photo teintée ---------- */
.region--photo {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent) 0%, rgba(17, 17, 24, .9) 100%),
        var(--photo) center / cover no-repeat;
    border-radius: var(--radius);
}
.region--photo::after { display: none; }

/* ---------- 19.8 Bande photo à effet (milieu de l'accueil et d'À propos) ---------- */
.photo-band {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(110px, 15vw, 200px) 0;
    background: var(--ink) var(--band-img) center / cover no-repeat fixed;   /* effet de parallaxe */
}
.photo-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(17, 17, 24, .4); }
.photo-band__inner { display: flex; }
.photo-band--right .photo-band__inner { justify-content: flex-end; }
.photo-band__content {
    max-width: 620px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
    background: rgba(17, 17, 24, .92); border-top: 4px solid var(--gold); box-shadow: var(--shadow-lg);
}
.photo-band blockquote { margin: 16px 0; font-family: var(--font-accent); font-weight: 500; font-style: italic; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; }
.photo-band p { color: rgba(255, 255, 255, .8); margin-bottom: 26px; }
@media (hover: none), (max-width: 1024px) { .photo-band { background-attachment: scroll; } }

@media (max-width: 680px) {
    .hero, .page-hero--photo, .article-hero--photo { margin: 0; border-radius: 0; }
}

/* Accent jaune vif sur les héros photo (prime sur .page-hero h1 em, plus ancien) */
.page-hero--photo h1 em, .page-hero--photo h2 em, .article-hero--photo h1 em, .error-page h1 em, .gala-band h2 em, .newsletter__title em { color: var(--gold-bright); box-shadow: none; }
