/* ==========================================================================
   Camp Mission 2026 — Dangbessito
   Design Premium · Glassmorphisme · 3D · Animations avancées
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Palette accent — inchangés entre les thèmes */
  --yellow:  #F5C800;
  --teal:    #00E5C4;
  --orange:  #E55000;
  --yellow-muted: rgba(245,200,0,0.12);
  --teal-muted:   rgba(0,229,196,0.12);

  /* ── Thème sémantique : DARK (défaut) ── */
  --bg-primary:   #0A0A0A;
  --bg-secondary: #111111;
  --bg-card:      #161616;
  --border:       rgba(255,255,255,0.07);
  --text-primary: #F5F5F0;
  --text-muted:   rgba(255,255,255,0.45);

  /* Aliases internes (utilisés dans le CSS existant) */
  --black:   #0A0A0A;
  --white:   #F5F5F0;
  --s1: #111111;
  --s2: #161616;
  --s3: #1e1e1e;

  /* Glassmorphisme */
  --glass-bg:     rgba(255,255,255,0.04);
  --glass-bg-s:   rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.08);
  --glass-hi:     rgba(255,255,255,0.14);
  --glass-blur:   24px;

  /* Muted */
  --m1: rgba(255,255,255,0.55);
  --m2: rgba(255,255,255,0.32);
  --m3: rgba(255,255,255,0.12);

  /* Glows */
  --glow-y: rgba(245,200,0,0.25);
  --glow-t: rgba(0,229,196,0.20);
  --glow-o: rgba(229,80,0,0.15);

  /* Typo */
  --font-d: 'Bebas Neue', sans-serif;
  --font-b: 'Poppins', sans-serif;

  /* Geometry */
  --r:    16px;
  --r-s:  10px;
  --r-xs: 6px;
  --r-pill: 100px;

  /* Timing */
  --tf: 0.18s ease;
  --tm: 0.28s ease;
  --ts: 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  --te-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Light Mode ── */
[data-theme="light"] {
  --bg-primary:   #F8F7F2;
  --bg-secondary: #FFFFFF;
  --bg-card:      #FFFFFF;
  --border:       rgba(0,0,0,0.08);
  --text-primary: #0A0A0A;
  --text-muted:   rgba(0,0,0,0.45);

  --black:   #F8F7F2;
  --white:   #0A0A0A;
  --s1: #FFFFFF;
  --s2: #FFFFFF;
  --s3: #F0EFE9;

  --glass-bg:     rgba(0,0,0,0.03);
  --glass-bg-s:   rgba(0,0,0,0.06);
  --glass-border: rgba(0,0,0,0.08);
  --glass-hi:     rgba(0,0,0,0.10);

  --m1: rgba(0,0,0,0.55);
  --m2: rgba(0,0,0,0.35);
  --m3: rgba(0,0,0,0.12);

  --glow-y: rgba(245,200,0,0.15);
  --glow-t: rgba(0,229,196,0.12);
  --glow-o: rgba(229,80,0,0.10);
}

/* ── Transition globale lors du changement de thème ── */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-b);
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (hover: none) {
  body, a, button, input, select, textarea, label { cursor: auto; }
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section { padding: 112px 0; position: relative; overflow: hidden; }

.div {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-hi), transparent);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   4. Keyframes
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(1deg); }
  66%       { transform: translateY(-4px) rotate(-1deg); }
}

@keyframes particle-rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-100px) translateX(var(--px,0px)) scale(0); opacity: 0; }
}

@keyframes hero-ken-burns {
  from { transform: scale(1)    translateX(0); }
  to   { transform: scale(1.07) translateX(-2%); }
}

@keyframes glow-pulse-y {
  0%, 100% { box-shadow: 0 0 20px rgba(245,200,0,0.15), 0 0 40px rgba(245,200,0,0.05); }
  50%       { box-shadow: 0 0 40px rgba(245,200,0,0.35), 0 0 80px rgba(245,200,0,0.12); }
}

@keyframes glow-pulse-t {
  0%, 100% { box-shadow: 0 0 20px rgba(0,229,196,0.15); }
  50%       { box-shadow: 0 0 40px rgba(0,229,196,0.35); }
}

@keyframes border-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes stripe-move {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(300%) skewX(-15deg); }
}

@keyframes badge-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,196,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(0,229,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,196,0); }
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes success-ring-anim {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes flip-in {
  0%   { transform: perspective(400px) rotateX(-90deg); opacity: 0; }
  100% { transform: perspective(400px) rotateX(0deg);  opacity: 1; }
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

/* --------------------------------------------------------------------------
   5. Curseur personnalisé
   -------------------------------------------------------------------------- */
#cursor-spotlight {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,200,0,0.06) 0%, rgba(0,229,196,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   6. Barre de progression scroll
   -------------------------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--teal));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(245,200,0,0.5);
}

/* --------------------------------------------------------------------------
   7. Blobs ambiants (pour rendre le glassmorphisme visible)
   -------------------------------------------------------------------------- */
.section-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: blob-drift 12s ease-in-out infinite;
  z-index: 0;
}

.blob-y  { background: rgba(245,200,0,0.07);  top: 10%; left: 5%; }
.blob-t  { background: rgba(0,229,196,0.06);  bottom: 10%; right: 5%; }
.blob-o  { background: rgba(229,80,0,0.06);   }

/* --------------------------------------------------------------------------
   8. Glassmorphisme
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-hi);
  position: relative;
  will-change: transform;
  transition: border-color var(--tm), box-shadow var(--tm);
}

.glass-card-strong {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-hi);
}

/* Reflet interne (lumière en haut à gauche) */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Effet de brillance au survol (card-shine) */
.card-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.05),
    transparent
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0s;
}

.tilt-card:hover .card-shine {
  left: 150%;
  transition: left 0.6s ease;
}

/* --------------------------------------------------------------------------
   9. Scroll Reveal
   -------------------------------------------------------------------------- */
.r {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--ts), transform var(--ts);
}
.r.in { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   10. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--tf), background var(--tf), box-shadow var(--tf);
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--tf);
}
.btn:hover::before { opacity: 1; }

.btn-y  { background: var(--yellow); color: var(--black); }
.btn-ow {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  border: 1px solid var(--glass-hi);
}
.btn-ow:hover { border-color: rgba(255,255,255,0.4); }

.btn-lg { padding: 15px 34px; font-size: 14px; }

/* Bouton lumineux */
.glow-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}
.btn-y.glow-btn:hover::after  { opacity: 0.6; }
.btn-y.glow-btn {
  box-shadow: 0 0 0 rgba(245,200,0,0);
  transition: transform var(--tf), box-shadow var(--tm);
}
.btn-y.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,200,0,0.35), 0 0 60px rgba(245,200,0,0.12);
}

/* --------------------------------------------------------------------------
   11. Typo utilitaire
   -------------------------------------------------------------------------- */
.lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.title {
  font-family: var(--font-d);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.96;
  color: var(--white);
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--yellow), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   12. Navbar
   -------------------------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: padding 0.35s, background 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}

