/* ==========================================================================
   ASPHALT — Le Club · styles.css
   Direction : moderne, automobile, noir & blanc, typographie large et italique
   (en écho au logo), photos plein cadre, cartes qui s'empilent au défilement.
   ========================================================================== */

/* Polices hébergées sur le site (sous-ensemble latin) */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  font-display: swap;
  src: url('assets/fonts/archivo-800-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 125%;
  font-display: swap;
  src: url('assets/fonts/archivo-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #0C0C0B;
  --carbon: #1A1A18;
  --paper: #F3F3F0;
  --white: #FFFFFF;
  --ink: #0C0C0B;
  --mute-dark: #A3A39D;   /* texte secondaire sur noir */
  --mute-light: #5B5B56;  /* texte secondaire sur clair */
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(12, 12, 11, .12);
  --error: #B42318;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;   /* titres larges, en écho au logo */
  --text: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; /* textes courants */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1560px;
  --radius: 22px;
  --header-space: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-space);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure, fieldset { margin: 0; }
button, input { font: inherit; color: inherit; }

::selection { background: var(--white); color: var(--ink); }
.is-light ::selection { background: var(--ink); color: var(--white); }

/* Anneau de focus double (blanc + noir) : visible sur fond clair comme sombre */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

@view-transition { navigation: auto; }

/* Sections claires */
.is-light {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display {
  font-weight: 800;
  font-family: var(--display);
  font-stretch: 125%;
  letter-spacing: -.025em;
  line-height: .94;
  text-transform: uppercase;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.3rem, 6vw, 6.6rem); }
.display--lg { font-size: clamp(2rem, 4.4vw, 4.6rem); }
.display--md { font-size: clamp(1.55rem, 2.8vw, 2.8rem); line-height: 1; }
.display em { font-style: italic; }

/* Sur mobile, les très grands titres suivent la largeur d'écran :
   le mot le plus long (« RENCONTRES ») tient toujours sur une ligne. */
@media (max-width: 899px) {
  .display--xl,
  p.manifesto__text { font-size: clamp(1.8rem, 9vw, 4.4rem); }
  .display--lg { font-size: clamp(1.7rem, 8vw, 3.6rem); }
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.5;
}

.mute { color: var(--mute-dark); }
.is-light .mute { color: var(--mute-light); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease),
    translate .35s var(--ease), scale .2s var(--ease);
}
.pill:active { scale: .97; }
.pill--lg { height: 58px; padding: 0 32px; font-size: 15px; }
.pill--full { width: 100%; }

.pill--light { background: var(--white); color: var(--ink); }
.pill--dark { background: var(--ink); color: var(--white); }
.pill--ghost { border-color: rgba(255, 255, 255, .42); color: var(--white); }
.pill[disabled] { opacity: .55; cursor: progress; }

@media (hover: hover) {
  .pill--light:hover { background: #DCDCD7; }
  .pill--dark:hover { background: #2C2C29; }
  .pill--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
}

.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Apparitions au défilement (actives seulement avec JavaScript)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translate3d(-8vw, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(8vw, 0, 0); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Titres : les mots montent derrière un masque */
.js [data-reveal="words"] { opacity: 1; transform: none; }
.js [data-reveal="words"]:not(.is-split) { visibility: hidden; }
.word {
  display: inline-block;
  overflow: hidden;
  margin: -.16em -.06em -.08em;
  padding: .16em .06em .08em;
  vertical-align: top;
}
.word__in {
  display: inline-block;
  transform: translate3d(0, 118%, 0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.05s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--w, 0) * 55ms);
}
[data-reveal="words"].is-visible .word__in { transform: none; }

/* Photos : ouverture depuis le centre */
.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(9% 9% 9% 9% round var(--radius));
  transition: clip-path 1.5s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="clip"].is-visible { clip-path: inset(0 round var(--radius)); }

/* Photos : la photo glisse dans son cadre quand on descend */
.motion [data-parallax] { position: relative; }
.motion [data-parallax] img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + var(--extra, 16%));
  max-width: none;
  will-change: transform;
}

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: 2px;
  background: var(--white);
  mix-blend-mode: difference;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Changement de page */
