/* ==========================================================================
   Holi Lakes Festival — proposition d'évolution de la page d'accueil
   Palette : Nuit des Lacs #191222 · Blanc Plein Jour #FFFFFF · Magenta Gulal
   #C41E82 · Jaune Soleil #F5C51D · Vert Lagon #0E7A5F
   ========================================================================== */

/* --- Polices auto-hébergées (chemins relatifs) --------------------------- */

@font-face {
  font-family: 'Montecatini Pro Normale';
  src: url('assets/fonts/MontecatiniPro-NormaleBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montecatini Pro Stretto';
  src: url('assets/fonts/MontecatiniPro-StrettoSemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Europa';
  src: url('assets/fonts/europa-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Variables ----------------------------------------------------------- */

:root {
  --nuit: #191222;
  --blanc: #FFFFFF;
  --magenta: #C41E82;
  --magenta-fonce: #A3186C;
  --jaune: #F5C51D;
  --vert: #0E7A5F;

  --nuit-rgb: 25, 18, 34;
  --magenta-rgb: 196, 30, 130;
  --jaune-rgb: 245, 197, 29;
  --vert-rgb: 14, 122, 95;

  --f-display: 'Montecatini Pro Normale', 'Arial Narrow', Arial, sans-serif;
  --f-label: 'Montecatini Pro Stretto', 'Arial Narrow', Arial, sans-serif;
  --f-text: 'Europa', 'Segoe UI', Arial, sans-serif;

  --fs-h1: clamp(2.9rem, 8vw, 5.4rem);
  --fs-h2: clamp(1.95rem, 4.4vw, 3.1rem);

  --gutter: clamp(20px, 4.5vw, 40px);
  --radius-m: 18px;
  --radius-l: 22px;

  --shadow-card: 0 14px 40px -18px rgba(var(--nuit-rgb), .28);
  --shadow-card-hover: 0 26px 54px -20px rgba(var(--nuit-rgb), .38);
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nuit);
  background: var(--blanc);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* La poudre des titres déborde volontairement de leur boîte ; on borne la page
   au viewport pour qu'elle ne crée jamais de défilement horizontal (sinon une
   bande blanche apparaît à droite et les éléments fixes semblent décalés). */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, p, ul, figure { margin: 0; }

ul[class] {
  list-style: none;
  padding: 0;
}

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

address { font-style: normal; }

a { color: var(--magenta); }

::selection {
  background: var(--magenta);
  color: #fff;
}

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

.theme-dark :focus-visible,
.site-head :focus-visible,
.hero :focus-visible {
  outline-color: var(--jaune);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  background: #fff;
  color: var(--nuit);
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .82rem;
  box-shadow: 0 10px 30px rgba(var(--nuit-rgb), .3);
  transition: top .2s ease;
}

.skip-link:focus { top: 0; }

/* --- Structure commune --------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 780px; }

.section { padding-block: clamp(64px, 9vw, 116px); }

.section--tight { padding-block: clamp(44px, 6vw, 64px); }

.theme-dark {
  background: var(--nuit);
  color: #fff;
}

.overline {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  color: var(--magenta);
  text-align: center;
  margin-bottom: 14px;
}

.theme-dark .overline { color: var(--jaune); }

.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: .01em;
  text-align: center;
  text-wrap: balance;
  width: fit-content;
  margin: 0 auto 18px;
}

.section-intro {
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1.05rem;
  color: rgba(var(--nuit-rgb), .78);
}

.theme-dark .section-intro { color: rgba(255, 255, 255, .82); }

/* --- Boutons & liens ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .85rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 28px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.btn--primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(var(--magenta-rgb), .55);
}

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

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}

.btn--ghost:hover {
  color: var(--jaune);
  box-shadow: inset 0 0 0 1.5px var(--jaune);
  background: rgba(255, 255, 255, .07);
}

.btn--lg {
  padding: 17px 34px;
  font-size: .95rem;
}

.link-arrow {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  color: var(--magenta);
  text-decoration: none;
  border-bottom: 2px solid rgba(var(--magenta-rgb), .35);
  padding-bottom: 4px;
  transition: border-color .2s ease;
}

.link-arrow:hover { border-color: var(--magenta); }

/* --- Élément signature : la volée de gulal -------------------------------
   Traînée de poudre derrière les titres, révélée au scroll. Pur CSS :
   radial-gradients + blur, aucun asset. L'orange naît du fondu
   magenta → jaune. -------------------------------------------------------- */

.powder {
  position: relative;
  isolation: isolate;
}

.powder::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -52% -16% -38% -18%;
  pointer-events: none;
  background:
    radial-gradient(42% 58% at 22% 62%, rgba(var(--magenta-rgb), .5), transparent 66%),
    radial-gradient(34% 48% at 47% 28%, rgba(232, 84, 29, .4), transparent 68%),
    radial-gradient(40% 56% at 70% 60%, rgba(var(--jaune-rgb), .55), transparent 66%),
    radial-gradient(15% 26% at 88% 30%, rgba(var(--vert-rgb), .3), transparent 72%);
  filter: blur(14px);
  transform: rotate(-3deg);
  opacity: 1;
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
}

.js .powder::before {
  opacity: 0;
  transform: rotate(-3deg) scale(.78);
}

.js .powder.is-visible::before {
  opacity: 1;
  transform: rotate(-3deg) scale(1);
}

/* --- Apparitions au scroll (sobres : fondu + translation) ---------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.aftermovie__gallery li:nth-child(2) .reveal,
.cards li:nth-child(2) .reveal,
.proofs__list li:nth-child(2).reveal,
.vip__list li:nth-child(2).reveal,
.infos__grid .infos__card:nth-child(2).reveal { transition-delay: .08s; }

.aftermovie__gallery li:nth-child(3) .reveal,
.cards li:nth-child(3) .reveal,
.proofs__list li:nth-child(3).reveal,
.vip__list li:nth-child(3).reveal,
.infos__grid .infos__card:nth-child(3).reveal { transition-delay: .16s; }

/* --- En-tête ------------------------------------------------------------- */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 12px;
  transition: box-shadow .3s ease;
}

/* Le fond flouté vit dans un pseudo-élément : un backdrop-filter posé sur le
   header lui-même en ferait le containing block du menu mobile en position
   fixed, qui resterait alors confiné dans la barre au lieu de couvrir l'écran. */
.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--nuit-rgb), .94);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.site-head.is-scrolled::before { opacity: 1; }

