/* ---
   FONTS
--- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Pinyon+Script&display=swap');

@font-face {
  font-family: 'Pachinko';
  src: url('pachinko/Pachinko-BoldText.woff2') format('woff2'),
    url('pachinko/Pachinko-BoldText.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pachinko';
  src: url('pachinko/Pachinko-RegularText.woff2') format('woff2'),
    url('pachinko/Pachinko-RegularText.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---
   CSS CUSTOM PROPERTIES
--- */
:root {
  /* Couche fixe — Identité pérenne */
  --color-pink: #ED2D8F;
  --color-black: #0D0D0D;
  --color-cream: #FAF7F2;

  --font-display: 'Pachinko', sans-serif;
  --font-body: 'Geist', sans-serif;
  --font-script: 'Pinyon Script', cursive;

  /* Couche saison 2025 — Pilotée par ACF */
  --color-accent-1: #7FCB7F;
  /* Vert pomme */
  --color-accent-2: #F5D547;
  /* Jaune vif */
  --color-accent-3: #7FC9DA;
  /* Bleu ciel */

  /* Structure */
  --max-w: 1440px;
  --container-p: 40px;
  --section-gap: 120px;
  --radius-card: 12px;
  --border-fine: 0.5px solid var(--color-black);
  --border-thick: 2px solid var(--color-black);
}

/* ---
   RESET & BASE
--- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: none;
  /* Pachinko is sentence case mostly */
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---
   UTILITAIRES
--- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-p);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: currentColor;
}

.eyebrow--center-after {
  justify-content: center;
}

.eyebrow--center-after::before {
  justify-content: center;
}

.eyebrow--center-after::after {
  content: '';
  width: 40px;
  height: 2px;
  background: currentColor;
}

.script-text {
  font-family: var(--font-script);
  font-size: 28px;
  line-height: 1;
}

/* CARTOUCHE OVALE (Signature KISS) */
.cartouche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background: var(--color-black);
  color: #fff;
  border-radius: 50px;
  /* Pill shape */
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  gap: 8px;
}

.btn--primary {
  background: var(--color-black);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-pink);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--color-pink);
  color: #fff;
}

.btn--secondary:hover {
  background: var(--color-black);
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--color-black);
  color: var(--color-cream);
  border: 1.5px solid var(--color-black);
}

.btn--outline:hover {
  background: var(--color-cream);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- HERO BUTTON (STICKER STYLE) --- */
.btn--hero {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 44px;
  background: var(--color-black) !important;
  color: #fff !important;
  border-radius: 8px;
  /* Forme rectangulaire découpée */
  transform: rotate(-2deg);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--color-black);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn--hero:hover {
  transform: rotate(1deg) scale(1.05);
  background: var(--color-pink) !important;
  color: var(--color-black) !important;
  box-shadow: -6px 6px 0px rgba(0, 0, 0, 0.3);
  border-color: var(--color-pink);
}

.btn--hero-secondary {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 44px;
  background: var(--color-cream) !important;
  color: var(--color-black) !important;
  border-radius: 8px;
  transform: rotate(1deg);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--color-black);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn--hero-secondary:hover {
  transform: rotate(-1deg) scale(1.05);
  background: var(--color-pink) !important;
  color: var(--color-black) !important;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
  border-color: var(--color-pink);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---
   ÉTATS (pilotés via JS en maquette / via PHP ACF en production)
   .state-save-date : hero en mode "save the date"
   .state-full-banner : hero en mode "bannière définitive"
   .prog-teaser : section programme = capture email
   .prog-full : section programme = thèmes détaillés
--- */
.body--save-date .show-full,
.body--full-banner .show-save {
  display: none !important;
}

.body--prog-teaser .show-prog-full,
.body--prog-full .show-prog-teaser {
  display: none !important;
}


/* ---
   BARRE MAQUETTE
   NE PAS intégrer en WP — uniquement pour les revues de maquette
--- */
.maquette-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}

.maquette-bar span.label {
  color: #888;
  margin-right: 4px;
}

.maquette-bar .pill-group {
  display: flex;
  gap: 6px;
}

.maquette-pill {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #444;
  background: transparent;
  color: #ccc;
  font-size: 11px;
  font-family: var(--font);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.maquette-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.maquette-sep {
  width: 1px;
  height: 16px;
  background: #444;
}

.maquette-bar__note {
  margin-left: auto;
  color: #555;
  font-size: 10px;
  letter-spacing: 0.06em;
}


/* ---
   NAV
--- */
.site-nav {
  position: sticky;
  top: 37px;
  /* hauteur de la barre maquette */
  z-index: 100;
  background: var(--color-cream);
  border-bottom: var(--border-fine);
}

.site-nav__inner {
  max-width: 100%;
  margin: 0;
  padding: 0 var(--container-p);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding-right: 0;
}

/* Séparateur vertical entre marque et nav */
.site-nav__brand::after {
  display: none;
}

.site-nav__logo {
  font-family: var(--font-display);
  font-size: 68px;
  /* Enlarged desktop logo */
  line-height: 0.8;
  color: var(--color-black);
  letter-spacing: -0.04em;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-bottom: 5px;
}

.site-nav__logo:hover {
  color: var(--color-pink);
  transform: rotate(-2deg) scale(1.05);
}

.site-nav__slogan {
  font-family: var(--font-display);
  font-size: 16px;
  /* Slightly smaller for the stacked look */
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-black);
  max-width: none;
  margin-top: 8px;
  margin-left: 5px;
  text-transform: none;

}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin-left: auto;
  margin-right: 44px;
}

