/* ============================================================
   Landing v3 (21/10/2026), en local seulement.
   Base : essai 1 validé par Mehdi (DA LP/essai-1-hero-partie-03) :
   kit des cockpits, couleurs de la marque, Archivo et IBM Plex Mono.
   Chaque partie : repère, étiquette, titre (2 lignes au plus),
   texte court, un élément visuel ; une seule mise en avant de texte.
   Mouvements une fois, à l'entrée dans l'écran ; mouvement réduit :
   état final direct (la classe v3-js n'est alors jamais posée).
   ============================================================ */

.v3 {
  /* Neutres du kit */
  --ink: #1c1d24;
  --muted: #62656f;
  --paper: #f7f8fa;
  --white: #ffffff;
  --black: #17181d;
  --line: #e0e2e7;
  --control-line: #878a95;
  --focus: #554dbb;

  /* Intensité Discrète du kit */
  --halo: .25;
  --halo-hover: .40;

  /* Couleurs de la marque */
  --c1: #00a5e3;
  --c2: #e80071;
  --c3: #ffd400;
  --spectrum: linear-gradient(115deg, var(--c1) 3%, var(--c2) 48%, var(--c3) 97%);
  --selection-line: linear-gradient(100deg, var(--c1), var(--c2));

  --v3-titre: var(--v3-archivo), "Archivo", Arial, Helvetica, sans-serif;
  --v3-mono: var(--font-plex-mono), "IBM Plex Mono", "Courier New", monospace;

  --marge: 64px;
  --contenu: 1312px;

  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--v3-titre);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body:has(.v3) { background: #f7f8fa; }

@media (max-width: 767px) {
  .v3 { --marge: 20px; font-size: 16px; }
}

.v3 *, .v3 *::before, .v3 *::after { box-sizing: border-box; }
.v3 :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.v3 a { color: inherit; }
.v3 img { max-width: 100%; height: auto; }

.v3-conteneur {
  max-width: var(--contenu);
  margin-inline: auto;
  padding-inline: var(--marge);
}

/* ------------------------------------------------------------
   Éléments du kit (repris de l'essai 1)
   ------------------------------------------------------------ */

.v3-etiquette {
  font-family: var(--v3-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

.v3-bouton {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff !important;
  font-family: var(--v3-titre);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--black), var(--black)) padding-box, var(--spectrum) border-box;
  box-shadow: inset 0 1px 0 #ffffff13, 0 1px 2px #1c1d2420;
  transition: transform 100ms ease;
}
.v3-bouton::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: var(--spectrum);
  filter: blur(7px);
  opacity: var(--halo);
  z-index: -2;
  transition: opacity 140ms ease;
}
.v3-bouton::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: linear-gradient(#ffffff05, transparent), var(--black);
  z-index: -1;
}
.v3-bouton:hover::before { opacity: var(--halo-hover); }
.v3-bouton:hover::after { background: #292a32; }
.v3-bouton:active { transform: translateY(1px); }
.v3-bouton--petit { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.v3-bouton--petit::after { border-radius: 8px; }

@media (max-width: 767px) {
  .v3-actions .v3-bouton { width: 100%; }
}
@media (max-width: 359px) {
  .v3-bouton { font-size: 14px; padding: 0 16px; }
}

.v3-repere {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  font-family: var(--v3-mono);
  font-weight: 500;
  font-size: 13px;
  background: linear-gradient(var(--black), var(--black)) padding-box, var(--spectrum) border-box;
}
.v3-repere::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: var(--spectrum);
  filter: blur(8px);
  opacity: var(--halo);
  z-index: -2;
}
.v3-repere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--black);
  z-index: -1;
}