#nav.sc {
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 12px 0;
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--m1);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--tf);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width var(--tm);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 910;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
#nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 905;
}
#nav.open .nav-links a { font-size: 22px; color: var(--white); }
#nav.open .nav-links a::after { display: none; }

/* --------------------------------------------------------------------------
   13. Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: var(--black);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(220,70,0,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 50% 105%, rgba(245,180,0,0.14) 0%, transparent 55%);
  pointer-events: none;
  will-change: transform;
  transition: transform 0.05s linear;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

/* Orbes ambiantes hero */
.hero-orb-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,200,0,0.08) 0%, transparent 70%);
  bottom: -200px; left: -100px;
  filter: blur(40px);
  animation: float-slow 18s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,196,0.07) 0%, transparent 70%);
  top: 10%; right: -80px;
  filter: blur(40px);
  animation: float-slow 14s ease-in-out infinite reverse;
  pointer-events: none;
}

/* Particules */
#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  animation: particle-rise linear infinite;
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* ── Hero : visuel officiel à droite, fondu vers le noir ── */
.hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-visual-img {
  position: absolute;
  inset: -5%;
  background: url('../images/camp-mission-2026-coming-soon.jpg') center/cover no-repeat;
  animation: hero-ken-burns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      var(--black)           0%,
      rgba(10,10,10,0.88)   18%,
      rgba(10,10,10,0.52)   42%,
      rgba(10,10,10,0.14)   72%,
      rgba(10,10,10,0.04)  100%
    ),
    linear-gradient(to bottom,
      rgba(10,10,10,0.60)   0%,
      transparent           22%,
      rgba(10,10,10,0.38)  100%
    );
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.60);
  text-transform: uppercase;
  margin-bottom: 44px;
  animation: badge-ring 2.5s ease-out infinite;
  will-change: transform;
  transition: transform 0.3s ease;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--teal);
  animation: glow-pulse-t 2s ease-in-out infinite;
}

/* Titre */
.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(88px, 14vw, 175px);
  line-height: 0.87;
  color: var(--white);
  letter-spacing: 0.01em;
  will-change: transform;
  transition: transform 0.3s ease;
}

.hero-h1 .yr {
  display: block;
  background: linear-gradient(135deg, var(--yellow) 30%, #FFB300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(245,200,0,0.3));
}

/* Lieu */
.hero-place {
  font-family: var(--font-b);
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--teal);
  text-transform: uppercase;
  margin: 20px 0 40px;
  will-change: transform;
  transition: transform 0.3s ease;
  text-shadow: 0 0 20px rgba(0,229,196,0.4);
}

/* Dates pill */
.hero-dates {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border: 1px solid rgba(245,200,0,0.35);
  border-radius: var(--r-s);
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.07em;
  margin-bottom: 32px;
  background: rgba(245,200,0,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: transform;
  transition: transform 0.3s ease;
}
.dates-fire { filter: drop-shadow(0 0 6px rgba(245,150,0,0.8)); }
.pipe { opacity: 0.3; }

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  will-change: transform;
  transition: transform 0.3s ease;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cd-num {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  color: var(--white);
  min-width: 64px;
  text-align: center;
  display: block;
  padding: 10px 8px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-hi);
  border-radius: var(--r-s);
  position: relative;
  overflow: hidden;
}

.cd-num::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.6;
}

.cd-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m2);
}

.cd-sep {
  font-family: var(--font-d);
  font-size: 32px;
  color: var(--yellow);
  margin-bottom: 16px;
  opacity: 0.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  flex-wrap: wrap;
  will-change: transform;
  transition: transform 0.3s ease;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  z-index: 2;
}

.scroll-hint-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--white));
  animation: scroll-line 1.8s ease-in-out infinite;
}

.scroll-hint-txt {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}

/* --------------------------------------------------------------------------
   14. À propos
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-body p {
  color: var(--m1);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-body p strong { color: var(--white); font-weight: 500; }

.mv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mv-tag {
  padding: 5px 13px;
  background: rgba(245,200,0,0.06);
  border: 1px solid rgba(245,200,0,0.25);
  border-radius: var(--r-xs);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--yellow);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--tf), border-color var(--tf);
}
.mv-tag:hover {
  background: rgba(245,200,0,0.12);
  border-color: rgba(245,200,0,0.5);
}

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stat-card {
  border-radius: var(--r);
  padding: 28px 24px;
  overflow: visible;
  transform-style: preserve-3d;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--teal));
  border-radius: var(--r) var(--r) 0 0;
}

.stat-n {
  font-family: var(--font-d);
  font-size: 52px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.stat-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--m2);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   15. Programme
   -------------------------------------------------------------------------- */
.prog-section { background: var(--s1); }

.prog-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 60px;
}
.prog-note {
  font-size: 13px;
  color: var(--m2);
  line-height: 1.65;
  text-align: right;
  max-width: 200px;
  padding-bottom: 4px;
}

.prog-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.prog-days {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 96px;
}

.prog-day-btn {
  width: 100%;
  min-height: 64px;
  padding: 13px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--glass-bg);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  transition: transform var(--tm), border-color var(--tm), background var(--tm), box-shadow var(--tm);
}

.prog-day-btn:hover,
.prog-day-btn:focus-visible {
  border-color: rgba(245,200,0,0.32);
  background: rgba(245,200,0,0.07);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
  outline: none;
  transform: translateY(-2px);
}

.prog-day-btn.is-active {
  border-color: rgba(245,200,0,0.48);
  background: linear-gradient(135deg, rgba(245,200,0,0.16), rgba(0,229,196,0.08));
  box-shadow: 0 18px 50px rgba(0,0,0,0.26), 0 0 28px rgba(245,200,0,0.08);
}

.prog-day-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,229,196,0.10);
  border: 1px solid rgba(0,229,196,0.20);
  color: var(--teal);
  font-family: var(--font-d);
  font-size: 22px;
  line-height: 38px;
  text-align: center;
}

.prog-day-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prog-day-date {
  display: block;
  margin-top: 2px;
  color: var(--m2);
  font-size: 12px;
}

.prog-day-panel {
  border-radius: var(--r);
  padding: 34px;
  overflow: hidden;
}

.prog-day-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.prog-day-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.prog-date {
  color: var(--m2);
  font-size: 13px;
  font-weight: 600;
}

.prog-day-title {
  font-family: var(--font-d);
  color: var(--text-primary);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  margin-top: 8px;
}