.site-nav__links a {
  font-family: var(--font-display);
  font-size: 16px;
  /* Base size */
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  padding: 0 10px;
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}

.site-nav__links a.active,
.site-nav__links a:hover {
  font-size: 16px;
  /* Keep font-size same */
  font-weight: 900;
  color: var(--color-pink);

  letter-spacing: -0.02em;
  transform: rotate(-2deg) scale(1.15);
  /* Use scale to grow the text smoothly */
  z-index: 10;
}

.site-nav__links a::after {
  display: none;
}

.nav-cta {
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.body--save-date .nav-cta {
  background: black;
  color: white;
  border: 1px solid var(--color-black);
}

.body--save-date .nav-cta:hover {
  background: var(--color-black);
  color: #fff;
}

.body--full-banner .nav-cta {
  background: var(--color-pink);
  color: #fff;
}

.body--full-banner .nav-cta:hover {
  background: var(--color-black);
}


/* ---
   HERO
--- */
.hero {
  display: flex;
  align-items: center;
  /* 100vh - (Barre maquette 37px + Nav 120px + Stats ~105px) = ~262px */
  min-height: calc(100vh - 262px);
  border-bottom: var(--border-fine);
  background: var(--color-pink);
  color: #000;
  padding: 40px 0;
}

.body--save-date .hero,
.body--full-banner .hero {
  background: linear-gradient(-45deg, var(--color-pink), var(--color-accent-1), var(--color-accent-2), var(--color-accent-3));
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero__content {
  flex: 1;
  padding-left: var(--container-p);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero__eyebrow {
  margin-bottom: 32px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: currentColor;
}

.hero__eyebrow .cartouche {
  background: none;
  padding: 0;
  color: var(--color-black);
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 120px);
  line-height: 0.85;
  margin-bottom: 32px;
}

.hero__title .show-save {
  -webkit-text-stroke: 2px var(--color-black);
  color: transparent;
  text-transform: uppercase;

}



.hero__title .show-full {
  -webkit-text-stroke: 2px var(--color-black);
  color: transparent;
  text-transform: uppercase;

  font-size: clamp(40px, 6vw, 84px);
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-black);
  padding: 12px 0;
  margin-bottom: 32px;
  display: inline-block;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero__tagline {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 40px;
}

.hero__illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: var(--container-p);
  z-index: 1;
}

.hero__illustration img {
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(20px 20px 0px var(--color-black));
}


/* ---
   STATS BANDEAU
--- */
.stats-band {
  background: var(--color-black);
  color: #fff;
  padding: 32px 0;
  border-bottom: var(--border-fine);
}

.stats-band__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 var(--container-p);
  flex-wrap: wrap;
}

.stats-band__label {
  margin-right: 24px;
}

.stats-band__label .cartouche {
  /*background: var(--color-pink);*/
  color: var(--color-pink);
  font-size: 50px;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.stats-band__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stats-band__val {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}

.stats-band__unit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}


