/* ByVent, landing page.
   Concept : une affiche d'événement. La fête occupe tout le hero, et les
   découpes de section reprennent l'angle du V. Les apparitions au scroll sont
   et les moments des prestations sont en CSS pur (blocs en fin de fichier). Les couleurs viennent de l'app
   Android. Les polices sont dans fonts.css. */

:root {
  color-scheme: light;

  /* Couleurs de l'app */
  --blue: #2F5BFF;
  --blue-deep: #1E43D6;
  --blue-tint: #E8EEFF;
  --ink: #0D1330;
  --text: #111827;
  --muted: #5B6478;
  --line: #E1E5EF;
  --paper: #F8F9FC;
  --white: #FFFFFF;
  --spark: #F4A940;

  /* Typographie */
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 144px);
  --cut: clamp(36px, 6vw, 88px); /* profondeur des découpes en V */
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

/* clip et non hidden : garde le menu collant et n'ajoute pas de zone de défilement */
main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

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

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

.sprite { position: absolute; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: var(--white);
  color: var(--text);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ─── Éléments communs ─── */

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.25rem, 6.6vw, 6rem);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.eyebrow {
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow--spark { color: var(--spark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.btn--white { background: var(--white); color: var(--blue-deep); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: rgb(255 255 255 / .55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .12); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); }

/* Badges App Store et Google Play */
.store {
  gap: 10px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 14px;
  background: #000;
  color: var(--white);
  line-height: 1.1;
  text-align: left;
}
.store:hover { background: #1B2138; }
.store__icon { flex: none; width: 27px; height: 31px; fill: currentColor; }
.store__text { display: grid; gap: 1px; }
.store__text small { font-size: .6875rem; font-weight: 500; }
.store__text b { font-size: 1.1875rem; font-weight: 600; white-space: nowrap; }

.btn--logos { gap: 6px; white-space: nowrap; }
.btn__logo { flex: none; width: 15px; height: 17px; fill: currentColor; }

.pin { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ─── Header ─── */

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  padding-block: 20px;
  color: var(--white);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__v { width: 34px; height: 26px; fill: currentColor; }
.brand__name {
  font-family: var(--display);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
}

.site-nav { display: flex; gap: 32px; margin-inline: auto; }
.site-nav a {
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 6px;
}
.site-nav a:hover { text-decoration: underline; }

/* ─── Hero ─── */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(640px, 92vh, 900px);
  padding-block: 112px calc(var(--cut) + 40px);
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 50% 100%, 0 calc(100% - var(--cut)));
}
.hero__bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform-origin: 58% 42%;
  animation: ken 28s ease-in-out infinite alternate;
}
/* Voile léger, seulement sous le texte : le reste de la photo garde sa lumière */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(13 19 48 / .5) 0, transparent 22%),
    linear-gradient(90deg, rgb(13 19 48 / .72) 0, rgb(13 19 48 / .45) 34%, transparent 58%);
}

.hero__copy { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; }

.hero__place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9375rem;
  font-weight: 600;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__title span {
  display: block;
  white-space: nowrap;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards;
}
.hero__title span:nth-child(2) { animation-delay: .07s; }
.hero__title span:nth-child(3) { animation-delay: .14s; }
.hero__title span:nth-child(4) { animation-delay: .21s; }

.hero__lead { max-width: 33rem; font-size: 1.1875rem; line-height: 1.5; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes rise { from { transform: translateY(.35em); } }
@keyframes ken { to { transform: scale(1.1); } }

/* Étincelles qui montent dans le hero et la section téléchargement */
.sparks {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.sparks i {
  position: absolute;
  bottom: -12px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #FFD98A;
  box-shadow: 0 0 10px 2px rgb(255 190 90 / .75);
  opacity: 0;
  animation: spark var(--d) linear var(--w) infinite;
}
@keyframes spark {
  10% { opacity: 1; }
  75% { opacity: .85; }
  to { opacity: 0; translate: var(--drift) -85vh; }
}

/* Page prestataires */
.hero--pro .hero__title { font-size: clamp(3.75rem, 8vw, 7.5rem); }
/* Plus large que le cadre et calée à gauche : le DJ passe à droite du titre */
.hero--pro .hero__bg img { width: 122%; max-width: none; object-position: 0% 0%; }

/* ─── Téléphone (écran Explorer) ─── */

.phone {
  width: 296px;
  padding: 9px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 60px -18px rgb(13 19 48 / .6);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  height: 590px;
  padding: 22px 12px 0;
  border-radius: 36px;
  background: var(--paper);
  color: var(--text);
  font-size: 11px;
  line-height: 1.3;
}

.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 16px;
  background: #F0F2F5;
  font-size: 12px;
  font-weight: 600;
}
.ph-city .pin { color: var(--blue); }
.ph-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
}
.ph-avatar img { width: 17px; filter: brightness(0) invert(1); }