.site-head.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 7, 17, .35);
}

.site-head__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

/* Le logo n'apparaît qu'une fois le hero quitté : en haut de page, le grand
   logo du hero suffit. Il sert alors de retour en haut de page. */
.site-head__brand {
  grid-column: 1;
  justify-self: start;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.site-head.is-scrolled .site-head__brand {
  opacity: 1;
  visibility: visible;
}

.site-head__brand img {
  width: 52px;
  height: 52px;
}

.site-nav {
  grid-column: 2;
  justify-self: center;
}

/* Nom du festival au centre du header mobile (le menu y est en overlay,
   le centre serait vide). Apparaît avec le logo, une fois le hero quitté. */
.site-head__name { display: none; }

/* Placement explicite : la nav mobile en position fixed sort du flux, sans
   cela le placement automatique décalerait ce bloc en colonne centrale */
.site-head__end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Le CTA et le logo du menu overlay n'existent que sur mobile */
.site-nav__cta { display: none; }

.site-nav__logo-wrap { display: none; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav__list a:not(.btn) {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: #fff;
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.site-nav__list a:not(.btn):hover {
  color: var(--jaune);
  border-color: var(--jaune);
}

.btn--nav {
  padding: 11px 20px;
  font-size: .78rem;
}

.burger {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}

.burger__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}

.burger[aria-expanded="true"] .burger__line:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .burger { display: inline-flex; }

  .site-head__brand img {
    width: 42px;
    height: 42px;
  }

  .site-head__name {
    display: block;
    grid-column: 2;
    justify-self: center;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .site-head.is-scrolled .site-head__name {
    opacity: 1;
    visibility: visible;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    justify-self: stretch; /* annule le centrage desktop : en fixed, il rétrécirait l'overlay */
    z-index: 1;
    background: rgb(20, 14, 28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    gap: 38px;
    padding: 88px 24px 48px;
    opacity: 0;
    visibility: hidden;
    /* La visibilité bascule immédiatement à l'ouverture (focus clavier possible)
       et seulement après le fondu à la fermeture */
    transition: opacity .25s ease, visibility 0s linear .25s;
    overflow-y: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease;
  }

  /* Logo du menu, nimbé d'un nuage de poudre (rappel de la signature) */
  .site-nav__logo-wrap {
    display: block;
    position: relative;
  }

  .site-nav__logo-wrap::before {
    content: "";
    position: absolute;
    inset: -34%;
    z-index: -1;
    background:
      radial-gradient(46% 46% at 26% 64%, rgba(var(--magenta-rgb), .5), transparent 68%),
      radial-gradient(40% 40% at 72% 28%, rgba(232, 84, 29, .42), transparent 70%),
      radial-gradient(44% 44% at 72% 70%, rgba(var(--jaune-rgb), .48), transparent 68%);
    filter: blur(18px);
  }

  .site-nav__logo {
    width: 122px;
    height: auto;
  }

  /* Ouverture du menu : le logo éclot dans sa poudre, les liens montent en cascade */
  .site-nav.is-open .site-nav__logo-wrap {
    animation: menu-logo-in .5s cubic-bezier(.22, .61, .36, 1) both;
  }

  .site-nav.is-open .site-nav__list li {
    animation: menu-item-in .4s cubic-bezier(.22, .61, .36, 1) both;
  }

  .site-nav.is-open .site-nav__list li:nth-child(1) { animation-delay: .08s; }
  .site-nav.is-open .site-nav__list li:nth-child(2) { animation-delay: .14s; }
  .site-nav.is-open .site-nav__list li:nth-child(3) { animation-delay: .2s; }
  .site-nav.is-open .site-nav__list li:nth-child(4) { animation-delay: .26s; }
  .site-nav.is-open .site-nav__list li:nth-child(5) { animation-delay: .32s; }
  .site-nav.is-open .site-nav__list li:nth-child(6) { animation-delay: .38s; }

  @keyframes menu-logo-in {
    from {
      opacity: 0;
      transform: scale(.6);
    }
  }

  @keyframes menu-item-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
  }

  .site-nav__list {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .site-nav__list a:not(.btn) {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: .05em;
    border-bottom-width: 3px;
  }

  .site-head__cta { display: none; }

  .site-nav__cta { display: block; }

  .site-nav__cta .btn--nav {
    padding: 16px 30px;
    font-size: .9rem;
    margin-top: 8px;
  }

  body.menu-open { overflow: hidden; }
}

/* --- 1 · Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--nuit);
  color: #fff;
  padding: 130px 0 70px;
}

.hero__media,
.hero__media picture {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aftermovie muet auto-hébergé en fond (vidéo native injectée par JS après
   le chargement complet). La photo reste dessous : affiche pendant le
   chargement, et fond définitif en reduced-motion ou si l'autoplay échoue. */
.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.hero__video.is-playing { opacity: 1; }

.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Le voile est un ::after : dernier enfant du média, il couvre photo ET vidéo */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(var(--nuit-rgb), .72) 0%,
    rgba(var(--nuit-rgb), .44) 42%,
    rgba(var(--nuit-rgb), .86) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Animation constante et discrète : le logo flotte, un halo de poudre respire
   derrière lui. Transform et opacité uniquement, figé en reduced-motion. */
.hero__logo-wrap {
  position: relative;
  display: block;
  margin-bottom: 28px;
  animation: hero-logo-float 7s ease-in-out infinite;
}

.hero__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: -1;
  background:
    radial-gradient(46% 46% at 26% 64%, rgba(var(--magenta-rgb), .42), transparent 68%),
    radial-gradient(40% 40% at 72% 28%, rgba(232, 84, 29, .36), transparent 70%),
    radial-gradient(44% 44% at 70% 70%, rgba(var(--jaune-rgb), .4), transparent 68%);
  filter: blur(24px);
  animation: hero-halo-breathe 9s ease-in-out infinite;
}

.hero__logo {
  display: block;
  width: clamp(180px, 28vw, 400px);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45));
}