@keyframes page-out { to { opacity: 0; transform: translate3d(0, -18px, 0); } }
@keyframes page-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
::view-transition-old(root) { animation: page-out .28s var(--ease) both; }
::view-transition-new(root) { animation: page-in .55s var(--ease) both; }

/* --------------------------------------------------------------------------
   En-tête flottant
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }

.site-header__bar {
  pointer-events: auto;
  width: min(100% - 24px, 1180px);
  height: 58px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 7px 0 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(12, 12, 11, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  color: var(--white);
}

.brand { display: inline-flex; padding: 6px 0; }
.brand img { height: 15px; width: auto; }

.nav { display: none; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .74);
  transition: color .3s var(--ease);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--white); }

.site-header .pill { height: 44px; padding: 0 20px; }
.header-cta { display: none !important; }

@media (min-width: 900px) {
  .brand img { height: 17px; }
  .nav { display: flex; gap: 30px; }
  .header-cta { display: inline-flex !important; }
  .menu-toggle { display: none !important; }
}

/* Menu plein écran (mobile) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--black);
  color: var(--white);
  color-scheme: dark;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s var(--ease);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: block;
  padding: 8px 0;
  font-size: clamp(1.8rem, 8.6vw, 3.2rem);
  font-weight: 800;
  font-family: var(--display);
  font-stretch: 125%;
  font-style: italic;
  letter-spacing: -.025em;
  line-height: 1.05;
  text-transform: uppercase;
}
.mobile-menu__foot { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* --------------------------------------------------------------------------
   Accueil — hero
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  background: var(--black);
}
.hero__media {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 85%;
  filter: contrast(1.06) saturate(1.08);
  animation: hero-zoom 2.8s var(--ease) both;
}
@media (max-width: 700px) {
  .hero__img { object-position: 82% 50%; }
}
@keyframes hero-zoom {
  from { scale: 1.08; }
  to { scale: 1; }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(12, 12, 11, .5) 0%,
    rgba(12, 12, 11, 0) 24%,
    rgba(12, 12, 11, 0) 52%,
    rgba(12, 12, 11, .45) 78%,
    var(--black) 100%);
}
.hero__logo-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 2.4vw, 32px);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  /* Bas dégagé : le badge Netlify est fixé en bas à droite */
  padding-block: 18px 76px;
  animation: rise 1.2s var(--ease) .9s both;
}
.hero__meta .label { color: rgba(255, 255, 255, .82); }
.hero__signature {
  max-width: 34em;
  margin-top: 8px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .pill { width: 100%; }
}
.motion .hero__media,
.motion .hero__logo-wrap { will-change: transform; }
.motion .hero__media { transform-origin: 50% 100%; }
.hero__logo {
  max-width: 1120px;
  animation: rise 1.4s var(--ease) .35s both;
}
.hero__logo img { width: 100%; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: none; }
}

/* Bandeau défilant */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  background: var(--black);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 40px 18px 0;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 800;
  font-family: var(--display);
  font-stretch: 125%;
  font-style: italic;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group span::after {
  content: '';
  display: inline-block;
  width: .3em;
  height: .3em;
  margin-left: 40px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Accueil — le club
   -------------------------------------------------------------------------- */
.club { padding-block: clamp(96px, 12vw, 190px); }
.club__grid { display: grid; gap: clamp(36px, 5vw, 64px); }
.club__title { margin-top: 20px; }
.club__title em { display: block; color: var(--mute-light); }
.club__lead { max-width: 31em; margin-top: 24px; }
.club__photo {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #DADAD6;
}
.club__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .club__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .club__text { grid-column: 1 / span 5; }
  .club__title { font-size: clamp(2.1rem, 3.8vw, 4.1rem); }
  .club__photo { grid-column: 6 / span 7; }
}