.ph-search {
  padding: 10px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  background: var(--white);
  color: #9CA3AF;
}

.ph-h { margin-top: 4px; font-size: 13.5px; font-weight: 700; }

.ph-row { display: flex; gap: 8px; margin-right: -12px; overflow: hidden; }

.ph-cat, .ph-event {
  position: relative;
  flex: none;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(transparent, rgb(0 0 0 / .8)), var(--img) center / cover;
  color: var(--white);
}
.ph-cat { align-items: flex-end; width: 128px; height: 76px; padding: 8px 10px; }
.ph-cat b { font-size: 12px; font-weight: 600; }

.ph-event {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 104px;
  height: 136px;
  padding-bottom: 14px;
  border-radius: 14px;
}
.ph-event i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--a), var(--b));
}
.ph-event i img { width: 18px; }
.ph-event b { font-size: 11.5px; }

.ph-feat { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ph-feat small { color: #B97A1E; font-size: 9.5px; white-space: nowrap; }
.ph-card {
  flex: none;
  height: 74px;
  border-radius: 12px;
  background: url("assets/img/lieu.jpg") center / cover;
}

.ph-nav {
  display: flex;
  justify-content: space-between;
  margin: auto -12px 0;
  padding: 9px 14px 14px;
  background: var(--white);
  border-top: 1px solid #EEF0F4;
  color: #6B7280;
  font-size: 9px;
}
.ph-nav span { display: grid; justify-items: center; gap: 3px; }
.ph-nav img { width: 18px; height: 18px; }
.ph-nav .is-on { color: var(--blue); font-weight: 700; }

/* ─── Prestations ─── */

.services { padding-block: clamp(56px, 7vw, 96px) var(--section); }
.services .container { display: grid; gap: clamp(32px, 4vw, 48px); }

.services__head { display: grid; gap: 16px; max-width: 48rem; }
.services__head > p:last-child { color: var(--muted); font-size: 1.1875rem; line-height: 1.5; }

/* Mosaïque de photos, comme les cartes catégories de l'app. 1 grande tuile + 8 petites = 3 rangées pleines */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 17vw, 240px);
  gap: 12px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
}
.tile {
  transition:
    scale .35s cubic-bezier(.2, .8, .2, 1),
    box-shadow .35s ease,
    z-index 0s .35s;
}
.tile--big { grid-column: span 2; grid-row: span 2; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .6s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

/* La tuile survolée grandit au-dessus des autres, qui s'assombrissent */
@media (hover: hover) {
  .tile:hover {
    z-index: 2;
    scale: 1.1;
    box-shadow: 0 28px 48px -16px rgb(13 19 48 / .6);
    transition-delay: 0s;
  }
  .tile--big:hover { scale: 1.05; }
  .tile:hover img { scale: 1.06; }
  .mosaic:has(.tile:hover) .tile:not(:hover) img { filter: brightness(.6) saturate(.8); }
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 38%, rgb(13 19 48 / .86));
}

.tile__text {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
}
.tile h3 {
  font-family: var(--display);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.tile p { font-size: .9375rem; line-height: 1.3; }
.tile--big .tile__text { padding: 24px; }
.tile--big h3 { font-size: clamp(3rem, 6vw, 5rem); }
.tile--big p { font-size: 1.125rem; }

/* Types d'événements : des icônes d'app aux couleurs de ByVent, qui défilent vers la gauche */
.events {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(56px, 7vw, 96px);
}

.events__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px 48px;
}
.events__head p {
  justify-self: end;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.5;
}

@property --run {
  syntax: "paused | running";
  inherits: true;
  initial-value: running;
}

/* Deux listes identiques pour une boucle sans à-coup. Le marquee sort du conteneur
   pour occuper toute la largeur de l'écran, et son padding laisse la place au survol */
