/* =====================================================================
   AU CŒUR DU SPORT — style.css
   Vanilla CSS · zéro dépendance · Netlify ready
   ===================================================================== */

:root {
  --nuit: #0a1240;
  --nuit-2: #060b2a;
  --bleu: #1b2ed9;
  --bleu-2: #2b3ff2;
  --rouge: #e8302a;
  --rouge-2: #ff4a3d;
  --craie: #f3efe6;
  --craie-2: #e9e3d6;
  --encre: #0a1240;
  --soleil: #f6a31b;
  --vert: #148a4b;

  --bg: var(--nuit);
  --fg: var(--craie);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  transition: background-color 1s var(--ease-in-out), color 1s var(--ease-in-out);
  overflow-x: hidden;
  cursor: none;
}
body.is-loading { overflow: hidden; }
@media (pointer: coarse) { body { cursor: auto; } }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: none; }
@media (pointer: coarse) { button { cursor: pointer; } }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--soleil); outline-offset: 4px; }

.display { font-family: var(--font-display); text-transform: uppercase; line-height: 0.9; letter-spacing: 0.005em; }
.container { padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Thèmes de section (piloté par data-bg via JS → body[data-theme]) */
body[data-theme="nuit"]  { --bg: var(--nuit);  --fg: var(--craie); }
body[data-theme="bleu"]  { --bg: var(--bleu);  --fg: var(--craie); }
body[data-theme="rouge"] { --bg: var(--rouge); --fg: var(--craie); }
body[data-theme="craie"] { --bg: var(--craie); --fg: var(--encre); }

/* ---------------------------------------------------------------------
   Grain
   --------------------------------------------------------------------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.06; mix-blend-mode: overlay;
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 33% { transform: translate(-6%, 4%); } 66% { transform: translate(4%, -7%); } 100% { transform: translate(0, 0); }
}

/* ---------------------------------------------------------------------
   Curseur
   --------------------------------------------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; }
.cursor__dot {
  position: absolute; top: 0; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--rouge);
  transition: transform 0.25s var(--ease-out), opacity 0.3s;
}
.cursor__ring {
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1.5px solid var(--craie); border-radius: 50%;
  mix-blend-mode: difference;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background-color 0.4s, border-color 0.4s, opacity 0.3s;
}
.cursor__label { opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.4s var(--ease-out); color: #fff; }
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(255,255,255,0.08); }
.cursor.is-hover .cursor__dot { transform: scale(0); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--rouge); border-color: var(--rouge); mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { transform: scale(0); }
.cursor.is-beat .cursor__ring { animation: cursorBeat 1.1s ease-in-out infinite; border-color: var(--rouge-2); }
.cursor.is-hidden { opacity: 0; }
@keyframes cursorBeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.18); } 60% { transform: scale(1); } }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------------------------------------------------------------------
   Loader
   --------------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--nuit-2); color: var(--craie);
  display: grid; place-items: center; overflow: hidden;
}
.loader__inner { display: grid; justify-items: center; gap: 1.2rem; }
.loader__heart { width: clamp(72px, 12vw, 140px); height: auto; transform-origin: 50% 55%; animation: heartbeat 1.1s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(232,48,42,0.5)); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.14); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } 60% { transform: scale(1); } }
.loader__count { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 7rem); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.loader__tag { font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.08); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--rouge); }
.loader.is-done { transition: clip-path 1s var(--ease-in-out); clip-path: inset(0 0 100% 0); pointer-events: none; }

/* ---------------------------------------------------------------------
   Nav
   --------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem var(--gutter);
  transform: translateY(0); transition: transform 0.6s var(--ease-out), background-color 0.5s, backdrop-filter 0.5s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 0.75rem; }
.nav__logo img { height: 66px; width: auto; transition: transform 0.5s var(--ease-out); }
.nav__logo:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__links { display: flex; gap: 2rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }
.nav__links a { position: relative; padding: 0.35rem 0; overflow: hidden; display: inline-block; }
.nav__links a span { display: block; transition: transform 0.5s var(--ease-out); }
.nav__links a span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.nav__links a:hover span { transform: translateY(-100%); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.btn {
  --btn-bg: var(--rouge); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; overflow: hidden;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; white-space: nowrap;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--nuit); border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease-out); }
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 20px 40px -18px rgba(0,0,0,0.6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--craie { --btn-bg: var(--craie); --btn-fg: var(--nuit); }
.btn--craie::before { background: var(--rouge); }
.btn--craie:hover { color: #fff; }
.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.8rem; }
.btn svg { width: 16px; height: 16px; }

@media (max-width: 900px) { .nav__links, .nav .btn { display: none; } .nav { padding-block: 0.7rem; } .nav__logo img { height: 58px; } }
.burger { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; gap: 0; position: relative; }
.burger span { position: absolute; width: 22px; height: 2px; background: currentColor; transition: transform 0.5s var(--ease-out), opacity 0.3s; }
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 140; background: var(--rouge); color: #fff;
  clip-path: circle(0% at calc(100% - 3rem) 2.5rem); transition: clip-path 0.9s var(--ease-in-out);
  display: grid; grid-template-rows: 1fr auto; padding: 7rem var(--gutter) 2.5rem; pointer-events: none;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); pointer-events: auto; }
.menu__links { display: grid; align-content: center; gap: 0.1em; }
.menu__links a { font-family: var(--font-display); font-size: clamp(3rem, 11vw, 8rem); line-height: 0.95; text-transform: uppercase; display: inline-block; overflow: hidden; }
.menu__links a span { display: block; transform: translateY(110%); transition: transform 0.8s var(--ease-out); }
.menu.is-open .menu__links a span { transform: translateY(0); }
.menu__links a:nth-child(1) span { transition-delay: 0.25s; }
.menu__links a:nth-child(2) span { transition-delay: 0.32s; }
.menu__links a:nth-child(3) span { transition-delay: 0.39s; }
.menu__links a:nth-child(4) span { transition-delay: 0.46s; }
.menu__links a:nth-child(5) span { transition-delay: 0.53s; }
.menu__links a:nth-child(6) span { transition-delay: 0.60s; }
.menu__links a:hover span { transform: translateX(0.15em); }
.menu__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0; transition: opacity 0.6s 0.7s; }
.menu.is-open .menu__foot { opacity: 0.9; }

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--nuit-2); }
.hero__media video, .hero__media canvas, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; }
.hero__media.is-fallback video { opacity: 1; filter: saturate(0.6) contrast(1.1); }
.hero__media.is-fallback canvas { display: none; }
.hero__media.is-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,64,0.35), rgba(10,18,64,0.85)); mix-blend-mode: multiply; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,42,0.55) 0%, rgba(6,11,42,0.1) 40%, rgba(6,11,42,0.85) 100%); pointer-events: none; }
.hero__content { position: relative; padding: 9rem var(--gutter) 4.5rem; display: grid; gap: 1.6rem; max-width: 1400px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; }
.hero__kicker i { width: 40px; height: 1.5px; background: var(--rouge); display: inline-block; }
.hero__title { font-size: clamp(3.6rem, 13.5vw, 12.5rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__title .line > span { display: block; transform: translateY(110%); }
.hero__title .accent { color: var(--rouge-2); }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.5; max-width: 36ch; opacity: 0; }
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-self: end; opacity: 0; }
.hero__pulse { position: absolute; right: var(--gutter); top: 24vh; width: clamp(120px, 16vw, 220px); aspect-ratio: 1; display: grid; place-items: center; z-index: 1; }
.hero__pulse .ring { position: absolute; inset: 0; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 50%; animation: ringOut 2.4s var(--ease-out) infinite; }
.hero__pulse .ring:nth-child(2) { animation-delay: 0.8s; }
.hero__pulse .ring:nth-child(3) { animation-delay: 1.6s; }
.hero__pulse svg { width: 34%; height: auto; animation: heartbeat 1.1s ease-in-out infinite; transform-origin: 50% 55%; filter: drop-shadow(0 0 24px rgba(232,48,42,0.6)); }
@keyframes ringOut { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.1); opacity: 0; } }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 1.6rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; display: flex; gap: 0.6rem; align-items: center; }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--craie), transparent); display: block; animation: scrollHint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 800px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__cta { justify-self: start; }
  .hero__pulse { top: 16vh; right: 1rem; width: 110px; }
  .hero__content { padding-top: 7rem; }
  .hero__scroll { display: none; }
}

/* ---------------------------------------------------------------------
   Ticker
   --------------------------------------------------------------------- */
.ticker { padding: 2.2rem 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.ticker__row { display: flex; white-space: nowrap; will-change: transform; }
.ticker__row + .ticker__row { margin-top: 0.4rem; }
.ticker__item { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 6.5rem); line-height: 1; text-transform: uppercase; padding-right: 1.2em; display: inline-flex; align-items: center; gap: 0.5em; }
.ticker__item svg { width: 0.55em; height: 0.55em; flex: none; }
.ticker__row--outline .ticker__item { color: transparent; -webkit-text-stroke: 1.5px var(--craie); }

/* ---------------------------------------------------------------------
   Sections génériques
   --------------------------------------------------------------------- */
.section { position: relative; padding: clamp(6rem, 12vw, 11rem) var(--gutter); }
.section__head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__title { font-size: clamp(3rem, 9vw, 8.5rem); }
.section__title .out { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.section__lead { max-width: 42ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.55; opacity: 0.9; }
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; } }

