/* ================================
   SKI FORCE PRO
   Design V1 - Modèle ANP Padel adapté hiver/montagne
   ================================ */

/* ---- Police Jost auto-hébergée ----
   Équivalent libre le plus proche de l'ITC Avant Garde Gothic de la charte
   (géométrique, terminaisons carrées). 3 graisses : 400 Book, 700 Demi
   (boutons, nav), 900 Bold (titres). Si licence ITC AVG dispo un jour, swap ici. */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jost-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/jost-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/jost-900-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Fallback avec métriques ajustées pour éliminer le CLS pendant le swap. */
@font-face {
  font-family: 'Jost-fallback';
  src: local('Arial');
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* ---- Variables ---- */
:root {
  /* Couleurs de la charte SKI FORCE, échantillonnées sur le logo officiel */
  --color-night: #183050;        /* bleu foncé charte - CMJN 100/86/39/30 */
  --color-night-rgb: 24, 48, 80; /* canaux de --color-night pour les rgba() */
  --color-night-2: #1F3E68;      /* variante cartes sur fond sombre */
  --color-night-deep: #0D1B30;   /* départ des dégradés sombres */
  --color-night-3: #22456F;      /* fin des dégradés sombres */
  --color-night-footer: #0F2038; /* fond du footer */
  --color-ice: #7CC2EC;          /* éclairci du bleu charte, accents sur fond sombre */
  --color-ice-rgb: 124, 194, 236; /* canaux de --color-ice pour les rgba() */
  --color-ice-dark: #0878C0;     /* bleu clair charte - CMJN 87/47/3/0 */
  --color-red: #F03828;          /* rouge charte - CMJN 0/88/86/0, CTA */
  --color-red-dark: #D32E20;     /* rouge hover */
  --color-snow: #F4F8FC;         /* blanc neige (sections claires) */
  --color-white: #FFFFFF;
  --color-text: #17253C;         /* texte sur fond clair */
  --color-text-muted: #5A6B84;
  --font-main: 'Jost', 'Jost-fallback', Arial, sans-serif;
  --container-width: 1200px;
  --radius: 14px;
  --border-card: 1px solid rgba(10, 30, 60, 0.08); /* liseré des cartes sur fond clair */
}

/* ---- Accessibilité ---- */

/* Skip link : visible uniquement au focus clavier */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--color-night);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--color-ice);
  outline-offset: 2px;
}

/* Focus visible homogène sur tous les éléments interactifs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-ice);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Réduction des animations si préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Reset / base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Boutons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--large { padding: 16px 44px; font-size: 1.05rem; }
.btn--solid {
  background: var(--color-red);
  color: var(--color-white);
}
.btn--solid:hover { background: var(--color-red-dark); }
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-night);
}

/* CTA inscriptions fermées : pastille non cliquable (bascule via Sanity) */
.btn--soon {
  cursor: default;
  opacity: 0.92;
}
.btn--soon:hover { transform: none; background: var(--color-red); }
.nav__link--soon {
  cursor: default;
  opacity: 0.85;
}
.nav__link--soon:hover { background: var(--color-red); color: var(--color-white); }

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--color-night-rgb), 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo-badge {
  height: 54px;
  width: 54px;
}
.footer__logo-badge {
  height: 96px;
  width: 96px;
  margin-bottom: 14px;
}
.nav__logo-text,
.footer__logo-text {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
}
.nav__logo-text em,
.footer__logo-text em,
.hero__title em {
  font-style: normal;
  color: var(--color-ice);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--color-ice); }
.nav__link--active { color: var(--color-ice); }

.nav__link--cta {
  background: var(--color-red);
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: 999px;
}
.nav__link--cta:hover {
  background: var(--color-white);
  color: var(--color-night);
}

/* Burger (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--color-night-deep) 0%, var(--color-night) 45%, var(--color-night-3) 100%);
  overflow: hidden;
}


.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--color-night-rgb), 0.55) 0%, rgba(var(--color-night-rgb), 0.35) 45%, rgba(var(--color-night-rgb), 0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 860px;
  animation: heroReveal 0.8s ease both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  height: clamp(120px, 18vw, 168px);
  width: clamp(120px, 18vw, 168px);
  margin: 0 auto 28px;
}

.hero__kicker {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  margin-bottom: 36px;
}
.hero__subtitle strong { color: var(--color-white); }

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Sections communes ---- */
.about__title,
.stats__title,
.editions__title,
.brands__title,
.faq__title,
.contact__title,
.join__title,
.legal__title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

/* ---- L'événement ---- */
/* Titre dans une colonne étroite (grille 2 colonnes) : taille réduite
   pour tenir sur une ligne en desktop. */