.events__marquee {
  display: flex;
  overflow: clip;
  margin-inline: calc(50% - 50vw);
  padding-block: 36px 20px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.events__track {
  flex: none;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  animation: events-slide 40s linear infinite;
}
@keyframes events-slide { to { transform: translateX(-100%); } }

.event {
  flex: none;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  width: clamp(112px, 11vw, 160px);
  padding-inline: 6px;
  text-align: center;
}
.event__bob { display: block; }
.event__icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 7.4vw, 104px);
  aspect-ratio: 1;
  border-radius: 28%;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 28px -14px var(--blue-deep);
  color: var(--white);
  transition:
    scale .38s cubic-bezier(.3, 1.7, .5, 1),
    translate .38s cubic-bezier(.3, 1.7, .5, 1),
    box-shadow .3s ease;
}
.event__icon svg {
  width: 50%;
  height: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.event__name { font-size: .9375rem; font-weight: 600; line-height: 1.25; transition: color .2s ease; }

/* Le survol agrandit l'icône et ses voisines, comme un Dock */
@media (hover: hover) {
  .event:hover .event__icon {
    scale: 1.26;
    translate: 0 -12px;
    box-shadow: 0 26px 34px -14px var(--blue-deep);
  }
  .event:hover + .event .event__icon,
  .event:has(+ .event:hover) .event__icon {
    scale: 1.1;
    translate: 0 -5px;
  }
  .event:hover .event__name { color: var(--blue); }
  .events__marquee:hover .events__track { animation-play-state: paused; }
}

/* ─── Parcours ─── */

.journey { padding-block: var(--section); background: var(--paper); }

.journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.journey__intro {
  position: sticky;
  top: 48px;
  display: grid;
  gap: 16px;
}
.journey__intro > p:last-child { color: var(--muted); max-width: 26rem; }

.steps { display: grid; gap: 16px; }

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; padding-top: 0; }

.step__text { display: grid; gap: 8px; justify-items: start; }
.step__text p { color: var(--muted); }
.step__text h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.step__n {
  color: var(--blue);
  font-family: var(--display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: .9;
}

/* Fragments d'écrans de l'app */

.step__mock { font-size: .9375rem; line-height: 1.35; }
.step__mock small, .m-request small { color: var(--muted); font-size: .8125rem; }

.m-provider, .m-wizard, .m-chat, .m-pay, .m-review {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.m-provider__img {
  position: relative;
  height: 128px;
  background: url("assets/img/traiteur.jpg") center / cover;
}
.m-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: #FF4D6D;
  font-size: 1.0625rem;
  line-height: 1;
  animation: beat 2.4s ease-in-out infinite;
}
@keyframes beat {
  0%, 60%, 100% { scale: 1; }
  30% { scale: 1.22; }
}
.m-provider__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.m-provider__body b, .m-provider__body small { display: block; }
.m-price { text-align: right; }
.m-price b { color: var(--blue); font-size: 1.125rem; }

.m-wizard__head {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  background: var(--blue);
  color: var(--white);
}
.m-wizard__head b { font-size: 1.0625rem; }
.m-wizard__head small { color: rgb(255 255 255 / .8); }
.m-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 10px; }
.m-bars i { height: 4px; border-radius: 2px; background: rgb(255 255 255 / .3); }
.m-bars .on { background: var(--white); }
.m-wizard__body { display: grid; gap: 10px; padding: 16px 18px; }
.m-field { display: grid; gap: 4px; }
.m-field span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-weight: 500;
}

.m-chat { display: grid; gap: 8px; padding: 18px 16px 14px; }
.m-bubble {
  justify-self: end;
  max-width: 84%;
  padding: 9px 14px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--white);
}
.m-bubble--them { justify-self: start; background: #E9E9EB; color: var(--text); }
.m-read { justify-self: end; }

/* Indicateur « en train d'écrire », comme dans la messagerie de l'app */
.m-typing { display: flex; gap: 4px; padding: 12px 14px; }
.m-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8E8E93;
  animation: typing 1.2s ease-in-out infinite;
}
.m-typing i:nth-child(2) { animation-delay: .15s; }
.m-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { translate: 0 0; opacity: .45; }
  30% { translate: 0 -4px; opacity: 1; }
}