/* Reveal générique (data-reveal) */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; transition: none; }
[data-reveal="clip"] .clip-inner { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease-in-out); }
[data-reveal="clip"].is-in .clip-inner { transform: none; }
[data-reveal="scale"] { transform: scale(0.92); }
.words { display: inline; }
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.words .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 0.035s); }
.is-in .words .w > span { transform: translateY(0); }

/* ---------------------------------------------------------------------
   Manifeste (texte au scroll)
   --------------------------------------------------------------------- */
.manifesto { min-height: 100vh; display: grid; align-content: center; }
.manifesto__text { font-family: var(--font-display); font-size: clamp(2rem, 5.6vw, 5.4rem); line-height: 1.05; text-transform: uppercase; max-width: 22ch; }
.manifesto__text .mw { display: inline-block; opacity: 0.12; transition: opacity 0.35s, color 0.35s; margin-right: 0.22em; }
.manifesto__text .mw.is-lit { opacity: 1; }
.manifesto__text .mw.hl.is-lit { color: var(--rouge); }
.manifesto__sign { margin-top: 3rem; display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; font-weight: 600; }
.manifesto__sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------------------------------------------------------------------
   Chiffres
   --------------------------------------------------------------------- */
.stats { padding-block: clamp(5rem, 10vw, 9rem); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; border-top: 1px solid rgba(255,255,255,0.25); }
@media (max-width: 700px) { .stats__grid { grid-template-columns: 1fr 1fr; gap: 0 1rem; } }
.stat { padding: 2.4rem 1.5rem 2.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: rgba(255,255,255,0.06); transform: translateY(100%); transition: transform 0.6s var(--ease-out); }
.stat:hover::after { transform: translateY(0); }
.stat__num { font-family: var(--font-display); font-size: clamp(3.6rem, 7.5vw, 7.5rem); line-height: 0.9; display: flex; align-items: baseline; }
.stat__num .plus { font-size: 0.5em; color: var(--rouge-2); margin-right: 0.05em; align-self: flex-start; }
.stat__label { margin-top: 0.8rem; font-size: 0.95rem; font-weight: 600; max-width: 22ch; line-height: 1.35; }
.stat__label small { display: block; font-weight: 500; opacity: 0.7; font-size: 0.8rem; margin-top: 0.2rem; }
.stats__ball { position: absolute; right: var(--gutter); top: -60px; width: clamp(80px, 12vw, 160px); height: auto; animation: bounce 1.4s var(--ease-in-out) infinite alternate; filter: drop-shadow(0 30px 30px rgba(0,0,0,0.35)); }
@keyframes bounce { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(60px) rotate(14deg); } }