/* ---
   À PROPOS
--- */
.about {
  padding: var(--section-gap) 0;
  background: var(--color-cream);
  border-bottom: var(--border-fine);
}

.about__inner {
  max-width: 800px;
}

.about__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  color: var(--color-black);
}

.about__cta {
  margin-top: 48px;
}


/* ---
   PROGRAMME
--- */
.programme {
  padding: var(--section-gap) 0;
  background: var(--color-cream);
  border-bottom: var(--border-fine);
}

.prog-capture {
  max-width: 1140px;
  text-align: left;
}

.teaser-themes-grid {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.teaser-theme {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 30%;
}

.teaser-theme__num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-pink);
  line-height: 1;
}

.teaser-theme__label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);

}

.prog-capture__title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.prog-capture__text {
  font-size: 18px;
  margin-bottom: 40px;
}

.prog-capture__form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  width: 70%;
}

.prog-capture__input {
  flex: 1;
  padding: 16px 24px;
  border: var(--border-fine);
  border-radius: 50px;
  font-family: var(--font-body);
  background: #fff;
  outline: none;
}

.prog-capture__input:focus {
  border-color: var(--color-pink);
}

.prog-full__section-title {
  font-family: var(--font-display);
  font-size: 48px;
  margin-bottom: 48px;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.theme-card {
  padding: 40px;
  border: 2px solid var(--color-black);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotate(-1deg);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
}

.theme-card:nth-child(even) {
  transform: rotate(1deg);
}

.theme-card:nth-child(1) {
  background: #fff;
  border-color: var(--color-pink);
  box-shadow: 6px 6px 0px rgba(237, 45, 143, 0.1);
}

.theme-card:nth-child(2) {
  background: #fff;
  border-color: var(--color-accent-1);
  box-shadow: 6px 6px 0px rgba(127, 203, 127, 0.15);
}

.theme-card:nth-child(3) {
  background: #fff;
  border-color: var(--color-accent-2);
  box-shadow: 6px 6px 0px rgba(245, 213, 71, 0.15);
}

.theme-card:hover {
  transform: scale(1.05) rotate(0deg);
}

.theme-card:nth-child(1):hover {
  box-shadow: 12px 12px 0px rgba(237, 45, 143, 0.2);
}

.theme-card:nth-child(2):hover {
  box-shadow: 12px 12px 0px rgba(127, 203, 127, 0.2);
}

.theme-card:nth-child(3):hover {
  box-shadow: 12px 12px 0px rgba(245, 213, 71, 0.2);
}

.theme-card__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--color-black);
}

.theme-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: var(--border-fine);
}

.activity-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--color-pink);
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-item span {
  font-size: 16px;
  font-weight: 500;
}


/* ---
   INTERVENANTS
--- */
.press-section {
  padding: 120px 0 var(--section-gap);
  background: var(--color-cream);
}

.speakers {
  padding: var(--section-gap) 0;
  background: var(--color-cream);
}

.speakers__header {
  margin-bottom: 48px;
}

.speakers__title {
  font-family: var(--font-display);
  font-size: 48px;
}

.partners-wall {
  margin-top: 40px;
}

.partners-wall__list {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.6;
  text-align: left;
  color: var(--color-black);
}

.partner-name {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
}

.partner-name:hover {
  color: var(--color-pink);
  transform: scale(1.1) rotate(-1deg);
}

.partner-sep {
  display: inline-flex;
  align-items: center;
  margin: 0 10px;
  color: var(--color-pink);
  opacity: 1;
  font-size: 1em;

  vertical-align: middle;
  line-height: 1;
}

.speakers__cta {
  margin-top: 60px;
}


/* ---
   ARCHIVES
--- */
.archives {
  padding: 60px 0 var(--section-gap);
  background: var(--color-cream);
  border-top: var(--border-fine);
  border-bottom: var(--border-fine);
}

.archives__header {
  margin-bottom: 48px;
}

.archives__title {
  font-family: var(--font-display);
  font-size: 48px;
}

.archives__cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.archives__cta-hint {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.tab {
  padding: 10px 24px;
  border: var(--border-fine);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}

.tab:hover {
  background: var(--color-black);
  color: #fff;
}

.tab.active {
  background: var(--color-black);
  color: #fff;
}

/* Archives Filters */
.year-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 24px;
}

