/* Landing « vidéo pilote » : hero. */

/* Replis aux métriques d'Instrument Sans et de Geist : le texte ne saute pas quand la police arrive. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 97.86%;
  ascent-override: 99.12%;
  descent-override: 25.55%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 101.86%;
  ascent-override: 99.16%;
  descent-override: 29.45%;
  line-gap-override: 0%;
}

@property --shine {
  syntax: "<angle>";
  inherits: false;
  initial-value: -80deg;
}

:root {
  --bg: #fcfcfc;
  --ink: #1c1c1c;
  --ink-2: rgba(28, 28, 28, 0.73); /* sous-titre */
  --ink-3: rgba(28, 28, 28, 0.66); /* petits textes */
  --blue: #0198f7;
  --blue-ink: #0077c8; /* même bleu, foncé : petits textes (4,7:1) */
  --line: rgba(28, 28, 28, 0.08);
  --hatch: rgba(28, 28, 28, 0.07);
  --gutter: 40px;
  --frame: min(1056px, calc(100% - 2 * var(--gutter)));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Instrument Sans", "Instrument Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Geist", "Geist Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

html:has(.apply[open]) {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 40px;
}

@media (max-width: 767px) {
  :root {
    --gutter: 10px;
  }

  .hero__inner {
    padding-inline: 20px;
  }

  .container {
    padding-inline: 20px;
  }
}

/* ---------- Fond ---------- */

.top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Sans WebGL : la même trame, immobile. */
.dots-static .dots {
  display: none;
}

.dots-static::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(28, 28, 28, 0.16) 0.8px, transparent 1.2px) 0 0 / 6px 6px;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 60%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 60%, transparent);
}

/* ---------- Header ---------- */

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 96px;
}

.logo {
  width: auto;
  height: 22px;
}

@media (max-width: 767px) {
  .site-header__inner {
    height: 72px;
  }

  .logo {
    height: 18px;
  }
}

/* ---------- Boutons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(220deg, #323232 0%, #141414 100%);
  box-shadow:
    -21px 16px 10px rgba(0, 0, 0, 0.04),
    -12px 9px 9px rgba(0, 0, 0, 0.13),
    -5px 4px 6px rgba(0, 0, 0, 0.23),
    -1px 1px 4px rgba(0, 0, 0, 0.26);
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}

/* Liseré lumineux d'un pixel, qui fait le tour du bouton en continu. */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  padding: 1px;
  border-radius: inherit;
  background:
    conic-gradient(from var(--shine), transparent 0deg, rgba(255, 255, 255, 0.9) 45deg, transparent 90deg),
    rgba(255, 255, 255, 0.14);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: shine 3.2s linear infinite;
}

@keyframes shine {
  to {
    --shine: 280deg;
  }
}

.btn--primary:hover {
  transform: translateY(-1px);
}

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

.btn--soft {
  height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  background: #f5f5f5;
  box-shadow: inset 0 0 12px #fff, 0 0 0 1px rgba(28, 28, 28, 0.05);
  color: var(--ink-2);
  font-size: 15px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* Zone tactile de 48 px autour du bouton. */
.btn--soft::after {
  content: "";
  position: absolute;
  inset: -4px;
}

.btn--soft:hover {
  background: #f0f0f0;
  color: var(--ink);
}

@media (max-width: 767px) {
  .btn--soft {
    padding: 0 14px;
    font-size: 14px;
  }
}

/* ---------- Cadre ---------- */

/* Colonne centrale bordée de deux lignes verticales, qui s'estompent en haut et en bas. */
.frame {
  position: relative;
  width: var(--frame);
  margin-inline: auto;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 160px);
  pointer-events: none;
}

.frame::before {
  left: 0;
}

.frame::after {
  right: 0;
}

.frame--tail {
  height: 120px;
}

.frame--tail::before,
.frame--tail::after {
  background: linear-gradient(var(--line), transparent);
}

/* Bandeau pleine largeur entre deux lignes, marges hachurées. */
.band {
  display: grid;
  grid-template-columns: 1fr var(--frame) 1fr;
  border-block: 1px solid var(--line);
}

.band__side {
  background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 7px);
}