.about__title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.about {
  padding: 96px 0;
  background: var(--color-white);
}
.about__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__content--top { align-items: start; }
.about__text p { margin-bottom: 16px; }
.about__text strong { color: var(--color-night); }
.about__body .btn { margin-top: 8px; }

.about__facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__fact {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-snow);
  border: var(--border-card);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-weight: 600;
}

/* ---- Teaser vidéo ---- */
.teaser {
  padding: 96px 0;
  background: var(--color-snow);
  text-align: center;
}
.teaser__player {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-night);
  box-shadow: 0 18px 50px rgba(var(--color-night-rgb), 0.25);
}
.teaser__player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* ---- Flux Instagram (Behold) ---- */
.insta { margin-top: 56px; }
.insta__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.insta__title a { color: var(--color-ice-dark); text-decoration: none; }
.insta__title a:hover { text-decoration: underline; }
.insta__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.insta__item {
  display: block;
  aspect-ratio: 1;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--color-snow);
}
.insta__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.insta__item:hover img { transform: scale(1.05); }
@media (max-width: 560px) {
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Chiffres ---- */
.stats {
  padding: 96px 0;
  background: var(--color-night);
  color: var(--color-white);
  text-align: center;
}
.stats__title { color: var(--color-white); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stats__card {
  background: var(--color-night-2);
  border: 1px solid rgba(var(--color-ice-rgb), 0.15);
  border-radius: var(--radius);
  padding: 40px 24px;
}
.stats__number,
.stats__suffix {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--color-ice);
  line-height: 1;
}
.stats__label {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

/* ---- Éditions ---- */
.editions {
  padding: 96px 0;
  background: var(--color-snow);
  text-align: center;
}
.editions__subtitle {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}
.editions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.editions__card {
  position: relative;
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.editions__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 30, 60, 0.12);
}
.editions__date {
  display: inline-block;
  background: var(--color-night);
  color: var(--color-ice);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.editions__station {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.editions__detail {
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.editions__forfait {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-night);
  background: var(--color-snow);
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-block;
}

/* ---- Marques (marquee) ---- */
.brands {
  padding: 96px 0 80px;
  background: var(--color-white);
  text-align: center;
}
.brands__subtitle {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}
.brands__marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: brandsScroll 36s linear infinite;
}
.brands__marquee-wrap:hover .brands__marquee-track { animation-play-state: paused; }
@keyframes brandsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brands__chip {
  flex-shrink: 0;
  background: var(--color-snow);
  border: var(--border-card);
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-night);
  white-space: nowrap;
}
.brands__chip--more {
  background: var(--color-night);
  color: var(--color-ice);
  border-color: var(--color-night);
}
/* Pastilles logo : fond blanc pour la lisibilité, hauteur d'image uniforme */
.brands__chip--logo {
  display: flex;
  align-items: center;
  background: var(--color-white);
  padding: 10px 26px;
}
.brands__chip--logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
/* Logos blancs (ex : Majesty) : pastille bleu nuit */
.brands__chip--dark {
  background: var(--color-night);
  border-color: var(--color-night);
}
.brands__cta { margin-top: 40px; }

/* Page exposants : grille statique de marques (pas de défilement) */
.brands__grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.brands__note {
  margin-top: 40px;
  color: var(--color-text-muted);
}
.brands__note a { color: var(--color-ice-dark); font-weight: 600; }

.partners .contact__card { text-align: left; }
.partners .contact__card-list li { margin-bottom: 6px; }
.partners .contact__card-list a { color: var(--color-ice-dark); }

/* ---- FAQ ---- */
.faq {
  padding: 96px 0;
  background: var(--color-snow);
}
.faq__title { text-align: center; margin-bottom: 48px; }
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__question {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 56px 20px 24px;
  position: relative;
  list-style: none;
  transition: color 0.2s ease;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ice-dark);
  transition: transform 0.25s ease;
}
.faq__item[open] .faq__question::after { transform: translateY(-50%) rotate(45deg); }
.faq__item[open] .faq__question { color: var(--color-ice-dark); }
.faq__answer {
  padding: 0 24px 22px;
  color: var(--color-text);
}
.faq__answer p { margin-bottom: 10px; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--color-ice-dark); font-weight: 600; }

/* ---- Inscription CTA ---- */
.join {
  padding: 110px 0;
  background: linear-gradient(160deg, var(--color-night) 0%, var(--color-night-3) 100%);
  text-align: center;
  color: var(--color-white);
}
.join__title { margin-bottom: 18px; }
.join__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  margin-bottom: 36px;
}