.m-pay { display: grid; gap: 12px; padding: 20px; }
.m-pay__title { font-size: 1.0625rem; }
.m-pay__row, .m-pay__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.m-pay__row span:first-child { color: var(--muted); }
.m-pay__row span:last-child, .m-pay__total b:last-child { white-space: nowrap; }
.m-pay__total { align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.m-pay__total b:last-child { color: var(--blue); font-size: 1.3125rem; }

.m-review { display: grid; justify-items: center; gap: 10px; padding: 24px 20px; }
.m-review b { font-size: 1.0625rem; }
.m-stars { color: var(--spark); font-size: 1.75rem; line-height: 1; letter-spacing: .08em; }

.m-btn {
  display: block;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
}
.m-review .m-btn { width: 100%; }
.m-btn--quiet { background: #F0F2F5; color: var(--text); }

/* ─── Promesse ─── */

.promise {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
  color: var(--white);
}

.promise__photo { position: relative; min-height: 640px; }
.promise__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 8% 50%; }

.promise__copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: var(--section) var(--gutter);
}
.promise__copy .display { max-width: 11em; font-size: clamp(3.5rem, 7.2vw, 7rem); }
.promise__copy > p:last-child { max-width: 30rem; color: #C9CFE4; font-size: 1.1875rem; }

/* ─── Accès à la page prestataires ─── */

.pro-band { padding-block: clamp(56px, 7vw, 96px); }
.pro-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.pro-band__text { display: grid; gap: 12px; }
.pro-band__text p { color: var(--muted); font-size: 1.1875rem; line-height: 1.5; }

/* ─── Prestataires ─── */

.pros { padding-block: var(--section); }

.pros__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

.pros__visual { position: relative; padding-bottom: 40px; }
.pros__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 50%;
  /* Bas de l'image coupé selon l'angle du logo */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.m-request {
  position: absolute;
  right: -16px;
  bottom: 0;
  display: grid;
  gap: 6px;
  width: min(300px, 86%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgb(13 19 48 / .4);
}
.m-request__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFF3E0;
  color: #A85B00;
  font-size: .75rem;
  font-weight: 700;
}
.m-chip--blue { background: var(--blue-tint); color: var(--blue-deep); }
.m-chip--done { background: #F0F2F5; color: #4B5563; }
.m-request__actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; margin-top: 6px; }
.m-request .m-btn { padding-inline: 8px; }

.pros__visual .m-request { animation: float 4.5s ease-in-out infinite alternate; }
@keyframes float { to { translate: 0 -14px; } }

/* Fragments d'écrans du parcours prestataire */
.step__mock .m-request { position: static; width: auto; box-shadow: none; }
.m-amount { color: var(--blue); font-size: 2.25rem; font-weight: 700; line-height: 1.1; }

/* Téléphone : écran Tableau de bord */
.ph-dash { display: grid; gap: 1px; }
.ph-dash b { font-size: 20px; }
.ph-dash small { color: #6B7280; font-size: 11px; }
.ph-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 12px;
  background: #F0F2F5;
  font-weight: 600;
  text-align: center;
}
.ph-tabs span { padding: 7px; border-radius: 10px; }
.ph-tabs .is-on { background: var(--blue); color: var(--white); }
.phone .m-request { position: static; gap: 4px; width: auto; padding: 12px; border-radius: 14px; box-shadow: none; }
.phone .m-request b { font-size: 13px; }
.phone .m-request small { font-size: 10.5px; }
.phone .m-chip { padding: 2px 8px; font-size: 9.5px; }
.phone .m-btn { padding: 7px 6px; border-radius: 9px; font-size: 10.5px; }

.pros__copy { display: grid; gap: 20px; justify-items: start; }
.pros__lead { max-width: 34rem; color: var(--muted); font-size: 1.1875rem; line-height: 1.5; }

.pros__list { display: grid; width: 100%; }
.pros__list div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.pros__list div:last-child { border-bottom: 1px solid var(--line); }
.pros__list dt { font-weight: 700; }
.pros__list dd { color: var(--muted); }
.pros__list + .btn { margin-top: 8px; }

/* ─── Questions ─── */

.faq { padding-block: var(--section) calc(var(--section) + var(--cut)); background: var(--paper); }

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 96px);
}

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

/* Le V du logo sert d'indicateur d'ouverture */
.faq summary::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 4px;
  width: 20px;
  height: 15px;
  background: var(--blue);
  clip-path: polygon(0 19.5%, 21.7% 0, 50% 74%, 78.3% 0, 100% 19.5%, 50% 100%);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { max-width: 42rem; padding-bottom: 22px; color: var(--muted); }

/* ─── Téléchargement ─── */

.cta {
  position: relative;
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(var(--section) + var(--cut));
  background: var(--blue);
  color: var(--white);
  clip-path: polygon(0 0, 50% var(--cut), 100% 0, 100% 100%, 0 100%);
}

.cta .sparks i { background: var(--white); box-shadow: 0 0 8px 1px rgb(255 255 255 / .6); }

.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: 48px;
}

.cta__copy { display: grid; justify-items: start; gap: 20px; padding-bottom: var(--section); }
.cta__v { width: 72px; height: 55px; fill: var(--white); }
.cta .display { font-size: clamp(3.5rem, 7.2vw, 7rem); font-weight: 900; line-height: .9; }
.cta__copy > p { max-width: 34rem; font-size: 1.1875rem; line-height: 1.5; }
.cta__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Le téléphone sort du bas de la section */
.cta__phone { display: grid; justify-items: center; height: 560px; padding-top: 20px; overflow: hidden; }
.cta__phone .phone { animation: float 5s ease-in-out infinite alternate; }