.band__main {
  border-inline: 1px solid var(--line);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(40px, 5vw, 72px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px);
  text-align: center;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.eyebrow__dot {
  display: inline-block;
  margin: 0 10px 0 4px;
  vertical-align: 0.1em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(1, 152, 247, 0.14);
}

h1 {
  max-width: 1000px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 2.6vw + 26px, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__sub {
  max-width: 640px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero__cta {
  margin-top: clamp(32px, 4vw, 52px);
}

.hero__note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 479px) {
  .eyebrow {
    font-size: 12px;
  }

  .hero__cta {
    align-self: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }
}

/* ---------- Coulisses ---------- */

/* Bloc de preuve sur fond blanc pur : il recouvre la trame de points du hero
   et garde les marges hachurées, pour bien marquer le changement de section. */
.band--solid {
  position: relative;
  background: #fff;
}

.band--solid .band__side {
  background-color: #fff;
}

.proof {
  padding: 0;
}

.arc {
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 48px);
  text-align: center;
}

.arc__title {
  max-width: 760px;
  margin-inline: auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 1.1vw + 17px, 34px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Les quatre photos, dans une pastille arrondie au milieu du titre. */
.faces {
  display: inline-flex;
  margin: 0 0.15em;
  padding: 0.08em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px rgba(0, 0, 0, 0.3);
  vertical-align: -0.38em;
}

.faces__img {
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff;
}

.faces__img + .faces__img {
  margin-left: -0.32em;
}

.arc__proof {
  max-width: 520px;
  margin: 16px auto 0;
  text-wrap: balance;
  color: var(--ink-2);
  font-size: clamp(15px, 0.2vw + 14px, 16px);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 3vw, 40px);
}

/* Dans les sections, les lignes du cadre sont continues (pas de fondu). */
.section::before,
.section::after {
  background: var(--line);
}

/* Ligne horizontale pleine largeur entre deux sections du cadre. */
.rule {
  height: 1px;
  background: var(--line);
}

.section__title {
  max-width: 640px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 1.8vw + 18px, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section__text {
  max-width: 560px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.45;
}

/* Numéros 01, 02… : bleu foncé pour rester lisible en petit. */
.num {
  color: var(--blue-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
}

/* ---------- Ce que vous recevez ---------- */

/* En-tête : titre à gauche, bouton à droite. */
.deliver__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.deliver .section__title {
  max-width: 600px;
}

.deliver__cta {
  flex: none;
}

/* Grille 2 × 2 : les cellules touchent les lignes du cadre. */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px));
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.card {
  padding: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
}

.card:nth-child(even) {
  border-left: 1px solid var(--line);
}

.card__visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(28, 28, 28, 0.07) 1px, transparent 1.4px) 0 0 / 8px 8px,
    #f5f5f5;
  box-shadow: inset 0 0 0 1px rgba(28, 28, 28, 0.04);
}

.card__body {
  margin-top: 20px;
}

.card__title {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.card__text {
  max-width: 420px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

/* Périmètre : une bande de trois colonnes sous la grille. */
.scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px));
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.scope__item {
  padding: 18px clamp(20px, 2.5vw, 32px);
}

.scope__item + .scope__item {
  border-left: 1px solid var(--line);
}

.scope dt {
  color: var(--blue-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.scope dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.deliver.section {
  padding-bottom: 0;
}

/* ---------- Visuels des livrables ---------- */

/* Base commune : petites interfaces blanches, posées sur la trame de points. */
.vx {
  position: relative;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.vx-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.06), 0 14px 30px -16px rgba(0, 0, 0, 0.3);
}

.vx-label {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vx-check {
  position: relative;
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
}

.vx-check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 5.5px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.v-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* 1. Stratégie : trois vidéos en séquence, puis l'appel réservé. */
.vx-path {
  width: min(340px, 92%);
  margin-bottom: 44px;
}

.vx-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vx-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(28, 28, 28, 0.25) 0 3px, transparent 3px 6px);
}

.vx-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 6px 6px 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.06), 0 12px 24px -14px rgba(0, 0, 0, 0.3);
}

.vx-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: linear-gradient(135deg, #3a3a3a, #141414);
}