.prog-word {
  flex: 0 0 auto;
  max-width: 190px;
  border-radius: 12px;
  border: 1px solid rgba(245,200,0,0.20);
  background: rgba(245,200,0,0.08);
  color: var(--yellow);
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.prog-timeline {
  list-style: none;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.prog-event {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid var(--glass-border);
}

.prog-event:first-child { border-top: 0; }

.prog-time {
  color: var(--yellow);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.prog-activity {
  color: var(--m1);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. Formulaire d'inscription
   -------------------------------------------------------------------------- */
.form-wrap { max-width: 840px; margin: 0 auto; }

/* Enveloppe avec bordure animée */
.form-card-outer {
  position: relative;
  border-radius: 14px;
  margin-top: 60px;
  padding: 2px;
  overflow: hidden;
}

/* Spinner de bordure */
.form-card-border {
  position: absolute;
  top: 50%; left: 50%;
  width: 140%;
  padding-bottom: 140%;
  background: conic-gradient(
    from 0deg,
    var(--yellow) 0deg,
    var(--teal) 90deg,
    transparent 160deg,
    transparent 200deg,
    var(--yellow) 270deg,
    var(--teal) 360deg
  );
  animation: border-rotate 5s linear infinite;
  z-index: 0;
  border-radius: 50%;
}

.form-card {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
}

.form-stripe-animated {
  height: 3px;
  background: linear-gradient(270deg, var(--yellow), var(--teal), var(--yellow));
  background-size: 300% 300%;
  animation: stripe-move 4s ease infinite;
}

.form-body { padding: 52px; }

.form-block {
  border: none;
  margin-bottom: 48px;
  padding: 0;
}
.form-block:last-of-type { margin-bottom: 0; }

.form-block-h {
  font-family: var(--font-d);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.block-num {
  font-family: var(--font-d);
  font-size: 13px;
  color: var(--black);
  background: var(--yellow);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fg   { display: flex; flex-direction: column; gap: 7px; }
.fg.span2 { grid-column: 1 / -1; }

.flbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.flbl-hint {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.22);
}
.flbl .req { color: var(--yellow); }

.fi, .fs, .fta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xs);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 14px;
  padding: 12px 15px;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--tf), background var(--tf), box-shadow var(--tf);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fi::placeholder, .fta::placeholder { color: rgba(255,255,255,0.16); }

.fi:focus, .fs:focus, .fta:focus {
  border-color: rgba(245,200,0,0.5);
  background: rgba(245,200,0,0.03);
  box-shadow: 0 0 0 3px rgba(245,200,0,0.08), 0 0 20px rgba(245,200,0,0.06);
}

.fi[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.35); }

.fs {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23555' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.fs option { background: #1a1a1a; color: var(--white); }

.fta { resize: vertical; min-height: 96px; }

.radio-g { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-item { display: flex; align-items: center; gap: 8px; }
.radio-item input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--yellow);
}
.radio-item span { font-size: 14px; color: var(--m1); }

.check-g { display: flex; flex-direction: column; gap: 16px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; }
.check-item input[type="checkbox"] {
  width: 16px; height: 16px;
  min-width: 16px;
  accent-color: var(--yellow);
  margin-top: 2px;
}
.check-item span { font-size: 13px; color: var(--m1); line-height: 1.65; }

.form-foot { display: flex; justify-content: flex-end; margin-top: 36px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 15px 36px;
  border-radius: var(--r-s);
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--tf), box-shadow var(--tm);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,200,0,0.35), 0 0 60px rgba(245,200,0,0.12);
}

/* Message de succès */
#success {
  display: none;
  text-align: center;
  padding: 80px 32px;
  position: relative;
}

.success-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(245,200,0,0.3);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: success-ring-anim 0.6s ease-out both;
}

.success-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 20px rgba(245,150,0,0.6));
}
.success-h { font-family: var(--font-d); font-size: 40px; color: var(--white); margin-bottom: 14px; }
.success-p { font-size: 15px; color: var(--m1); margin-bottom: 28px; line-height: 1.75; }
.success-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(245,200,0,0.3);
  border-radius: var(--r-s);
  color: var(--yellow);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: rgba(245,200,0,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--tf), box-shadow var(--tf);
}
.success-cta:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(245,200,0,0.15);
}

/* --------------------------------------------------------------------------
   17. Contact — Refonte premium éditoriale
   -------------------------------------------------------------------------- */
.contact-section { background: var(--s1); }

.contact-editorial {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Rangée haute : grande carte téléphone + carte organisation */
.contact-top {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  align-items: stretch;
}

/* Grande carte principale — Téléphone */
.contact-main {
  border-radius: var(--r);
  padding: 52px 56px;
  overflow: visible;
  transform-style: preserve-3d;
  position: relative;
  transition: border-color var(--tm), box-shadow var(--tm);
}
.contact-main:hover {
  border-color: rgba(245,200,0,0.2) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 40px rgba(245,200,0,0.05);
}

.contact-main-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.contact-main-number {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.88;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 28px rgba(245,200,0,0.22));
  transition: filter var(--tm), color var(--tf);
  will-change: filter;
}
.contact-main-number:hover {
  filter: drop-shadow(0 0 44px rgba(245,200,0,0.50));
  color: #ffd500;
}

.contact-main-sub {
  font-size: 13px;
  color: var(--m2);
  margin-bottom: 36px;
}

.contact-main-email {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.contact-email-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m3);
}

.contact-email-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color var(--tf);
  word-break: break-all;
}
.contact-email-val:hover { color: var(--teal); }

.contact-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Carte organisation */
.contact-org {
  border-radius: var(--r);
  padding: 38px 34px;
  overflow: visible;
  transform-style: preserve-3d;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--tm), box-shadow var(--tm);
}
.contact-org:hover {
  border-color: rgba(0,229,196,0.18) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}

.contact-org-badge { margin-bottom: 22px; }
.contact-org-logo { height: 50px; width: auto; object-fit: contain; }

.contact-org-name {
  font-family: var(--font-d);
  font-size: 26px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}

.contact-org-place {
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.contact-org-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 24px;
}

.contact-org-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.contact-org-row { display: flex; flex-direction: column; gap: 4px; }

.contact-org-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--m3);
}

.contact-org-val {
  font-size: 13px;
  color: var(--m1);
  line-height: 1.55;
}
.contact-org-val.highlight {
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Rangée basse — 3 sous-cartes */
.contact-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.contact-sub {
  border-radius: var(--r);
  padding: 28px 26px;
  overflow: visible;
  transform-style: preserve-3d;
  position: relative;
  transition: border-color var(--tm), box-shadow var(--tm);
  text-decoration: none;
}

.contact-sub:hover,
.contact-sub:focus-visible {
  border-color: rgba(0,229,196,0.22) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,196,0.06);
  outline: none;
}

.contact-sub-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(0,229,196,0.06);
  border: 1px solid rgba(0,229,196,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
  transition: background var(--tf), border-color var(--tf);
}
.contact-sub:hover .contact-sub-icon,
.contact-sub:focus-visible .contact-sub-icon {
  background: rgba(0,229,196,0.12);
  border-color: rgba(0,229,196,0.28);
}

.contact-sub-platform {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 7px;
}

