/* ============================================================
   INTENTS EVEREST — styles.css
   ============================================================
   01. Variables       → MODIFIE ICI couleurs, typo, vitesses
   02. Base / reset
   03. Le cadre arrondi
   04. HUD caméra
   05. Composants
   06. Navigation
   07. Hero
   08. Titres 2 tons + révélations
   09. Marquee + stats
   10. Work (panneaux empilés)
   11. Short-form
   12. Services / Timeline
   13. About / Team
   14. Rates
   15. Testimonials
   16. Booking
   17. Footer
   18. Responsive
   19. Accessibilité
   20. Ajustements thème clair + logo + animation + Team qui défile
============================================================ */

/* ===== 01. VARIABLES — MODIFIE ICI ===== */
:root {
  --void:    #F2F0EB;                  /* fond DERRIÈRE le cadre        */
  --bg:      #F2F0EB;                  /* fond off-white principal      */
  --cream:   #0D0D0D;                  /* texte principal (quasi noir)  */
  --grey:    #5C574D;                  /* texte secondaire              */
  --dim:     #8C8576;                  /* texte discret / numéros       */
  --accent:  #E8A831;                  /* accent ambré                  */
  --line:    rgba(13, 13, 13, .14);    /* filets                        */
  --surface: #E7E2D8;                  /* cartes / chips / inputs       */

  --sans: "Inter", "Helvetica Neue", sans-serif;

  --fs-duo:      clamp(2rem, 5.5vw, 4.6rem);
  --fs-wordmark: clamp(4.5rem, 21vw, 22rem);

  --pad:    clamp(20px, 4vw, 64px);
  --sec-y:  clamp(48px, 6vw, 90px);    /* espace vertical des sections (resserré) */
  --radius: 22px;

  --reveal-dur: .9s;
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===== 02. BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px; line-height: 1.6;
  background: var(--void); color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.center { text-align: center; }

/* ===== 03. LE CADRE ARRONDI ===== */
.frame {
  margin: 10px; background: var(--bg);
  border-radius: var(--radius); overflow: clip; position: relative;
}
.sec { padding: var(--sec-y) var(--pad); }

/* ===== 04. HUD CAMÉRA ===== */
.hud-row {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); border-top: 1px solid var(--line);
  padding-top: 12px; margin-bottom: clamp(28px, 4vw, 44px);
}
.hud-row--foot { border-top: none; margin: 18px 0 0; }
.hud-row--panel { position: absolute; top: 20px; left: var(--pad); right: var(--pad); z-index: 3; margin: 0; }

.ruler {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 26px);
  border-bottom: 1px solid var(--line); margin-bottom: 32px;
}

.hud-ruler {
  position: absolute; top: 74px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between;
  font-size: 10px; color: rgba(241,238,231,.4);
  border-top: 1px solid rgba(241,238,231,.18); padding-top: 8px; z-index: 3;
}
.hud-ruler--footer { position: static; margin: clamp(40px, 6vw, 72px) 0 0; }