/* ---------------------------------------------------------------------
   Actions (scroll horizontal épinglé)
   --------------------------------------------------------------------- */
.actions { position: relative; }
.actions__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.actions__track { flex: none; display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); padding-inline: var(--gutter); will-change: transform; align-items: center; }
.actions__intro { flex: none; width: min(80vw, 560px); display: grid; gap: 1.4rem; padding-right: 2rem; }
.actions__intro .section__title { font-size: clamp(3.2rem, 8vw, 7.5rem); }
.actions__hint { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; display: flex; align-items: center; gap: 0.6rem; }
.actions__hint i { width: 48px; height: 1px; background: currentColor; }
.action {
  flex: none; width: min(78vw, 640px); height: min(72vh, 720px); border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--nuit-2); color: var(--craie); display: grid; align-content: end; padding: 2rem; isolation: isolate;
}
.action__img { position: absolute; inset: -10% 0; z-index: -1; }
.action__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease-out); }
.action:hover .action__img img { transform: scale(1.12); }
.action__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,64,0.05) 20%, rgba(10,18,64,0.92) 100%); }
.action__num { font-family: var(--font-display); font-size: clamp(5rem, 11vw, 10rem); line-height: 0.85; color: var(--rouge-2); position: absolute; top: 1.6rem; left: 1.8rem; text-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.action__num small { font-size: 0.22em; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--craie); display: block; margin-top: 0.3em; }
.action__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soleil); margin-bottom: 0.5rem; }
.action__title { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 0.95; text-transform: uppercase; }
.action__text { margin-top: 0.9rem; max-width: 38ch; font-size: 0.98rem; line-height: 1.5; opacity: 0.92; }
.action--accent { background: var(--rouge); }
.action--accent .action__num { color: var(--craie); }
.action--accent .action__img::after { background: linear-gradient(180deg, rgba(232,48,42,0.15) 10%, rgba(232,48,42,0.95) 100%); mix-blend-mode: multiply; }
.action--accent .action__tag { color: var(--craie); opacity: 0.8; }
.actions__end { flex: none; width: min(70vw, 420px); display: grid; gap: 1.5rem; padding-left: 2rem; }
.actions__end .display { font-size: clamp(2.2rem, 5vw, 4rem); }
@media (max-width: 900px) {
  .actions__sticky { position: static; height: auto; overflow: visible; display: block; }
  .actions__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; transform: none !important; }
  .actions__track::-webkit-scrollbar { display: none; }
  .actions__intro, .action, .actions__end { scroll-snap-align: start; }
  .actions__intro { width: 84vw; }
  .action { width: 84vw; height: 68vh; }
}