.contact-sub-handle {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.45;
}
.contact-sub-handle span {
  display: block;
  font-size: 12px;
  color: var(--m2);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
footer {
  padding: 72px 0 52px;
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.foot-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse at center, rgba(245,200,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.foot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.foot-logo-img { height: 60px; width: auto; }
.foot-org { font-size: 12px; color: var(--m2); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.8; }
.foot-hr { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-hi), transparent); }
.foot-copy { font-size: 12px; color: rgba(255,255,255,0.16); }

/* --------------------------------------------------------------------------
   19. Bouton Retour en haut
   -------------------------------------------------------------------------- */
#back-top {
  position: fixed;
  bottom: 36px; right: 36px;
  width: 48px; height: 48px;
  background: var(--glass-bg-s);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 800;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  pointer-events: none;
}
#back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-top:hover {
  background: rgba(245,200,0,0.12);
  border-color: rgba(245,200,0,0.4);
  box-shadow: 0 0 20px rgba(245,200,0,0.15);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .prog-shell { grid-template-columns: 1fr; }
  .prog-days {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-top { grid-template-columns: 1fr; }
  .contact-main-number { font-size: clamp(44px, 10vw, 76px); }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-spotlight { display: none; }
  .section { padding: 80px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  #nav.open .nav-cta { display: flex; }
  .nav-logo-img { height: 34px; }

  .hero-h1 { font-size: clamp(72px, 18vw, 115px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .countdown { gap: 8px; }
  .cd-num { font-size: 28px; min-width: 52px; }

  .about-grid { grid-template-columns: 1fr; gap: 52px; }

  .prog-head { grid-template-columns: 1fr; }
  .prog-note { display: none; }
  .prog-days { grid-template-columns: repeat(2, 1fr); }
  .prog-day-panel { padding: 26px 20px; }
  .prog-day-head { flex-direction: column; }
  .prog-word {
    max-width: none;
    text-align: left;
  }
  .prog-event {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-top { grid-template-columns: 1fr; }
  .contact-bottom { grid-template-columns: 1fr 1fr; }
  .contact-main { padding: 34px 30px; }
  .contact-org { padding: 28px 24px; }

  .form-body { padding: 32px 22px; }
  .frow      { grid-template-columns: 1fr; }
  .fg.span2  { grid-column: auto; }

  .scroll-hint { display: none; }
  #back-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .contact-bottom { grid-template-columns: 1fr; }
  .stats          { grid-template-columns: 1fr 1fr; }
  .wrap         { padding: 0 18px; }
  .countdown { gap: 5px; }
  .cd-sep { font-size: 22px; }
  .prog-days { grid-template-columns: 1fr; }
  .prog-day-btn { min-height: 58px; }
}

/* ==========================================================================
   AJOUTS — Galerie 2025 + Lightbox + Corrections formulaire
   ========================================================================== */

/* .hero-photo-bg supprimé — remplacé par .hero-visual / .hero-visual-img */

/* --------------------------------------------------------------------------
   Formulaire — bordure statique (remplace le spinner)
   -------------------------------------------------------------------------- */
.form-card-outer {
  background: linear-gradient(135deg,
    rgba(245,200,0,0.45),
    rgba(0,229,196,0.35),
    rgba(245,200,0,0.20));
}

/* Suppression définitive de l'animation spinner */
.form-card-border { display: none !important; }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.gallery-section { background: var(--s1); }

.gallery-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
}

.gallery-sub {
  font-size: 15px;
  color: var(--m1);
  line-height: 1.75;
  padding-bottom: 6px;
}

/* Grille */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Variation de disposition : tous les 5 items, 1 item large (×2 colonnes) */
.gallery-item:nth-child(5n+1) {
  grid-column: span 2;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--s3);
}

/* Items larges : ratio panoramique */
.gallery-item:nth-child(5n+1) {
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Overlay au survol */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.6) 0%,
    rgba(10,10,10,0.0) 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay svg {
  transform: scale(1);
}

/* Photos masquées par défaut */
.gallery-grid:not(.expanded) .gallery-extra {
  display: none;
}

/* Bouton Voir plus */
.gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-hi);
  border-radius: var(--r-s);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--tm), border-color var(--tm), transform var(--tf);
}

.gallery-more-btn:hover {
  background: rgba(245,200,0,0.08);
  border-color: rgba(245,200,0,0.35);
  transform: translateY(-1px);
}

.gallery-more-btn.hidden { display: none; }

.gallery-count {
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lb-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 100vh;
}

/* Bouton fermer */
.lb-close {
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--glass-bg-s);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-hi);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tf), transform var(--tf);
  z-index: 2;
}
.lb-close:hover {
  background: rgba(245,200,0,0.15);
  transform: rotate(90deg);
}

/* Boutons prev/next */
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--glass-bg-s);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-hi);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tf), border-color var(--tf), transform var(--tf);
  z-index: 2;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-nav:hover {
  background: rgba(245,200,0,0.12);
  border-color: rgba(245,200,0,0.4);
  transform: translateY(-50%) scale(1.08);
}

/* Image */
.lb-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100vh - 130px);
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  border-radius: 10px;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transition: opacity 0.2s ease;
}

/* Pied de lightbox */
.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
}

.lb-caption {
  font-size: 13px;
  color: var(--m1);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lb-counter {
  font-family: var(--font-d);
  font-size: 16px;
  color: var(--m2);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Responsive galerie + lightbox
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-item:nth-child(5n+1) {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-inner { padding: 12px 8px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* ==========================================================================
   HERO — Refonte layout éditorial (inspiré du logo)
   ========================================================================== */

/* Bandeau organisation */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
}

.hero-eyebrow-line {
  width: 28px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45));
}

.hero-eyebrow-txt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

/* Bloc titre CAMP / MISSION + badge 2026 */
.hero-title-block {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 28px;
  will-change: transform;
  transition: transform 0.3s ease;
}

.hero-title-text {
  display: flex;
  flex-direction: column;
}

/* CAMP — solide blanc */
.hero-camp {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(84px, 13.5vw, 172px);
  line-height: 0.83;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* MISSION — dégradé jaune → teal (comme le logo) */
.hero-mission {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(84px, 13.5vw, 172px);
  line-height: 0.87;
  letter-spacing: 0.01em;
  background: linear-gradient(118deg, var(--yellow) 0%, #FFB800 45%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 32px rgba(245,200,0,0.18));
}

/* Badge 2026 — géométrie inspirée du logo */
.hero-year-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--teal);
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 0 100%);
  padding: 22px 26px;
  margin-bottom: 10px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-year-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 55%);
  pointer-events: none;
}