.hud-rec {
  position: fixed; top: 118px; left: var(--pad);
  font-size: 11px; letter-spacing: .1em; z-index: 3;
.hud-rec { color: #F4F2ED; transition: color .25s; }   /* clair par défaut (hero) */
.hud-rec.hud-rec--dark { color: #0D0D0D; }             /* noir sur fond blanc */
.hud-rec .rec-dot { color: var(--accent); }            /* ● toujours ambré */     /* le ● reste ambré */
}

.vf { --c: rgba(241,238,231,.75); }
.vf::before, .vf::after,
.vf .slot__caption::before, .vf .slot__caption::after { content: ""; position: absolute; width: 16px; height: 16px; z-index: 2; }
.vf::before { top: 10px; left: 10px;  border-top: 1px solid var(--c); border-left: 1px solid var(--c); }
.vf::after  { top: 10px; right: 10px; border-top: 1px solid var(--c); border-right: 1px solid var(--c); }
.vf .slot__caption::before { bottom: 10px; left: 10px;  border-bottom: 1px solid var(--c); border-left: 1px solid var(--c); }
.vf .slot__caption::after  { bottom: 10px; right: 10px; border-bottom: 1px solid var(--c); border-right: 1px solid var(--c); }

.slot__caption {
  position: absolute; inset: auto 0 -26px 0;
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.slot__caption span:first-child::first-letter { color: var(--accent); }

/* ===== 05. COMPOSANTS ===== */
.tag {
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); line-height: 1.9;
}
.tag--dim { color: var(--dim); }

.pill {
  display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .02em;
  padding: 12px 22px; border-radius: 99px; border: 1px solid transparent;
  transition: transform .25s var(--reveal-ease), background .25s, color .25s;
}
.pill:hover { transform: translateY(-2px); }
.pill--accent { background: var(--accent); color: var(--cream); }
.pill--accent:hover { background: var(--cream); color: var(--bg); }

.pill--float { position: fixed; bottom: 22px; left: 22px; z-index: 90; }
.chip-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(18,17,16,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
  font-size: 11px; line-height: 1.4;
}
.chip-float span { color: var(--dim); }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 170px; padding: 30px 34px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; color: var(--grey);
}

.slot {
  position: relative;
  background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(241,238,231,.03) 16px 17px), #1b1a18;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.slot::after {
  content: "PHOTO — " attr(data-label);
  position: absolute; bottom: 12px; left: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(15,14,13,.85); color: var(--grey);
  padding: 6px 10px; border-radius: 4px; z-index: 3;
}
.slot :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot:has(img)::after, .slot:has(video)::after { display: none; }

/* ===== 06. NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px calc(var(--pad) + 10px);
  transition: background .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(0,0,0,.55); backdrop-filter: blur(12px); }
.nav__logo { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.nav__logo sup, .nav__links sup { font-size: 9px; color: var(--dim); }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav__links a { font-size: 13px; color: var(--grey); transition: color .2s; }
.nav__links a:hover { color: var(--cream); }

/* ===== 07. HERO ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.hero__bg { position: absolute !important; inset: 0; border: none; border-radius: 0; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,14,13,.55) 0%, rgba(15,14,13,.1) 45%, rgba(15,14,13,.8) 100%);
}
.hero__meta { position: absolute; z-index: 3; max-width: 300px; }
.hero__meta--left  { left: var(--pad); bottom: 44vh; }
.hero__meta--right { right: var(--pad); bottom: 42vh; text-align: right; }
.hero__meta--right p { font-size: 14px; color: var(--grey); }
.hero__meta--right strong { color: var(--cream); font-weight: 500; }
.hero__list { margin: 8px 0; }
.hero__list li { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; line-height: 1.6; }

.idcard {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(18,17,16,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 18px;
  text-align: left; font-size: 12px; line-height: 1.35; transition: border-color .25s;
}
.idcard:hover { border-color: var(--grey); }
.idcard__photo { width: 44px; height: 44px; border-radius: 8px; flex: none; }
.idcard__photo::after { display: none; }
.idcard em { display: block; font-style: normal; color: var(--dim); }
.idcard i { font-style: normal; font-size: 10px; color: var(--cream); }

.hero__wordmark {
  color: #F2F0EB;
  position: relative; z-index: 2;
  font-size: var(--fs-wordmark);
  font-weight: 500; letter-spacing: -.05em; line-height: .76;
  text-align: right; transform: translateY(10%); pointer-events: none;
}

/* ===== 08. TITRES 2 TONS + RÉVÉLATIONS ===== */
.duo { font-size: var(--fs-duo); margin-bottom: clamp(24px, 3vw, 40px); }
.duo span { display: block; }
.duo__l1 { color: var(--cream); }
.duo__l2 { color: var(--dim); }
.duo--center { text-align: center; }