.vx-thumb--2 { background: linear-gradient(135deg, #4a4a4a, #1e1e1e); }
.vx-thumb--3 { background: linear-gradient(135deg, #1b7fc4, #0a2c48); }

.vx-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
  transform: translate(-40%, -50%);
}

.vx-step-name {
  margin-top: 7px;
  font-weight: 600;
}

.vx-step-role {
  margin-top: 1px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vx-notif {
  position: absolute;
  right: -10px;
  bottom: -46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 9px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(1, 152, 247, 0.18), 0 16px 32px -14px rgba(1, 152, 247, 0.45);
}

.vx-notif .vx-check {
  width: 22px;
  height: 22px;
}

.vx-notif .vx-check::after {
  top: 5px;
  left: 8px;
  width: 5px;
  height: 9px;
}

.vx-notif b,
.vx-notif i {
  display: block;
}

.vx-notif b {
  font-weight: 600;
}

.vx-notif i {
  color: var(--ink-3);
  font-size: 10px;
  font-style: normal;
}

/* 2. Sujet : les questions entendues en call, la plus fréquente devient le sujet. */
.vx-q {
  width: min(320px, 92%);
  padding: 12px;
}

.vx-q ul {
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.vx-q li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--ink-2);
}

.vx-q li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 8px;
  background: #f2f2f2;
  transform-origin: left;
}

.vx-q li > * {
  position: relative;
}

.vx-q li span {
  flex: 1;
  white-space: nowrap;
}

.vx-q li b {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
}

.vx-q li.is-top {
  color: var(--ink);
  font-weight: 500;
}

.vx-q li.is-top::before {
  background: rgba(1, 152, 247, 0.13);
}

.vx-q li.is-top b {
  color: var(--blue-ink);
}

.vx-q em {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* 3. Script : une note vocale qui devient une page de script. */
.vx-script {
  width: min(330px, 92%);
  height: 160px;
}

.vx-voice {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.06), 0 12px 26px -14px rgba(0, 0, 0, 0.3);
}

.vx-play {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
}

.vx-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-35%, -50%);
}

.vx-wave,
.vx-meter {
  display: flex;
  align-items: center;
  gap: 2.5px;
}

.vx-wave i,
.vx-meter i {
  width: 2.5px;
  height: var(--h);
  border-radius: 2px;
  background: var(--ink);
  opacity: 0.7;
  transform-origin: center;
}

.vx-time {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.vx-link {
  position: absolute;
  top: 36px;
  left: 22px;
  width: 120px;
  height: 74px;
  color: var(--blue);
}

.vx-doc {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  padding: 12px 12px 10px;
}

.vx-doc-title {
  display: block;
  width: 72%;
  height: 6px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.85;
}

.vx-doc-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  height: 15px;
}

.vx-doc-row em {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vx-doc-row i {
  width: var(--w);
  height: 4px;
  border-radius: 2px;
  background: #e6e6e6;
  transform-origin: left;
}

.vx-doc-row.is-hot em {
  color: var(--blue-ink);
}

.vx-doc-row.is-hot i {
  height: 6px;
  background: rgba(1, 152, 247, 0.35);
}

.vx-caret {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 1.5px;
  height: 10px;
  background: var(--blue);
}

/* 4. Tournage : un viseur caméra et la checklist du setup. */
.vx-cam {
  width: min(300px, 86%);
  margin-right: 24px;
}

.vx-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: radial-gradient(ellipse 70% 80% at 50% 35%, #3c3c3c, #141414 75%);
  box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.2), 0 18px 36px -16px rgba(0, 0, 0, 0.5);
}

.vx-thirds {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 33.2%, rgba(255, 255, 255, 0.12) 33.2% 33.5%, transparent 33.5% 66.5%, rgba(255, 255, 255, 0.12) 66.5% 66.8%, transparent 66.8%),
    linear-gradient(transparent 33.2%, rgba(255, 255, 255, 0.12) 33.2% 33.8%, transparent 33.8% 66.2%, rgba(255, 255, 255, 0.12) 66.2% 66.8%, transparent 66.8%);
}

.vx-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 52%;
  transform: translateX(-50%);
}