.year-half {
  font-family: var(--font-d);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.88;
  color: var(--black);
  display: block;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.hero-badge-sep {
  display: block;
  width: 26px;
  height: 1px;
  background: rgba(0,0,0,0.20);
  margin: 9px 0;
  position: relative;
  z-index: 1;
}

/* Ajustement hero-place avec le nouveau layout */
.hero-place { margin-top: 0; }

/* dates-fire SVG inline */
.dates-fire { display: block; flex-shrink: 0; }

/* ==========================================================================
   Responsive Hero éditorial
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-visual { width: 52%; }
}

@media (max-width: 900px) {
  .hero-visual { width: 48%; }
  .hero-camp,
  .hero-mission { font-size: clamp(72px, 14vw, 118px); }
  .year-half    { font-size: clamp(30px, 6vw, 50px); }
  .hero-year-badge { padding: 18px 20px; }
}

@media (max-width: 768px) {
  .hero-visual {
    top: auto;
    width: 100%;
    height: 52vh;
    opacity: 0.45;
  }
  .hero-visual-overlay {
    background: linear-gradient(to bottom,
      var(--black) 0%,
      transparent 35%,
      var(--black) 100%
    );
  }
  .hero-eyebrow { margin-bottom: 32px; }
}

@media (max-width: 600px) {
  .hero-visual { opacity: 0.35; }
  .hero-title-block { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-camp,
  .hero-mission    { font-size: clamp(64px, 18vw, 100px); }
  .hero-year-badge { align-self: flex-start; padding: 14px 16px; }
  .year-half       { font-size: clamp(28px, 8vw, 42px); }
  .hero-actions    { gap: 12px; }
}

/* ==========================================================================
   PREMIUM UPGRADE — Dark/Light + Animations + UI
   ========================================================================== */

/* ── Bouton toggle thème ── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--tm), border-color var(--tm), transform 0.4s var(--te-premium);
}
.theme-toggle:hover {
  background: var(--glass-bg-s);
  border-color: rgba(245,200,0,0.35);
}
.theme-toggle.spin svg { animation: theme-spin 0.4s var(--te-premium); }

@keyframes theme-spin {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(0.8); }
  to   { transform: rotate(360deg) scale(1); }
}

/* Icône soleil visible en dark, lune visible en light */
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ── Navbar light mode ── */
[data-theme="light"] #nav.sc {
  background: rgba(248,247,242,0.88);
  box-shadow: 0 4px 30px rgba(0,0,0,0.10);
}

/* ── Nav lien actif — point jaune ── */
.nav-links a.nav-active { color: var(--text-primary); }
.nav-links a.nav-active::after { width: 100%; background: var(--yellow); }

/* ── Sections light mode ── */
[data-theme="light"] .section { background: var(--bg-primary); }
[data-theme="light"] .gallery-section,
[data-theme="light"] .programme-section { background: var(--bg-secondary); }

/* ── Texte body light mode ── */
[data-theme="light"] p { color: var(--text-muted); }

/* ── Hero — radial gradient ambiant (remplace particules) ── */
.hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(245,200,0,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 90% 20%, rgba(0,229,196,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero entrance — animation spécifique DANGBESSITO ── */
.hero-place.r {
  letter-spacing: 0.65em;
  transition: opacity var(--ts), transform var(--ts), letter-spacing 0.7s var(--te-premium);
}
.hero-place.r.in {
  letter-spacing: 0.4em;
}

/* ── Stat numbers — jaune + taille Bebas ── */
.stat-n {
  color: var(--yellow);
  font-size: clamp(3rem, 5vw, 4rem);
}

/* ── Cards — hover premium ── */
.glass-card {
  border-radius: var(--r);
  transition: transform 0.3s var(--te-premium), border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:not(.tilt-card):hover {
  transform: translateY(-6px);
  border-color: rgba(245,200,0,0.22);
}

/* ── Cards light mode ── */
[data-theme="light"] .glass-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .glass-card:not(.tilt-card):hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border-color: rgba(245,200,0,0.35);
}

/* ── Inputs light mode + focus teal glow ── */
[data-theme="light"] .fi,
[data-theme="light"] .fs,
[data-theme="light"] .fta {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border);
}
.fi:focus, .fs:focus, .fta:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,229,196,0.12);
}

/* ── Shake pour champs invalides ── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.fi.invalid, .fs.invalid, .fta.invalid {
  border-color: rgba(229,80,0,0.6) !important;
  animation: shake 0.4s ease;
}

/* ── Radio pills ── */
.radio-g {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.radio-item {
  flex: 1;
  min-width: 80px;
}
.radio-item input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  text-align: center;
  width: 100%;
}
.radio-item input:checked + span {
  background: var(--teal-muted);
  border-color: var(--teal);
  color: var(--teal);
  font-weight: 600;
}
.radio-item span:hover {
  border-color: var(--glass-hi);
  color: var(--text-primary);
}

/* ── Footer — ligne gradient en haut ── */
footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--yellow), var(--teal), var(--yellow));
  margin-bottom: 0;
  position: absolute;
  top: 0; left: 0; right: 0;
}
footer { position: relative; }

/* ── Light mode — footer + contact ── */
[data-theme="light"] footer {
  background: var(--bg-secondary);
  border-top-color: var(--border);
}

/* ── Lbl section light ── */
[data-theme="light"] .lbl { color: var(--teal); }
[data-theme="light"] .title { color: var(--text-primary); }
[data-theme="light"] .stat-l { color: var(--text-muted); }

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .r { opacity: 1 !important; transform: none !important; }
  .hero-visual-img { animation: none !important; }
}

/* ==========================================================================
   VISUAL REFRESH — palette officielle Camp Mission 2026
   ========================================================================== */
:root {
  --yellow:  #FFD21A;
  --teal:    #62F0C7;
  --orange:  #F05A24;
  --blue:    #005B7C;
  --blue-2:  #073B62;
  --cyan:    #10B8D4;

  --bg-primary:   #061522;
  --bg-secondary: #082237;
  --bg-card:      #0B2B43;
  --border:       rgba(132,238,255,0.16);
  --text-primary: #F8FBFF;
  --text-muted:   rgba(232,246,255,0.68);

  --black: #061522;
  --white: #F8FBFF;
  --s1: #071C2D;
  --s2: #0B2B43;
  --s3: #103B57;

  --glass-bg:     rgba(10,51,77,0.54);
  --glass-bg-s:   rgba(13,72,103,0.64);
  --glass-border: rgba(132,238,255,0.18);
  --glass-hi:     rgba(255,255,255,0.18);
  --m1: rgba(235,247,255,0.72);
  --m2: rgba(235,247,255,0.48);
  --m3: rgba(132,238,255,0.16);
  --glow-y: rgba(255,210,26,0.32);
  --glow-t: rgba(98,240,199,0.24);
}

[data-theme="light"] {
  --bg-primary:   #F3FBFD;
  --bg-secondary: #FFFFFF;
  --bg-card:      #FFFFFF;
  --border:       rgba(0,91,124,0.12);
  --text-primary: #082237;
  --text-muted:   rgba(8,34,55,0.62);
  --black: #F3FBFD;
  --white: #082237;
  --s1: #FFFFFF;
  --s2: #F3FBFD;
  --s3: #E4F4F8;
  --glass-bg:     rgba(255,255,255,0.72);
  --glass-bg-s:   rgba(255,255,255,0.88);
  --glass-border: rgba(0,91,124,0.14);
  --glass-hi:     rgba(255,255,255,0.92);
  --m1: rgba(8,34,55,0.68);
  --m2: rgba(8,34,55,0.48);
  --m3: rgba(0,91,124,0.12);
}