/* ---------------------------------------------------------------------
   Événements (cartes empilées)
   --------------------------------------------------------------------- */
.events { padding-bottom: 0; }
.events__stack { display: grid; gap: 4vh; }
.event {
  position: sticky; top: 8vh; min-height: 84vh; border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); color: #fff; isolation: isolate;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55); transform-origin: center top; will-change: transform;
}
.event--hsl { background: var(--bleu); }
.event--tbs { background: linear-gradient(160deg, #1d0a05 0%, #7a2b12 50%, #f0a020 120%); }
.event__body { padding: clamp(1.8rem, 4vw, 3.5rem); display: grid; align-content: space-between; gap: 2rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); }
.chip--solid { background: var(--rouge); border-color: var(--rouge); }
.chip--sun { background: var(--soleil); color: var(--nuit); border-color: var(--soleil); }
.event__title { font-size: clamp(3.2rem, 8vw, 8rem); line-height: 0.88; }
.event__title .line { display: block; overflow: hidden; }
.event__title .line > span { display: block; }
.event__text { max-width: 44ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; }
.event__guests { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.85rem; font-weight: 600; opacity: 0.9; }
.event__guests li::before { content: "★ "; color: var(--soleil); }
.event__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.event__visual { position: relative; overflow: hidden; }
.event__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
.event__visual .logo { position: absolute; left: 50%; top: 50%; width: clamp(160px, 38%, 340px); height: auto; object-fit: contain; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); } 50% { transform: translate(-50%, -58%) rotate(-2deg); } }
.event__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(6,11,42,0.45), transparent 45%), linear-gradient(90deg, rgba(0,0,0,0.25), transparent 40%); }
.event__big { position: absolute; right: -0.05em; bottom: -0.18em; font-family: var(--font-display); font-size: clamp(6rem, 22vw, 20rem); line-height: 1; color: rgba(255,255,255,0.08); pointer-events: none; z-index: 0; }
@media (max-width: 900px) {
  .event { grid-template-columns: 1fr; min-height: auto; top: 6vh; }
  .event__visual { min-height: 40vh; order: -1; }
  .event__visual img { transform: none; }
}

/* ---------------------------------------------------------------------
   Fondateur
   --------------------------------------------------------------------- */