@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes hero-halo-breathe {
  0%, 100% {
    opacity: .55;
    transform: scale(.94) rotate(-2deg);
  }
  50% {
    opacity: .9;
    transform: scale(1.05) rotate(3deg);
  }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--fs-h1);
  line-height: .98;
  letter-spacing: .015em;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(11, 7, 17, .5);
}

.hero__sub {
  margin-top: 16px;
  font-size: clamp(1.02rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, .95);
}

.countdown { width: 100%; }

.countdown__grid {
  margin-top: clamp(26px, 5vh, 42px);
  display: grid;
  grid-template-columns: repeat(4, minmax(74px, 128px));
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
}

.countdown__unit {
  background: rgba(var(--nuit-rgb), .38);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  padding: 14px 6px 12px;
}

.countdown__num {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 2.9rem);
  line-height: 1;
}

.countdown__label {
  display: block;
  margin-top: 7px;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
  color: var(--jaune);
}

.countdown__live {
  margin-top: clamp(26px, 5vh, 42px);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--jaune);
}

.hero__actions {
  margin-top: clamp(30px, 5vh, 46px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
}

.hero__shop {
  color: rgba(255, 255, 255, .93);
  font-size: .98rem;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, .5);
  transition: color .2s ease;
}

.hero__shop:hover {
  color: var(--jaune);
  text-decoration-color: var(--jaune);
}