/* --------------------------------------------------------------------------
   Accueil — images (cartes empilées)
   -------------------------------------------------------------------------- */
.stories { padding-block: clamp(96px, 12vw, 180px) clamp(72px, 9vw, 140px); }
.stories__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.stories__head .display { max-width: 11em; }

.story {
  position: sticky;
  top: calc(var(--header-space) + var(--i, 0) * 16px);
  height: min(76vh, 860px);
  height: min(76svh, 860px);
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--carbon);
  box-shadow: 0 -30px 60px rgba(0, 0, 0, .45);
}
.story + .story { margin-top: 12vh; }
.story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.05);
  transition: scale 1.4s var(--ease);
}
.motion .story { transform-origin: 50% 0; will-change: transform, opacity; }
.motion .story img { height: calc(100% + 16%); will-change: transform; }
@media (hover: hover) {
  .story:hover img { scale: 1.025; }
}
.story::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 11, 0) 40%, rgba(12, 12, 11, .82) 100%);
}
.story__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 52px);
}
.story__text { max-width: 32em; color: rgba(255, 255, 255, .86); }
/* Mobile : texte remonté pour laisser la place au bouton fixe et au badge */
@media (max-width: 899px) {
  .story__content { padding-bottom: 64px; }
  .story::after {
    background: linear-gradient(180deg, rgba(12, 12, 11, 0) 25%, rgba(12, 12, 11, .86) 80%);
  }
}
@media (min-width: 900px) {
  .story__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26em);
    align-items: end;
    column-gap: 48px;
  }
}

/* --------------------------------------------------------------------------
   Accueil — le prochain rendez-vous
   -------------------------------------------------------------------------- */
.rdv { padding-block: clamp(96px, 12vw, 180px); }
.rdv__head {
  display: grid;
  gap: 24px;
}
.rdv__head .display { margin-top: 20px; }
.rdv__side { display: grid; gap: 24px; justify-items: start; }
@media (min-width: 900px) {
  .rdv__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: end;
  }
  .rdv__title { grid-column: 1 / span 8; }
  .rdv__side { grid-column: 9 / span 4; }
}

.board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(40px, 5vw, 72px);
}
.board > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: clamp(150px, 16vw, 240px);
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--radius);
  background: var(--white);
}
.board dt { color: var(--mute-light); }
.board dd {
  font-size: clamp(1.2rem, 3.3vw, 3.4rem);
  font-weight: 800;
  font-family: var(--display);
  font-stretch: 125%;
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: uppercase;
}
.board .board__accent { background: var(--ink); color: var(--white); }
.js .board > [data-reveal] {
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), translate .45s var(--ease), box-shadow .45s var(--ease);
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}
@media (hover: hover) {
  .board > div:hover { box-shadow: 0 18px 40px rgba(12, 12, 11, .12); translate: 0 -6px; }
}
.board .board__accent dt { color: var(--mute-dark); }
@media (max-width: 899px) {
  .board > div { min-height: 116px; gap: 20px; }
  .board dd { font-size: clamp(1.1rem, 5.6vw, 2.2rem); }
}
@media (min-width: 900px) {
  .board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Accueil — manifeste
   -------------------------------------------------------------------------- */
.manifesto {
  overflow: hidden;
  padding-block: clamp(110px, 16vw, 240px);
}
.manifesto__text {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 800;
  font-family: var(--display);
  font-stretch: 125%;
  font-style: italic;
  letter-spacing: -.03em;
  line-height: .98;
  text-transform: uppercase;
}
.manifesto__text span { display: block; }
.manifesto__text span:nth-child(2) { color: var(--mute-dark); }
@media (min-width: 900px) {
  .manifesto__text span:nth-child(2) { text-align: center; }
  .manifesto__text span:nth-child(3) { text-align: right; }
}

/* --------------------------------------------------------------------------
   Accueil — le fondateur
   -------------------------------------------------------------------------- */
.founder { padding-block: clamp(96px, 12vw, 180px); }
.founder__grid { display: grid; gap: 36px; }
.founder__photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: #DADAD6;
}
.founder__photo { --extra: 8%; }
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.founder__text .display { margin-top: 20px; }
.founder__role { margin-top: 20px; }
.founder__partner {
  display: inline-flex;
  margin-top: 36px;
  padding: 18px 24px;
  border-radius: 16px;
  background: var(--white);
}
.founder__partner img { width: auto; height: 46px; }
@media (max-width: 899px) {
  .founder__photo { max-width: 460px; }
}
@media (min-width: 900px) {
  .founder__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: end;
  }
  .founder__photo { grid-column: 1 / span 5; }
  .founder__text { grid-column: 7 / span 6; }
}