.v3-carte {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* Coche du kit : case vide, puis coche blanche sur carré noir à fin
   bord du mélange, l'une après l'autre (--i). */
.v3-coches { display: grid; }
.v3-coches li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.v3-coches li:last-child { border-bottom: 1px solid var(--line); }
.v3-coche {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: linear-gradient(var(--black), var(--black)) padding-box, var(--spectrum) border-box;
}
.v3-coche::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Pastilles (métiers, étapes) */
.v3-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-pastille {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--c, var(--ink)) 32%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c, var(--ink)) 10%, var(--white));
  color: var(--ink);
  font-family: var(--v3-mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Mises en avant : une par partie au plus. */
.v3-surligne {
  background-image: linear-gradient(color-mix(in srgb, var(--c3) 62%, transparent), color-mix(in srgb, var(--c3) 62%, transparent));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 100% .45em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.v3-souligne {
  background-image: var(--spectrum);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 4px;
  padding-bottom: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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

.v3-entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.v3-entete-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.v3-logo { display: block; flex: none; }
.v3-logo img { display: block; width: 132px; height: auto; }
.v3-entete-liens {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.v3-entete-liens a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.v3-entete-liens a:hover { color: var(--ink); }

@media (max-width: 1099px) {
  .v3-entete-liens { display: none; }
  .v3-entete-inner { justify-content: space-between; }
}
@media (max-width: 767px) {
  .v3-entete-inner { height: 64px; }
  .v3-entete-bouton { display: none; }
  .v3-logo img { width: 116px; }
}

/* ------------------------------------------------------------
   Parties : même anatomie partout
   ------------------------------------------------------------ */

.v3-partie {
  padding-block: 112px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}
.v3-partie--blanc { background: var(--white); }
.v3-partie-entete {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.v3-titre {
  font-weight: 800;
  font-size: clamp(20px, 6.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  max-width: 24em;
  text-wrap: balance;
}
.v3-titre--long { font-size: clamp(17px, 5.5vw, 40px); max-width: none; }
.v3-intro {
  max-width: 40em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 48px;
}
.v3-actions { margin-top: 48px; }

@media (min-width: 768px) {
  .v3-titre { font-size: clamp(30px, 2.8vw, 40px); }
}
@media (max-width: 899px) {
  .v3-partie { padding-block: 72px; }
  .v3-intro { font-size: 17px; margin-bottom: 36px; }
  .v3-actions { margin-top: 36px; }
}

/* ------------------------------------------------------------
   Hero : pastille, titre sur trois lignes avec « marketing. » en
   grand (essai demandé par Mehdi), photo avec l'écho de couleur
   de la frange.
   ------------------------------------------------------------ */

.v3-hero { padding-block: 72px 104px; }
/* Conteneur de mesure au téléphone, quand la colonne de texte se fond
   dans la grille ; sur ordinateur, c'est la colonne de texte. */
.v3-hero-grille {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 25vw, 360px);
  gap: 64px;
  align-items: center;
}
.v3-hero-texte { container-type: inline-size; }

.v3-pastille-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--v3-mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 26px;
}
.v3-pastille-hero::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spectrum);
}

/* « Pour scaler ton business, » vaut 12,3 fois la taille de la police
   (mesuré) : c'est la ligne qui fixe la taille des deux premières
   lignes ; 12,6 laisse un peu de marge. */
.v3-hero-titre {
  --t: min(64px, 100cqi / 12.6);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 32px;
}
.v3-hero-ligne {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  font-size: var(--t);
  line-height: 1.08;
  padding-bottom: .04em;
}
.v3-hero-ligne--grand {
  font-size: calc(var(--t) * 1.9);
  line-height: .98;
  letter-spacing: -.04em;
  padding: .02em .1em .1em 0;
  margin-left: -.02em;
}
.v3-hero-ligne-inner { display: inline-block; }

.v3-frange { position: relative; display: inline-block; }
.v3-frange-1, .v3-frange-2, .v3-frange-3 {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  user-select: none;
}
.v3-frange-1 { color: var(--c1); transform: translate(-.04em, -.035em); }
.v3-frange-2 { color: var(--c2); transform: translate(.04em, -.018em); }
.v3-frange-3 { color: var(--c3); transform: translate(-.018em, .04em); }
.v3-frange-n { position: relative; }

.v3-hero-intro {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 34em;
}
.v3-deux { display: grid; gap: 10px; margin: 0 0 22px; max-width: 36em; }
.v3-deux li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}
.v3-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: -1px;
  border-radius: 7px;
  background: var(--black);
  color: #fff;
  font-family: var(--v3-mono);
  font-size: 12px;
  font-weight: 500;
}
.v3-hero-deleguer {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.v3-hero-charge {
  max-width: 36em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.v3-hero .v3-actions { margin-top: 32px; }

/* Photo : le rond garde ses trois échos de couleur, comme la frange. */
.v3-photo { position: relative; margin: 0; }
.v3-photo-rond { position: relative; isolation: isolate; }
.v3-photo-rond img { display: block; width: 100%; height: auto; border-radius: 50%; background: var(--line); }
.v3-photo-rond::before,
.v3-photo-rond::after,
.v3-photo-echo {
  content: "";
  position: absolute;
  inset: 1.5%;
  border-radius: 50%;
  mix-blend-mode: multiply;
  z-index: -1;
}
.v3-photo-rond::before { background: var(--c1); transform: translate(-3.2%, -2.4%); }
.v3-photo-rond::after { background: var(--c2); transform: translate(3.2%, -1.2%); }
.v3-photo-echo { background: var(--c3); transform: translate(-1.2%, 3.2%); }
.v3-photo-nom {
  position: absolute;
  left: -8%;
  bottom: 4%;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 20px #1c1d2414;
}
.v3-photo-nom strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.v3-photo-nom span {
  font-family: var(--v3-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 899px) {
  .v3-hero { padding-block: 36px 72px; }
  .v3-hero-grille { grid-template-columns: 1fr; gap: 0; }
  .v3-hero-titre { --t: min(46px, 100cqi / 12.6); margin-bottom: 28px; }
  .v3-hero .v3-photo {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 28px;
    order: 0;
  }
  .v3-hero .v3-photo-rond { width: 108px; flex: none; }
  .v3-hero .v3-photo-nom {
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .v3-hero-texte { display: contents; }
  .v3-hero-grille > .v3-photo { order: 1; }
  .v3-hero-suite { order: 2; }
  .v3-hero-deleguer { font-size: 21px; }
}

/* ------------------------------------------------------------
   01 Tout ce que je prends en charge : quatre pôles de couleur
   ------------------------------------------------------------ */

.v3-poles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.v3-pole {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  overflow: hidden;
}
.v3-pole::before {
  /* bande de couleur en haut de la carte */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--c, var(--spectrum));
}
.v3-pole--pilotage::before { background: var(--spectrum); }
.v3-pole-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.v3-pole-icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--c, var(--ink)) 14%, var(--white));
  color: var(--c, var(--ink));
}
.v3-pole--acquisition .v3-pole-icone { color: var(--ink); }
.v3-pole--pilotage .v3-pole-icone { background: var(--black); color: #fff; }
.v3-pole-icone svg { width: 28px; height: 28px; }
.v3-pole-num {
  font-family: var(--v3-mono);
  font-size: 12px;
  color: var(--muted);
}
.v3-pole h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0 0 8px;
}
.v3-pole p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
}
.v3-pole .v3-pastilles { margin-top: auto; }