/* ─── Footer ─── */

.site-footer {
  padding-block: 32px;
  background: var(--ink);
  color: #C9CFE4;
  font-size: .9375rem;
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer .brand { color: var(--white); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }

/* ─── Adaptations ─── */

@media (max-width: 1280px) {
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgb(13 19 48 / .5) 0, transparent 22%),
      linear-gradient(90deg, rgb(13 19 48 / .78) 0, rgb(13 19 48 / .55) 40%, transparent 64%);
  }
  .hero__lead { max-width: 27rem; }
}

@media (max-width: 1100px) {
  .site-nav { display: none; }

  .journey__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .journey__intro { position: static; }
}

@media (max-width: 900px) {
  .events__head { grid-template-columns: minmax(0, 1fr); }
  .events__head p { justify-self: start; }
  .event__icon { width: 76px; }

  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 42vw, 240px); gap: 8px; }
  .tile h3 { font-size: 1.75rem; }
  .tile p { font-size: .875rem; }
  .tile--big h3 { font-size: 3rem; }
  .tile--big p { font-size: 1rem; }
  .tile--big .tile__text { padding: 16px; }

  /* La photo en haut, le texte en bas */
  .hero { align-items: end; padding-top: 300px; }
  .hero__bg img { height: 58%; object-position: 58% 20%; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgb(13 19 48 / .5) 0, transparent 14%, transparent 27%, rgb(13 19 48 / .78) 38%, var(--ink) 56%);
  }
  .hero__title { font-size: min(calc((100vw - 2 * var(--gutter)) / 3.9), 8rem); }
  .hero--pro .hero__title { font-size: min(calc((100vw - 2 * var(--gutter)) / 5.6), 6.5rem); }
  .hero--pro .hero__bg img { width: 100%; object-position: 64% 0%; }

  .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .cta__copy { padding-bottom: 0; }
  .cta__phone { height: 440px; }

  .promise { grid-template-columns: minmax(0, 1fr); }
  .promise__photo { min-height: 420px; }
  .promise__copy { padding-block: 56px 72px; }

  .pros__grid { grid-template-columns: minmax(0, 1fr); }
  .pros__visual { max-width: 520px; }
  .m-request { right: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .step { grid-template-columns: minmax(0, 1fr); }
  .pros__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .hero__actions .btn, .cta__stores .btn { width: 100%; }
  .hero__actions, .cta__stores { width: 100%; }

  .site-footer__row { flex-direction: column; align-items: flex-start; }
}

/* ─── Les moments ─── */