.vx-focus {
  position: absolute;
  top: 31%;
  left: 50%;
  width: 21%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  transform: translateX(-50%);
}

.vx-hud {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.vx-hud--tl { top: 9px; left: 10px; }
.vx-hud--tr { top: 9px; right: 10px; }

.vx-meter {
  position: absolute;
  bottom: 9px;
  left: 10px;
  align-items: flex-end;
  height: 12px;
}

.vx-meter i {
  width: 2px;
  background: #fff;
  opacity: 0.8;
  transform-origin: bottom;
}

.vx-checks {
  position: absolute;
  right: -24px;
  bottom: -18px;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
}

.vx-checks span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

/* Le fond des cartes, un peu plus haut pour ces interfaces. */
.card__visual {
  height: clamp(200px, 17vw, 236px);
}

/* ---------- Animations (une fois la carte à l'écran) ---------- */

.is-live .vx-step {
  animation: vx-step 5.6s var(--ease) infinite both;
  animation-delay: calc(var(--i) * 0.7s);
}

@keyframes vx-step {
  0%, 30%, 100% { box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.06), 0 12px 24px -14px rgba(0, 0, 0, 0.3); transform: none; }
  10%, 22% { box-shadow: 0 0 0 1.5px var(--blue), 0 14px 26px -12px rgba(1, 152, 247, 0.45); transform: translateY(-3px); }
}

.is-live .vx-notif {
  animation: vx-notif 5.6s var(--ease) infinite both;
}

@keyframes vx-notif {
  0%, 36% { opacity: 0; transform: translateY(8px) scale(0.96); }
  44%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}

.is-live .vx-q li::before {
  animation: vx-grow 1.1s var(--ease) both;
}

.is-live .vx-q li:nth-child(2)::before { animation-delay: 0.12s; }
.is-live .vx-q li:nth-child(3)::before { animation-delay: 0.24s; }

.is-live .vx-q em {
  animation: vx-pop 0.5s var(--ease) 1s both;
}

@keyframes vx-grow {
  from { transform: scaleX(0); }
}

@keyframes vx-pop {
  from { opacity: 0; transform: scale(0.6); }
}

.is-live .vx-wave i {
  animation: vx-wave 1.2s ease-in-out infinite;
  animation-delay: var(--d);
}

.is-live .vx-meter i {
  animation: vx-wave 0.9s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes vx-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

.is-live .vx-doc-row i {
  animation: vx-grow 0.7s var(--ease) both;
  animation-delay: calc(0.4s + var(--i) * 0.35s);
}

.is-live .vx-caret,
.is-live .vx-hud .v-dot {
  animation: vx-blink 1.1s steps(2, start) infinite;
}

@keyframes vx-blink {
  to { visibility: hidden; }
}

.is-live .vx-focus {
  animation: vx-focus 2.4s var(--ease) infinite;
}

@keyframes vx-focus {
  0%, 100% { transform: translateX(-50%) scale(1); }
  12% { transform: translateX(-50%) scale(1.18); }
  24% { transform: translateX(-50%) scale(1); }
}

.is-live .vx-checks span {
  animation: vx-pop 0.45s var(--ease) both;
  animation-delay: calc(0.3s + var(--i) * 0.25s);
}

/* Mobile et tablette : bouton sous le titre, une cellule par ligne. */
@media (max-width: 767px) {
  .deliver__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards,
  .scope {
    grid-template-columns: minmax(0, 1fr);
  }

  .card__visual {
    height: 210px;
  }

  .card__body {
    margin-top: 16px;
  }

  .card:nth-child(even) {
    border-left: 0;
  }

  .scope__item + .scope__item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 479px) {
  .deliver__cta {
    align-self: stretch;
  }

  .deliver__cta .btn {
    width: 100%;
  }
}

/* ---------- Miniatures ---------- */

.videos .section__title {
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 28px);
}

.video {
  min-width: 0;
}

.video__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  outline: 1px solid rgba(28, 28, 28, 0.06);
  outline-offset: -1px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}

/* Comme sous une vidéo YouTube : photo, titre, auteur, puis les chiffres. */
.video__body {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.video__avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.video__text {
  min-width: 0;
}

.video__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.video__author {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 14px;
}

.video__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video__minutes {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.video__minutes::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 152, 247, 0.14);
}