[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity var(--reveal-dur) var(--reveal-ease), transform var(--reveal-dur) var(--reveal-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ===== 09. MARQUEE + STATS ===== */
.marquee { overflow: hidden; margin: clamp(24px, 3vw, 40px) 0; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat__tag { font-size: 10px; color: var(--dim); display: block; margin-bottom: 14px; }
.stat strong { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; letter-spacing: -.03em; display: block; line-height: 1.1; }
.stat__label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* ===== 10. WORK — PANNEAUX EMPILÉS ===== */
.stack .panel {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.panel__bg {
  position: absolute; inset: -5%;
  background: var(--bg-fallback, #161514) var(--bg) center/cover no-repeat;
  filter: blur(40px) brightness(.5); transform: scale(1.1);
}
.panel__marquee {
  position: absolute; bottom: 7%; left: 0; white-space: nowrap;
  font-size: clamp(3.5rem, 9vw, 8rem); font-weight: 500; letter-spacing: -.04em;
  color: var(--grey); opacity: .55; animation: marquee 40s linear infinite;
}
.panel__media { width: min(62vw, 900px); aspect-ratio: 16 / 9; z-index: 2; }
.panel__foot {
  position: absolute; bottom: 24px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); z-index: 2;
}

/* Panneau Film en plein écran */
.panel--full .panel__media { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.panel--full .panel__bg { display: none; }

/* ===== 11. SHORT-FORM ===== */
.shortform { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 80px); padding: clamp(24px, 4vw, 56px) 0; }
.shortform__word { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.04em; }
.shortform__word--dim { color: var(--dim); }
.phone { position: relative; width: clamp(200px, 24vw, 280px); aspect-ratio: 9 / 19; background: #1a1918; border: 1px solid rgba(241,238,231,.2); border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.phone__notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #000; border-radius: 99px; z-index: 4; }
.phone__screen { height: 100%; border-radius: 32px; }

/* ===== 12. SERVICES / TIMELINE — LIGNES ALTERNÉES ===== */
.services { display: flex; flex-direction: column; }
.service {
  display: flex; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.service:first-child { border-top: 1px solid var(--line); }
.service:nth-child(even) { flex-direction: row-reverse; }
.service__num { font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.04em; color: var(--dim); flex: 0 0 auto; }
.service__media { width: clamp(160px, 22vw, 300px); aspect-ratio: 16 / 10; flex: none; }
.service__text h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.service__text p { color: var(--grey); font-size: 14px; max-width: 46ch; }

/* ===== 13. ABOUT / TEAM ===== */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; max-width: 380px; }
.about__text { text-align: center; }
.about__name { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; margin: 2px 0 18px; }
.about__name--dim { color: var(--dim); }
.about__bio { color: var(--grey); max-width: 46ch; margin: 22px auto 0; font-size: 14px; }

/* ===== 14. RATES ===== */
.rates { border-top: 1px solid var(--line); margin-top: 28px; }
.rate { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 24px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); transition: background .25s; }
.rate:hover { background: var(--surface); }
.rate__num { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; color: var(--dim); letter-spacing: -.03em; }
.rate__text h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); margin-bottom: 4px; }
.rate__text p { color: var(--grey); font-size: 14px; }
.rate__price { text-align: right; }
.rate__price span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); display: block; }
.rate__price strong { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; }
.rate__cta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; margin-left: 8px; border: 1px solid var(--line); border-radius: 99px; transition: background .25s, color .25s, border-color .25s; }
.rate__cta:hover { background: var(--accent); border-color: var(--accent); }

/* ===== 15. TESTIMONIALS ===== */
.quotes { position: relative; max-width: 1100px; margin: 0 auto; }
.quote { display: none; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.quote.is-current { display: grid; animation: quoteIn .6s var(--reveal-ease); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(20px); } }
.quote blockquote { font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 24px; }
.quote figcaption strong { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.quote__media { aspect-ratio: 16 / 11; }
.quotes__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }
.quotes__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-size: 15px; margin-left: 8px; transition: background .25s, border-color .25s; }
.quotes__btn:hover { background: var(--accent); border-color: var(--accent); }

/* ===== 16. BOOKING ===== */
.slots-line { display: block; margin-bottom: clamp(36px, 5vw, 56px); }
.dots { color: var(--accent); letter-spacing: 3px; }
.dots--dim { color: var(--dim); }
.bookform { max-width: 560px; margin: 0 auto; }
.bookform label { display: block; margin-bottom: 22px; }
.bookform label > span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.bookform label i { font-style: normal; color: var(--accent); margin-right: 6px; }
.bookform input, .bookform select, .bookform textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  color: var(--cream); font: 400 14px/1.5 var(--sans); padding: 14px 16px; outline: none; transition: border-color .2s;
}
.bookform :is(input, select, textarea):focus { border-color: var(--accent); }
.bookform ::placeholder { color: var(--dim); }
.bookform select { appearance: none; color: var(--grey); }
.bookform option { color: var(--bg); }
.bookform .pill { width: 100%; text-align: center; margin-top: 8px; }