.year-pill {
  padding: 10px 24px;
  border: var(--border-fine);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
  transition: all 0.2s;
}

.year-pill:hover {
  background: rgba(0, 0, 0, 0.05);
}

.year-pill.active {
  background: var(--color-black);
  color: #fff;
}

/* Visibility logic: target only content items, not the filter buttons */
.media-card[data-year],
.photo-thumb[data-year],
.program-archive-card[data-year],
.tab-panel[data-year] {
  display: none;
}

.media-card.is-visible {
  display: flex;
  flex-direction: column;
}

.photo-thumb.is-visible {
  display: flex;
}

.program-archive-card.is-visible {
  display: flex;
}

.tab-panel[data-year].active.is-visible {
  display: block;
}


/* Tab panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- ARCHIVES HOMEPAGE : Scroll horizontal --- */
.media-hscroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-pink) transparent;
}

.media-hscroll::-webkit-scrollbar {
  height: 3px;
}

.media-hscroll::-webkit-scrollbar-thumb {
  background: var(--color-pink);
  border-radius: 2px;
}

.media-card--hscroll {
  flex: 0 0 calc(33.333% - 6px);
  height: 240px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .media-card--hscroll {
    flex: 0 0 80%;
  }
}

/* --- ARCHIVES HOMEPAGE : Featured + liste compacte --- */
.media-featured-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  height: 420px;
}

.media-card.media-card--featured {
  height: 100%;
}

.media-compact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-compact-item {
  display: flex;
  flex: 1;
  border: var(--border-fine);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease;
}

.media-compact-item:hover {
  border-color: var(--color-pink);
}

.media-compact-item__thumb {
  width: 130px;
  flex-shrink: 0;
  position: relative;
}

.media-compact-item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: background 0.2s;
}

.media-compact-item:hover .media-compact-item__play {
  background: var(--color-pink);
  color: #fff;
}

.media-compact-item__content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.media-compact-item__type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-pink);
}

.media-compact-item__title {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.3;
  color: var(--color-black);
  margin: 0;
}

.media-compact-item__meta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.45;
}

@media (max-width: 768px) {
  .media-featured-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .media-card--featured {
    height: 280px;
  }

  .media-compact-item__thumb {
    width: 90px;
  }
}

/* Media Grid & Cards — Refined Editorial Look */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 300px;

  /* Consistent height for all media cards */
  border-radius: var(--radius-card);
  overflow: hidden;
  border: var(--border-fine);
  cursor: pointer;
}

.media-card__thumb {
  position: absolute;
  inset: 0;
  background: var(--color-black);
  /* Base for images */
}

/* Gradient overlay for text readability */
.media-card__thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Simulated image zoom effect */
.media-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.media-card:hover .media-card__thumb::before {
  transform: scale(1.05);
}

.media-card__type {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-black);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.media-card__year {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-black);
  padding: 5px 12px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.media-card__play {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--color-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.media-card:hover .media-card__play {
  background: var(--color-pink);
  color: #fff;
  transform: scale(1.15);
}

.media-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.media-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
  color: #fff;
  transition: color 0.3s;
}

.media-card:hover .media-card__title {
  color: #fff;
  /* Keep white on hover as it's over dark gradient */
}

.media-card__meta {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

/* Grille photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.photo-thumb {
  position: relative;
  height: 300px;
  aspect-ratio: auto;
  background: #e0e0e0;
  border-radius: var(--radius-card);
  border: var(--border-fine);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #aaa;
  transition: all 0.3s ease;
}

.photo-thumb:hover {
  transform: scale(1.02);
  z-index: 1;
  border-color: var(--color-pink);
}

.photo-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-black);
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Grille programmes archives */
.program-archives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 48px;
}

.program-archive-card {
  display: flex;
  height: 300px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 32px;

  background: #fff;
  border: var(--border-fine);
  border-radius: var(--radius-card);
  transition: all 0.3s ease;
}

.program-archive-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-pink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.program-archive-card__year {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  color: var(--color-pink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.program-archive-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--color-black);
}

.program-archive-card__desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.6;
  max-width: 300px;
}