/* --- 2 · Aftermovie ------------------------------------------------------ */

.aftermovie__player {
  margin: clamp(32px, 5vw, 48px) auto 0;
}

/* Lecteur natif : lecture automatique muette à l'écran, son au clic */
.player {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--nuit);
  box-shadow: 0 30px 70px -30px rgba(var(--nuit-rgb), .55);
}

.player__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
}

.player__sound {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(var(--nuit-rgb), .82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .74rem;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.player__sound:hover { border-color: var(--jaune); }

.player__sound:focus-visible { outline-color: var(--jaune); }

.player__sound[aria-pressed="false"] .player__icon--on { display: none; }

.player__sound[aria-pressed="true"] .player__icon--off { display: none; }

.aftermovie__gallery {
  margin-top: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 22px);
}

.aftermovie__gallery img { border-radius: var(--radius-m); }

.aftermovie__more {
  text-align: center;
  margin-top: clamp(26px, 4vw, 38px);
}

/* --- 3 · Preuves --------------------------------------------------------- */

.proofs { padding-block: clamp(56px, 7vw, 88px); }

.proofs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.proofs__list li { padding-inline: clamp(16px, 3vw, 44px); }

.proofs__list li + li { border-left: 1px solid rgba(255, 255, 255, .15); }

.proofs__big {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: .02em;
}

/* Rappel de la signature : un trait de poudre sous chaque mot-clé */
.proofs__big::after {
  content: "";
  display: block;
  width: 62px;
  height: 7px;
  border-radius: 999px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--magenta), #E8541D 48%, var(--jaune));
  filter: blur(3px);
  opacity: .9;
}

.proofs__text {
  margin-top: 12px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
}

/* --- 4 · L'expérience ---------------------------------------------------- */

.cards {
  margin-top: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(var(--nuit-rgb), .08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.card img { transition: transform .6s ease; }

.card:hover img { transform: scale(1.04); }

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
  flex: 1;
  background: #fff;
  position: relative;
}

.card__title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.28rem;
  letter-spacing: .02em;
}