.video__minutes strong {
  color: var(--ink);
  font-weight: 500;
}

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

/* Mobile : les cartes défilent à l'horizontale, la suivante dépasse un peu. */
@media (max-width: 767px) {
  .videos__grid {
    display: flex;
    gap: 16px;
    margin-inline: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }

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

  .video {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
}

/* ---------- Comment ça marche ---------- */

.process {
  padding-top: clamp(56px, 7vw, 96px);
}

.process__head {
  padding-inline: clamp(20px, 3vw, 40px);
  text-align: center;
}

.process__head .section__title,
.process__head .section__text {
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step {
  padding: 28px clamp(18px, 2vw, 28px) 32px;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step__time {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(34px, 1.6vw + 24px, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step__title {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.step__text {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

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

  .step:nth-child(odd) {
    border-left: 0;
  }

  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* Mobile : on garde la grille 2 × 2, en plus compact. */
@media (max-width: 559px) {
  .step {
    padding: 22px 16px 24px;
  }

  .step__time {
    font-size: 30px;
  }

  .step__title {
    font-size: 16px;
  }

  .step__text {
    font-size: 14px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* « + » qui devient « − » à l'ouverture. */
.faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__item p {
  padding: 0 44px 22px 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 899px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Appel final ---------- */

.final {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 112px) 20px;
  text-align: center;
}

/* Trame de points fixe, en écho au hero. */
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(28, 28, 28, 0.15) 1.1px, transparent 1.6px) 0 0 / 6px 6px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
}

.final__title {
  max-width: 14em;
  margin-inline: auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 2.4vw + 18px, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.final__text {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 15px;
}

.final__cta {
  margin-top: 32px;
}

@media (max-width: 479px) {
  .final__cta .btn {
    width: 100%;
  }
}

/* ---------- Apparition ---------- */

@keyframes rise {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(14px);
  }
}

@keyframes word {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(0.2em);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: fade 0.8s ease both;
  }

  h1 .w {
    display: inline-block;
    animation: word 0.9s var(--ease) both;
    animation-delay: calc(140ms + var(--i) * 45ms);
  }

  .eyebrow,
  .hero__sub,
  .hero__cta,
  .hero__note,
  .proof {
    animation: rise 0.9s var(--ease) both;
  }


  .eyebrow { animation-delay: 40ms; }
  .hero__sub { animation-delay: 560ms; }
  .hero__cta { animation-delay: 680ms; }
  .hero__note { animation-delay: 760ms; }
  .proof { animation-delay: 880ms; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::before {
    animation: none;
  }
}

/* ---------- Fenêtre de candidature ---------- */

/* Plein écran sur mobile, fenêtre centrée à partir de 768 px. */
.apply {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
}

.apply[open] {
  display: flex;
  flex-direction: column;
}

.apply::backdrop {
  background: rgba(28, 28, 28, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.apply__bar {
  display: flex;
  flex: none;
  justify-content: flex-end;
  padding: 6px;
  border-bottom: 1px solid var(--line);
}

.apply__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.apply__close:hover {
  background: #f5f5f5;
}

.apply__frame {
  flex: 1;
  min-height: 0;
}

/* Une étape à la fois : l'intro, puis le formulaire (qui se charge pendant l'intro). */
.apply[data-step="intro"] .apply__frame,
.apply[data-step="form"] .apply__intro {
  display: none;
}

.apply__intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 64px;
  text-align: center;
}

/* La trame de points de la page, en fondu autour du texte. */
.apply__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(28, 28, 28, 0.16) 0.6px, transparent 1px) 0 0 / 3px 3px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent);
}

.apply__title {
  max-width: 13em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 1.6vw + 22px, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.apply__text {
  max-width: 440px;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}

.apply__text + .apply__text {
  margin-top: 8px;
}

.apply__details {
  margin-top: 20px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apply__start {
  margin-top: 32px;
}

@media (max-width: 479px) {
  .apply__start {
    align-self: stretch;
  }
}

.apply__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .apply {
    width: min(760px, calc(100% - 48px));
    height: min(820px, calc(100dvh - 48px));
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
  }
}