.btn--small {
  padding: 8px 16px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .program-archives-grid {
    grid-template-columns: 1fr;
  }

  .program-archive-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.partners {
  padding: 80px 0;
  background: var(--color-cream);
  border-bottom: var(--border-fine);
}

.partners__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partners__tags .cartouche {
  background: #fff;
  color: var(--color-black);
  border: var(--border-fine);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 24px;
}

.partners__group--media,
.partners__group--financeurs {
  margin-top: 60px;
}

/* Grille logos partenaires */
.partners-logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  border: 2px solid var(--color-black);
  border-radius: 8px;
  min-width: 160px;
  min-height: 120px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05);
  transform: rotate(-1deg);
  position: relative;
}

.partner-logo:nth-child(even) {
  transform: rotate(1.2deg);
}

.partner-logo:nth-child(3n) {
  transform: rotate(-0.8deg);
}

/* Couleurs de la charte sur les contours */
.partner-logo:nth-child(4n+1) {
  border-color: var(--color-pink);
}

.partner-logo:nth-child(4n+2) {
  border-color: var(--color-accent-1);
}

.partner-logo:nth-child(4n+3) {
  border-color: var(--color-accent-2);
}

.partner-logo:nth-child(4n+4) {
  border-color: var(--color-accent-3);
}

/* Ombres assorties */
.partner-logo:nth-child(4n+1) {
  box-shadow: 4px 4px 0px rgba(237, 45, 143, 0.1);
}

.partner-logo:nth-child(4n+2) {
  box-shadow: 4px 4px 0px rgba(127, 203, 127, 0.15);
}

.partner-logo:nth-child(4n+3) {
  box-shadow: 4px 4px 0px rgba(245, 213, 71, 0.15);
}

.partner-logo:nth-child(4n+4) {
  box-shadow: 4px 4px 0px rgba(127, 201, 218, 0.15);
}

.partner-logo:hover {
  transform: scale(1.08) rotate(0deg);
  z-index: 10;
}

.partner-logo:nth-child(4n+1):hover {
  box-shadow: 10px 10px 0px rgba(237, 45, 143, 0.2);
}

.partner-logo:nth-child(4n+2):hover {
  box-shadow: 10px 10px 0px rgba(127, 203, 127, 0.2);
}

.partner-logo:nth-child(4n+3):hover {
  box-shadow: 10px 10px 0px rgba(245, 213, 71, 0.2);
}

.partner-logo:nth-child(4n+4):hover {
  box-shadow: 10px 10px 0px rgba(127, 201, 218, 0.2);
}

.partner-logo__img {
  max-height: 60px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.partner-logo:hover .partner-logo__img {
  opacity: 1;
  filter: grayscale(0);
}

/* Fallback texte quand pas de logo image */
.partner-logo__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--color-black);
  opacity: 0.6;
  line-height: 1.3;
}

.partner-logo:hover .partner-logo__name {
  opacity: 1;
  color: var(--color-pink);
}

/* ---
   FOOTER
--- */
.site-footer {
  padding: 80px 0 40px;
  background: var(--color-black);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.site-footer__watermark {
  position: absolute;
  bottom: -60px;
  right: -40px;
  font-family: var(--font-display);
  font-size: clamp(200px, 25vw, 380px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(237, 45, 143, 0.2);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.site-footer__slogan {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
  opacity: 0.6;
}

.site-footer__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-footer__links a {
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.site-footer__links a:hover {
  color: var(--color-pink);
}

.site-footer__copy {
  font-size: 12px;
  opacity: 0.4;
}

.partners__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partners .cartouche {
  background: transparent;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
}

.partners .cartouche:hover {
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: #fff;
  transform: translateY(-2px);
}

.partner-tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-2);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.partner-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.partner-tag--more {
  font-style: italic;
  color: var(--text-3);
  padding: 80px 0 40px;
  margin-top: 0;
  /* Align with previous sections */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 48px;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
  font-weight: 700;
}

.footer-slogan {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.5;
  max-width: 200px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.5;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-pink);
  padding-left: 5px;
}

.footer-info {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.5;
  margin-bottom: 20px;
}

.footer-info strong {
  color: #fff;
  opacity: 1;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  /* border-top: 1px solid rgba(255, 255, 255, 0.1);*/
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.footer-credit {
  font-size: 11px;
  opacity: 0.3;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-black);
  border-radius: 50%;
  color: var(--color-black);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
}

.footer-socials {
  margin-top: 32px;
}

.footer-socials__label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-pink);
  margin-bottom: 12px;
}