.card__text {
  color: rgba(var(--nuit-rgb), .78);
  font-size: .98rem;
  line-height: 1.55;
}

.card__cta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  color: var(--magenta);
}

/* Pastilles du carrousel mobile : inertes en desktop */
.cards-dots { display: none; }

/* --- 5 · VIP ------------------------------------------------------------- */

.vip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.vip__media img {
  border-radius: 24px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .65);
}

.vip .overline { text-align: left; }

.vip .section-title {
  text-align: left;
  margin: 0 0 24px;
}

.vip__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.vip__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
}

.vip__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--jaune);
}

/* --- 6 · Infos pratiques ------------------------------------------------- */

.infos__grid {
  margin-top: clamp(30px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}

.infos__card {
  background: #F8F7FA;
  border: 1px solid rgba(var(--nuit-rgb), .07);
  border-radius: var(--radius-m);
  padding: 26px;
}

.infos__card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.infos__icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--magenta-rgb), .1);
  color: var(--magenta);
}

.infos__card p,
.infos__card address {
  color: rgba(var(--nuit-rgb), .8);
  line-height: 1.6;
}

.infos__more {
  text-align: center;
  margin-top: clamp(26px, 4vw, 36px);
}

/* --- 7 · Partenaires ----------------------------------------------------- */