.founder__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.founder__portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.founder__portrait::after { content: ""; position: absolute; inset: -2px; background: var(--rouge); transform: translateY(0); transition: transform 1.3s var(--ease-in-out); z-index: 2; }
.founder__portrait.is-in::after { transform: translateY(-102%); }
.founder__portrait img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.founder__portrait .badge { position: absolute; left: 1.4rem; bottom: 1.4rem; background: var(--rouge); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; }
.founder__name { font-size: clamp(3rem, 8vw, 7rem); }
.founder__name .out { color: transparent; -webkit-text-stroke: 1.5px var(--craie); }
.founder__role { margin-top: 1rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soleil); }
.founder__bio { margin-top: 1.4rem; max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; }
.founder__quote { margin-top: 2rem; padding-left: 1.4rem; border-left: 3px solid var(--rouge); font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; max-width: 22ch; }
.timeline { margin-top: clamp(4rem, 8vw, 7rem); position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 1px; background: rgba(255,255,255,0.2); }
.timeline__line { position: absolute; left: 0; top: 0.55rem; height: 1px; background: var(--rouge); width: var(--p, 0%); }
.tl { position: relative; padding-top: 1.6rem; }
.tl::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--craie); transform: scale(0); transition: transform 0.6s var(--ease-out); }
.tl.is-in::before { transform: scale(1); background: var(--rouge); }
.tl__year { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; opacity: 0.35; transition: opacity 0.6s; }
.tl.is-in .tl__year { opacity: 1; }
.tl__text { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.45; opacity: 0.85; }
@media (max-width: 900px) {
  .founder__grid { grid-template-columns: 1fr; }
  .founder__portrait { aspect-ratio: 4 / 5; max-width: 480px; }
  .timeline { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------------
   Valeurs (physique)
   --------------------------------------------------------------------- */
.values { padding-bottom: 0; }
.values__stage { position: relative; height: min(72vh, 720px); border-top: 1px solid rgba(10,18,64,0.15); border-bottom: 1px solid rgba(10,18,64,0.15); overflow: hidden; touch-action: none; }
.values__stage canvas { width: 100%; height: 100%; display: block; }
.values__hint { position: absolute; left: var(--gutter); bottom: 1.2rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; pointer-events: none; }
.values__big { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(5rem, 20vw, 19rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(10,18,64,0.18); pointer-events: none; text-transform: uppercase; }

/* ---------------------------------------------------------------------
   Galerie
   --------------------------------------------------------------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.gallery__col { display: grid; gap: clamp(1rem, 2.5vw, 2rem); will-change: transform; }
.gallery__col:nth-child(2) { padding-top: 12vh; }
.gallery__col:nth-child(3) { padding-top: 5vh; }
.shot { position: relative; border-radius: 20px; overflow: hidden; background: var(--nuit-2); }
.shot img { width: 100%; height: auto; transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter 0.6s; }
.shot:hover img { transform: scale(1.08); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem; font-size: 0.8rem; font-weight: 600; background: linear-gradient(transparent, rgba(6,11,42,0.85)); color: #fff; transform: translateY(100%); transition: transform 0.6s var(--ease-out); }
.shot:hover figcaption { transform: translateY(0); }
@media (max-width: 800px) { .gallery__grid { grid-template-columns: 1fr 1fr; } .gallery__col:nth-child(3) { display: none; } .gallery__col:nth-child(2) { padding-top: 8vh; } }

/* ---------------------------------------------------------------------
   Partenaires
   --------------------------------------------------------------------- */
.partners { padding-inline: 0; }
.partners .section__head { padding-inline: var(--gutter); }
.logos { overflow: hidden; padding: 1rem 0; }
.logos__row { display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem); will-change: transform; white-space: nowrap; }
.logos__row + .logos__row { margin-top: 1.5rem; }
.logos__row img { height: clamp(48px, 6.5vw, 88px); width: auto; flex: none; mix-blend-mode: multiply; filter: saturate(0.9); opacity: 0.95; transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--ease-out); }
.logos__row img:hover { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------------------------------------------------------------------
   Soutenir
   --------------------------------------------------------------------- */
.support { overflow: hidden; }
.support__title { font-size: clamp(3.4rem, 12vw, 12rem); text-align: center; }
.support__title .line { display: block; overflow: hidden; }
.support__title .line > span { display: block; }
.support__sub { text-align: center; max-width: 40ch; margin: 1.5rem auto 0; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.support__grid { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.way { position: relative; display: grid; gap: 1rem; padding: 2rem; border-radius: 22px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); overflow: hidden; transition: transform 0.5s var(--ease-out), background-color 0.4s; will-change: transform; }
.way:hover { background: var(--craie); color: var(--nuit); }
.way h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 0.95; }
.way p { font-size: 0.92rem; opacity: 0.9; }
.way .arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,0.15); justify-self: start; transition: transform 0.5s var(--ease-out), background-color 0.4s; }
.way:hover .arrow { transform: rotate(-45deg); background: var(--rouge); color: #fff; }
.way .arrow svg { width: 18px; height: 18px; }
.hearts { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hearts i { position: absolute; width: 18px; height: 18px; color: var(--craie); animation: heartFly 1.6s var(--ease-out) forwards; }
@keyframes heartFly { 0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.4) rotate(var(--r)); opacity: 0; } }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.footer { padding: clamp(5rem, 10vw, 8rem) var(--gutter) 2rem; position: relative; overflow: hidden; background: var(--nuit); color: var(--craie); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer h4 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; margin-bottom: 1rem; }
.footer a.link { display: inline-block; font-weight: 600; position: relative; }
.footer a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--rouge); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.footer a.link:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__big { margin-top: 3rem; font-size: clamp(2.4rem, 12vw, 13rem); line-height: 0.85; display: block; white-space: nowrap; overflow: hidden; padding-bottom: 0.1em; }
.footer__big .ch { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 0.04s); }
.footer__big.is-in .ch { transform: translateY(0); }
.footer__big .sp { display: inline-block; width: 0.25em; }
.footer__big .heart { color: var(--rouge-2); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; font-size: 0.72rem; opacity: 0.55; }