/* --------------------------------------------------------------------------
   Accueil — appel final
   -------------------------------------------------------------------------- */
.finale { background: var(--black); }
.finale__pin {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding-block: calc(var(--header-space) + 24px) clamp(72px, 9vw, 120px);
}
.finale__media { position: absolute; inset: 0; overflow: hidden; }
.finale__media img { width: 100%; height: 100%; object-fit: cover; }
.finale__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 11, .3) 0%, rgba(12, 12, 11, .58) 45%, rgba(12, 12, 11, .9) 100%);
}
.finale__content { position: relative; z-index: 1; }
.finale .display { margin-top: 24px; max-width: 12em; }
.finale__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(36px, 4vw, 56px);
}
.finale__row .lead { max-width: 30em; color: rgba(255, 255, 255, .84); }
.motion .finale { height: 190vh; height: 190svh; }
.motion .finale__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.motion .finale__media { will-change: transform; }

/* --------------------------------------------------------------------------
   Bouton fixe sur mobile
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: var(--gutter);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  height: 44px;
  padding: 0 18px;
  border-color: var(--line-light);
  box-shadow: 0 8px 28px rgba(12, 12, 11, .3);
  font-size: 13px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
/* Écrans étroits : au-dessus du badge Netlify */
@media (max-width: 379px) {
  .mobile-cta { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) {
  .mobile-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-dark);
  background: var(--black);
  color: var(--mute-dark);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  /* Bas dégagé : le badge Netlify est fixé en bas à droite */
  padding-block: 32px calc(84px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
}
.footer__logo img { width: 150px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { transition: color .3s var(--ease); }
@media (hover: hover) {
  .footer a:hover { color: var(--white); }
}

/* --------------------------------------------------------------------------
   Page inscription
   -------------------------------------------------------------------------- */
.signup {
  padding-top: calc(var(--header-space) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(64px, 8vw, 120px);
}
.signup__grid { display: grid; gap: 28px; }

.signup__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 64vh;
  min-height: 64svh;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--carbon);
  color: var(--white);
}
.signup__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: hero-zoom 2.6s var(--ease) both;
}
.signup__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 11, .1) 30%, rgba(12, 12, 11, .88) 100%);
}
.signup__visual-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.5vw, 44px);
}
.facts-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
}
.facts-chips div {
  display: flex;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  font-size: 14px;
}
.facts-chips dt { color: rgba(255, 255, 255, .66); }
.facts-chips dd { font-weight: 600; }

.signup__main { display: grid; gap: 28px; align-content: start; }
.signup__note { font-size: 14px; }

@media (min-width: 1000px) {
  .signup__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
  }
  .signup__visual {
    position: sticky;
    top: var(--header-space);
    height: calc(100vh - var(--header-space) - 24px);
    height: calc(100svh - var(--header-space) - 24px);
    min-height: 520px;
  }
  .signup__main { padding-top: 12px; }
}

.form-card {
  padding: clamp(22px, 3.5vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
}
.form-card__sub { margin-top: 10px; }

.form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
@media (min-width: 560px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full,
  .choice,
  .consent,
  .form__foot { grid-column: 1 / -1; }
}

.field label,
.choice legend {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(12, 12, 11, .16);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(12, 12, 11, .08);
}
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--white) inset;
}
.field__error {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--error);
}
.field__error:empty { display: none; }
.field.is-invalid input { border-color: var(--error); }