body {
  background:
    radial-gradient(circle at 18% 10%, rgba(16,184,212,0.22), transparent 30vw),
    radial-gradient(circle at 85% 20%, rgba(255,210,26,0.12), transparent 28vw),
    linear-gradient(180deg, var(--bg-primary), #04101B 58%, #071C2D);
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 16% 8%, rgba(16,184,212,0.18), transparent 34vw),
    radial-gradient(circle at 88% 18%, rgba(255,210,26,0.18), transparent 30vw),
    linear-gradient(180deg, #F3FBFD, #FFFFFF 55%, #EAF8FB);
}

.section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 24%),
    var(--bg-primary);
}

.div {
  background: linear-gradient(90deg, transparent, rgba(98,240,199,0.32), rgba(255,210,26,0.26), transparent);
}

#nav.sc {
  background: rgba(5,20,32,0.82);
  border-bottom-color: rgba(132,238,255,0.16);
  box-shadow: 0 14px 40px rgba(0,0,0,0.32);
}

.nav-logo-img,
.contact-org-logo,
.foot-logo-img {
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.28));
}

#hero {
  background:
    linear-gradient(135deg, #061522 0%, #082237 44%, #005B7C 100%);
  isolation: isolate;
}

#hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background:
    linear-gradient(180deg, transparent, rgba(6,21,34,0.82)),
    linear-gradient(90deg, rgba(255,210,26,0.10), rgba(98,240,199,0.12));
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  background:
    radial-gradient(ellipse 70% 42% at 18% 78%, rgba(255,210,26,0.20) 0%, transparent 62%),
    radial-gradient(ellipse 48% 34% at 88% 16%, rgba(98,240,199,0.22) 0%, transparent 60%);
}

.hero-orb-1,
.hero-orb-2,
.section-blob {
  filter: blur(100px);
}

.hero-visual {
  width: min(62%, 900px);
  opacity: 0.92;
}

.hero-visual-img {
  background-position: center top;
  filter: saturate(1.08) contrast(1.04);
}

.hero-visual-overlay {
  background:
    linear-gradient(to right,
      #061522 0%,
      rgba(6,21,34,0.92) 18%,
      rgba(6,21,34,0.54) 46%,
      rgba(6,21,34,0.08) 100%),
    linear-gradient(to bottom,
      rgba(6,21,34,0.24) 0%,
      rgba(0,91,124,0.08) 42%,
      rgba(6,21,34,0.86) 100%);
}