/* ===== 17. FOOTER ===== */
.footer { border-top: 1px solid var(--line); padding: var(--sec-y) var(--pad) 24px; }
.stats--footer { margin-bottom: clamp(48px, 7vw, 90px); }
.footer__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.footer__cols .tag { display: block; margin-bottom: 16px; }
.footer__cols p { color: var(--grey); font-size: 14px; max-width: 34ch; }
.footer__cols p strong { color: var(--cream); font-weight: 500; }
.footer__cols a { display: block; color: var(--grey); font-size: 14px; line-height: 2; transition: color .2s; }
.footer__cols a:hover { color: var(--cream); }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-size: 10px; letter-spacing: .05em; }
.footer__socials a:hover { background: var(--cream); color: var(--bg); }

.footer__wordmark { font-size: var(--fs-wordmark); font-weight: 500; letter-spacing: -.05em; line-height: .8; text-align: center; margin-bottom: -0.14em; overflow: hidden; }

.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 11px; color: var(--dim); }
.footer__bottom a:hover { color: var(--cream); }
/* Grand wordmark du footer aligné à droite (comme le hero) */
.footer__wordmark {
  color: var(--accent);                     /* ← la couleur (change-la ici) */
  text-align: right;
  white-space: nowrap;
  overflow: visible;                        /* laisse les lettres déborder */
  margin-right: calc(-1 * var(--pad) - 3vw);/* pousse au-delà du bord → coupé par le cadre */
}

/* ===== 18. RESPONSIVE ===== */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .about { grid-template-columns: 1fr; }
  .about__photo { margin: 0 auto; }
  .panel__media { width: 86vw; }
  .quote { grid-template-columns: 1fr; }
  .rate { grid-template-columns: 70px 1fr; }
  .rate__price { text-align: left; grid-column: 2; }
  .rate__cta { grid-column: 2; justify-self: start; margin-left: 0; }
  .footer__cols { grid-template-columns: 1fr; }
  /* Bas de page : gauche / centre / droite */
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.footer__bottom .fb-left   { justify-self: start; }
.footer__bottom .fb-center { justify-self: center; display: flex; gap: 20px; }
.footer__bottom .fb-right  { justify-self: end; }
@media (max-width: 640px) {
  .footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero__meta--left { bottom: 54vh; }
  .hero__meta--right { position: relative; right: auto; bottom: auto; text-align: left; margin: 0 var(--pad) 40px; }
  .shortform { flex-direction: column; }
  .service, .service:nth-child(even) { flex-direction: column; align-items: flex-start; gap: 20px; }
  .service__media { width: 100%; }
  .pill--float { display: none; }
}

/* ===== 19. ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track, .panel__marquee, .about__roles-track { animation: none; }
  .quote.is-current { animation: none; }
}

/* ===== 20. AJUSTEMENTS THÈME CLAIR + LOGO + ANIMATION + TEAM ===== */

/* 1) Zones sur média sombre → texte clair */
.hero,
.stack .panel {
  --cream: #F4F2ED;
  --grey:  rgba(244, 242, 237, .72);
  --dim:   rgba(244, 242, 237, .5);
  --line:  rgba(244, 242, 237, .18);
}