.partners { background: #F4F3F6; }

.partners__title {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  color: rgba(var(--nuit-rgb), .75);
  text-align: center;
  margin-bottom: 26px;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.partners__grid li {
  display: grid;
  place-items: center;
  height: 92px;
  background: #fff;
  border: 1px solid rgba(var(--nuit-rgb), .08);
  border-radius: 14px;
  padding: 16px 22px;
}

/* Contrainte en pixels : un max-height en % ne se résout pas dans une
   rangée de grille auto, l'image déborderait de la tuile */
.partners__grid img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- 8 · Inscription ----------------------------------------------------- */

.signup__box {
  margin-top: clamp(28px, 4vw, 40px);
  background: #FBFAFD;
  border: 1px solid rgba(var(--nuit-rgb), .08);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 24px 60px -30px rgba(var(--nuit-rgb), .25);
}

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

.field label {
  display: block;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  color: rgba(var(--nuit-rgb), .85);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(var(--nuit-rgb), .3);
  border-radius: 12px;
  background: #fff;
  color: var(--nuit);
  font-family: var(--f-text);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus {
  outline: 2px solid transparent;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(var(--magenta-rgb), .2);
}

.signup__submit {
  margin-top: 22px;
  width: 100%;
}

.signup__consent {
  margin-top: 16px;
  font-size: .85rem;
  line-height: 1.55;
  color: rgba(var(--nuit-rgb), .72);
  text-align: center;
}

.signup__success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(var(--vert-rgb), .08);
  border: 1px solid rgba(var(--vert-rgb), .35);
  color: var(--vert);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.signup__success[hidden] { display: none; }

/* --- Pied de page -------------------------------------------------------- */

/* Le padding bas dégage la ligne de mention du bouton flottant « Pourquoi ces choix ? » */
.site-foot { padding-block: clamp(48px, 7vw, 72px) 100px; }

.site-foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-foot__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-foot__brand img {
  width: 72px;
  height: 72px;
}

.site-foot__brand address {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  line-height: 1.6;
}

.site-foot__social {
  display: flex;
  gap: 12px;
}

.site-foot__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.site-foot__social a:hover {
  color: var(--jaune);
  border-color: var(--jaune);
  transform: translateY(-2px);
}

.site-foot__bottom {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.site-foot__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.site-foot__bottom nav a {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.site-foot__bottom nav a:hover { color: var(--jaune); }

.site-foot__disclaimer {
  margin-top: 18px;
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .66);
}

/* --- CTA sticky mobile --------------------------------------------------- */

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: none;
  transform: translateY(150%);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.sticky-cta.is-shown { transform: none; }

.sticky-cta__btn {
  box-shadow: 0 18px 40px -12px rgba(var(--magenta-rgb), .7), 0 6px 18px rgba(var(--nuit-rgb), .3);
}

@media (max-width: 767px) {
  .sticky-cta { display: block; }

  /* Quand le CTA sticky est visible, le bouton annotations se replie en
     pastille « ? » pour ne jamais le chevaucher (aria-label conservé) */
  .sticky-cta.is-shown ~ .annot-toggle .annot-toggle__label { display: none; }
}

/* --- Mode annotations ---------------------------------------------------- */

.annot {
  display: none;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
  background: rgba(var(--magenta-rgb), .07);
  border: 1px solid rgba(var(--magenta-rgb), .38);
  color: var(--nuit);
  border-radius: 16px;
  padding: 9px 16px 9px 9px;
  font-size: .86rem;
  line-height: 1.5;
  text-align: left;
}

.theme-dark .annot,
.hero .annot {
  background: rgba(var(--jaune-rgb), .1);
  border-color: rgba(var(--jaune-rgb), .45);
  color: #fff;
}

.annot__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: .72rem;
}

.theme-dark .annot__num,
.hero .annot__num {
  background: var(--jaune);
  color: var(--nuit);
}

body.annots-on .annot {
  display: inline-flex;
  animation: annot-in .3s ease both;
}

@keyframes annot-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.annot-toggle {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nuit);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 9px 16px 9px 9px;
  font-family: var(--f-text);
  font-size: .88rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(var(--nuit-rgb), .35);
  transition: background-color .2s ease, border-color .2s ease;
}

.annot-toggle:hover { border-color: var(--jaune); }

.annot-toggle__badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: .8rem;
}

.annot-toggle[aria-pressed="true"] {
  background: var(--magenta);
  border-color: transparent;
}

.annot-toggle[aria-pressed="true"] .annot-toggle__badge {
  background: #fff;
  color: var(--magenta);
}

.annot-toggle:focus-visible,
.sticky-cta__btn:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--magenta);
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .vip__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .proofs__list { grid-template-columns: 1fr; }

  .proofs__list li { padding-block: 22px; }

  .proofs__list li:first-child { padding-top: 0; }

  .proofs__list li:last-child { padding-bottom: 0; }

  .proofs__list li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
  }

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

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

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

  /* Cartes expérience : défilement horizontal avec accroche. Sélecteur
     ul.cards : il doit faire au moins jeu égal avec le reset ul[class],
     sinon le padding latéral est écrasé et les cartes collent au bord.
     Le scroll-padding aligne les points d'aimantation sur la gouttière. */
  ul.cards {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: min(74%, 300px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    /* Le padding bas laisse l'ombre des cartes s'estomper avant le bord
       de coupe du conteneur défilant (sinon elle se casse net) */
    padding: 12px var(--gutter) 36px;
    scrollbar-width: none;
  }

  .cards li { scroll-snap-align: start; }

  .cards::-webkit-scrollbar { display: none; }

  /* Pastilles de position : la pastille active s'étire en magenta */
  .cards-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .cards-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--nuit-rgb), .22);
    cursor: pointer;
    transition: background-color .25s ease, width .25s ease;
  }

  .cards-dots button.is-active {
    width: 24px;
    background: var(--magenta);
  }

  .site-foot__bottom nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .countdown__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .countdown__label {
    letter-spacing: .1em;
    font-size: .62rem;
  }
}

/* --- Mouvement réduit ----------------------------------------------------
   Tout mouvement est neutralisé : la poudre et les contenus sont simplement
   affichés, sans animation ni défilement animé. ---------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .powder::before {
    opacity: 1;
    transform: rotate(-3deg);
  }

  .card:hover,
  .btn--primary:hover,
  .site-foot__social a:hover { transform: none; }

  .card:hover img { transform: none; }

  .facade:hover .facade__play { transform: translate(-50%, -50%); }
}