.hero-eyebrow {
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(132,238,255,0.16);
  border-radius: var(--r-pill);
  background: rgba(6,21,34,0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}

.hero-eyebrow-txt {
  color: rgba(248,251,255,0.82);
}

.hero-camp {
  color: #FFFFFF;
  text-shadow: 0 18px 60px rgba(0,0,0,0.45);
}

.hero-mission {
  background: linear-gradient(110deg, #FFFFFF 0%, #FFD21A 26%, #62F0C7 78%, #10B8D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 14px 38px rgba(0,0,0,0.36));
}

.hero-year-badge {
  background: linear-gradient(160deg, #7DFFD6 0%, #10B8D4 100%);
  box-shadow: 0 24px 70px rgba(16,184,212,0.22), inset 0 1px 0 rgba(255,255,255,0.34);
}

.year-half {
  color: #06304C;
}

.hero-dates,
.countdown {
  background: rgba(6,21,34,0.58);
  border-color: rgba(132,238,255,0.18);
  box-shadow: 0 18px 52px rgba(0,0,0,0.26);
}

.cd-num {
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(98,240,199,0.07));
  border: 1px solid rgba(132,238,255,0.14);
}

.btn-y,
.btn-submit {
  background: linear-gradient(135deg, #FFD21A 0%, #FFC400 48%, #FFB000 100%);
  color: #061522;
  box-shadow: 0 16px 38px rgba(255,210,26,0.22);
}

.btn-ow,
.gallery-more-btn {
  background: rgba(6,21,34,0.48);
  color: #F8FBFF;
  border-color: rgba(132,238,255,0.20);
}

.glass-card,
.glass-card-strong {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: 0 18px 52px rgba(0,0,0,0.26);
}

.stat-card,
.prog-day-panel,
.contact-sub,
.contact-org {
  border-top-color: rgba(255,255,255,0.22) !important;
}

.stat-card::after,
.prog-day-panel::after {
  background: linear-gradient(90deg, var(--yellow), var(--teal));
  opacity: 0.86;
}

.stat-n,
.contact-main-number {
  color: var(--yellow);
  text-shadow: 0 0 34px rgba(255,210,26,0.20);
}

.prog-day-num,
.contact-sub-icon {
  background: rgba(98,240,199,0.10);
  border-color: rgba(98,240,199,0.22);
  color: var(--teal);
}

.prog-day-kicker,
.contact-main-label,
.contact-org-key,
.contact-sub-platform,
.lbl {
  color: var(--teal);
}

.form-card-outer {
  background: linear-gradient(135deg, rgba(255,210,26,0.70), rgba(98,240,199,0.58), rgba(16,184,212,0.42));
  box-shadow: 0 26px 80px rgba(0,0,0,0.28);
}

.form-card {
  background:
    linear-gradient(180deg, rgba(8,34,55,0.92), rgba(6,21,34,0.92)),
    var(--bg-card);
}

.fi,
.fs,
.fta {
  background: rgba(3,17,28,0.58);
  border-color: rgba(132,238,255,0.16);
  color: #F8FBFF;
}

.fi::placeholder,
.fta::placeholder {
  color: rgba(235,247,255,0.38);
}

.radio-item span,
.check-item {
  background: rgba(3,17,28,0.42);
  border-color: rgba(132,238,255,0.14);
}

.radio-item input:checked + span {
  background: rgba(98,240,199,0.16);
  box-shadow: inset 0 0 0 1px rgba(98,240,199,0.28);
}

.contact-section,
.gallery-section,
.prog-section {
  background:
    radial-gradient(circle at 0% 10%, rgba(98,240,199,0.08), transparent 28vw),
    radial-gradient(circle at 100% 80%, rgba(255,210,26,0.08), transparent 30vw),
    var(--s1);
}

footer {
  background: linear-gradient(180deg, #071C2D, #04101B);
}

@media (max-width: 768px) {
  .hero-visual {
    height: 58vh;
    opacity: 0.30;
  }

  .hero-visual-overlay {
    background:
      linear-gradient(to bottom, #061522 0%, rgba(6,21,34,0.38) 38%, #061522 100%),
      linear-gradient(to right, rgba(6,21,34,0.72), rgba(6,21,34,0.22));
  }

  .hero-eyebrow {
    width: 100%;
    max-width: 440px;
  }
}

/* ==========================================================================
   HERO POLISH — composition chic avec la photo d'origine
   ========================================================================== */
.hero-visual-img {
  background-image: url('../images/2.jpg');
  background-position: center center;
  filter: saturate(0.95) contrast(1.08) brightness(0.92);
}

#hero {
  min-height: 100svh;
  padding-top: 112px;
  background:
    radial-gradient(circle at 18% 76%, rgba(255,210,26,0.18), transparent 34vw),
    radial-gradient(circle at 70% 18%, rgba(98,240,199,0.12), transparent 30vw),
    linear-gradient(135deg, #04101B 0%, #082237 48%, #063B58 100%);
}

#hero .wrap {
  width: min(100%, 1260px);
}

.hero-content {
  max-width: 760px;
  padding: 28px 0 46px;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: -34px -42px -38px -34px;
  border: 1px solid rgba(132,238,255,0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.070), rgba(255,255,255,0.018)),
    rgba(4,16,27,0.30);
  box-shadow: 0 32px 100px rgba(0,0,0,0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}

.hero-visual {
  width: min(56%, 820px);
  opacity: 0.86;
}

.hero-visual-overlay {
  background:
    linear-gradient(to right,
      #04101B 0%,
      rgba(4,16,27,0.92) 14%,
      rgba(4,16,27,0.56) 42%,
      rgba(4,16,27,0.18) 72%,
      rgba(4,16,27,0.34) 100%),
    linear-gradient(to bottom,
      rgba(4,16,27,0.58) 0%,
      rgba(4,16,27,0.06) 34%,
      rgba(4,16,27,0.88) 100%);
}

.hero-title-block {
  align-items: stretch;
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: 22px;
}

.hero-title-text {
  padding-top: 4px;
  width: min-content;
}

.hero-camp,
.hero-mission {
  font-size: clamp(86px, 12vw, 158px);
  letter-spacing: 0.015em;
}

.hero-camp {
  line-height: 0.78;
}

.hero-mission {
  line-height: 0.82;
  background: linear-gradient(112deg, #FFFFFF 0%, #FFFFFF 32%, #FFD21A 55%, #62F0C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-year-badge {
  justify-content: center;
  min-width: 116px;
  margin-bottom: 0;
  padding: 18px 124px;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 22px;
}

.hero-place {
  display: block;
  margin-top: 12px;
  padding: 0 0 0 0.12em;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: none;
  color: #FFFFFF;
  font-family: var(--font-b);
  font-size: clamp(15px, 2.1vw, 29px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: clamp(0.34em, 1.15vw, 0.62em);
  text-align: center;
  text-shadow: 0 10px 34px rgba(0,0,0,0.45);
}

.hero-place.r,
.hero-place.r.in {
  letter-spacing: clamp(0.34em, 1.15vw, 0.62em);
}

.hero-dates {
  margin: 0;
  min-height: 45px;
  padding: 11px 18px;
  color: #F8FBFF;
}

.hero-dates .pipe {
  display: none;
}

.countdown {
  width: fit-content;
  margin: 0 0 24px;
  padding: 12px;
  gap: 10px;
}

.cd-item {
  min-width: 76px;
}

.cd-num {
  min-width: 68px;
  border-radius: 12px;
}

.hero-actions {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: clamp(70px, 12vh, 132px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(290px, 24vw);
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(132,238,255,0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(4,16,27,0.72), rgba(4,16,27,0.40));
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-actions .btn {
  min-height: 48px;
  width: 100%;
  justify-content: center;
}

.hero-actions .btn-ow {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.22);
  color: #FFFFFF;
}

@media (max-width: 980px) {
  .hero-content::before {
    inset: -22px -22px -28px;
  }

  .hero-visual {
    width: 58%;
    opacity: 0.54;
  }

  .hero-actions {
    right: 24px;
    width: min(260px, 30vw);
  }
}

@media (max-width: 768px) {
  #hero {
    padding-top: 104px;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero-content::before {
    inset: -18px -14px -22px;
    border-radius: 18px;
    background: rgba(4,16,27,0.46);
  }

  .hero-visual {
    height: 100%;
    opacity: 0.24;
  }

  .hero-visual-img {
    background-position: center top;
  }

  .hero-title-block {
    gap: 14px;
  }

  .hero-year-badge {
    min-width: 86px;
  }

  .hero-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-dates,
  .countdown {
    width: 100%;
  }

  .hero-place {
    font-size: clamp(12px, 3.3vw, 18px);
    letter-spacing: clamp(0.20em, 1.1vw, 0.32em);
  }

  .hero-place.r,
  .hero-place.r.in {
    letter-spacing: clamp(0.20em, 1.1vw, 0.32em);
  }

  .countdown {
    justify-content: space-between;
  }

  .cd-item {
    min-width: 0;
    flex: 1;
  }

  .cd-num {
    min-width: 0;
    width: 100%;
  }

  .hero-actions {
    left: 18px;
    right: 18px;
    bottom: 22px;
    width: auto;
    flex-direction: row;
    padding: 10px;
    border-radius: 14px;
  }

  .hero-actions .btn {
    min-width: 0;
    padding-inline: 14px;
  }
}

@media (max-width: 560px) {
  .hero-title-block {
    flex-direction: row;
    align-items: flex-end;
  }

  .hero-camp,
  .hero-mission {
    font-size: clamp(58px, 17vw, 86px);
  }

  .hero-year-badge {
    padding: 12px 13px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   HERO TITLE — traitement typographique premium
   ========================================================================== */
.hero-title-block {
  display: inline-flex;
  align-items: flex-end;
  gap: clamp(18px, 4vw, 52px);
  margin-top: 26px;
  margin-bottom: 28px;
}

.hero-title-text {
  width: auto;
  min-width: 0;
  padding-top: 0;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,0.38));
}

.hero-camp,
.hero-mission {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(92px, 11.4vw, 164px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  width: 5ch;
}

.hero-camp {
  color: #FFFFFF;
  line-height: 0.76;
}

.hero-mission {
  color: #FFFFFF;
  line-height: 0.82;
  margin-top: 4px;
  background: none;
  -webkit-text-fill-color: #FFFFFF;
  filter: none;
  transform: scaleX(0.842);
  transform-origin: left center;
}

.hero-place {
  width: 100%;
  margin-top: 20px;
  padding-left: 0.22em;
  color: #FFD21A;
  font-size: clamp(17px, 2.15vw, 31px);
  font-weight: 800;
  letter-spacing: clamp(0.42em, 1.65vw, 0.82em);
  text-align: center;
  text-shadow: 0 8px 24px rgba(0,0,0,0.50);
}

.hero-place.r,
.hero-place.r.in {
  letter-spacing: clamp(0.42em, 1.65vw, 0.82em);
}

.hero-year-badge {
  width: clamp(104px, 11vw, 146px);
  min-width: 0;
  align-self: stretch;
  justify-content: center;
  margin: 0 0 2px;
  padding: clamp(18px, 2.7vw, 34px) clamp(16px, 2vw, 26px);
  background: linear-gradient(180deg, #8AF6D7 0%, #31D3D3 58%, #22B9CE 100%);
  clip-path: polygon(0 0, 80% 0, 100% 18%, 100% 100%, 0 100%);
  box-shadow:
    0 28px 70px rgba(16,184,212,0.28),
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -32px 44px rgba(0,91,124,0.16);
}

.year-half {
  color: #062D4C;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0.02em;
}

.hero-badge-sep {
  width: 34px;
  margin: 16px 0;
  background: rgba(6,45,76,0.20);
}

@media (max-width: 768px) {
  .hero-title-block {
    gap: 16px;
    margin-top: 22px;
  }

  .hero-camp,
  .hero-mission {
    font-size: clamp(66px, 17vw, 112px);
  }

  .hero-place,
  .hero-place.r,
  .hero-place.r.in {
    font-size: clamp(12px, 3.6vw, 20px);
    letter-spacing: clamp(0.22em, 1.5vw, 0.48em);
  }

  .hero-year-badge {
    width: clamp(78px, 18vw, 110px);
  }

  .year-half {
    font-size: clamp(32px, 8vw, 52px);
  }
}

@media (max-width: 480px) {
  .hero-title-block {
    gap: 10px;
  }

  .hero-camp,
  .hero-mission {
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero-year-badge {
    width: 72px;
    padding: 14px 12px;
  }

  .hero-badge-sep {
    margin: 10px 0;
  }
}

/* ==========================================================================
   HERO YEAR — cartouche sobre
   ========================================================================== */
.hero-year-badge {
  align-self: stretch;
  width: clamp(82px, 8vw, 112px);
  min-width: 0;
  min-height: 100%;
  margin: 0 0 2px;
  padding: 18px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  clip-path: none;
  border: 1px solid rgba(151,255,229,0.30);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.045)),
    rgba(28,206,205,0.18);
  box-shadow:
    0 22px 56px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.26),
    inset 0 -1px 0 rgba(6,45,76,0.12);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.hero-year-badge::before,
.hero-badge-sep,
.year-half {
  display: none;
}

.hero-year-top,
.hero-year-bottom {
  display: block;
  color: rgba(228,255,249,0.96);
  font-family: var(--font-d);
  font-size: clamp(42px, 4.7vw, 70px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0.03em;
  text-shadow: 0 8px 28px rgba(0,0,0,0.32);
}

.hero-year-sep {
  display: block;
  width: 30px;
  height: 1px;
  margin: 10px auto 12px;
  background: rgba(228,255,249,0.28);
}

@media (max-width: 768px) {
  .hero-year-badge {
    width: clamp(60px, 14vw, 82px);
    padding: 14px 9px;
  }

  .hero-year-top,
  .hero-year-bottom {
    font-size: clamp(28px, 6.8vw, 46px);
  }

  .hero-year-sep {
    width: 20px;
    margin: 7px auto 9px;
  }
}

/* ==========================================================================
   HERO TITLE LOGO LAYOUT
   ========================================================================== */
.hero-title-block {
  display: grid;
  grid-template-columns: auto clamp(72px, 7.2vw, 100px);
  align-items: start;
  column-gap: clamp(12px, 1.9vw, 24px);
  width: fit-content;
}

.hero-title-mark {
  display: none;
}

.hero-title-mark img {
  display: none;
}

.hero-title-text {
  grid-column: 1;
}

.hero-camp,
.hero-mission {
  width: 5ch;
}

.hero-place {
  margin-top: clamp(2px, 0.45vw, 8px);
}

.hero-year-badge {
  grid-column: 2;
  align-self: start;
  height: calc(clamp(92px, 11.4vw, 164px) * 1.22);
  width: clamp(72px, 7.2vw, 100px);
  margin: clamp(3px, 0.55vw, 8px) 0 0;
  padding: clamp(12px, 1.45vw, 18px) 10px;
}

@media (max-width: 768px) {
  .hero-title-block {
    grid-template-columns: auto clamp(50px, 12vw, 70px);
    column-gap: 9px;
  }

  .hero-year-badge {
    width: clamp(50px, 12vw, 70px);
    height: calc(clamp(66px, 17vw, 112px) * 1.22);
    margin-top: 4px;
    margin-bottom: 0;
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .hero-title-block {
    grid-template-columns: 1fr clamp(48px, 12vw, 62px);
    row-gap: 12px;
  }

  .hero-title-text {
    grid-column: 1;
  }

  .hero-year-badge {
    grid-column: 2;
    width: clamp(46px, 11.5vw, 58px);
    height: calc(clamp(52px, 16vw, 76px) * 1.22);
    margin-top: 3px;
    margin-bottom: 0;
    padding: 9px 7px;
  }
}

/* ==========================================================================
   HERO VERTICAL COMPACT — laptops 14" et mobile
   ========================================================================== */
.hero-title-block {
  margin-bottom: clamp(10px, 1.2vw, 16px);
}

.hero-place,
.hero-place.r,
.hero-place.r.in {
  margin-top: clamp(-3px, -0.25vw, 0px);
}

.hero-meta {
  margin: clamp(6px, 0.8vw, 12px) 0 clamp(8px, 1vw, 14px);
}

.hero-dates {
  min-height: 40px;
  padding: 9px 16px;
}

.countdown {
  margin: clamp(-2px, -0.2vw, 0px) 0 clamp(16px, 1.7vw, 22px);
  padding: 10px;
}

@media (max-height: 820px) and (min-width: 769px) {
  #hero {
    padding-top: 92px;
  }

  .hero-content {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .hero-title-block {
    margin-top: 14px;
    margin-bottom: 8px;
  }

  .hero-camp,
  .hero-mission {
    font-size: clamp(78px, 10.2vw, 138px);
  }

  .hero-place,
  .hero-place.r,
  .hero-place.r.in {
    font-size: clamp(13px, 1.65vw, 24px);
    margin-top: -2px;
  }

  .hero-year-badge {
    height: calc(clamp(78px, 10.2vw, 138px) * 1.18);
  }

  .hero-meta {
    margin: 6px 0 8px;
  }

  .countdown {
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .hero-title-block {
    margin-top: 14px;
    margin-bottom: 8px;
  }

  .hero-place,
  .hero-place.r,
  .hero-place.r.in {
    margin-top: -1px;
  }

  .hero-meta {
    margin: 8px 0 8px;
  }

  .hero-dates {
    min-height: 38px;
    padding: 8px 14px;
  }

  .countdown {
    margin: 0 0 88px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  #hero {
    padding-top: 88px;
  }

  .hero-content {
    padding-top: 8px;
  }

  .hero-title-block {
    margin-top: 8px;
    margin-bottom: 6px;
  }

  .hero-meta {
    margin: 6px 0;
  }

  .countdown {
    gap: 4px;
    margin-bottom: 104px;
  }

  .cd-num {
    font-size: 24px;
  }

  .cd-lbl {
    font-size: 9px;
  }
}