/* ---- Contact ---- */
.contact {
  padding: 96px 0;
  background: var(--color-white);
  text-align: center;
}
.contact__grid {
  display: grid;
  /* Le nombre de colonnes suit le nombre de cartes (1 sur l'accueil, 3 sur
     exposants) ; la largeur max d'une carte est portée par .contact__card. */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
  gap: 28px;
  margin-top: 40px;
}
.contact__card {
  background: var(--color-snow);
  border: var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  width: 100%;
  max-width: 420px;
}
.contact__card-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ice-dark);
  margin-bottom: 10px;
}
.contact__card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__card-list a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.contact__card-list a:hover { color: var(--color-ice-dark); }
.contact__note {
  margin-top: 40px;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-night-footer);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 48px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer__logo-link { text-decoration: none; display: inline-block; margin-bottom: 16px; }
.footer__desc { font-size: 0.95rem; line-height: 1.7; }
.footer__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--color-ice); }

/* ---- Hero : photo (fallback/LCP, toutes pages) et vidéo de fond Sanity ---- */
.hero__photo,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__video--ready { opacity: 1; }
.hero--etape {
  min-height: 72svh;
}

/* ---- Galerie photos ---- */
.gallery {
  padding: 96px 0;
  background: var(--color-snow);
}
.gallery__credit {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 24px;
}
.gallery__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gallery__credit a:hover { color: var(--color-night); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}


/* ---- Cartes étapes cliquables (accueil) ---- */
.editions__card-photo {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
}
.gallery__item img,
.editions__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery__item:hover img,
.editions__card:hover .editions__card-photo img { transform: scale(1.04); }
.editions__link {
  color: inherit;
  text-decoration: none;
}
/* Étend la zone cliquable à toute la carte */
.editions__link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.editions__more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--color-ice-dark);
}

/* ---- Réseaux sociaux ---- */
.socials {
  display: flex;
  gap: 12px;
}
.footer__socials { margin-top: 20px; }
.footer__uesc {
  margin-top: 24px;
}
.footer__uesc-logo {
  width: 140px;
  height: auto;
}
.footer__uesc-mention {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer__credit {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__credit a:hover { color: var(--color-white); }
.join .socials {
  margin-top: 32px;
  justify-content: center;
}
.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  transition: background 0.2s ease, transform 0.15s ease;
}
.socials__link:hover {
  background: var(--color-red);
  transform: translateY(-2px);
}
.socials__link svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- Formulaire de contact ---- */
.contact__form {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: left;
}
.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group--full { grid-column: 1 / -1; }
.form__group label { font-weight: 700; font-size: 0.92rem; }
.form__optional { font-weight: 400; color: var(--color-text-muted); }
.form__group input,
.form__group textarea {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: var(--border-card);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s ease;
}
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-ice-dark);
}
.form__group textarea { resize: vertical; }
.form__submit { text-align: center; margin-top: 24px; }
.form__status {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  min-height: 1.5em;
}
.form__status--ok { color: #1B7F4B; }
.form__status--error { color: var(--color-red-dark); }

/* ---- Pages légales ---- */
.legal {
  padding: 140px 0 96px;
  background: var(--color-white);
}
.legal .container { max-width: 820px; }
.legal__intro {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.legal__section { margin-bottom: 36px; }
.legal__section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-night);
  margin-bottom: 12px;
}
.legal__section p, .legal__section li { margin-bottom: 8px; }
.legal__section ul { padding-left: 22px; margin-bottom: 12px; }
.legal__section a { color: var(--color-ice-dark); font-weight: 600; }

/* ---- Page d'erreur (404) ---- */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--color-night-deep) 0%, var(--color-night) 45%, var(--color-night-3) 100%);
  color: var(--color-white);
  padding: 24px;
}
.error-page__code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 900;
  color: var(--color-ice);
  line-height: 1;
}
.error-page__title { font-size: 1.5rem; font-weight: 700; margin: 16px 0 8px; }
.error-page__text { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  margin: 0 auto;
  z-index: 2000;
  background: var(--color-night);
  color: var(--color-white);
  border: 1px solid rgba(var(--color-ice-rgb), 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner--hidden {
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text { font-size: 0.92rem; }
.cookie-banner__link { color: var(--color-ice); }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__btn { padding: 10px 20px; font-size: 0.85rem; }

/* ---- Animations d'apparition au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 960px) {
  .about__content { grid-template-columns: 1fr; gap: 40px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .editions__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; max-width: 480px; margin: 40px auto 0; }
  .hero__video { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__list {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(var(--color-night-rgb), 0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 12px 0 24px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav__list--open { transform: translateY(0); }
  .nav__list li { width: 100%; text-align: center; }
  .nav__link { display: block; padding: 14px 0; }
  .nav__link--cta {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 32px;
  }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .gallery__grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
}
