/* =========================================================
   Groupe Fribourg — World Gymnaestrada
   Feuille de style commune à toutes les pages.

   Même grammaire visuelle que le site de la Gymnaestrada
   Première (police Area Normal, titres en capitales, cartes,
   timeline, ticker), mais en noir et blanc : les couleurs du
   drapeau fribourgeois. Aucune couleur d'accent : le contraste
   noir / blanc fait tout le travail, les photos passent en
   niveaux de gris et retrouvent leur couleur au survol.
========================================================= */

/* ---------- Police officielle Gymnaestrada 2027 ---------- */
@font-face { font-family: 'Area Normal'; src: url('/fonts/areanormal-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('/fonts/areanormal-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('/fonts/areanormal-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Area Normal'; src: url('/fonts/areanormal-extrabold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Reset & variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:     #161616;   /* noir du drapeau, adouci */
  --ink-2:   #222222;
  --ink-3:   #2E2D2B;
  --white:   #FFFFFF;   /* blanc du drapeau : cartes, surfaces */
  --paper:   #FAFAF7;   /* fond de page, blanc légèrement chaud */
  --grey:    #5E5B55;   /* texte secondaire sur clair (contraste AA) */
  --grey-lt: #A8A49C;   /* texte secondaire sur noir */
  --light:   #F2F1EC;
  --light2:  #E7E5DE;
  --border:  #E3E0D8;
  --border-dk: #34322E;
  --font:    'Area Normal', 'Helvetica Neue', Arial, sans-serif;
  --max-w:   1280px;
  --nav-h:   72px;
  --radius:  12px;
  /* Doré du logo Icarnation : accent (pas pour le petit texte, contraste trop faible) */
  --gold:    #AA7B1F;
  --gold-hi: #D6A13B;   /* reflet clair du logo, sur fond noir */
  --gold-dk: #8A6318;   /* version lisible pour du texte sur clair */
  --gold-lt: #F6EFE0;
  /* Couleurs de la Gymnaestrada Première (premiere.gymnaestradafr.ch) */
  --red:         #F82847;
  --bordeaux:    #871946;
  --bordeaux-dk: #691437;
  --bordeaux-lt: #F5EDF0;
  /* Drapeau fribourgeois : moitié noire, moitié blanche */
  --flag-h:  linear-gradient(90deg, var(--ink) 0 50%, var(--white) 50% 100%);
  --flag-v:  linear-gradient(180deg, var(--ink) 0 50%, var(--white) 50% 100%);
}
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { font-family: var(--font); color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }

/* ---------- Bilinguisme ----------
   Les deux langues sont dans le HTML ; <html lang> (posé avant
   l'affichage par le script en tête de page) masque l'autre.
   Pas de clignotement, et les deux versions restent indexables. */
html[lang="fr"] [data-lang="de"],
html[lang="de"] [data-lang="fr"] { display: none !important; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: var(--white); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 3000; background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 4px; font-weight: 700; }
.skip-link:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Utilitaires ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.bg-light { background: var(--light); }
.bg-ink { background: var(--ink); color: var(--white); }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 18px;
}
.section-tag::before { content: ''; width: 7px; height: 7px; background: currentColor; border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
.bg-ink .section-tag, .on-dark .section-tag { color: var(--white); }

.h-display {
  font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -.02em;
}
.h-display .outline { -webkit-text-stroke: 2px currentColor; color: transparent; }
.h-display .mark { background: var(--ink); color: var(--white); padding: .04em .14em 0; display: inline-block; }
.bg-ink .h-display .mark, .on-dark .h-display .mark { background: var(--white); color: var(--ink); }
.lead { font-size: 1.08rem; line-height: 1.8; color: var(--grey); max-width: 640px; }
.bg-ink .lead, .on-dark .lead { color: var(--grey-lt); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 16px auto 0; }
.section-head .lead { margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; background: var(--ink); color: var(--white);
  font-family: var(--font); font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 4px; cursor: pointer;
  transition: background .2s, color .2s, transform .18s, box-shadow .2s;
}
.btn:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); box-shadow: none; }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .74rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 3px; transition: gap .2s; }
.link-arrow:hover { gap: 14px; }