/* ---------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  [data-reveal], .hero__kicker, .hero__sub, .hero__cta { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__title .line > span, .words .w > span, .footer__big .ch { transform: none !important; }
  .manifesto__text .mw { opacity: 1; }
  .grain { display: none; }
}

/* ---------------------------------------------------------------------
   Séquences d'entrée (hero, titres en lignes)
   --------------------------------------------------------------------- */
.hero__title .line > span { transition: transform 1.2s var(--ease-out); }
.hero.is-ready .hero__title .line:nth-child(1) > span { transform: none; transition-delay: 0.05s; }
.hero.is-ready .hero__title .line:nth-child(2) > span { transform: none; transition-delay: 0.15s; }
.hero.is-ready .hero__title .line:nth-child(3) > span { transform: none; transition-delay: 0.25s; }
.hero__kicker, .hero__sub, .hero__cta { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transform: translateY(20px); }
.hero.is-ready .hero__kicker { opacity: 1; transform: none; transition-delay: 0.5s; }
.hero.is-ready .hero__sub { opacity: 1; transform: none; transition-delay: 0.65s; }
.hero.is-ready .hero__cta { opacity: 1; transform: none; transition-delay: 0.8s; }

.event__title .line > span, .support__title .line > span { transform: translateY(110%); transition: transform 1s var(--ease-out); }
.is-in .event__title .line:nth-child(1) > span, .support__title.is-in .line:nth-child(1) > span { transform: none; }
.is-in .event__title .line:nth-child(2) > span, .support__title.is-in .line:nth-child(2) > span { transform: none; transition-delay: 0.1s; }
.is-in .event__title .line:nth-child(3) > span { transform: none; transition-delay: 0.2s; }

/* =====================================================================
   V2 — logo, lieux, mots clés, vidéos, formulaires
   ===================================================================== */
.nav__logo img { height: 66px; width: auto; }
.nav__logo .logo-light { display: none; }
body[data-theme="craie"] .nav__logo .logo-dark { display: none; }
body[data-theme="craie"] .nav__logo .logo-light { display: block; }
.flag { display: inline-block; width: 1.25em; height: 0.85em; vertical-align: -0.1em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); margin-left: 0.15em; }

/* Lieux */
.venue { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; line-height: 1.3; opacity: 0.95; padding: 0.5rem 0.9rem 0.5rem 0.6rem; border-radius: 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); transition: background-color 0.4s, transform 0.5s var(--ease-out); }
.venue:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.venue svg { width: 22px; height: 22px; flex: none; color: var(--soleil); }
.venue strong { font-weight: 700; }