.v3-garde-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}
.v3-garde {
  align-self: start;
  position: relative;
  padding: 28px 28px 28px 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.v3-garde::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 3px;
  background: var(--selection-line);
}
.v3-garde p { margin: 0; }
.v3-cote { padding: 28px; }
.v3-cote h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.v3-cote .v3-coches li { font-size: 17px; }
.v3-temps-marketing {
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--muted);
}
.v3-chiffre-inline {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 1099px) {
  .v3-poles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .v3-garde-grille { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .v3-poles { grid-template-columns: 1fr; }
  .v3-garde { padding: 4px 0 4px 22px; font-size: 17px; }
  .v3-garde::before { top: 4px; bottom: 4px; }
  .v3-cote { padding: 22px; }
}

/* ------------------------------------------------------------
   02 Ils m'ont fait confiance : cadres photo à coins de couleur
   ------------------------------------------------------------ */

.v3-confiance-tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.v3-confiance-tete .v3-titre { margin: 0; }
.v3-confiance-chiffre {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
}
.v3-confiance-chiffre strong { color: var(--ink); font-weight: 800; }
.v3-clients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
.v3-client { margin: 0; }
.v3-client-cadre {
  position: relative;
  padding: 8px;
}
.v3-client-cadre::before,
.v3-client-cadre::after {
  /* coins de couleur, l'encadré que Mehdi aime dans la V1 */
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 4px;
}
.v3-client-cadre::before {
  left: 0;
  top: 0;
  border-left: 3px solid var(--cc, var(--c1));
  border-top: 3px solid var(--cc, var(--c1));
}
.v3-client-cadre::after {
  right: 0;
  bottom: 0;
  border-right: 3px solid var(--cc, var(--c1));
  border-bottom: 3px solid var(--cc, var(--c1));
}
.v3-client-cadre img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.v3-client figcaption { margin-top: 12px; padding-inline: 8px; }
.v3-client-nom { display: block; font-weight: 700; font-size: 17px; line-height: 1.3; }
.v3-client-sous {
  display: block;
  margin-top: 4px;
  font-family: var(--v3-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 899px) {
  .v3-confiance-tete { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .v3-confiance-chiffre { text-align: left; }
  .v3-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}

/* ------------------------------------------------------------
   03 Pourquoi tu restes bloqué : schéma TOI au centre
   ------------------------------------------------------------ */

.v3-bloque-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.v3-schema { position: relative; margin: 0; }
.v3-schema svg { display: block; width: 100%; height: auto; overflow: visible; }
.v3-schema-trait {
  fill: none;
  stroke: color-mix(in srgb, var(--control-line) 60%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}
.v3-schema-satellite rect { fill: var(--white); stroke: var(--line); }
.v3-schema-satellite text {
  font-family: var(--v3-mono);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  fill: var(--ink);
}
.v3-schema-pastille { r: 4; }
.v3-schema-toi text {
  font-family: var(--v3-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  fill: #fff;
}
.v3-schema-halo { filter: blur(22px); opacity: .35; }

.v3-blocages { display: grid; }
.v3-blocage {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.v3-blocage:last-child { border-bottom: 1px solid var(--line); }
.v3-blocage-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--v3-mono);
  font-size: 12px;
  color: var(--muted);
}
.v3-blocage h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 2px 0 8px;
}
.v3-blocage p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.v3-blocage p:last-child { margin-bottom: 0; }
.v3-conclusion {
  max-width: 38em;
  margin: 48px 0 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 899px) {
  .v3-bloque-grille { grid-template-columns: 1fr; gap: 32px; }
  .v3-schema { max-width: 420px; margin-inline: auto; width: 100%; }
  .v3-conclusion { font-size: 18px; margin-top: 32px; }
}

/* ------------------------------------------------------------
   Et ce n'est pas de ta faute : la partie sombre, une phrase forte
   ------------------------------------------------------------ */

.v3-faute {
  position: relative;
  overflow: hidden;
  padding-block: 112px;
  background: var(--black);
  color: #fff;
}
.v3-faute::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--spectrum);
  filter: blur(120px);
  opacity: .22;
}
.v3-faute .v3-conteneur { position: relative; }
.v3-faute .v3-etiquette { color: #fff; }
.v3-faute-titre {
  font-weight: 800;
  font-size: clamp(20px, 6.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.v3-faute p { margin: 0; }
.v3-faute-avant { max-width: 38em; font-size: 18px; line-height: 1.6; color: color-mix(in srgb, var(--white) 78%, transparent); }
.v3-citation {
  max-width: 21em;
  margin: 44px 0 !important;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.v3-citation-guillemet { color: var(--c3); }
.v3-faute-apres { max-width: 34em; font-size: 20px; line-height: 1.55; color: color-mix(in srgb, var(--white) 92%, transparent); }

@media (min-width: 768px) {
  .v3-faute-titre { font-size: clamp(30px, 2.8vw, 40px); }
}
@media (max-width: 899px) {
  .v3-faute { padding-block: 72px; }
  .v3-faute-avant { font-size: 16px; }
  .v3-faute-apres { font-size: 17px; }
  .v3-citation { margin: 32px 0 !important; }
}

/* ------------------------------------------------------------
   04 Jérôme : photo sur fond rose, gros chiffre, trois temps
   ------------------------------------------------------------ */

.v3-jerome-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}
.v3-jerome-photo { position: relative; max-width: 340px; margin: 0; }
.v3-jerome-photo::before {
  /* le fond rose de la V1, que Mehdi aime */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--c2) 26%, var(--white));
  transform: translate(16px, 16px);
}
.v3-jerome-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.v3-jerome-chiffre { margin: 44px 0 0; display: grid; gap: 4px; }
.v3-jerome-chiffre-nb {
  font-weight: 800;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
}
.v3-jerome-chiffre-leg {
  font-family: var(--v3-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.v3-temps-liste { position: relative; display: grid; gap: 34px; }
.v3-temps-liste::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--c1), var(--c2), var(--c3));
}
.v3-temps { position: relative; padding-left: 40px; }
.v3-temps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--black);
  box-shadow: 0 0 0 4px var(--paper);
}
.v3-partie--blanc .v3-temps::before { box-shadow: 0 0 0 4px var(--white); }
.v3-temps .v3-etiquette { display: block; margin-bottom: 8px; color: var(--muted); }
.v3-temps p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.v3-tunnel { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v3-tunnel-fleche { color: var(--control-line); font-size: 14px; }
.v3-temps--fin p { font-size: 21px; line-height: 1.5; }
.v3-lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.v3-lien:hover { color: var(--c2); border-color: var(--c2); }

@media (max-width: 899px) {
  .v3-jerome-grille { grid-template-columns: 1fr; gap: 48px; }
  .v3-jerome-photo { max-width: 260px; }
  .v3-jerome-chiffre { margin-top: 36px; }
  .v3-temps p { font-size: 17px; }
  .v3-temps--fin p { font-size: 19px; }
}

/* ------------------------------------------------------------
   05 Le système : accordéon et cockpit
   ------------------------------------------------------------ */

.v3-systeme-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
}
.v3-accordeon { display: grid; gap: 12px; }
.v3-etape { overflow: hidden; }
.v3-etape-tete {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.v3-etape-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-family: var(--v3-mono);
  font-size: 13px;
  color: var(--muted);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.v3-etape.est-ouverte .v3-etape-num {
  background: linear-gradient(var(--black), var(--black)) padding-box, var(--spectrum) border-box;
  border-color: transparent;
  color: #fff;
}
.v3-etape-titre { font-size: 21px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.v3-etape-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 250ms ease;
}
.v3-etape.est-ouverte .v3-etape-chevron { transform: rotate(-135deg) translate(-3px, -3px); }
.v3-etape-corps {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(.2, .8, .3, 1);
}
.v3-etape.est-ouverte .v3-etape-corps { grid-template-rows: 1fr; }
.v3-etape-corps > div { min-height: 0; overflow: hidden; }
.v3-etape-h { margin: 0; font: inherit; }
.v3-insecable { white-space: nowrap; }
.v3-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.v3-etape-corps p {
  margin: 0;
  padding: 0 22px 22px 76px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.v3-trois-mois {
  margin: 20px 0 0;
  padding-left: 22px;
  font-size: 16px;
  color: var(--muted);
}

.v3-cockpit { position: sticky; top: 104px; margin: 0; }
.v3-fenetre { overflow: hidden; box-shadow: 0 18px 40px #1c1d2412; }
.v3-fenetre-barre {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.v3-fenetre-barre i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.v3-fenetre-barre span {
  margin-left: 10px;
  font-family: var(--v3-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.v3-fenetre img { display: block; width: 100%; height: auto; }
.v3-fenetre--seconde {
  position: relative;
  width: 84%;
  margin: -16% 0 0 auto;
}
.v3-encart {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin: 16px;
  border: 1.5px dashed var(--control-line);
  border-radius: 10px;
  font-family: var(--v3-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 899px) {
  .v3-systeme-grille { grid-template-columns: 1fr; gap: 32px; }
  .v3-cockpit { position: static; }
  .v3-etape-tete { padding: 16px; gap: 14px; }
  .v3-etape-titre { font-size: 19px; }
  .v3-etape-corps p { padding: 0 16px 18px 16px; font-size: 16px; }
  .v3-trois-mois { padding-left: 0; }
}

/* ------------------------------------------------------------
   06 Je veux que tu restes dans ton métier : le portrait
   ------------------------------------------------------------ */

.v3-metier-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
  align-items: center;
}
.v3-metier .v3-photo { max-width: 340px; }
.v3-metier-texte p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.v3-metier-texte p:last-child { margin-bottom: 0; }
.v3-metier-fort {
  font-size: 27px !important;
  line-height: 1.3 !important;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink) !important;
  margin: 28px 0 !important;
}

@media (max-width: 899px) {
  .v3-metier-grille { grid-template-columns: 1fr; gap: 36px; }
  .v3-metier .v3-photo { max-width: 220px; }
  .v3-metier .v3-photo-nom { left: auto; right: -12%; }
  .v3-metier-texte p { font-size: 17px; }
  .v3-metier-fort { font-size: 22px !important; }
}

/* ------------------------------------------------------------
   07 L'appel : deux objectifs, les coches, le bouton
   ------------------------------------------------------------ */

/* Le cadre de l'appel : fond blanc à fin bord du mélange, halo flou
   derrière (sous le fond, pour ne pas teinter le texte). */
.v3-appel-cadre {
  position: relative;
  isolation: isolate;
  padding: 56px;
  border-radius: 20px;
}
.v3-appel-cadre::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  background: var(--spectrum);
  filter: blur(36px);
  opacity: .22;
  z-index: -2;
}
.v3-appel-cadre::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--spectrum) border-box;
  z-index: -1;
}
.v3-objectifs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 40px;
}
.v3-objectif { padding: 24px; background: var(--paper); border-color: var(--line); }
.v3-objectif-nb {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -.035em;
}
.v3-objectif p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.v3-appel-texte { max-width: 40em; font-size: 19px; line-height: 1.55; margin: 0 0 18px; }
.v3-appel .v3-coches { max-width: 44em; }
.v3-appel .v3-coches li { font-size: 17px; }
.v3-appel-fin { margin: 18px 0 0; font-size: 17px; color: var(--muted); }

@media (max-width: 767px) {
  /* Le cadre réduit la largeur : le titre descend d'un cran pour tenir
     sur deux lignes jusqu'à 320 px. */
  .v3-appel .v3-titre { font-size: clamp(20px, 6.6vw, 26px); }
}
@media (max-width: 899px) {
  .v3-appel-cadre { padding: 28px 20px; }
  .v3-objectifs { grid-template-columns: 1fr; margin-bottom: 28px; }
  .v3-appel-texte { font-size: 17px; }
}

/* ------------------------------------------------------------
   Pour aller plus loin, pied de page
   ------------------------------------------------------------ */

.v3-loin {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.v3-loin a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.v3-loin a:hover { border-color: var(--control-line); transform: translateY(-2px); }
.v3-loin-num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--v3-mono);
  font-size: 12px;
  color: var(--muted);
}
.v3-loin strong { font-size: 18px; font-weight: 700; line-height: 1.35; }
.v3-fleche {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--black);
  color: #fff;
  font-size: 16px;
}
.v3-pied {
  padding-block: 36px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.v3-pied .v3-conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.v3-pied a { text-decoration: none; }

@media (max-width: 899px) {
  .v3-loin { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Pages d'approfondissement
   ------------------------------------------------------------ */

.v3-page-tete { padding-block: 72px 56px; }
.v3-page-titre {
  font-weight: 800;
  font-size: clamp(30px, 8.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.v3-page-sous { margin: 0; font-size: 20px; color: var(--muted); }
.v3-retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--muted) !important;
  margin-bottom: 28px;
}
.v3-retour:hover { color: var(--ink) !important; }

.v3-fiches { display: grid; gap: 20px; }
.v3-fiche {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  padding: 32px;
  scroll-margin-top: 96px;
}
.v3-fiche-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.v3-fiche h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 6px; }
.v3-fiche-activite {
  display: block;
  margin: 0 0 22px;
  font-family: var(--v3-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.v3-fiche-resultat {
  padding: 18px 20px;
  margin: 0 0 22px;
  border-radius: 12px;
  background: var(--paper);
  border-left: 4px solid var(--fc, var(--c1));
}
.v3-fiche-resultat h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.v3-fiche-resultat p { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.v3-fiche-label {
  margin: 0 0 8px;
  font-family: var(--v3-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.v3-fiche-texte p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.v3-fiche-texte p:last-child { margin-bottom: 0; }
.v3-fiche-visuels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.v3-fiche-visuels img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); }

.v3-pubs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.v3-pub { margin: 0; padding: 16px; }
.v3-pub img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.v3-pub h2 {
  margin: 18px 4px 6px;
  font-family: var(--v3-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.v3-pub p { margin: 0 4px 6px; font-size: 19px; font-weight: 700; line-height: 1.35; }

.v3-un-seul-grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}
.v3-un-seul-texte p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.v3-convergence { margin: 0; }
.v3-convergence svg { display: block; width: 100%; height: auto; overflow: visible; }
.v3-convergence-trait { fill: none; stroke: color-mix(in srgb, var(--control-line) 60%, transparent); stroke-width: 1.5; }
.v3-convergence-role rect { fill: var(--white); stroke: var(--line); }
.v3-convergence-role text {
  font-family: var(--v3-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  fill: var(--muted);
}
.v3-convergence-centre text { font-family: var(--v3-titre); font-weight: 800; font-size: 17px; fill: #fff; }

@media (max-width: 899px) {
  .v3-page-tete { padding-block: 40px 32px; }
  .v3-page-sous { font-size: 17px; }
  .v3-fiche { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .v3-fiche-photo { max-width: 140px; }
  .v3-fiche h2 { font-size: 22px; }
  .v3-pubs { grid-template-columns: 1fr; gap: 18px; }
  .v3-un-seul-grille { grid-template-columns: 1fr; gap: 32px; }
  .v3-un-seul-texte p { font-size: 17px; }
}

/* ------------------------------------------------------------
   Mouvements : seulement quand le script les active (v3-js),
   jamais avec le réglage mouvement réduit.
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  /* Entrées au défilement */
  .v3-js [data-revele] {
    opacity: 0;
    translate: 0 14px;
    transition: opacity 500ms ease, translate 600ms cubic-bezier(.2, .8, .3, 1);
    transition-delay: var(--d, 0ms);
  }
  .v3-js [data-revele].est-vu { opacity: 1; translate: none; }

  /* Surlignage et soulignement tracés de gauche à droite */

  /* Coches, l'une après l'autre */
  .v3-js [data-joue] .v3-coche {
    background: var(--white);
    border-color: var(--control-line);
    transition: background 200ms ease, border-color 200ms ease;
    transition-delay: calc(var(--i, 0) * 380ms + 250ms);
  }
  .v3-js [data-joue] .v3-coche::after {
    transform: rotate(45deg) scale(0);
    transition: transform 220ms cubic-bezier(.2, .8, .3, 1);
    transition-delay: calc(var(--i, 0) * 380ms + 310ms);
  }
  .v3-js [data-joue].est-vu .v3-coche {
    background: linear-gradient(var(--black), var(--black)) padding-box, var(--spectrum) border-box;
    border-color: transparent;
  }
  .v3-js [data-joue].est-vu .v3-coche::after { transform: rotate(45deg) scale(1); }

  /* Traits des schémas tracés depuis le centre */
  .v3-js [data-joue] .v3-schema-trait,
  .v3-js [data-joue] .v3-convergence-trait {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 700ms ease;
    transition-delay: calc(var(--i, 0) * 120ms + 200ms);
  }
  .v3-js [data-joue].est-vu .v3-schema-trait,
  .v3-js [data-joue].est-vu .v3-convergence-trait { stroke-dashoffset: 0; }
  .v3-js [data-joue] .v3-schema-satellite,
  .v3-js [data-joue] .v3-convergence-role {
    opacity: 0;
    transition: opacity 400ms ease;
    transition-delay: calc(var(--i, 0) * 120ms + 650ms);
  }
  .v3-js [data-joue].est-vu .v3-schema-satellite,
  .v3-js [data-joue].est-vu .v3-convergence-role { opacity: 1; }

  /* Étapes du tunnel de Jérôme, allumées l'une après l'autre */
  .v3-js [data-joue] .v3-tunnel .v3-pastille {
    opacity: .3;
    transition: opacity 300ms ease;
    transition-delay: calc(var(--i, 0) * 160ms + 300ms);
  }
  .v3-js [data-joue].est-vu .v3-tunnel .v3-pastille { opacity: 1; }

  /* Entrée du hero au chargement, comme l'essai 1 : en pur CSS pour
     ne pas faire clignoter le premier écran avant le script. */
  .v3-hero [data-entree] { animation: v3-apparait 550ms cubic-bezier(.2, .8, .3, 1) var(--d, 0ms) both; }
  .v3-hero .v3-hero-ligne-inner { animation: v3-monte 700ms cubic-bezier(.2, .8, .3, 1) both; }
  .v3-hero .v3-hero-ligne:nth-child(2) .v3-hero-ligne-inner { animation-delay: 110ms; }
  .v3-hero .v3-hero-ligne:nth-child(3) .v3-hero-ligne-inner { animation-delay: 220ms; }
  .v3-hero .v3-frange-1 { animation: v3-frange-1 450ms cubic-bezier(.2, .8, .3, 1) 950ms both; }
  .v3-hero .v3-frange-2 { animation: v3-frange-2 450ms cubic-bezier(.2, .8, .3, 1) 950ms both; }
  .v3-hero .v3-frange-3 { animation: v3-frange-3 450ms cubic-bezier(.2, .8, .3, 1) 950ms both; }
}

/* ?anim=0, pour les mesures : l'entrée du hero est coupée aussi. */
.v3-fixe *, .v3-fixe *::before, .v3-fixe *::after { animation: none !important; }

@keyframes v3-apparait { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: none; } }
@keyframes v3-monte { from { transform: translateY(110%); } to { transform: none; } }
@keyframes v3-frange-1 { from { transform: translate(-.12em, -.09em); } to { transform: translate(-.04em, -.035em); } }
@keyframes v3-frange-2 { from { transform: translate(.12em, -.045em); } to { transform: translate(.04em, -.018em); } }
@keyframes v3-frange-3 { from { transform: translate(-.045em, .12em); } to { transform: translate(-.018em, .04em); } }