/* Photos : en couleur, léger zoom au survol */
.bw img, img.bw { transition: transform .6s ease; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   NAVIGATION
========================================================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250,250,247,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.07); transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.08); }
#nav > .container { width: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo-text { font-weight: 800; font-size: .8rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }
.nav-logo-text small { display: block; font-weight: 600; font-size: .62rem; letter-spacing: .14em; color: var(--grey); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 9px;
  color: var(--grey); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: none; border: none; cursor: pointer; transition: color .2s; white-space: nowrap; position: relative;
}
.nav-link::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .2s; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-item:hover .chev, .nav-item.open .chev { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop, .nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 10px 12px; border-radius: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); transition: background .15s; }
.nav-drop a small { display: block; font-size: .72rem; font-weight: 400; color: var(--grey); margin-top: 2px; }
.nav-drop a:hover, .nav-drop a.active { background: var(--light); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 4px; overflow: hidden; }
.lang-btn { padding: 6px 11px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; background: transparent; border: none; color: var(--grey); transition: background .2s, color .2s; }
html[lang="fr"] .lang-btn[data-set-lang="fr"], html[lang="de"] .lang-btn[data-set-lang="de"] { background: var(--ink); color: var(--white); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; overflow-y: auto;
  background: var(--white); z-index: 999; padding: 8px 20px 40px;
}
.nav-mobile.open { display: block; }
.nav-mobile details { border-bottom: 1px solid var(--border); }
.nav-mobile summary, .nav-mobile > a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.nav-mobile > a { border-bottom: 1px solid var(--border); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; }
.nav-mobile details[open] summary::after { content: '–'; }
.nav-mobile details a { display: block; padding: 10px 0 10px 14px; font-size: .92rem; color: var(--grey); border-left: 2px solid var(--border); }
.nav-mobile details a:last-child { margin-bottom: 14px; }
.nav-mobile details a.active { color: var(--ink); border-left-color: var(--ink); font-weight: 700; }
.nav-mobile .lang-toggle { margin-top: 24px; width: max-content; }
.nav-mobile .lang-btn { padding: 10px 18px; font-size: .78rem; }
.nav-mobile > a.btn { margin-top: 20px; width: 100%; display: flex; justify-content: center; padding: 15px 20px; color: var(--white); border-bottom: 2px solid var(--ink); font-size: .8rem; }
.nav-mobile > a.btn:hover { color: var(--ink); }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO (accueil) — clair, photo encadrée à droite
========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--paper); color: var(--ink); overflow: hidden; padding-top: var(--nav-h); }
.hero-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(0,0,0,.07) 1px, transparent 1px); background-size: 36px 36px; }
.hero-flag { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--flag-v); border-right: 1.5px solid var(--ink); z-index: 2; }
.hero > .container { position: relative; z-index: 2; width: 100%; min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; padding: 48px 0 88px; }
.hero-content { min-width: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); opacity: 0; animation: fade-up .7s .2s forwards; }
.hero-eyebrow .dot { width: 7px; height: 7px; background: var(--ink); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.5); opacity: .5 } }
.hero-title { font-size: clamp(3rem, 6.6vw, 6.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 28px; opacity: 0; animation: fade-up .8s .4s forwards; }
.hero-title .mark { background: var(--ink); color: var(--white); padding: .06em .14em .01em; display: inline-block; margin: .08em 0; }
@media (max-width: 520px) { .hero-title { font-size: clamp(2.2rem, 12vw, 3.2rem); } }
.hero-subtitle { font-size: 1.08rem; line-height: 1.75; color: var(--grey); margin-bottom: 38px; max-width: 560px; opacity: 0; animation: fade-up .8s .6s forwards; }
.hero-subtitle strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; opacity: 0; animation: fade-up .8s .8s forwards; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); padding-top: 28px; opacity: 0; animation: fade-up .8s 1s forwards; }
.hero-stat { padding: 0 18px; border-left: 1px solid var(--border); }
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-num { font-size: 2.2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stat-label { font-size: .72rem; color: var(--grey); letter-spacing: .08em; margin-top: 6px; }

.hero-visual { position: relative; opacity: 0; animation: fade-in 1s .6s forwards; }
.hero-frame { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--light2); box-shadow: 0 30px 80px rgba(22,22,22,.16); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-date-card { position: absolute; left: -44px; bottom: 44px; z-index: 3; background: var(--ink); color: var(--white); border-radius: 14px; padding: 24px 30px; text-align: center; box-shadow: 0 24px 60px rgba(22,22,22,.3); min-width: 190px; }
.date-card-label { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-lt); margin-bottom: 8px; }
.date-card-num { font-size: 4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.date-card-unit { font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.date-card-divider { width: 40px; height: 8px; background: var(--flag-h); border: 1.5px solid var(--white); border-radius: 1px; margin: 14px auto; }
.date-card-city { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--grey-lt); }

.hero-scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--grey); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; animation: bob 2.5s ease-in-out infinite; }
.scroll-mouse { width: 20px; height: 32px; border: 2px solid var(--border); border-radius: 10px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-mouse::after { content: ''; width: 3px; height: 6px; background: var(--ink); border-radius: 2px; animation: scroll-dot 2s ease-in-out infinite; }
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: 1 } 50% { transform: translateY(7px); opacity: 0 } }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0) } 50% { transform: translateX(-50%) translateY(5px) } }
@keyframes fade-up { from { opacity: 0; transform: translateY(28px) } to { opacity: 1; transform: none } }
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }

/* =========================================================
   TICKER — bandeau blanc bordé de noir
========================================================= */
.ticker { background: var(--white); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 12px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 40s linear infinite; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 22px; padding: 0 22px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ticker-dot { width: 6px; height: 6px; background: var(--ink); transform: rotate(45deg); }
@keyframes ticker-scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* =========================================================
   EN-TÊTE DES PAGES INTÉRIEURES — clair, photo en bandeau
========================================================= */
.page-hero { position: relative; background: var(--paper); color: var(--ink); padding: calc(var(--nav-h) + 64px) 0 64px; overflow: hidden; border-bottom: 1.5px solid var(--ink); }
.page-hero::after { content: ''; position: absolute; left: 0; bottom: 0; width: 180px; height: 8px; background: var(--flag-h); border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.page-hero .hero-dots { z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.page-title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.04; text-transform: uppercase; letter-spacing: -.025em; max-width: 960px; }
.page-title .mark { background: var(--ink); color: var(--white); padding: .04em .14em 0; display: inline-block; }
.page-intro { font-size: 1.08rem; line-height: 1.75; color: var(--grey); margin-top: 22px; max-width: 680px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 40px; border: 1.5px solid currentColor; }
.pill-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.page-hero-banner { position: relative; z-index: 1; margin-top: 48px; aspect-ratio: 21 / 8; border-radius: 16px; overflow: hidden; background: var(--light2); box-shadow: 0 24px 60px rgba(22,22,22,.12); }
.page-hero-banner img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   TEXTE RICHE (contenu éditorial)
========================================================= */
.prose { font-size: 1.02rem; line-height: 1.8; color: var(--ink-3); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-size: 1.12rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-top: 2em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a:not(.btn) { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { text-decoration-thickness: 4px; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-top: .5em; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
.prose blockquote { border-left: 4px solid var(--ink); padding: 6px 0 6px 24px; font-size: 1.25rem; font-weight: 700; line-height: 1.45; color: var(--ink); }
.prose blockquote cite { display: block; font-size: .82rem; font-weight: 400; font-style: normal; color: var(--grey); margin-top: 10px; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption, .figure-cap { font-size: .8rem; color: var(--grey); margin-top: 10px; letter-spacing: .02em; }
.prose .note { background: var(--light); border-left: 4px solid var(--ink); padding: 16px 20px; border-radius: 0 8px 8px 0; font-size: .92rem; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }

.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--white); color: var(--ink); border: 1px solid var(--border); border-left: 4px solid var(--ink); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.notice p { font-size: .95rem; line-height: 1.6; }
.notice strong { font-weight: 700; }
.notice-light { background: var(--light); }

/* Mise en page à deux colonnes (texte + aside) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.content-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.aside-card h3 { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.aside-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.aside-card ul li:last-child { border-bottom: none; }
.aside-card ul a { font-weight: 700; }
.aside-card ul a:hover { text-decoration: underline; }
.aside-card .btn { width: 100%; margin-top: 18px; }

/* Visuel encadré */
.frame { position: relative; border-radius: 16px; overflow: hidden; background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-wide { aspect-ratio: 16 / 10; }
.frame-badge { position: absolute; right: -14px; bottom: -14px; z-index: 2; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; padding: 16px 20px; box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.frame-wrap { position: relative; }
.frame-badge-label { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.frame-badge-title { font-size: 1rem; font-weight: 800; text-transform: uppercase; }

/* Points forts (liste avec icônes) */
.highlights { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.hl { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--light); border-radius: 8px; border-left: 3px solid var(--ink); transition: transform .2s; }
.hl:hover { transform: translateX(5px); }
.hl-icon { width: 40px; height: 40px; background: var(--ink); color: var(--white); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hl-icon svg { width: 18px; height: 18px; }
.hl h3, .hl h4 { font-weight: 700; font-size: .92rem; margin-bottom: 3px; }
.hl p { font-size: .86rem; color: var(--grey); line-height: 1.55; }

/* =========================================================
   CARTES
========================================================= */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
a.card:hover, .card.hoverable:hover { border-color: var(--ink); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--light2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-kicker { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.card-title { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.card-text { font-size: .88rem; color: var(--grey); line-height: 1.6; }
.card-more { margin-top: auto; padding-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card-dark .card-text, .card-dark .card-kicker { color: var(--grey-lt); }
.card-year { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--white); color: var(--ink); font-weight: 800; font-size: .82rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 4px; }

/* Cartes « concept » Icarnation : trois bandeaux noir → gris → blanc */
.concept { display: grid; gap: 14px; }
.concept-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
.concept-icon { display: flex; align-items: center; justify-content: center; border-radius: var(--radius); padding: 20px; }
.concept-icon img { width: 100%; max-width: 104px; max-height: 96px; object-fit: contain; }
.concept-row:nth-child(1) .concept-icon img { filter: invert(1); }
.concept-text { border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.concept-text h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.concept-text p { font-size: .95rem; line-height: 1.7; }
.concept-row:nth-child(1) > * { background: var(--ink); color: var(--white); }
.concept-row:nth-child(1) p { color: #D6D6D6; }
.concept-row:nth-child(2) > * { background: var(--light2); }
.concept-row:nth-child(3) > * { background: var(--white); border: 1.5px solid var(--ink); }

/* =========================================================
   CHIFFRES
========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--white); padding: 32px 28px; }
.stat-num { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .5em; letter-spacing: 0; }
.stat-label { font-size: .86rem; color: var(--grey); margin-top: 10px; line-height: 1.45; }
/* Tableau de score : un chiffre par ligne, tient dans n'importe quelle largeur */
.score { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 28px; border-top: 1.5px solid var(--ink); }
.score-num, .score-label { padding: 20px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.score-num { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 6.2ch; }
.score-label { font-size: .95rem; color: var(--grey); line-height: 1.45; gap: 14px; }
.score-label::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; background: var(--ink); border-radius: 50%; }
/* Grilles de chiffres : la taille suit la largeur de la case, plus de débordement */
.stat { container-type: inline-size; min-width: 0; }
.stat-num { font-size: min(clamp(2rem, 3.6vw, 3rem), 19cqi); overflow-wrap: anywhere; }
.bg-ink .stats { background: var(--border-dk); border-color: var(--border-dk); }
.bg-ink .stat { background: var(--ink); }
.bg-ink .stat-label { color: var(--grey-lt); }

/* =========================================================
   PARCOURS WG + TIMELINE
========================================================= */
.wg-parts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.wg-part { display: flex; flex-direction: column; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; min-width: 92px; transition: border-color .2s, transform .2s; }
a.wg-part:hover { border-color: var(--ink); transform: translateY(-3px); }
.wg-part.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.wg-part-year { font-size: 1.05rem; font-weight: 800; line-height: 1.1; }
.wg-part-city { font-size: .72rem; color: var(--grey); margin-top: 3px; }
.wg-part-show { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.wg-part.current .wg-part-city { color: var(--grey-lt); }
.wg-parts-arrow { color: var(--grey-lt); font-weight: 700; }

.timeline { position: relative; padding-left: 48px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 56px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -48px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); }
.timeline-item.current .timeline-dot { background: var(--ink); box-shadow: 0 0 0 5px rgba(0,0,0,.12); width: 18px; height: 18px; left: -50px; top: 6px; }
.timeline-year { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--light2); -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 8px; }
.timeline-item.current .timeline-year { color: var(--ink); -webkit-text-stroke: 0; }
.timeline-badge { display: inline-block; background: var(--ink); color: var(--white); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.timeline-title { font-size: 1.12rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; letter-spacing: .02em; }
.timeline-text { font-size: .95rem; color: var(--grey); line-height: 1.75; max-width: 680px; }
.timeline-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tl-stat { font-size: .8rem; font-weight: 700; background: var(--light); padding: 6px 14px; border-radius: 4px; }
.timeline-link { display: inline-block; margin-top: 14px; }

/* =========================================================
   TABLEAUX (calendrier, programme)
========================================================= */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.table th { background: var(--ink); color: var(--white); text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 14px 18px; }
.table td { padding: 14px 18px; border-top: 1px solid var(--border); vertical-align: top; }
.table tbody tr:nth-child(even) td { background: var(--light); }
.table td:first-child { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tr.is-highlight td { background: var(--ink) !important; color: var(--white); }
.table tr.is-past td { color: var(--grey-lt); }
.table tr.is-past td:first-child { text-decoration: line-through; text-decoration-thickness: 1px; }
.table tr.is-next td { box-shadow: inset 0 0 0 0 transparent; }
.table tr.is-next td:first-child::after { content: attr(data-next-label); display: inline-block; margin-left: 10px; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: 3px 8px; border-radius: 20px; vertical-align: middle; text-decoration: none; }
.table-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .82rem; color: var(--grey); margin-top: 16px; }
.table-legend strong { color: var(--ink); }

/* Liste d'événements compacte */
.event-list { display: grid; gap: 12px; }
.event-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 22px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; transition: border-color .2s; }
.event-row:hover { border-color: var(--ink); }
.event-date { text-align: center; border-right: 1px solid var(--border); padding-right: 18px; }
.event-day { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-month { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.event-title { font-weight: 800; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.event-sub { font-size: .84rem; color: var(--grey); margin-top: 3px; }
.event-tag { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.event-row.is-major { background: var(--ink); color: var(--white); border-color: var(--ink); }
.event-row.is-major .event-sub, .event-row.is-major .event-month { color: var(--grey-lt); }
.event-row.is-major .event-date { border-color: var(--border-dk); }
.event-row.is-major .event-tag { border-color: var(--white); }

/* Programme WG 2027 (grille par jour) */
.program { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.program-day { display: flex; flex-direction: column; gap: 8px; }
.program-head { background: var(--ink); color: var(--white); border-radius: 8px; padding: 12px 8px; text-align: center; }
.program-head strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.program-head span { font-size: .72rem; color: var(--grey-lt); }
.program-slot { border: 1px solid var(--border); border-radius: 8px; padding: 12px 8px; text-align: center; min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--white); }
.program-slot b { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.program-slot span { font-size: .68rem; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; }
.program-slot.empty { background: var(--light); border-style: dashed; }
.program-slot.key { background: var(--light2); border-color: var(--ink); }

/* =========================================================
   PERSONNES (comités)
========================================================= */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 22px 20px; transition: border-color .2s, transform .2s; }
.person:hover { border-color: var(--ink); transform: translateY(-3px); }
.person-initials { width: 46px; height: 46px; background: var(--ink); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; margin-bottom: 14px; letter-spacing: 0; }
.person-name { font-weight: 700; font-size: .92rem; }
.person-role { font-size: .8rem; color: var(--grey); line-height: 1.5; margin-top: 4px; }
.person.lead-person { background: var(--ink); color: var(--white); border-color: var(--ink); }
.person.lead-person .person-initials { background: var(--white); color: var(--ink); }
.person.lead-person .person-role { color: var(--grey-lt); }
.people-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin: 44px 0 16px; display: flex; align-items: center; gap: 12px; }
.people-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.name-list { columns: 2; column-gap: 32px; }
.name-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.name-list li span { color: var(--grey); font-size: .82rem; }

/* =========================================================
   SPONSORS
========================================================= */
.tier { margin-bottom: 48px; }
.tier-label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.tier-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.logos { display: grid; gap: 14px; }
.logos-gold { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logos-silver { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logos-small { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-tile { background: var(--white); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 22px; aspect-ratio: 16 / 9; transition: border-color .2s; }
.logos-gold .logo-tile { aspect-ratio: 16 / 8; padding: 28px; }
.logo-tile img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-tile:hover { border-color: var(--ink); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logos-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logos-strip img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.logos-strip a:hover img { filter: none; opacity: 1; }

/* =========================================================
   MÉDIAS (revue de presse)
========================================================= */
.press { display: grid; gap: 12px; }
.press-item { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 24px; border: 1px solid var(--border); border-radius: 10px; transition: border-color .2s, background .2s; }
a.press-item:hover { border-color: var(--ink); background: var(--light); }
.press-source { font-weight: 800; text-transform: uppercase; font-size: .86rem; letter-spacing: .04em; }
.press-date { font-size: .76rem; color: var(--grey); margin-top: 3px; font-variant-numeric: tabular-nums; }
.press-title { font-size: 1rem; font-weight: 600; line-height: 1.45; }
.press-type { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================
   VIDÉO (YouTube chargé au clic, mode « nocookie »)
========================================================= */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); cursor: pointer; border: none; width: 100%; display: block; padding: 0; color: var(--white); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s, transform .6s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 36px rgba(0,0,0,.4); transition: transform .25s; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-play svg { width: 24px; height: 24px; margin-left: 4px; color: var(--ink); }
.yt-label { position: absolute; left: 20px; bottom: 16px; right: 20px; text-align: left; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { font-size: .82rem; color: var(--grey); margin-top: 10px; }

/* =========================================================
   GALERIE + VISIONNEUSE
========================================================= */
.gallery { columns: 4 220px; column-gap: 12px; }
.gallery-item { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: 8px; overflow: hidden; background: var(--light2); cursor: zoom-in; position: relative; border: none; padding: 0; width: 100%; }
.gallery-item img { width: 100%; transition: transform .5s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.03); }
.gallery-more { text-align: center; margin-top: 28px; }
.gallery-count { font-size: .8rem; color: var(--grey); margin-top: 10px; }

.lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(5,5,5,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 4px; }
.lb-btn { position: absolute; background: none; border: 1.5px solid rgba(255,255,255,.4); color: var(--white); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--grey-lt); font-size: .78rem; letter-spacing: .14em; }

/* =========================================================
   BANDEAUX D'APPEL
========================================================= */
.cta-band { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 16px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,0,0,.06) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cta-band::after { content: ''; position: absolute; right: 0; top: 0; width: 120px; height: 8px; background: var(--flag-h); border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; text-transform: uppercase; line-height: 1.08; letter-spacing: -.01em; }
.cta-band p { color: var(--grey); margin-top: 10px; max-width: 560px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.cta-band.light { background: var(--light); border: 1px solid var(--border); }
.cta-band.light::after { display: none; }

/* Bandeau Première (accueil) */
.premiere { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: var(--ink); color: var(--white); }
.premiere-body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.premiere-media { position: relative; min-height: 360px; }
.premiere-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.premiere-date { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 8px; }
.premiere-date strong { font-size: 4rem; font-weight: 800; line-height: 1; }
.premiere-date span { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-lt); }
.premiere-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.premiere-facts .pill { color: var(--white); border-color: rgba(255,255,255,.4); }

/* Réseaux sociaux */
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 26px; border: 1.5px solid var(--border); border-radius: var(--radius); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.social-card svg { width: 28px; height: 28px; flex-shrink: 0; }
.social-card h3 { font-size: .95rem; font-weight: 800; text-transform: uppercase; }
.social-card p { font-size: .8rem; color: var(--grey); margin-top: 2px; transition: color .25s; }
.social-card:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-4px); }
.social-card:hover p { color: var(--grey-lt); }
.hashtags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hashtag { font-size: .84rem; font-weight: 700; padding: 10px 20px; border-radius: 40px; background: var(--light); }

/* Contact */
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card .card-kicker { margin-bottom: 4px; }
.contact-card a { font-weight: 700; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-main { background: var(--ink); color: var(--white); border-color: var(--ink); }
.contact-main .card-kicker { color: var(--grey-lt); }
.contact-main a { font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 800; }

/* Documents à télécharger */
.docs { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 10px; transition: border-color .2s, background .2s; }
.doc:hover { border-color: var(--ink); background: var(--light); }
.doc-icon { width: 40px; height: 40px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: .62rem; font-weight: 800; letter-spacing: .06em; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-title { font-weight: 700; font-size: .94rem; }
.doc-sub { font-size: .78rem; color: var(--grey); }
.doc-dl { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card .card-media { aspect-ratio: 16 / 9; }
.news-card .card-media.placeholder { display: flex; align-items: center; justify-content: center; background: var(--ink); }
.news-card .card-media.placeholder img { width: 38%; height: auto; object-fit: contain; filter: none; opacity: .9; }
.news-date { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); font-variant-numeric: tabular-nums; }
.news-featured { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.news-featured .card-media { aspect-ratio: auto; min-height: 320px; }
.news-featured .card-body { padding: 40px; justify-content: center; }
.news-featured .card-title { font-size: 1.6rem; }
.year-sep { grid-column: 1 / -1; font-size: 2.4rem; font-weight: 800; color: var(--light2); -webkit-text-stroke: 1.5px var(--ink); margin-top: 24px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-nav a { max-width: 46%; }
.article-nav small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.article-nav strong { font-size: .95rem; }
.article-nav a:hover strong { text-decoration: underline; }
.article-nav .next { text-align: right; margin-left: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag { font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: 30px; background: var(--light); }

/* Pages-images (affiches, fiches) */
.poster { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--light); }
.poster img { width: 100%; }

/* Onglets simples (sous-sections d'archives) */
.subnav { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(250,250,247,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--ink); border-bottom-color: var(--ink); }

/* =========================================================
   PIED DE PAGE — blanc sur noir
========================================================= */
footer { background: var(--ink); color: var(--white); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border-dk); }
.footer-brand img { width: 120px; margin-bottom: 20px; }
.footer-tagline { font-size: .88rem; color: var(--grey-lt); line-height: 1.7; max-width: 280px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--border-dk); border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h2 { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-lt); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .88rem; color: #D0D0D0; transition: color .2s; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-contact p { font-size: .86rem; color: #D0D0D0; line-height: 1.6; margin-bottom: 12px; }
.footer-contact a { font-weight: 700; color: var(--white); }
.footer-flag { display: flex; height: 10px; }
.footer-flag span { flex: 1; }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: .76rem; color: var(--grey-lt); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: .76rem; color: var(--grey-lt); }
.footer-links a:hover { color: var(--white); }
.footer-partner { display: flex; align-items: center; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--border-dk); font-size: .8rem; color: var(--grey-lt); }
.footer-partner a { color: var(--white); font-weight: 700; }

/* Bouton retour en haut */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); border: 2px solid var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1440px) {
  .nav-logo-text { display: none; }
}
@media (max-width: 1280px) {
  .nav-link { padding: 10px 7px; font-size: .7rem; letter-spacing: .05em; }
  .nav-link::after { left: 7px; right: 7px; }
  .nav-right { gap: 8px; }
}
@media (max-width: 1180px) {
  .nav-links, .nav-right .lang-toggle, .nav-right .btn { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 72px; }
  .hero-frame { aspect-ratio: 16 / 10; }
  .hero-date-card { left: 20px; bottom: 20px; padding: 16px 22px; min-width: 0; }
  .date-card-num { font-size: 2.6rem; }
  .hero-scroll-hint { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .content-aside { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .program { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .grid-3, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .people, .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos-gold { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos-silver, .logos-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .premiere { grid-template-columns: minmax(0, 1fr); }
  .premiere-media { min-height: 260px; order: -1; }
  .news-featured { grid-column: span 2; grid-template-columns: minmax(0, 1fr); }
  .news-featured .card-media { min-height: 240px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .press-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .name-list { columns: 1; }
  .concept-row { grid-template-columns: minmax(0, 1fr); }
  .concept-icon { padding: 18px; justify-content: flex-start; }
  .concept-icon img { max-width: 64px; max-height: 60px; }
  .program { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premiere-body { padding: 36px 26px; }
  .event-row { grid-template-columns: 72px minmax(0, 1fr); }
  .event-tag { grid-column: 2; justify-self: start; }
  .gallery { columns: 2 140px; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 14px; } .lb-next { right: 14px; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .news-grid, .people, .social-grid { grid-template-columns: minmax(0, 1fr); }
  .news-featured { grid-column: span 1; }
  .logos-silver, .logos-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos-gold { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .hero-stat:nth-child(3) { border-left: none; padding-left: 0; }
  .hero-frame { aspect-ratio: 4 / 3; }
  .hero-date-card { left: 12px; bottom: 12px; padding: 10px 16px; border-radius: 10px; display: flex; align-items: baseline; gap: 8px; }
  .hero-date-card > div { display: flex; align-items: baseline; gap: 6px; }
  .hero-date-card .date-card-label, .hero-date-card .date-card-divider, .hero-date-card .date-card-city { display: none; }
  .date-card-num { font-size: 1.6rem; }
  .date-card-unit { font-size: .7rem; }
  .page-hero-banner { aspect-ratio: 16 / 10; margin-top: 32px; }
  .hero-actions .btn { width: 100%; }
  .frame-badge { right: 10px; bottom: 10px; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .article-nav .next { text-align: left; margin-left: 0; }
}

/* =========================================================
   GYMNAESTRADA PREMIÈRE — rouge & bordeaux, comme son site
   (bouton billets, bloc d'accueil, dates du 24.04.2027, page dédiée)
========================================================= */
.btn-premiere { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-premiere:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--white); box-shadow: 0 10px 28px rgba(248,40,71,.3); }

.premiere { background: linear-gradient(135deg, var(--bordeaux-dk) 0%, var(--bordeaux) 100%); }
.premiere-body { border-left: 6px solid var(--red); }
.premiere .section-tag { color: var(--white); }
.premiere .section-tag::before { background: var(--red); }
.premiere .h-display .mark { background: var(--red); color: var(--white); }
.premiere .lead { color: rgba(255,255,255,.82); }
.premiere-date span { color: rgba(255,255,255,.72); }
.premiere-facts .pill { border-color: rgba(255,255,255,.45); }

.event-row.is-premiere { background: var(--bordeaux); color: var(--white); border-color: var(--bordeaux); }
.event-row.is-premiere:hover { border-color: var(--red); }
.event-row.is-premiere .event-sub, .event-row.is-premiere .event-month { color: rgba(255,255,255,.75); }
.event-row.is-premiere .event-date { border-color: rgba(255,255,255,.25); }
.event-row.is-premiere .event-tag { border-color: var(--white); background: var(--red); }
.table tr.is-premiere td { background: var(--bordeaux) !important; color: var(--white); }
.table tr.is-premiere td:first-child { box-shadow: inset 4px 0 0 var(--red); }

.theme-premiere .page-hero { border-bottom-color: var(--bordeaux); }
.theme-premiere .page-hero::after { background: linear-gradient(90deg, var(--red) 0 50%, var(--bordeaux) 50% 100%); border-color: var(--bordeaux); }
.theme-premiere .page-title .mark, .theme-premiere .h-display .mark { background: var(--bordeaux); }
.theme-premiere main .section-tag { color: var(--bordeaux); }
.theme-premiere main .section-tag::before { background: var(--red); }
.theme-premiere .pill-solid { background: var(--bordeaux); border-color: var(--bordeaux); }
.theme-premiere main .btn:not(.btn-ghost) { background: var(--red); border-color: var(--red); color: var(--white); }
.theme-premiere main .btn:not(.btn-ghost):hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.theme-premiere main .btn-ghost { color: var(--bordeaux); border-color: var(--bordeaux); }
.theme-premiere main .btn-ghost:hover { background: var(--bordeaux); color: var(--white); }
.theme-premiere .hl { border-left-color: var(--red); }
.theme-premiere .hl-icon { background: var(--red); }
.theme-premiere .stat-num { color: var(--bordeaux); }
.theme-premiere .cta-band { background: var(--bordeaux-lt); border-color: var(--bordeaux); }
.theme-premiere .cta-band::after { background: linear-gradient(90deg, var(--red) 0 50%, var(--bordeaux) 50% 100%); border-color: var(--bordeaux); }

/* =========================================================
   ACCENT DORÉ — repris du logo Icarnation
========================================================= */
.section-tag::before, .hero-eyebrow .dot, .score-label::before { background: var(--gold); }
.bg-ink .section-tag::before, .on-dark .section-tag::before { background: var(--gold-hi); }
.nav-link::after { background: var(--gold); }
.mark.mark-gold, .hero-title .mark.mark-gold, .page-title .mark.mark-gold { background: var(--gold); color: var(--white); }
.hero-flag { background: linear-gradient(180deg, var(--ink) 0 50%, var(--gold) 50% 100%); }
.date-card-num { color: var(--gold-hi); }
.hl { border-left-color: var(--gold); }
.hl-icon { background: var(--gold); }
.timeline-item.current .timeline-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(170,123,31,.18); }
.timeline-item.current .timeline-badge { background: var(--gold); }
.wg-part.current { background: var(--ink); border-color: var(--gold); box-shadow: inset 0 -4px 0 var(--gold); }
.wg-part.current .wg-part-show { color: var(--gold-hi); }
.score { border-top-color: var(--gold); }
.stat-num small { color: var(--gold-dk); }
.person.lead-person .person-initials { background: var(--gold); color: var(--white); }
.event-row.is-major .event-tag { border-color: var(--gold-hi); color: var(--gold-hi); }
.card-year { background: var(--gold); color: var(--white); }
.to-top { border-color: var(--gold); }
.footer-col h2 { color: var(--gold-hi); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-flag span:last-child { background: var(--gold) !important; }
.prose ul li::before { background: var(--gold); }
.prose blockquote { border-left-color: var(--gold); }
.notice { border-left-color: var(--gold); }
::selection { background: var(--gold-lt); color: var(--ink); }
/* La Première garde son rouge et bordeaux */
.theme-premiere .hl { border-left-color: var(--red); }
.theme-premiere .hl-icon { background: var(--red); }
.premiere .section-tag::before, .theme-premiere main .section-tag::before { background: var(--red); }