.footer-socials .social-links {
  gap: 16px;
}

.footer-socials .social-link {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-socials .social-link:hover {
  border-color: var(--color-pink);
  background: var(--color-pink);
}

.mobile-menu__socials {
  margin-top: 40px;
}

.mobile-menu__socials .social-link {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}


/* ---
   RESPONSIVE DESIGN
--- */

/* HIDE MOBILE ELEMENTS BY DEFAULT */
.burger,
.mobile-menu {
  display: none;
}

/* TABLETS & LAPTOPS (1280px) */
@media (max-width: 1280px) {
  :root {
    --section-gap: 80px;
    --container-p: 24px;
  }

  .hero {
    flex-direction: column;
    padding: 60px 0;
    text-align: center;
  }

  .hero__content {
    padding-left: var(--container-p);
    padding-right: var(--container-p);
    align-items: center;
    margin-bottom: 48px;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__illustration {
    padding-right: 0;
    width: 100%;
    max-width: 500px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__ctas {
    justify-content: center;
  }

  /* START MOBILE NAV AT 1024px */
  .site-nav__inner {
    height: auto;
    padding: 20px var(--container-p);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .site-nav__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-right: 0;
  }

  .site-nav__brand::after {
    display: none;
  }

  .site-nav__logo {
    font-size: 50px;
    padding-bottom: 0;
  }

  .site-nav__slogan {
    font-size: 13px;
    max-width: 180px;
  }

  .site-nav__links,
  .nav-cta-wrapper {
    display: none;
  }

  .burger {
    display: flex;
    margin-top: 10px;
    /* Align with the KISS logo */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 10px;
  }

  .burger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-black);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .body--menu-open .burger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #fff;
  }

  .body--menu-open .burger span:nth-child(2) {
    opacity: 0;
  }

  .body--menu-open .burger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #fff;
  }

  /* MOBILE MENU OVERLAY */
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-pink);
    z-index: 1500;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 40px;
  }

  .body--menu-open .mobile-menu {
    transform: translateX(0);
    display: flex;
  }

  .mobile-menu__links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .mobile-menu__links a:not(.btn) {
    font-family: var(--font-display);
    font-size: 48px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: all 0.3s;
    display: block;
  }

  .mobile-menu__links a:not(.btn):hover {
    transform: scale(1.1) rotate(-2deg);
    color: var(--color-black);
  }

  .mobile-menu__links .btn {
    background: var(--color-black);
    color: #fff;
    font-size: 16px;
    padding: 16px 40px;
    margin-top: 12px;
  }

  .mobile-menu__footer {
    margin-top: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
  }

  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teaser-themes-grid {
    gap: 32px;
  }

  .teaser-theme {
    width: calc(50% - 16px);
  }

  .media-grid {
    gap: 32px;
  }
}

/* MOBILE (768px) */
@media (max-width: 768px) {
  .site-nav__logo {
    font-size: 40px;
  }

  .site-nav__slogan {
    font-size: 11px;
    max-width: 140px;
  }

  .burger {
    margin-top: 6px;
  }

  .stats-band__inner {
    justify-content: center;
    text-align: center;
    gap: 32px;
  }

  .stats-band__item {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .themes-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archives__title,
  .speakers__title,
  .prog-capture__title,
  .prog-full__section-title {
    font-size: 32px;
  }

  .teaser-themes-grid {
    gap: 40px;
  }

  .teaser-theme {
    width: 100%;
  }

  .prog-capture__form {
    flex-direction: column;
    gap: 16px;
  }

  .prog-capture__input {
    width: 100%;
  }

  .about__text {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .archives__cta {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }

  .partners-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .partner-logo {
    width: 100%;
    height: 100px;
    padding: 16px;
  }
}

/* SMALL MOBILE (480px) */
@media (max-width: 480px) {
  .site-nav__logo {
    font-size: 36px;
  }


  .burger {
    margin-top: 4px;
  }

  .stats-band__val {
    font-size: 32px;
  }

  .theme-card {
    padding: 24px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .year-selector {
    flex-wrap: wrap;
    justify-content: center;
  }
}