/* Fondateur */
.founder__portrait { display: block; color: inherit; }
.founder__portrait .badge { display: inline-flex; align-items: center; gap: 0.5rem; transition: transform 0.5s var(--ease-out), background-color 0.4s; }
.founder__portrait .badge svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease-out); }
.founder__portrait:hover .badge { background: var(--craie); color: var(--nuit); }
.founder__portrait:hover .badge svg { transform: rotate(-45deg); }
.founder__keys { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.founder__keys li { position: relative; overflow: hidden; border-radius: 999px; border: 1.5px solid rgba(243,239,230,0.35); }
.founder__keys li span { display: block; padding: 0.8rem 1.3rem; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.5rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; position: relative; z-index: 1; transition: color 0.5s; }
.founder__keys li::before { content: ""; position: absolute; inset: 0; background: var(--rouge); transform: translateY(101%); transition: transform 0.6s var(--ease-out); }
.founder__keys li:hover::before, .founder__keys.is-in li.is-on::before { transform: translateY(0); }
.founder__keys li:hover span, .founder__keys.is-in li.is-on span { color: #fff; }

/* Vidéos */
.clips__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 21vw; gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.clip { position: relative; border-radius: 22px; overflow: hidden; background: var(--nuit-2); display: block; width: 100%; height: 100%; text-align: left; color: #fff; isolation: isolate; cursor: none; }
.clip--tall { grid-row: span 2; }
.clip--wide { grid-column: span 2; }
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1s var(--ease-out), filter 0.6s; filter: saturate(0.9); }
.clip:hover video { transform: scale(1.1); filter: saturate(1.1); }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,11,42,0.75)); pointer-events: none; }
.clip__play { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); display: grid; place-items: center; z-index: 1; transition: transform 0.5s var(--ease-out), background-color 0.4s; }
.clip__play svg { width: 20px; height: 20px; margin-left: 2px; }
.clip:hover .clip__play { transform: scale(1.12); background: var(--rouge); border-color: var(--rouge); }
.clip__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; font-size: 0.85rem; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.clip.is-live .clip__play { animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,48,42,0.5); } 60% { box-shadow: 0 0 0 12px rgba(232,48,42,0); } }
@media (pointer: coarse) { .clip { cursor: pointer; } }
@media (max-width: 900px) { .clips__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; } }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(6,11,42,0.92); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 3rem 1rem; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__frame { width: min(92vw, 1100px); max-height: 86vh; display: grid; place-items: center; transform: scale(0.92) translateY(20px); transition: transform 0.6s var(--ease-out); }
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox__frame video { max-width: 100%; max-height: 86vh; border-radius: 22px; background: #000; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; transition: background-color 0.3s, transform 0.5s var(--ease-out); z-index: 1; }
.lightbox__close:hover { background: var(--rouge); transform: rotate(90deg); }
.lightbox__close svg { width: 22px; height: 22px; }

/* Formulaires */
.way { text-align: left; font: inherit; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }
.field span { opacity: 0.7; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; font-size: 1rem; letter-spacing: 0; color: inherit; background: transparent; border: 0; border-bottom: 1.5px solid currentColor; padding: 0.7rem 0; border-radius: 0; outline: none; transition: border-color 0.3s; resize: vertical; }
.field select option { color: var(--nuit); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--rouge); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.form .btn { justify-self: start; margin-top: 0.5rem; }
.form.is-sending { opacity: 0.6; pointer-events: none; }
.form.is-done > :not(.form__ok) { display: none; }
.form.is-done .form__ok { display: block !important; }
.form__ok, .form__err { font-weight: 700; padding: 1rem 1.2rem; border-radius: 14px; }
.form__ok { background: var(--vert); color: #fff; font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; }
.form__err { background: rgba(232,48,42,0.12); border: 1px solid var(--rouge); }
.hp { position: absolute; left: -9999px; }

.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact .form { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); background: rgba(10,18,64,0.06); border: 1px solid rgba(10,18,64,0.12); }
.contact__direct { margin-top: 2rem; display: grid; gap: 0.4rem; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2rem); text-transform: uppercase; }
.contact__direct a { position: relative; display: inline-block; justify-self: start; }
.contact__direct a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rouge); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.contact__direct a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.panel { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.panel::before { content: ""; position: absolute; inset: 0; background: rgba(6,11,42,0.6); opacity: 0; transition: opacity 0.4s; }
.panel.is-open { pointer-events: auto; }
.panel.is-open::before { opacity: 1; }
.panel__inner { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 560px); background: var(--nuit); color: var(--craie); padding: 5rem clamp(1.4rem, 4vw, 3rem) 3rem; overflow-y: auto; transform: translateX(100%); transition: transform 0.7s var(--ease-in-out); }
.panel.is-open .panel__inner { transform: none; }
.panel__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; transition: background-color 0.3s, transform 0.5s var(--ease-out); }
.panel__close:hover { background: var(--rouge); transform: rotate(90deg); }
.panel__close svg { width: 20px; height: 20px; }
.panel__title { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 0.9; }
.panel__lead { font-size: 0.95rem; opacity: 0.85; margin-bottom: 0.6rem; }
.panel__form .field input, .panel__form .field select, .panel__form .field textarea { border-bottom-color: rgba(243,239,230,0.4); }