/* Sans animations au scroll, seule la mosaïque reste affichée */
.moments__scenes, .scene--final, .moments__card, .moments__bar, .moments__skip { display: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* La première photo apparaît déjà dans la découpe en V du hero */
    .hero { z-index: 1; }
    .services { margin-top: calc(var(--cut) * -1); padding-top: 0; }

    /* --s : début de chaque moment, en % du scroll de la section */
    .moments {
      --edge: 7.5vw;
      height: 640svh;
      view-timeline: --moments block;
    }

    /* La section reste à l'écran pendant que le scroll avance */
    .services .moments__stage {
      position: sticky;
      top: 0;
      display: block;
      overflow: hidden;
      max-width: none;
      height: 100svh;
      padding: 0;
      background: var(--ink);
    }

    /* Le titre s'ouvre comme un moment, sur la photo du premier prestataire */
    .moments .mosaic { display: none; }
    .moments__intro {
      position: absolute;
      z-index: 4;
      bottom: clamp(36px, 9svh, 88px);
      left: var(--edge);
      justify-items: start;
      gap: 10px;
      width: min(60vw, 50rem);
      max-width: none;
      color: var(--white);
      animation: fade-up 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain 6% contain 9%;
    }
    .moments__intro .eyebrow {
      color: #FFD98A;
      font-size: clamp(1rem, 1.5vw, 1.25rem);
    }
    .moments__intro > p:last-child {
      max-width: 34rem;
      color: var(--white);
      font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
      line-height: 1.4;
    }

    /* Chaque moment passe en fondu, et l'image avance lentement */
    .moments__scenes { position: absolute; z-index: 3; inset: 0; display: block; pointer-events: none; }
    .scene {
      position: absolute;
      z-index: 3;
      inset: 0;
      display: block;
      overflow: hidden;
      visibility: hidden;
      background: var(--ink);
      color: var(--white);
      animation-name: scene-in, scene-live;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both, none;
      animation-timeline: --moments, --moments;
      animation-range-start: contain calc(var(--s) * 1%), contain calc(var(--s) * 1%);
      animation-range-end: contain calc((var(--s) + 2.4) * 1%), contain calc((var(--s) + 11.2) * 1%);
    }
    .scene--first {
      animation-name: scene-live;
      animation-fill-mode: backwards;
      animation-range-start: contain 0%;
      animation-range-end: contain calc((var(--s) + 11.2) * 1%);
    }
    .scene--final {
      animation-fill-mode: both, forwards;
      animation-range-end: contain calc((var(--s) + 2.4) * 1%), contain 100%;
    }
    .scene > img {
      position: absolute;
      top: 0;
      left: var(--shift, 0%);
      width: calc(100% - var(--shift, 0%));
      max-width: none;
      height: 100%;
      object-fit: cover;
      object-position: var(--op);
      animation: push 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain calc(var(--s) * 1%) contain calc((var(--s) + 11.2) * 1%);
    }
    .scene--first > img { animation-range: contain 0% contain calc((var(--s) + 11.2) * 1%); }
    .scene--final > img { animation-range: contain calc(var(--s) * 1%) contain 100%; }

    /* Voile du bas : garde le texte lisible et laisse la photo en pleine lumière */
    .scene::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgb(13 19 48 / .88), rgb(13 19 48 / .42) 36%, transparent 62%);
    }

    .scene__text {
      position: absolute;
      z-index: 1;
      bottom: clamp(36px, 9svh, 88px);
      left: var(--edge);
      display: grid;
      justify-items: start;
      gap: 10px;
      width: min(60vw, 50rem);
      animation: text-stage 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain calc((var(--s) + .6) * 1%) contain calc((var(--s) + 9) * 1%);
    }
    .scene--final .scene__text {
      animation-name: text-in;
      animation-range: contain calc((var(--s) + 1.4) * 1%) contain calc((var(--s) + 4) * 1%);
    }
    .scene__label {
      color: #FFD98A;
      font-size: clamp(1rem, 1.5vw, 1.25rem);
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .scene__line, .moments__intro .display {
      font-family: var(--display);
      font-size: clamp(3rem, min(6.4vw, 11svh), 6.75rem);
      font-weight: 800;
      line-height: .95;
      letter-spacing: -.005em;
      text-transform: uppercase;
      text-wrap: balance;
    }
    .scene__sub { max-width: 34rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.4; }
    .scene__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

    /* La carte d'accompagnement : les prestataires se confirment un à un */
    .moments__card {
      position: absolute;
      z-index: 5;
      top: 50%;
      right: var(--edge);
      display: grid;
      gap: 12px;
      width: clamp(250px, 22vw, 310px);
      padding: 16px;
      border-radius: 20px;
      background: var(--white);
      box-shadow: 0 24px 60px -20px rgb(13 19 48 / .55);
      color: var(--text);
      pointer-events: none;
      translate: 0 -50%;
      animation: card-life 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain 1% contain calc((var(--final) + 7.5) * 1%);
    }
    .card__head { display: flex; align-items: center; gap: 10px; }
    .card__v {
      flex: none;
      width: 38px;
      height: 38px;
      padding: 10px 8px;
      border-radius: 12px;
      background: var(--blue);
      fill: var(--white);
    }
    .card__title { display: grid; font-size: 1.0625rem; line-height: 1.25; }
    .card__title b { grid-area: 1 / 1; }
    .card__title b:first-child {
      animation: fade-out 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain calc((var(--final) + .5) * 1%) contain calc((var(--final) + 1.5) * 1%);
    }
    .card__title b:last-child {
      animation: fade-in 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain calc((var(--final) + .5) * 1%) contain calc((var(--final) + 1.5) * 1%);
    }
    .card__head small { color: var(--muted); font-size: .8125rem; }

    .moments__card ol { display: grid; gap: 1px; }
    .moments__card li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: clamp(3px, .75svh, 7px) 8px;
      border-radius: 10px;
      font-size: .9375rem;
      font-weight: 500;
      animation: row-on 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain calc(var(--s) * 1%) contain calc((var(--s) + 8.8) * 1%);
    }
    .row__state { display: grid; justify-items: end; }
    .row__state i {
      grid-area: 1 / 1;
      padding: 2px 9px;
      border-radius: 999px;
      font-size: .75rem;
      font-style: normal;
      font-weight: 700;
      white-space: nowrap;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --moments;
    }
    .row__state i:nth-child(1) {
      background: #F0F2F5;
      color: var(--muted);
      animation-name: fade-out;
      animation-range: contain calc((var(--s) + 1.6) * 1%) contain calc((var(--s) + 2.4) * 1%);
    }
    .row__state i:nth-child(2) {
      background: #FFF3E0;
      color: #A85B00;
      animation-name: state-mid;
      animation-range: contain calc((var(--s) + 1.6) * 1%) contain calc((var(--s) + 6) * 1%);
    }
    .row__state i:nth-child(3) {
      background: #E3F6EC;
      color: #0B7A52;
      animation-name: state-done;
      animation-range: contain calc((var(--s) + 5.2) * 1%) contain calc((var(--s) + 6) * 1%);
    }

    .card__bar { height: 4px; overflow: hidden; border-radius: 2px; background: #F0F2F5; }
    .card__bar i {
      display: block;
      height: 100%;
      background: var(--blue);
      transform-origin: left;
      animation: bar 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain 10% contain calc(var(--final) * 1%);
    }

    .moments__bar {
      position: absolute;
      z-index: 6;
      inset: 0 0 auto;
      display: block;
      height: 3px;
      background: var(--spark);
      transform-origin: left;
      animation: bar 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain 0% contain 100%;
    }

    .moments__skip {
      position: absolute;
      z-index: 6;
      right: var(--gutter);
      bottom: 14px;
      display: block;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgb(13 19 48 / .6);
      color: var(--white);
      font-size: .875rem;
      font-weight: 600;
      text-decoration: none;
      animation: skip-in 1ms linear both;
      animation-timeline: --moments;
      animation-range: contain 1% contain 3%;
    }
    .moments__skip:hover { background: var(--ink); }

    /* Mobile et écrans peu hauts : la carte devient une simple notification */
    @media (max-width: 900px), (max-height: 560px) {
      .moments__card {
        top: 14px;
        right: var(--gutter);
        left: var(--gutter);
        width: auto;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px 8px 8px;
        border-radius: 14px;
        translate: none;
        animation-name: toast-in;
        animation-range: contain 10.5% contain calc((var(--final) + 2) * 1%);
      }
      .card__bar, .card__head > div { display: none; }
      .card__v { width: 28px; height: 28px; padding: 7px 6px; border-radius: 8px; }
      .moments__card ol { position: relative; flex: 1; height: 26px; }
      .moments__card li {
        position: absolute;
        inset: 0;
        padding: 0;
        animation-name: row-solo;
      }
      .scene__text, .moments__intro { right: var(--gutter); width: auto; bottom: 56px; }
      .scene__line, .moments__intro .display { font-size: clamp(2.5rem, 12.5vw, 5rem); }
    }

    @media (max-height: 560px) {
      .moments__intro > p:last-child { display: none; }
      .moments__card { right: var(--gutter); left: auto; width: 260px; }
      .scene__text, .moments__intro { bottom: 28px; width: 62vw; }
      .scene__line, .moments__intro .display { font-size: clamp(2rem, 14svh, 3.5rem); }
    }

    @media (max-width: 900px) and (orientation: portrait) {
      .moments { --edge: var(--gutter); }
      .scene > img { left: 0; width: 100%; object-position: var(--op-m); }
    }
  }
}