/* Sélecteur à pastilles */
.choice { min-width: 0; margin-top: 6px; padding: 0; border: 0; }
.choice legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(12, 12, 11, .16);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover: hover) {
  .chip input:hover + span { border-color: var(--ink); }
}
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  animation: chip-pop .32s var(--ease);
}
@keyframes chip-pop { 40% { transform: scale(1.06); } }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice.is-invalid .chip span { border-color: var(--error); }

/* Consentement */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 6px;
}
.consent input {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1px solid rgba(12, 12, 11, .35);
  border-radius: 7px;
  background: var(--paper);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.consent input::after {
  content: '';
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .2s var(--ease);
}
.consent input:checked { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent.is-invalid input { border-color: var(--error); }
.consent label { display: block; font-size: 14px; line-height: 1.55; cursor: pointer; }
.consent .text-link { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--mute-light); }

/* Pot de miel anti-spam : invisible pour les visiteurs */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot { display: grid; gap: 14px; margin-top: 8px; }
.form__status { min-height: 1.4em; font-size: 14px; }
.form__status.is-error { color: var(--error); }

/* État de confirmation */
.confirmation:focus { outline: none; }
.confirmation__check {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.confirmation__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) .15s forwards; }
.confirmation__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .45s var(--ease) .75s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirmation .display { margin-top: 16px; }
.confirmation p:not(.label) { margin-top: 16px; }
.confirmation .pill { margin-top: 28px; }
.confirmation.is-visible { animation: rise .9s var(--ease) both; }

/* --------------------------------------------------------------------------
   Page merci
   -------------------------------------------------------------------------- */
.thanks {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px var(--gutter);
  text-align: center;
}
.thanks__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 760px;
}
.thanks__inner > * { animation: rise 1s var(--ease) both; }
.thanks__inner > :nth-child(2) { animation-delay: .1s; }
.thanks__inner > :nth-child(3) { animation-delay: .2s; }
.thanks__inner > :nth-child(4) { animation-delay: .3s; }
.thanks__inner > :nth-child(5) { animation-delay: .4s; }
.thanks__logo { width: clamp(200px, 28vw, 320px); margin-bottom: 18px; }
.thanks .pill { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Mentions légales
   -------------------------------------------------------------------------- */
.legal {
  padding-top: calc(var(--header-space) + clamp(48px, 7vw, 110px));
  padding-bottom: clamp(96px, 12vw, 160px);
}
.legal__head { margin-bottom: clamp(48px, 7vw, 96px); }
.legal__title {
  margin-top: 18px;
  font-size: clamp(1.8rem, 8vw, 4.6rem);
}
.legal__sub {
  display: block;
  margin-top: .25em;
  font-size: .5em;
  color: var(--mute-light);
}

.legal__section {
  display: grid;
  gap: 12px;
  padding-block: 30px;
  border-top: 1px solid var(--line-light);
}
.legal__section:last-of-type { border-bottom: 1px solid var(--line-light); }
.legal__section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--display);
  font-stretch: 125%;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.legal__body { max-width: 44em; color: #34342F; }
.legal__body p + p,
.legal__body p + ul,
.legal__body ul + p { margin-top: 12px; }
.legal__body ul { margin: 0; padding-left: 1.1em; }
.legal__body li + li { margin-top: 4px; }
.legal__body strong { font-weight: 600; color: var(--ink); }
.todo {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(12, 12, 11, .08);
  font-size: .82em;
  font-weight: 600;
  white-space: nowrap;
}
.legal__updated { margin-top: 32px; }
@media (min-width: 900px) {
  .legal__section {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
  .legal__section h2 { grid-column: 1 / span 4; }
  .legal__body { grid-column: 5 / span 8; }
}

/* --------------------------------------------------------------------------
   Réduction des animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .ticker__track { animation: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}