/* 2) Boutons ● : texte foncé sur l'ambre */
.pill--accent { background: var(--accent); color: #0D0D0D; }
.pill--accent:hover { background: #0D0D0D; color: #F2F0EB; }

/* 3) Navigation : clair sur le hero, foncé quand le fond clair apparait */
.nav__logo, .nav__links a { color: #F4F2ED; }
.nav__logo sup, .nav__links sup { color: rgba(244, 242, 237, .55); }
.nav__links a:hover { color: #FFFFFF; }
.nav.is-scrolled { background: rgba(242, 240, 235, .8); }
.nav.is-scrolled .nav__logo,
.nav.is-scrolled .nav__links a { color: #0D0D0D; }
.nav.is-scrolled .nav__logo sup,
.nav.is-scrolled .nav__links sup { color: var(--dim); }

/* 4) Chip flottante → surface claire */
.chip-float { background: rgba(242, 240, 235, .9); color: #0D0D0D; }
.chip-float span { color: var(--grey); }

/* 5) Emplacements photo vides → boîtes claires */
.slot {
  background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(13, 13, 13, .035) 16px 17px), #E7E2D8;
}
.slot::after { background: rgba(13, 13, 13, .06); color: #5C574D; }
.vf { --c: rgba(13, 13, 13, .45); }

/* 6) Menu déroulant du formulaire → texte foncé */
.bookform option { color: #0D0D0D; }

/* 7) Logo image (logo.svg) — hauteur 55px */
.nav__logo img { height: 55px; width: auto; }

/* 8) ANIMATION HERO → MISSION
   Le hero se fige, la Mission (fond off-white opaque) remonte et le recouvre.
   ⚠️ Marche seulement si, dans index.html, le HERO et la MISSION sont les
   DEUX seuls blocs dans <div class="hero-stack">, refermé juste après la Mission. */
.hero-stack { position: relative; }
.hero-stack .hero { position: sticky; top: 0; height: 100svh; }
.cover { position: relative; z-index: 2; background: var(--bg); }

/* 9) TEAM (façon About) — colonne de rôles/noms qui défile verticalement */
.about__roles {
  height: clamp(300px, 46vh, 460px);
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.about__roles-track {
  display: flex; flex-direction: column; gap: clamp(22px, 3vh, 38px);
  animation: scrollNames 22s linear infinite;
}
@keyframes scrollNames { to { transform: translateY(-50%); } }
.about__roles:hover .about__roles-track { animation-play-state: paused; }
.about-role { text-align: center; }
.about-role .tag { display: block; margin-bottom: 4px; }
.about-role h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; }

/* ============================================================
   DARK SECTION — used by (05) — Team
   ============================================================ */
.sec--dark{
  --void:#0D0D0D; --bg:#0D0D0D;
  --cream:#F4F2ED; --grey:#B9B3A6; --dim:#8C8576;
  --line:rgba(244,242,237,.16); --surface:#1A1A18;
  background:#0D0D0D;
  color:#F4F2ED;
}
.sec--dark .hud-row{ border-color:rgba(244,242,237,.16); }

/* ---- Contact form: honeypot + status line ---- */
.hp{ position:absolute!important; left:-9999px!important; width:1px; height:1px; opacity:0; pointer-events:none; }
.form-status{ font-size:13px; margin-top:14px; min-height:1.2em; color:var(--grey); }
.form-status.is-ok{ color:var(--accent); }
.form-status.is-error{ color:#C0392B; }


/* ===== 21. FIX : NAV MOBILE + VIDEOS NON RECADREES ===== */

/* Videos : le panneau prend exactement la hauteur de la video, sans marge */
.stack .panel--full {
  position: relative;
  height: auto;
  min-height: 0;
  display: block;
  overflow: hidden;
}
.panel--full .panel__media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.panel--full .panel__media :is(img, video) {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  object-fit: fill;
}
.panel--full .panel__bg { display: none; }

/* Legende + bouton son : ne touchent plus les coins de la video */
.panel--full .panel__foot {
  bottom: 20px;
  left: 20px;
  right: 20px;
  gap: 14px;
  align-items: center;
}
.panel--full .panel__foot > * {
  background: rgba(15,14,13,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 12px;
  border-radius: 999px;
  color: #F4F2ED;
}

/* CTA de la nav : Donate / Sponsor sur mobile */
.nav__cta--mobile { display: none; }

/* Menu visible : rangee horizontale scrollable des que ca serre */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 16px var(--pad) 12px;
  }
  .nav__logo img { height: 22px; }
  .nav .pill--accent { padding: 7px 12px; font-size: 11px; }
  .nav__links {
    display: flex;
    order: 3;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { font-size: 11.5px; white-space: nowrap; letter-spacing: .02em; }
  .nav__links sup { display: none; }
  .nav.is-scrolled .nav__logo,
  .nav.is-scrolled .nav__links a { color: #0D0D0D; }
  .nav__cta { display: none; }
  .nav__cta--mobile { display: inline-flex; }
  /* le lien Donate vit dans le bouton, pas dans le menu */
  .nav__links a[href$="donate.html"] { display: none; }
  /* le lien Donate vit dans le bouton, pas dans le menu */
  .nav__links a[href$="donate.html"] { display: none; }

}

@media (max-width: 640px) {
  /* Respire un peu mieux sur petit ecran */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .panel__marquee { font-size: clamp(2.4rem, 13vw, 4rem); bottom: 10%; }
  .panel__foot { font-size: 9px; gap: 12px; }
  .about__roles { max-height: 260px; }
  .quote__media { aspect-ratio: 4 / 3; }

  /* Petite video : label a gauche, bouton a droite, toujours en bas */
  .panel--full .hud-row--panel { display: none; }
  .panel--full .panel__foot {
    top: auto; bottom: 10px; left: 10px; right: 10px;
    align-items: flex-end;
    gap: 10px;
  }
  .panel--full .panel__foot > span { display: block; max-width: 60%; font-size: 8.5px; line-height: 1.35; }
  .panel--full .panel__foot .js-sound-toggle { font-size: 8.5px; padding: 5px 9px; white-space: nowrap; flex: none; }
}

/* Ecrans intermediaires : la nav tient sur une ligne sans se chevaucher */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { padding: 14px var(--pad); gap: 16px; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 12px; white-space: nowrap; }
  .nav .pill--accent { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
}

/* Bouton son : meme pastille que la legende (bat le <style> inline de la page) */
.panel--full .panel__foot .js-sound-toggle {
  background: rgba(15,14,13,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 12px;
  border-radius: 999px;
  color: #F4F2ED;
}

/* Les ancres ne se cachent plus derriere la nav fixe */
section[id], .sec[id] { scroll-margin-top: clamp(84px, 12vh, 118px); }

/* Emplacements sponsors encore libres */
.pstrip--open span { background: transparent; border-style: dashed; color: var(--dim); }

/* ==========================================================
   MISSION (01) — texte a gauche, photo a droite
   ========================================================== */
.mission__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.mission__text > p{ margin-bottom: 0; }

.mission__photo{
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
  max-width: 480px;
  margin: 6px 0 34px auto;
  border-radius: var(--radius, 6px);
  background: var(--surface);
}
.mission__photo img{
  filter: grayscale(.22) contrast(1.04);
  transform: scale(1.015);
  transition: filter .6s var(--reveal-ease, ease), transform 1.2s var(--reveal-ease, ease);
}
.mission__photo:hover img{ filter: grayscale(0) contrast(1); transform: scale(1.045); }

/* voile bas pour que les coins du viseur restent lisibles */
.mission__photo::before{
  content: "";
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to top, rgba(13,13,13,.45), transparent);
  z-index: 1; pointer-events: none;
}

@media (max-width: 980px){
  .mission__grid{ grid-template-columns: 1fr; gap: clamp(24px, 5vw, 40px); }
  .mission__photo{ aspect-ratio: 16 / 10; max-width: none; margin: 0 0 30px; }
}

/* legende a l'interieur du cadre (le .slot est en overflow:hidden) */
.mission__photo .slot__caption{
  inset: auto 16px 14px 16px;
  z-index: 2;
  color: rgba(244, 242, 237, .82);
}
.mission__photo.vf{ --c: rgba(241, 238, 231, .55); }

@media (max-width: 640px){
  .mission__photo .slot__caption{ inset: auto 12px 10px 12px; font-size: 9px; letter-spacing: .06em; gap: 10px; }
  .mission__photo .slot__caption span{ white-space: nowrap; }
}

/* ==========================================================
   PARTNERS (06) — cartes partenaires + slots libres
   ========================================================== */
.partners{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(18px, 2.2vw, 28px) 0 0;
}

.pcard{
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(18px, 1.8vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform .35s var(--reveal-ease, ease), border-color .35s, background .35s;
}
.pcard:hover{ transform: translateY(-3px); border-color: rgba(13, 13, 13, .3); }
.pcard__name{ font-size: clamp(1rem, 1.15vw, 1.15rem); letter-spacing: -.02em; }
.pcard__role{ font-size: 13px; line-height: 1.5; color: var(--grey); }
.pcard__link{
  margin-top: auto; padding-top: 4px;
  font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--dim);
  transition: color .3s;
}
.pcard:hover .pcard__link{ color: var(--accent); }

.pcard--open{ background: transparent; border-style: dashed; }
.pcard--open .pcard__name{ color: var(--grey); }
.pcard--open:hover{ background: var(--surface); }

@media (max-width: 1080px){
  .partners{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  .partners{ grid-template-columns: 1fr; }
}