@keyframes scene-in { from { opacity: 0; } }
@keyframes scene-live { from, to { visibility: visible; } }
@keyframes push {
  from { scale: var(--from, 1.02); }
  to { scale: calc(var(--from, 1.02) + .11); }
}
@keyframes fade-up { to { opacity: 0; translate: 0 -32px; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes skip-in { from { opacity: 0; visibility: hidden; } }
@keyframes text-in { from { opacity: 0; translate: 0 32px; } }
@keyframes text-stage {
  0% { opacity: 0; translate: 0 32px; }
  20%, 86% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 -16px; }
}
@keyframes card-life {
  0% { opacity: 0; translate: 48px -50%; }
  3.5%, 96% { opacity: 1; translate: 0 -50%; }
  100% { opacity: 0; translate: 40px -50%; }
}
@keyframes toast-in {
  0%, 100% { opacity: 0; translate: 0 -12px; }
  4%, 96% { opacity: 1; translate: 0 0; }
}
@keyframes row-on {
  0%, 100% { background: transparent; }
  8%, 92% { background: var(--blue-tint); }
}
@keyframes row-solo {
  0%, 100% { opacity: 0; }
  8%, 92% { opacity: 1; }
}
@keyframes state-mid {
  0%, 100% { opacity: 0; }
  18%, 82% { opacity: 1; }
}
@keyframes state-done { from { opacity: 0; scale: .7; } }

/* ─── Mouvement ─── */

/* Apparitions pilotées par le scroll. Sans support navigateur, tout reste visible */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .events__head > *,
    .journey__intro > *,
    .promise__copy > *,
    .pro-band__inner > *,
    .pros__copy > *,
    .faq__grid > .display,
    .faq details,
    .cta__copy > *,
    .cta__phone {
      animation: reveal-up 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }

    .step__text, .pros__visual {
      animation: reveal-left 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .step__mock {
      view-timeline: --mock block;
      animation: reveal-right 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    /* Les icônes arrivent l'une après l'autre, leur tracé se dessine, puis une vague les traverse */
    /* Le défilement démarre une fois les icônes arrivées, pour qu'elles entrent dans l'ordre */
    .events__marquee {
      view-timeline: --events block;
      animation: events-start 1ms linear both;
      animation-timeline: --events;
      animation-range: cover 0% cover 36%;
    }
    @container style(--run: paused) {
      .events__track { animation-play-state: paused; }
    }
    .event {
      animation: event-pop 1ms linear both;
      animation-timeline: --events;
      animation-range: cover calc(4% + var(--i) * 2.6%) cover calc(18% + var(--i) * 2.6%);
    }
    .event__icon svg > * {
      stroke-dasharray: 1 1;
      animation: event-draw 1ms linear both;
      animation-timeline: --events;
      animation-range: cover calc(10% + var(--i) * 2.6%) cover calc(30% + var(--i) * 2.6%);
    }
    .event__bob {
      animation: event-bob 4.2s ease-in-out infinite;
      animation-delay: calc(var(--i) * .16s);
    }

    /* Les écrans du parcours se remplissent au fil du scroll */
    .m-bars .on {
      transform-origin: left;
      animation: bar 1ms linear both;
      animation-timeline: --mock;
      animation-range: cover 10% cover 26%;
    }
    .m-bars .on + .on { animation-range: cover 24% cover 40%; }

    .m-bubble, .m-read, .m-pay__row, .m-pay__total {
      animation: pop 1ms linear both;
      animation-timeline: --mock;
      animation-range: cover 8% cover 18%;
    }
    .m-bubble:nth-child(2), .m-pay__row:nth-child(3) { animation-range: cover 18% cover 28%; }
    .m-bubble:nth-child(3), .m-pay__total { animation-range: cover 28% cover 38%; }
    .m-read { animation-range: cover 34% cover 40%; }
    .m-bubble.m-typing { animation-range: cover 38% cover 46%; }

    .m-stars {
      animation: stars 1ms linear both;
      animation-timeline: --mock;
      animation-range: cover 10% cover 38%;
    }

    /* Le titre du hero s'efface en montant, la photo de paiement glisse plus lentement */
    .hero__copy {
      animation: leave 1ms linear both;
      animation-timeline: view();
      animation-range: exit 30% exit 100%;
    }
    .promise__photo { overflow: clip; }
    .promise__photo img {
      inset: -8% 0;
      height: 116%;
      animation: parallax 1ms linear both;
      animation-timeline: view();
    }

    @media (max-width: 640px) {
      .step__text, .step__mock, .pros__visual { animation-name: reveal-up; }
    }
  }
}

@keyframes events-start {
  0%, 99% { --run: paused; }
  100% { --run: running; }
}
@keyframes event-pop {
  0% { opacity: 0; translate: 0 56px; scale: .6; }
  70% { opacity: 1; translate: 0 -6px; scale: 1.05; }
  100% { translate: 0 0; scale: 1; }
}
@keyframes event-draw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  12% { opacity: 1; }
  100% { stroke-dashoffset: 0; }
}
@keyframes event-bob {
  0%, 70%, 100% { translate: 0 0; }
  35% { translate: 0 -8px; }
}

@keyframes reveal-up { from { opacity: 0; translate: 0 56px; } }
@keyframes reveal-left { from { opacity: 0; translate: -56px 0; } }
@keyframes reveal-right { from { opacity: 0; translate: 56px 0; } }
@keyframes pop { from { opacity: 0; translate: 0 14px; scale: .86; } }
@keyframes bar { from { scale: 0 1; } }
@keyframes stars { from { clip-path: inset(0 100% 0 0); } }
@keyframes leave { to { opacity: 0; translate: 0 -72px; } }
@keyframes parallax {
  from { translate: 0 -6%; }
  to { translate: 0 6%; }
}

@media (max-width: 430px) {
  .btn--logos .btn__logo { display: none; }
}

@media (max-width: 360px) {
  .site-header__row { gap: 12px; }
  .btn--small { padding-inline: 14px; font-size: .875rem; }
}

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

  .events__marquee { mask-image: none; margin-inline: 0; }
  .events__track { flex: auto; flex-wrap: wrap; justify-content: center; gap: 24px 0; min-width: 0; }
  .events__track[aria-hidden] { display: none; }


  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