/* Footer logo */
.footer__logo { margin-top: 3rem; display: flex; justify-content: center; }
.footer__logo img { width: min(78vw, 640px); height: auto; opacity: 0; transform: scale(0.85) translateY(30px); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); filter: drop-shadow(0 30px 60px rgba(232,48,42,0.25)); }
.footer__logo.is-in img { opacity: 1; transform: none; animation: floatLogo 6s ease-in-out 1.4s infinite; }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Fixes v2 */
.panel__form[hidden] { display: none; }
.lightbox__frame video { width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.contact__direct { font-family: var(--font-body); font-size: 1rem; text-transform: none; font-weight: 700; }
.contact__direct a:first-child { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; text-transform: uppercase; }
.contact__direct a { word-break: break-all; }


/* Vidéos v3 */
.event__visual--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.event__visual--video .logo { z-index: 2; }
.event__play { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.3rem 0.8rem 0.9rem; border-radius: 999px; background: rgba(6,11,42,0.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-weight: 700; font-size: 0.85rem; transition: background-color 0.4s, transform 0.5s var(--ease-out); white-space: nowrap; }
.event__play svg { width: 22px; height: 22px; }
.event__play:hover { background: var(--rouge); transform: translateX(-50%) scale(1.05); }
@media (max-width: 900px) { .event__visual--video { min-height: 56vw; } }
/* Grille 10 vidéos : 4 talls en bande basse = rangée "stories" */
.clips__grid { grid-auto-flow: dense; }

/* Langues + Instagram (nav) */
.lang { display: inline-flex; gap: 0.15rem; padding: 0.2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; }
body[data-theme="craie"] .lang { border-color: rgba(10,18,64,0.25); }
.lang a { padding: 0.35rem 0.55rem; border-radius: 999px; opacity: 0.7; transition: background-color 0.3s, opacity 0.3s, color 0.3s; }
.lang a:hover { opacity: 1; }
.lang a.is-on { background: var(--fg); color: var(--bg); opacity: 1; }
.nav__ig { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.25); transition: background-color 0.4s, transform 0.5s var(--ease-out), border-color 0.4s; }
body[data-theme="craie"] .nav__ig { border-color: rgba(10,18,64,0.25); }
.nav__ig svg { width: 18px; height: 18px; }
.nav__ig:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; transform: rotate(-8deg) scale(1.08); }
.menu__ig { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.menu__ig svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .nav__right { gap: 0.6rem; } .lang { font-size: 0.68rem; } .lang a { padding: 0.3rem 0.45rem; } .nav__ig { width: 36px; height: 36px; } }

/* i18n : mot de fond plus long en DE */
html[lang="de"] .values__big { font-size: clamp(3.6rem, 14vw, 14rem); letter-spacing: -0.02em; }
html[lang="en"] .values__big { font-size: clamp(4.2rem, 17vw, 17rem); }

/* ---- Vidéos : voir plus ---- */
.clip[hidden] { display: none; }
.clips__more { display: flex; justify-content: center; margin-top: clamp(1.5rem, 4vw, 3rem); }
.clips__grid.is-open + .clips__more { display: none; }

/* ---- Drapeaux dans le sélecteur de langue ---- */
.lang a { display: inline-flex; align-items: center; gap: 0.35rem; }
.lang__flag { width: 1.1em; height: 0.75em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); flex: none; }
.lang a:not(.is-on) .lang__flag { filter: saturate(0.6); opacity: 0.85; }
@media (max-width: 420px) { .lang a { gap: 0.25rem; padding: 0.35rem 0.4rem; } }

/* ---- Réseaux sociaux : couleurs de marque ---- */
.nav__social { display: inline-flex; gap: 0.4rem; }
.nav__ig { color: #fff; border-color: transparent; }
.nav__ig--insta { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); }
.nav__ig--in { background: #0A66C2; }
.nav__ig--tt { background: #010101; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.nav__ig:hover { background: var(--rouge); border-color: var(--rouge); }
.nav__ig--insta:hover { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); filter: brightness(1.12); }
.nav__ig--in:hover { background: #0A66C2; filter: brightness(1.15); }
.nav__ig--tt:hover { background: #010101; box-shadow: inset 0 0 0 1px #25F4EE, 2px 2px 0 0 #FE2C55; }
@media (max-width: 600px) { .nav__ig--in, .nav__ig--tt { display: none; } }
.menu__social { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; }
