/* =========================================================================
   Tiphaine Bach - site recrutement / reconversion iad
   Palette iad : cyan #00B4EC (accent), navy #101828 (surface sombre + texte),
   gris clair froid (fond), blanc (cartes). Filets "métal" en bleu acier.
   Motion : transitions fluides + apparitions au scroll, coupées si reduced-motion.
   Radius : boutons = pill, cartes = 16px, champs = 10px, grands blocs = 24px.
   ========================================================================= */

:root {
  color-scheme: light;

  /* Couleurs iad : cyan #00B4EC, encre navy #101828, blanc */
  --paper: #F4F6F9;
  --paper-2: #E9EDF3;
  --card: #FFFFFF;
  --ink: #101828;
  --ink-lede: #344054;        /* chapô : plus présent que le corps de texte */
  --ink-soft: #475467;
  --ink-faint: #667085;
  --line: rgba(16, 24, 40, 0.10);
  --line-strong: rgba(16, 24, 40, 0.18);

  --accent: #00B4EC;          /* cyan signature iad */
  --accent-deep: #036484;     /* pour texte/liens sur fond clair (AA) */
  --accent-tint: #D6F1FB;
  --accent-lift: #35C6F2;     /* cyan clair, sur fond sombre */
  --gold: #6FA8C4;            /* filet "métal" discret, teinté iad */

  --danger: #C0392B;
  --danger-tint: #F6E1DE;

  --surface-2: #16213A;          /* navy relevé, bandes intermédiaires */
  --surface-3: #101828;
  --on-dark: #F4F6F9;
  --on-dark-soft: rgba(244, 246, 249, 0.74);

  /* nuit : navy iad, surface du hero, de l'en-tête et de l'intro */
  --night: #101828;
  --night-2: #0B1220;
  --night-line: rgba(244, 246, 249, 0.13);
  --on-night: #F4F6F9;
  --on-night-soft: rgba(244, 246, 249, 0.66);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.07), 0 8px 24px -14px rgba(16, 24, 40, 0.22);
  --shadow-md: 0 2px 6px rgba(16, 24, 40, 0.08), 0 24px 48px -24px rgba(16, 24, 40, 0.32);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1140px;

  --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
}

/* Thème unique aux couleurs iad : cyan #00B4EC, bleu nuit #101828, gris clair
   froid #F4F6F9, filets bleu-acier. Toutes les surfaces sont peintes
   explicitement pour tenir quel que soit le réglage clair/sombre du visiteur. */

/* -------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 3.3vw, 2.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }

::selection { background: var(--accent-tint); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; }

.section { padding: clamp(72px, 11vw, 128px) 0; }
.section-lede {
  font-size: clamp(1.12rem, 1.35vw, 1.24rem);
  line-height: 1.58;
  color: var(--ink-lede);
  max-width: 52ch;
  margin-top: 18px;
}
.section-note {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-faint);
  max-width: 64ch;
}
h2 + .section-lede { margin-top: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
}
/* filet court devant chaque intitulé de section : repère graphique constant */
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-right: 12px;
  background: currentColor;
  flex: none;
}
.eyebrow .eyebrow-tick { display: none; } /* remplacé par ::before, uniforme partout */

/* -------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #00A0D2; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

/* -------------------------------------------------- header (nuit) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--night-line); background: color-mix(in srgb, var(--night) 94%, transparent); }

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-night);
  font-weight: 700;
  margin-right: auto;
}
.brand:hover { color: var(--on-night); }
.brand-iad { filter: brightness(0) invert(1); opacity: 0.92; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-iad {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin-right: 2px;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-soft);
}

.nav-desktop { display: flex; gap: 26px; }
.nav-desktop a {
  color: var(--on-night-soft);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--accent-lift);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-desktop a:hover { color: var(--on-night); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop a.nav-featured { color: var(--accent-lift); font-weight: 600; }
.nav-desktop a.nav-featured:hover { color: var(--on-night); }
.nav-desktop a[aria-current="page"] { color: var(--on-night); }
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--on-night);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-panel {
  border-top: 1px solid var(--night-line);
  padding: 18px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--night);
}
.mobile-panel[hidden] { display: none; }
.mobile-panel a {
  color: var(--on-night);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--night-line);
}
.mobile-panel a.btn { border: 1px solid transparent; margin-top: 12px; color: var(--ink); }

/* -------------------------------------------------- hero (nuit, luxe) */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 9vw, 116px) 0 clamp(80px, 10vw, 128px);
  background: var(--night);
  color: var(--on-night);
}

/* atmosphère : halos qui dérivent + trame fine + grain */
.hero-atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero-blob--1 {
  width: 48vw; max-width: 640px; aspect-ratio: 1;
  top: -18vh; right: -10vw;
  background: radial-gradient(circle at 42% 42%, rgba(0, 180, 236, 0.34), transparent 70%);
}
.hero-blob--2 {
  width: 44vw; max-width: 560px; aspect-ratio: 1;
  bottom: -26vh; left: -12vw;
  background: radial-gradient(circle at 58% 40%, rgba(120, 150, 200, 0.2), transparent 70%);
}
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(120% 92% at 50% 16%, #000 0%, transparent 74%);
  mask-image: radial-gradient(120% 92% at 50% 16%, #000 0%, transparent 74%);
  opacity: 0.6;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* équerres décoratives */
.hero-corner {
  position: absolute;
  width: 34px; height: 34px;
  z-index: 1;
  border: 1px solid rgba(111, 168, 196, 0.55);
}
.hero-corner--tl { top: 26px; left: 26px; border-right: 0; border-bottom: 0; }
.hero-corner--br { bottom: 26px; right: 26px; border-left: 0; border-top: 0; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  min-height: clamp(420px, 60vh, 560px);
  display: grid;
  grid-template-columns: 1fr clamp(320px, 34vw, 440px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 38rem; }
.hero .eyebrow { color: var(--accent-lift); }
.eyebrow-tick {
  display: inline-block;
  width: 24px; height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}
.hero h1 { margin-bottom: 24px; font-size: clamp(2.15rem, 3.7vw, 3rem); color: var(--on-night); }
.hero h1 em { font-style: normal; color: var(--accent-lift); position: relative; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.1em;
  background: var(--accent-lift);
}
.hero-lede { font-size: 1.18rem; color: var(--on-night-soft); margin-bottom: 32px; max-width: 31rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-ghost--light { color: var(--on-night); border-color: rgba(244, 246, 249, 0.32); }
.btn-ghost--light:hover { color: var(--on-night); border-color: var(--accent-lift); }

/* portrait encadré + accent + anneau fin */
.hero-portrait { position: relative; }
.hero-portrait-accent {
  position: absolute;
  right: -18px; top: -22px;
  width: 62%; height: 58%;
  background: var(--accent);
  border-radius: var(--r-lg);
  z-index: 0;
}
.hero-portrait-ring {
  position: absolute;
  left: -14px; bottom: -14px;
  width: 46%; height: 44%;
  border: 1px solid rgba(111, 168, 196, 0.5);
  border-radius: var(--r-lg);
  z-index: 0;
}
.hero-portrait-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(244, 246, 249, 0.14);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.6);
  background: var(--night-2);
}
.hero-portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 20%;
  filter: saturate(1.02) contrast(1.03);
}
.hero-portrait-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 11px;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(244, 246, 249, 0.12);
  border-radius: var(--r-pill);
  color: var(--on-night);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-portrait-tag img { display: block; height: 15px; width: auto; }

/* bandeau crédibilité sous le hero : bande défilante */
.cred-rail {
  position: relative;
  background: var(--night-2);
  color: var(--on-night-soft);
  border-top: 1px solid var(--night-line);
  overflow: hidden;
  padding: 17px 0;
}
.cred-track { display: flex; width: max-content; }
.cred-run {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-right: 32px;
}
.cred-item { display: inline-flex; align-items: center; flex: none; }
.cred-item img { height: 16px; width: auto; display: block; opacity: 0.9; }
.cred-sep { width: 4px; height: 4px; margin: 0 24px; border-radius: 50%; background: var(--accent-lift); flex: none; }

/* placeholder photo : cadre assumé "photo à venir", pas une image trompeuse */
.photo-ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background:
    radial-gradient(120% 90% at 25% 15%, var(--accent-tint), transparent 60%),
    var(--paper-2);
  border: 1px solid var(--line);
}
.photo-ph .ph-mono {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
}
.photo-ph .ph-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* -------------------------------------------------- rule list (pour qui) */
.rule-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.rule-list li {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.rule-list-key {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.rule-list p { color: var(--ink-soft); }

/* -------------------------------------------------- timeline */
.section-parcours { background: var(--paper-2); }
.timeline {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  position: relative;
  max-width: 720px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 20%, transparent));
}
.timeline-item {
  position: relative;
  padding: 0 0 34px 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 3px solid var(--accent);
}
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { color: var(--ink-soft); max-width: 52ch; }

/* -------------------------------------------------- offer groups */
.offer-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  margin-top: 48px;
}
.offer-group-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 6px;
}
.offer-list { margin: 0; }
.offer-list > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.offer-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.offer-list dd { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* -------------------------------------------------- band (pourquoi) */
.band {
  background: var(--surface-2);
  color: var(--on-dark);
}
.band h2 { color: var(--on-dark); max-width: 20ch; }
.band-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: band;
}
.band-list li {
  counter-increment: band;
  padding: 22px 0 22px 52px;
  border-top: 1px solid rgba(244, 246, 249, 0.16);
  position: relative;
  font-size: 1.12rem;
  color: var(--on-dark);
  max-width: 60ch;
}
.band-list li:last-child { border-bottom: 1px solid rgba(244, 246, 249, 0.16); }
.band-list li::before {
  content: counter(band, decimal-leading-zero);
  position: absolute;
  left: 0; top: 23px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent-lift);
  letter-spacing: 0.04em;
}

/* -------------------------------------------------- quiz */
.section-test { background: var(--paper-2); }
.quiz {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 40px);
}
.quiz-progress {
  height: 4px;
  background: var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 28px;
}
.quiz-progress-bar {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.4s var(--ease);
}
/* le style du diagnostic (cartes, échelle, écran de fin) est défini plus bas,
   bloc « DIAGNOSTIC PROFESSIONNEL » */

/* -------------------------------------------------- team */
.team-grid {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card img,
.team-card .photo-ph { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 26%; border: none; }
.team-card .photo-ph { border-bottom: 1px solid var(--line); }
.team-card .photo-ph .ph-mono { font-size: 1.5rem; }
.team-card-body { padding: 18px 20px 22px; }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.team-role { color: var(--accent-deep); font-size: 0.85rem; font-weight: 600; margin: 2px 0 8px; }
.team-role .team-loc { color: var(--ink-faint); font-weight: 500; }
.team-line { color: var(--ink-soft); font-size: 0.92rem; }

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.quote {
  margin: 0;
  padding: 26px 28px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote p {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.quote cite {
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* témoignages de l'équipe : guillemet décoratif, cite en petites capitales */
#equipe .quote {
  position: relative;
  padding-top: 34px;
}
#equipe .quote::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 26px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
}
#equipe .quote cite {
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

/* -------------------------------------------------- proof */
.section-proof { background: var(--surface-3); color: var(--on-dark); }
.proof-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
}
.section-proof h2 { color: var(--on-dark); }
.proof-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.proof-facts li {
  padding-left: 26px;
  position: relative;
  color: var(--on-dark-soft);
}
.proof-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.proof-link {
  color: var(--on-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  width: max-content;
}
.proof-link:hover { color: var(--on-dark); border-color: var(--on-dark); }
.proof-link--rating { display: inline-flex; align-items: baseline; gap: 6px; }
.proof-stars { color: var(--accent-lift); font-size: 0.85em; letter-spacing: 1px; }

/* -------------------------------------------------- faq */
.faq { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.35;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.faq-a p {
  color: var(--ink-soft);
  padding-bottom: 24px;
  max-width: 62ch;
}

/* -------------------------------------------------- contact */
.section-contact { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-copy h2 { margin: 10px 0 16px; }
.contact-copy p { color: var(--ink-soft); }
.contact-alt { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-social { display: flex; gap: 18px; font-size: 0.9rem; font-weight: 600; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 36px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field-opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field input.is-invalid, .field select.is-invalid { border-color: var(--danger); background: var(--danger-tint); }

.form-error {
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.form-note { margin-top: 14px; font-size: 0.82rem; color: var(--ink-faint); }
.form-success {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface-2);
  color: var(--on-dark);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
}

/* -------------------------------------------------- footer */
.site-footer {
  background: var(--surface-2);
  color: var(--on-dark-soft);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244, 246, 249, 0.14);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-iad { height: 16px; width: auto; display: block; opacity: 0.85; }
.footer-role { font-size: 0.92rem; margin: 4px 0 10px; }
.footer-legal-line { font-size: 0.82rem; max-width: 42ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { color: var(--on-dark-soft); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.84rem;
}
.footer-socials { display: flex; gap: 18px; }
.footer-socials a { color: var(--on-dark-soft); }
.footer-socials a:hover { color: var(--on-dark); }

/* -------------------------------------------------- motion : apparitions & cascade */
@media (prefers-reduced-motion: no-preference) {

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* titres : lever franc (pas de clip-path : un titre entièrement masqué a une
     aire d'intersection nulle et ne serait jamais déclenché par l'observateur) */
  h1.reveal, h2.reveal, .reveal-mask {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
    clip-path: none;
  }
  h1.reveal.is-visible, h2.reveal.is-visible, .reveal-mask.is-visible {
    opacity: 1;
    transform: none;
  }

  /* cascade des enfants directs d'un conteneur .js-stagger */
  .js-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
  .js-stagger > .reveal:nth-child(2) { transition-delay: 70ms; }
  .js-stagger > .reveal:nth-child(3) { transition-delay: 140ms; }
  .js-stagger > .reveal:nth-child(4) { transition-delay: 210ms; }
  .js-stagger > .reveal:nth-child(5) { transition-delay: 280ms; }
  .js-stagger > .reveal:nth-child(6) { transition-delay: 350ms; }

  /* entrée du hero, déclenchée quand l'intro se termine (body.is-ready) */
  .hero .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    clip-path: none;
  }
  .hero h1.reveal { transform: none; clip-path: inset(0 0 100% 0); opacity: 1; transition: clip-path 0.9s var(--ease); }
  body.is-ready .hero .reveal { opacity: 1; transform: none; }
  body.is-ready .hero h1.reveal { clip-path: inset(-30% 0 -18% 0); }
  body.is-ready .hero .eyebrow { transition-delay: 0.08s; }
  body.is-ready .hero h1 { transition-delay: 0.22s; }
  body.is-ready .hero .hero-lede { transition-delay: 0.42s; }
  body.is-ready .hero .hero-ctas { transition-delay: 0.54s; }
  body.is-ready .hero .hero-portrait { transition-delay: 0.34s; }
  .hero .hero-portrait { opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
  body.is-ready .hero .hero-portrait { opacity: 1; transform: none; }
  .hero-portrait-accent { transform: scale(0.6); transform-origin: top right; opacity: 0; transition: transform 0.8s var(--ease) 0.7s, opacity 0.8s var(--ease) 0.7s; }
  body.is-ready .hero-portrait-accent { transform: none; opacity: 1; }
  .hero h1 em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.1em;
    background: var(--accent-lift); transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s var(--ease) 1s;
  }
  body.is-ready .hero h1 em::after { transform: scaleX(1); }

  /* dérive lente des formes d'atmosphère */
  .hero-blob--1 { animation: heroDrift1 26s ease-in-out infinite alternate; }
  .hero-blob--2 { animation: heroDrift2 32s ease-in-out infinite alternate; }
  @keyframes heroDrift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-5%, 6%, 0) scale(1.12); } }
  @keyframes heroDrift2 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(7%, -5%, 0) scale(1.1); } }

  /* timeline : le trait se dessine, les points arrivent */
  .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease) 0.1s; }
  .timeline.is-drawn::before { transform: scaleY(1); }
  .timeline-dot { transform: scale(0); transition: transform 0.45s var(--ease); }
  .timeline-item.is-visible .timeline-dot { transform: scale(1); }

  /* micro-interactions */
  .btn:active { transform: translateY(1px) scale(0.985); }
  .quiz-card:active { transform: scale(0.99); }
  .team-card:active { transform: translateY(-2px) scale(0.995); }
}

/* -------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero { padding: clamp(36px, 8vw, 64px) 0 clamp(48px, 9vw, 72px); }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }
  .hero-copy { max-width: 42rem; }
  .hero-portrait { max-width: 420px; }
  .hero-portrait-accent { right: -14px; top: -16px; }
  .offer-groups { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-desktop, .nav-cta { display: none; }
  .burger { display: flex; }
  .header-inner { gap: 10px; }
  .brand-sub { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { padding: 12px 20px; }
  .hero-inner { padding: 0 20px; }
  .hero-portrait { max-width: none; }
  .hero-corner { width: 24px; height: 24px; }
  .hero-corner--tl { top: 16px; left: 16px; }
  .hero-corner--br { bottom: 16px; right: 16px; }
  .cred-item { font-size: 0.8rem; }
  .rule-list li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }

  .intro { padding: 44px 22px; }
  .intro-hello { display: none; }
  .intro-frame { inset: 12px; }
  .intro-corner { width: 20px; height: 20px; }
  .intro-corner--tl, .intro-corner--tr { top: 22px; }
  .intro-corner--bl, .intro-corner--br { bottom: 22px; }
  .intro-corner--tl, .intro-corner--bl { left: 22px; }
  .intro-corner--tr, .intro-corner--br { right: 22px; }
  .intro-brand { top: 30px; left: 30px; }
  .marquee-run { font-size: 0.82rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quiz-q.is-active { animation: none; }
  .btn:hover, .team-card:hover, .quiz-card:hover, .quiz-scale-btn:hover { transform: none; }
  .reveal, .hero .reveal, .hero-portrait, .hero-portrait-accent { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero h1 em::after { transform: scaleX(1) !important; }
  .timeline::before, .timeline-dot { transform: none !important; }
  .hero-blob--1, .hero-blob--2 { animation: none !important; }
  #introOverlay { display: none !important; }
  html.intro-lock { overflow: auto !important; }
}

/* =========================================================================
   INTRO : séquence de présentation
   ========================================================================= */
html.intro-lock { overflow: hidden; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 56px 40px;
  overflow: hidden;
  background: var(--night-2);
  color: var(--on-night);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.intro::before {
  content: "";
  position: absolute;
  width: 92vmax; height: 92vmax;
  top: -36vmax; right: -32vmax;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 236, 0.26), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.intro::after {
  content: "";
  position: absolute;
  width: 74vmax; height: 74vmax;
  bottom: -36vmax; left: -28vmax;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(120, 150, 200, 0.14), transparent 60%);
  pointer-events: none;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro > * { position: relative; z-index: 2; }

/* cadre + équerres + grain */
.intro-frame {
  position: absolute;
  inset: 20px;
  border: 1px solid var(--night-line);
  border-radius: 6px;
  z-index: 1;
  opacity: 0;
  transform: scale(1.02);
  animation: introFrameIn 1s var(--ease) 0.15s forwards;
}
@keyframes introFrameIn { to { opacity: 1; transform: none; } }
.intro-corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  opacity: 0;
  z-index: 1;
  animation: introFrameIn 0.7s var(--ease) 0.5s forwards;
}
.intro-corner--tl { top: 32px; left: 32px; border-right: 0; border-bottom: 0; }
.intro-corner--tr { top: 32px; right: 32px; border-left: 0; border-bottom: 0; }
.intro-corner--bl { bottom: 32px; left: 32px; border-right: 0; border-top: 0; }
.intro-corner--br { bottom: 32px; right: 32px; border-left: 0; border-top: 0; }
.intro-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

.intro-brand {
  position: absolute;
  top: 40px; left: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.intro-brand img { height: 18px; width: auto; display: block; opacity: 0.9; }
.intro-hello {
  position: absolute;
  top: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-night-soft);
  opacity: 0;
  animation: introFrameIn 0.8s var(--ease) 0.35s forwards;
}

.intro-skip {
  position: absolute;
  top: 22px; right: 22px;
  background: transparent;
  border: 1px solid rgba(244, 246, 249, 0.35);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.intro-skip:hover { background: rgba(244, 246, 249, 0.12); border-color: rgba(244, 246, 249, 0.6); }

.intro-stage {
  max-width: 660px;
  text-align: center;
  display: grid;
  gap: 4px;
}
.intro-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.6vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(16px);
  grid-area: 1 / 1;
}
.intro-line[data-step="1"] { animation: introLine 1.7s var(--ease) 0.25s forwards; }
.intro-line[data-step="2"] { animation: introLine 1.7s var(--ease) 1.7s forwards; }
@keyframes introLine {
  0% { opacity: 0; transform: translateY(16px); }
  22% { opacity: 1; transform: translateY(0); }
  76% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px); }
}

/* intro : phase 2 = questions, phase 3 = portrait + entrée sur le site */
.intro-stage[hidden], .intro-quiz[hidden], .intro-face[hidden] { display: none; }
@keyframes introFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --- intro, phase 2 : les questions --- */
.intro-quiz {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  animation: introFade 0.55s var(--ease);
}
/* le bouton "Découvrir le site" reste visible pendant que le diagnostic défile */
.intro-quiz-skip {
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.intro-quiz-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin-bottom: 10px;
}
.intro-quiz-tick {
  display: inline-block;
  width: 20px; height: 2px;
  background: currentColor;
  margin-right: 10px;
}
.intro-quiz-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--on-night);
  margin-bottom: 22px;
}
.intro-quiz-card {
  position: relative;
  background: rgba(11, 18, 32, 0.5);
  border: 1px solid rgba(244, 246, 249, 0.14);
  border-top: 1px solid rgba(111, 168, 196, 0.4);
  border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 32px);
}
.intro-quiz-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid rgba(111, 168, 196, 0.5);
}
.intro-quiz-corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.intro-quiz-corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.quiz--intro {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}
.quiz--intro .quiz-progress { background: rgba(244, 246, 249, 0.16); margin-bottom: 24px; }
/* couleurs sombres du diagnostic : voir bloc « DIAGNOSTIC PROFESSIONNEL » */

.intro-face {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  text-align: center;
  animation: introFade 0.6s var(--ease);
}
.intro-face-media {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.intro-face-frame {
  position: relative;
  z-index: 2;
  width: clamp(260px, min(80vw, 52vh), 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(244, 246, 249, 0.55);
  box-shadow: 0 44px 100px -34px rgba(0, 0, 0, 0.75);
  animation: introFacePop 1s var(--ease) both;
}
.intro-face-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  display: block;
}
@keyframes introFacePop {
  0% { opacity: 0; transform: scale(0.84); }
  100% { opacity: 1; transform: scale(1); }
}
.intro-face-ring {
  position: absolute;
  top: 50%; left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--accent-lift);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
}
.intro-face-ring--1 { width: clamp(300px, min(86vw, 60vh), 580px); }
.intro-face-ring--2 { width: clamp(340px, min(94vw, 68vh), 660px); border-color: rgba(111, 168, 196, 0.4); }
.intro-face-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  letter-spacing: -0.015em;
  color: var(--on-night);
}
.intro-face-role { font-size: 0.9rem; color: var(--on-night-soft); }
.intro-face-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}

/* écrans courts (paysage mobile, petite fenêtre) : le portrait reste lisible,
   les boutons restent visibles sans défilement */
@media (max-height: 760px) {
  .intro { padding: 24px; }
  .intro-hello { display: none; }
  .intro-face { gap: 8px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
  .intro-face-media { margin-bottom: 0; }
  .intro-face-frame { width: clamp(150px, 40vh, 300px); border-width: 2px; }
  .intro-face-actions { margin-top: 8px; }
  .intro-quiz { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
  .intro-quiz-head { margin-bottom: 14px; font-size: 1.2rem; }
  .intro-quiz-card { padding: 18px; }
  .quiz--intro .quiz-progress { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .intro-face-frame { animation-delay: 0.05s; }
  .intro-face-ring { animation: introRing 1.5s var(--ease) 0.35s forwards; }
  .intro-face-ring--2 { animation-delay: 0.55s; }
  .intro-face-name, .intro-face-role, .intro-face-actions {
    opacity: 0;
    animation: introFaceUp 0.7s var(--ease) forwards;
  }
  .intro-face-name { animation-delay: 0.5s; }
  .intro-face-role { animation-delay: 0.6s; }
  .intro-face-actions { animation-delay: 0.72s; }
}
@keyframes introRing {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.78); }
  to   { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
}
@keyframes introFaceUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================================
   TRANSITION : panneaux qui balaient l'écran à l'entrée sur le site
   ========================================================================= */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  display: none;
}
.page-wipe.is-playing { display: block; }
.page-wipe-panel {
  position: absolute;
  inset: 0;
  transform: translateY(101%);
}
.page-wipe-panel--1 { background: var(--accent); }
.page-wipe-panel--2 { background: var(--surface-2); }
.page-wipe-panel--3 { background: var(--paper); }
.page-wipe.is-playing .page-wipe-panel {
  animation: wipeThrough 1.25s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
.page-wipe.is-playing .page-wipe-panel--1 { animation-delay: 0s; }
.page-wipe.is-playing .page-wipe-panel--2 { animation-delay: 0.09s; }
.page-wipe.is-playing .page-wipe-panel--3 { animation-delay: 0.18s; }
@keyframes wipeThrough {
  0% { transform: translateY(101%); }
  38% { transform: translateY(0); }
  62% { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}
@media (prefers-reduced-motion: reduce) {
  .page-wipe, .page-wipe.is-playing { display: none !important; }
}

/* =========================================================================
   POURQUOI : portrait en arrière-plan
   ========================================================================= */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band > .wrap { position: relative; z-index: 1; }
.band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 26%;
  opacity: 0.16;
  filter: grayscale(0.4) contrast(1.05);
}
.band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--surface-2) 22%, rgba(22, 33, 58, 0.55) 62%, rgba(22, 33, 58, 0.2) 100%);
}
@media (max-width: 720px) {
  .band-bg img { object-position: 70% 20%; opacity: 0.1; }
  .band-bg::after { background: linear-gradient(180deg, var(--surface-2) 30%, rgba(22, 33, 58, 0.7) 100%); }
}

/* =========================================================================
   POUR QUI : corps enrichi
   ========================================================================= */
.rule-list li { align-items: start; }
.rule-list-body { display: grid; gap: 10px; }
.rule-list-answer {
  color: var(--ink);
  font-weight: 500;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.rule-list-note {
  margin-top: 32px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 62ch;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

/* =========================================================================
   QUIZ : résultat orienté
   ========================================================================= */
.quiz-result-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.quiz-result-text {
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 54ch;
}
.quiz-result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quiz-result-restart {
  background: transparent;
  border: none;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 12px 4px;
}
.quiz-result-restart:hover { color: var(--ink); }

/* =========================================================================
   Parallaxe légère (progressive enhancement, ignorée si non supportée)
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .band-bg img {
      will-change: transform;
      animation: bandDrift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    @keyframes bandDrift {
      from { transform: translateY(-4%) scale(1.06); }
      to { transform: translateY(4%) scale(1.06); }
    }
  }
}

/* =========================================================================
   LUXE : grain global, bande cinétique, frises vertes travaillées
   ========================================================================= */

/* léger grain sur tout le site pour la matière */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.022;
  mix-blend-mode: multiply;
}

/* équerres du hero */
.hero-corner {
  opacity: 0;
  transition: opacity 0.7s var(--ease) 0.55s;
}
body.is-ready .hero-corner { opacity: 1; }

/* --- bande cinétique --- */
.marquee-band {
  background: var(--night);
  color: var(--on-night-soft);
  border-block: 1px solid var(--night-line);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; }
.marquee-run {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-right: 2.4em;
}
.marquee-run i {
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 2.4em;
  border-radius: 50%;
  background: var(--accent-lift);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marqueeSlide 34s linear infinite; }
  @keyframes marqueeSlide { to { transform: translateX(-50%); } }
}

/* --- frises vertes : filet, équerres, sheen, kicker --- */
.band-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin-bottom: 14px;
}
.band-hairline {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 2;
}
.band-corner {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid rgba(111, 168, 196, 0.5);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.25s;
}
.band-corner--tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.band-corner--br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.band.is-inview .band-corner { opacity: 1; }
.band-sheen {
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(244, 246, 249, 0.06) 45%, rgba(244, 246, 249, 0.12) 50%, rgba(244, 246, 249, 0.06) 55%, transparent);
  transform: translateX(-140%) skewX(-12deg);
}

@media (prefers-reduced-motion: no-preference) {
  .band-hairline { transition: transform 0.9s var(--ease); }
  .band-hairline.is-visible { transform: scaleX(1); }
  .band-sheen { transition: transform 1.5s var(--ease) 0.2s; }
  .band-sheen.is-visible { transform: translateX(300%) skewX(-12deg); }
  /* frise "pourquoi" : le liseré de chaque ligne grandit */
  .band-list li { --l: 0; }
  .band-list li::after {
    content: "";
    position: absolute;
    left: 0; top: 20px; bottom: 20px;
    width: 2px;
    background: var(--accent-lift);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease);
  }
  .band-list li.is-visible::after { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .band-hairline { transform: scaleX(1); }
  .band-corner { opacity: 1; }
  .band-sheen { display: none; }
  .marquee-track { transform: none; }
  .cred-track { transform: none; }
  .hero-corner { opacity: 1; }
  .intro-frame, .intro-corner, .intro-hello, .intro-rule { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* --- intro : filet du montage --- */
.intro-rule {
  display: block;
  width: 44px; height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
  grid-area: 1 / 1;
  align-self: start;
  transform: translateY(-14px);
}

/* =========================================================================
   BOUTON PRÉSENTATION (ouvre la vidéo)
   ========================================================================= */
.btn-video { gap: 9px; }
.btn-video-icon {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-grid;
  place-items: center;
}
.btn-video-icon::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-video-icon::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0;
    animation: videoPing 2.8s var(--ease) 3;
  }
  .btn-video:hover .btn-video-icon::after { animation: videoPing 2.8s var(--ease) 2; }
}
@keyframes videoPing {
  0% { opacity: 0.5; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.55); }
}

/* =========================================================================
   WHATSAPP FLOTTANT
   ========================================================================= */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  border-radius: var(--r-pill);
  background: #25D366;
  color: #04310f;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(4, 49, 15, 0.55);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float-icon { display: block; flex: none; }
body.is-ready .wa-float { opacity: 1; transform: none; transition-delay: 0.35s, 0s, 0s; }
html.intro-lock .wa-float { opacity: 0 !important; pointer-events: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(4, 49, 15, 0.6); }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float:hover::after { animation: waPulse 1.3s var(--ease) infinite; }
}
@keyframes waPulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
@media (max-width: 640px) {
  .wa-float { padding: 14px; gap: 0; }
  .wa-float-label { display: none; }
}

/* =========================================================================
   MODALE VIDÉO
   ========================================================================= */
html.modal-lock { overflow: hidden; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.84);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: vmFade 0.25s var(--ease);
}
.video-modal-inner {
  position: relative;
  z-index: 1;
  width: auto;
  animation: vmRise 0.3s var(--ease);
}
@keyframes vmFade { from { opacity: 0; } }
@keyframes vmRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.video-modal-frame {
  position: relative;
  /* vidéo verticale (9:16) : cadre portrait, borné par la hauteur de l'écran */
  width: min(430px, 92vw, 46vh);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(244, 246, 249, 0.16);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.video-modal-frame video {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.video-modal-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--on-night-soft);
  font-size: 0.95rem;
}
.video-modal:not(.no-video) .video-modal-fallback { display: none; }
.video-modal.no-video .video-modal-frame video { display: none; }
.video-modal-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 246, 249, 0.22);
  background: var(--night);
  color: var(--on-night);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.video-modal-close:hover { background: var(--night-2); transform: rotate(90deg); }
@media (max-width: 640px) {
  .video-modal-close { top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-modal-backdrop, .video-modal-inner { animation: none; }
  .video-modal-close:hover { transform: none; }
}

/* =========================================================================
   ANIMATIONS EN PLUS
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* balayage lumineux sur le bouton primaire au survol */
  .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
  .btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-16deg);
    opacity: 0;
  }
  .btn-primary:hover::after { animation: btnSheen 0.7s var(--ease); }
  @keyframes btnSheen {
    0% { left: -60%; opacity: 0; }
    18% { opacity: 1; }
    100% { left: 130%; opacity: 0; }
  }

  /* léger parallaxe du portrait du hero au scroll */
  @supports (animation-timeline: view()) {
    .hero-portrait-frame {
      animation: heroPortraitFloat linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    @keyframes heroPortraitFloat {
      from { transform: translateY(26px); }
      to { transform: translateY(-26px); }
    }
    .cred-track, .marquee-band { will-change: transform; }
  }

  /* bandeau crédibilité : défilement continu, comme la bande "pourquoi" */
  .cred-track { animation: credSlide 28s linear infinite; }
  @keyframes credSlide { to { transform: translateX(-50%); } }

  /* pastille "Depuis 2018" du portrait */
  .hero-portrait-tag {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s var(--ease) 0.9s, transform 0.6s var(--ease) 0.9s;
  }
  body.is-ready .hero-portrait-tag { opacity: 1; transform: none; }

  /* équerres du hero : léger tirage à l'entrée */
  .hero-corner { transition: opacity 0.7s var(--ease) 0.6s, transform 0.7s var(--ease) 0.6s; transform: scale(0.7); }
  body.is-ready .hero-corner { transform: none; }
}

/* =========================================================================
   BLOC CTA « Découvrir l'opportunité » (bas de la section équipe, accueil)
   ========================================================================= */
.join-cta {
  margin-top: 48px;
  padding: 28px clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.join-cta-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.join-cta-text {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 56ch;
}
.join-cta .btn { flex: none; }

/* =========================================================================
   SECTION « POUR QUI » : visuel « avis de recherche »
   ========================================================================= */
.metier-head {
  display: grid;
  grid-template-columns: 1fr clamp(240px, 32vw, 360px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.metier-head-copy h2 { margin-bottom: 14px; }
.metier-visual {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
}
.metier-visual img { width: 100%; height: auto; display: block; }
.rule-list { margin-top: clamp(36px, 6vw, 56px); }
@media (max-width: 760px) {
  .metier-head { grid-template-columns: 1fr; }
  .metier-visual { max-width: 340px; }
}

/* =========================================================================
   PASSE DE FINITION : primitives d'animation + réglages
   Tout le mouvement vit sous @media (prefers-reduced-motion: no-preference).
   L'état final (chiffre affiché, anneau plein, trait tiré) est l'état par défaut.
   ========================================================================= */

/* --- bouton stylé comme un lien (ex. ouvrir la vidéo depuis un paragraphe) --- */
.linklike {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent-deep);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.linklike:hover { color: var(--accent); }

/* --- deux liens sous la section "preuve" --- */
.proof-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.proof-links .proof-link { width: max-content; }

/* --- année sur une étape de la timeline --- */
.timeline-year {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

/* --- lien texte sous les CTA du hero (B3) --- */
.hero-cta-alt { margin-top: 14px; font-size: 0.92rem; }
.hero-cta-alt a { color: var(--on-night-soft); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.hero-cta-alt a:hover { color: var(--on-night); border-bottom-color: var(--accent-lift); }

/* --- champ anti-spam invisible (B4) --- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* --- "passer les questions" dans l'intro (C8) --- */
.intro-quiz-skip {
  display: block;
  margin: 14px auto 0;
  padding: 12px 22px;
  border: 1px solid rgba(244, 246, 249, 0.32);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--night-2) 88%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--on-night);
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.intro-quiz-skip:hover { border-color: var(--accent-lift); background: var(--night-2); }
.intro-quiz[hidden] .intro-quiz-skip { display: none; }

/* --- barre de progression de lecture (B6) --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: transparent;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
html.intro-lock .scroll-progress { opacity: 0; }

/* --- bouton "revenir en haut" (B6) --- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + 60px);
  z-index: 890;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--paper-2); }
@media (max-width: 640px) {
  .to-top { bottom: calc(clamp(16px, 3vw, 28px) + 66px); width: 38px; height: 38px; }
}

/* --- titre "contact" passé en h3 (B12) --- */
.contact-copy-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 10px 0 16px;
}

/* --- anneau qui se dessine : propriété animable, plein par défaut --- */
@property --ring {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

/* --- timeline numérotée (accueil #parcours + opportunité #demarrer) --- */
.timeline--num { max-width: 760px; }
.timeline--num::before { left: 17px; top: 18px; bottom: 18px; }
.timeline--num .timeline-item { padding-left: 58px; padding-bottom: 30px; }
.timeline-n {
  position: absolute;
  left: 0; top: -2px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--night);
  color: var(--on-night);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.timeline-n::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--ring) * 1turn), rgba(0,180,236,0) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

/* --- numéros de la bande "Ce que je peux vous apporter" (accueil) --- */
.band-list { counter-reset: none; }
.band-list li::before { content: none !important; }
.band-list li::after { content: none !important; }
.band-list li { padding-left: 60px; }
.band-n {
  position: absolute;
  left: 0; top: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.42);
  border: 1px solid rgba(244, 246, 249, 0.22);
  color: var(--on-night);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.band-n::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-lift) calc(var(--ring) * 1turn), rgba(53,198,242,0) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

/* --- allègement : grain global retiré sur petits écrans, halos moins flous --- */
@media (max-width: 900px) {
  body::after { display: none; }
}
@media (max-width: 640px) {
  .hero-blob--1, .hero-blob--2 { filter: blur(46px); }
}

@media (prefers-reduced-motion: no-preference) {

  /* trait d'accent sous les titres de section, sur les deux pages */
  h2.reveal-mask { position: relative; }
  h2.reveal-mask::after {
    content: "";
    position: absolute;
    left: 0; bottom: -10px;
    width: 44px; height: 3px;
    border-radius: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease) 0.25s;
  }
  h2.reveal-mask.is-visible::after { transform: scaleX(1); }
  .band h2.reveal-mask::after,
  .section-proof h2.reveal-mask::after { background: var(--accent-lift); }

  /* timeline numérotée : le numéro se pose, l'anneau se dessine */
  .timeline-n {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
  }
  .timeline-item.is-visible .timeline-n { opacity: 1; transform: none; }
  .timeline-item .timeline-n::after {
    --ring: 0;
    transition: --ring 0.55s var(--ease) 0.12s;
  }
  .timeline-item.is-visible .timeline-n::after { --ring: 1; }

  /* bande "Ce que je peux vous apporter" : idem */
  .band-n {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
  }
  .band-list li.is-visible .band-n { opacity: 1; transform: none; }
  .band-list li .band-n::after {
    --ring: 0;
    transition: --ring 0.55s var(--ease) 0.12s;
  }
  .band-list li.is-visible .band-n::after { --ring: 1; }

  /* chiffres clés : une seule pulsation lumineuse en fin de comptage */
  @keyframes figGlow {
    0% { text-shadow: 0 0 0 rgba(0, 180, 236, 0); }
    45% { text-shadow: 0 0 10px rgba(0, 180, 236, 0.55); }
    100% { text-shadow: 0 0 0 rgba(0, 180, 236, 0); }
  }
  .is-counted { animation: figGlow 0.65s var(--ease); }

  /* cartes équipe : filet de lumière quand elles se posent */
  @keyframes cardLand {
    0% { border-color: var(--line); }
    45% { border-color: var(--accent); }
    100% { border-color: var(--line); }
  }
  .team-card.is-visible { animation: cardLand 0.55s var(--ease); }

  /* CTA principal : respiration unique à la première apparition */
  @keyframes ctaSeen {
    0% { transform: scale(1); }
    45% { transform: scale(1.02); }
    100% { transform: scale(1); }
  }
  .btn-primary.cta-seen { animation: ctaSeen 0.8s var(--ease); }

  /* bouton WhatsApp : petit rebond unique à l'apparition */
  @keyframes waIntro {
    0% { transform: translateY(16px); }
    60% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
  }
  body.is-ready .wa-float { animation: waIntro 0.6s var(--ease) 0.45s both; }

  /* barre de progression : largeur pilotée en JS, adoucie */
  .scroll-progress > span { transition: width 0.12s linear; }

  /* mise en pause des boucles hors écran */
  .is-paused .cred-track,
  .is-paused .marquee-track,
  .is-paused .hero-blob--1,
  .is-paused .hero-blob--2,
  .is-paused .oppo-blob--1,
  .is-paused .oppo-blob--2 { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-n, .band-n { opacity: 1 !important; transform: none !important; }
  .to-top { transition: opacity 0.2s linear; }
  .scroll-progress { display: none; }
}

/* =========================================================================
   PASSE DE FINITION 2 : mise en scène des contenus + hiérarchie
   - repères graphiques constants (filets qui se dessinent)
   - titres révélés mot à mot, numéros mis en scène
   Animations courtes, déclenchées une seule fois à l'entrée. Rien de permanent.
   Les contextes de positionnement sont posés hors media-query (sans effet visuel),
   seuls les mouvements vivent sous prefers-reduced-motion: no-preference.
   ========================================================================= */

/* contextes de positionnement (neutres) */
.section:not(.band) { position: relative; }
.rule-list, .faq, .offer-group-title, .rule-list-answer { position: relative; }

/* filet haut de section : marque « ici commence une nouvelle idée » */
.section:not(.band)::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong) 0%, var(--line-strong) 22%, transparent 72%);
}
/* filet supérieur plus affirmé sur les listes-clés et la FAQ */
.rule-list, .faq { border-top-color: var(--line-strong); }

@media (prefers-reduced-motion: no-preference) {

  /* --- filet haut de section : se dessine de gauche à droite --- */
  .section:not(.band)::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s var(--ease);
  }
  .section.sec-in::before { transform: scaleX(1); }

  /* --- TITRES DE SECTION : révélation mot à mot --- */
  h2.reveal-mask { text-wrap: pretty; }
  h2.reveal-mask .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.34em);
    filter: blur(4px);
    transition:
      opacity 0.5s var(--ease),
      transform 0.55s var(--ease),
      filter 0.5s var(--ease);
    transition-delay: calc(var(--wi, 0) * 42ms);
  }
  h2.reveal-mask.is-visible .w { opacity: 1; transform: none; filter: blur(0); }
  /* dernier mot : léger décalage supplémentaire */
  h2.reveal-mask.is-visible .w:last-child { transition-delay: calc(var(--wi, 0) * 42ms + 90ms); }
  /* le trait sous le titre part après que les mots se soient posés */
  h2.reveal-mask::after { transition-delay: calc(var(--wc, 6) * 42ms + 140ms); }
  /* filet de sécurité : si le JS n'a pas découpé le titre, lever simple */
  h2.reveal-mask:not(.is-split) {
    opacity: 0; transform: translateY(16px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  h2.reveal-mask.is-split { opacity: 1; transform: none; }

  /* --- EYEBROW : le filet se dessine --- */
  .eyebrow.reveal::before {
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease) 0.05s;
  }
  .eyebrow.reveal.is-visible::before { transform: scaleX(1); }
  body.is-ready .hero .eyebrow::before,
  body.is-ready .oppo-hero .eyebrow::before { transform: scaleX(1); }

  /* --- FILETS QUI SE DESSINENT quand la section entre --- */
  .rule-list::after, .faq::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s var(--ease) 0.1s;
  }
  .sec-in .rule-list::after, .sec-in .faq::after { transform: scaleX(0.14); }

  .offer-group-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 40px; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease) 0.15s;
  }
  .offer-group.reveal.is-visible .offer-group-title::after { transform: scaleX(1); }

  /* liseré cyan des réponses « pour qui » : se déplie vers le bas */
  .rule-list-answer::before {
    content: "";
    position: absolute;
    left: -2px; top: 0;
    width: 2px; height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease) 0.2s;
  }
  .rule-list li.reveal.is-visible .rule-list-answer::before { transform: scaleY(1); }
  .rule-list li.reveal .rule-list-answer { border-left-color: transparent; }

  /* --- NUMÉROS : entrée avec un léger ressort + halo qui se diffuse une fois --- */
  .timeline-n, .band-n {
    transition:
      opacity 0.4s var(--ease),
      transform 0.5s cubic-bezier(0.34, 1.4, 0.5, 1);
  }
  .timeline-n::before, .band-n::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
  }
  .band-n::before { border-color: var(--accent-lift); }
  .timeline-item.is-visible .timeline-n::before,
  .band-list li.is-visible .band-n::before { animation: numHalo 0.7s var(--ease) 0.25s; }
  @keyframes numHalo {
    0% { opacity: 0.55; transform: scale(0.7); }
    100% { opacity: 0; transform: scale(1.7); }
  }

  /* --- CARTES : profondeur légère + ombre qui monte, une fois --- */
  .team-card.reveal, .quote.reveal {
    transform: translateY(22px) scale(0.985);
    box-shadow: 0 0 0 rgba(16, 24, 40, 0);
    transition:
      opacity 0.6s var(--ease),
      transform 0.6s var(--ease),
      box-shadow 0.6s var(--ease);
  }
  .team-card.reveal.is-visible, .quote.reveal.is-visible {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  /* --- CONTENU SECONDAIRE : fondu seul, sans mouvement --- */
  .section-note.reveal, .src.reveal, .rule-list-note.reveal {
    transform: none !important;
    transition: opacity 0.6s var(--ease) 0.1s;
  }

  /* --- visuel « avis de recherche » : très légère profondeur au scroll
     (sur l'image, pas sur la figure animée par .reveal, pour éviter tout conflit) --- */
  @supports (animation-timeline: view()) {
    .metier-visual img {
      animation: mediaFloat linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    @keyframes mediaFloat {
      from { transform: scale(1.04) translateY(10px); }
      to { transform: scale(1.04) translateY(-10px); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  h2.reveal-mask .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .section:not(.band)::before { display: none; }
  .rule-list::after, .faq::after,
  .offer-group-title::after,
  .rule-list-answer::before { display: none; }
  .timeline-n::before, .band-n::before { display: none; }
  .metier-visual img { animation: none !important; }
}

/* =========================================================================
   DIAGNOSTIC PROFESSIONNEL — questionnaire retravaillé
   Une question à la fois, cartes de réponse, progression animée, écran de fin
   avec demande de retour personnalisé. Cohérent avec l'identité du site.
   Rendu clair (section #test) et sombre (.quiz--intro dans l'overlay).
   ========================================================================= */

.quiz { position: relative; }

/* progression */
.quiz-progress { height: 5px; }
.quiz-progress-bar { width: 0; box-shadow: 0 0 14px 0 rgba(0, 180, 236, 0.35); }
.quiz-count {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.quiz-count[hidden] { display: none; }

/* scène : une carte-écran à la fois.
   overflow: hidden -> l'écran sortant (position: absolute) et le glissement
   horizontal des transitions restent contenus, jamais de pan latéral parasite. */
.quiz-stage { position: relative; overflow: hidden; }
.quiz-q { display: block; }
.quiz-q.is-leaving { position: absolute; inset: 0; pointer-events: none; }

/* navigation (retour + rien d'autre) */
.quiz-nav { display: flex; align-items: center; min-height: 22px; margin-bottom: 14px; }
.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.quiz-back:hover { color: var(--accent-deep); }
.quiz-back span { font-size: 1.05em; }

/* énoncé */
.quiz-prompt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  text-wrap: balance;
}
.quiz-note {
  margin: 12px 0 4px;
  padding: 10px 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* cartes de réponse */
.quiz-options { display: grid; gap: 10px; margin-top: 20px; }
.quiz-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease),
              transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.quiz-card:hover { border-color: var(--accent); background: var(--accent-tint); }
.quiz-card:active { transform: scale(0.99); }
.quiz-card-txt { flex: 1; }
.quiz-card-mark {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
  position: relative;
}
.quiz-card-mark::after {
  content: "";
  position: absolute;
  left: 6px; top: 6px;
  width: 7px; height: 3.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.2s var(--ease);
}
.quiz-card.is-chosen {
  border-color: var(--accent);
  background: var(--accent-tint);
  box-shadow: 0 0 0 3px rgba(0, 180, 236, 0.14);
}
.quiz-card.is-chosen .quiz-card-mark { border-color: var(--accent); background: var(--accent); }
.quiz-card.is-chosen .quiz-card-mark::after { transform: rotate(-45deg) scale(1); }

/* échelle 1 → 5 */
.quiz-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.quiz-scale-btn {
  aspect-ratio: 1;
  min-height: 52px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease), color 0.16s var(--ease);
}
.quiz-scale-btn:hover { border-color: var(--accent); }
.quiz-scale-btn.is-picked {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.quiz-scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.quiz-continue { margin-top: 22px; }

/* champ « Autre » */
.quiz-other { display: flex; gap: 10px; margin-top: 14px; }
.quiz-other input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.quiz-other input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quiz-other .quiz-continue { margin-top: 0; flex: none; }

/* écran de fin */
.quiz-done-head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.quiz-done-text { color: var(--ink-soft); line-height: 1.6; max-width: 52ch; margin-bottom: 18px; }
.quiz-done-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 22px;
}
.quiz-done-dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.quiz-done-enter { margin-top: 22px; }

/* formulaire de demande de retour */
.quiz-lead { margin-top: 4px; }
.quiz-lead .field { margin-bottom: 16px; }
.quiz-lead .field label,
.quiz-lead .field-legend {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.quiz-lead .field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.quiz-lead .field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quiz-lead .field input.is-invalid { border-color: var(--danger); background: var(--danger-tint); }
.quiz-lead .field-opt { color: var(--ink-faint); font-weight: 400; }

.quiz-method { display: flex; gap: 8px; flex-wrap: wrap; }
.quiz-method.is-invalid .quiz-method-opt { border-color: var(--danger); }
.quiz-method-opt {
  flex: 1;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.quiz-method-opt:hover { border-color: var(--accent); }
.quiz-method-opt input { accent-color: var(--accent); }
.quiz-method-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }

.quiz-lead-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}
.quiz-lead-consent input { margin-top: 3px; accent-color: var(--accent); flex: none; }

.quiz-lead-error { color: var(--danger); font-size: 0.88rem; font-weight: 600; margin-bottom: 12px; }
.quiz-lead-error[hidden] { display: none; }
.quiz-lead-note { margin-top: 14px; font-size: 0.82rem; color: var(--ink-faint); }
.quiz-lead-success {
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--surface-2);
  color: var(--on-dark);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  line-height: 1.5;
}
.quiz-lead-success[hidden] { display: none; }
.quiz-restart {
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 8px 2px;
}
.quiz-restart:hover { color: var(--ink); }

/* ---- variante sombre (intro plein écran) ---- */
.quiz--intro .quiz-count { color: var(--on-night-soft); }
.quiz--intro .quiz-prompt { color: var(--on-night); }
.quiz--intro .quiz-back { color: var(--on-night-soft); }
.quiz--intro .quiz-back:hover { color: var(--on-night); }
.quiz--intro .quiz-note {
  color: var(--on-night-soft);
  background: rgba(0, 180, 236, 0.12);
  border-left-color: var(--accent-lift);
}
.quiz--intro .quiz-card {
  background: rgba(244, 246, 249, 0.05);
  border-color: rgba(244, 246, 249, 0.22);
  color: var(--on-night);
}
.quiz--intro .quiz-card:hover { background: rgba(0, 180, 236, 0.16); border-color: var(--accent-lift); }
.quiz--intro .quiz-card.is-chosen {
  background: rgba(0, 180, 236, 0.2);
  border-color: var(--accent-lift);
  box-shadow: 0 0 0 3px rgba(0, 180, 236, 0.2);
}
.quiz--intro .quiz-card-mark { border-color: rgba(244, 246, 249, 0.3); }
.quiz--intro .quiz-card.is-chosen .quiz-card-mark { background: var(--accent-lift); border-color: var(--accent-lift); }
.quiz--intro .quiz-scale-btn {
  background: rgba(244, 246, 249, 0.05);
  border-color: rgba(244, 246, 249, 0.22);
  color: var(--on-night);
}
.quiz--intro .quiz-scale-btn.is-picked { background: var(--accent-lift); color: var(--night); border-color: var(--accent-lift); }
.quiz--intro .quiz-scale-ends { color: var(--on-night-soft); }
.quiz--intro .quiz-other input {
  background: rgba(244, 246, 249, 0.06);
  border-color: rgba(244, 246, 249, 0.24);
  color: var(--on-night);
}
.quiz--intro .quiz-done-head { color: var(--on-night); }
.quiz--intro .quiz-done-text { color: var(--on-night-soft); }
.quiz--intro .quiz-done-offer { color: var(--accent-lift); }
.quiz--intro .quiz-lead .field label,
.quiz--intro .quiz-lead .field-legend { color: var(--on-night); }
.quiz--intro .quiz-lead .field input,
.quiz--intro .quiz-method-opt {
  background: rgba(244, 246, 249, 0.05);
  border-color: rgba(244, 246, 249, 0.24);
  color: var(--on-night);
}
.quiz--intro .quiz-method-opt:has(input:checked) { background: rgba(0, 180, 236, 0.2); border-color: var(--accent-lift); }
.quiz--intro .quiz-lead-consent { color: var(--on-night-soft); }
.quiz--intro .quiz-lead-note { color: var(--on-night-soft); }
.quiz--intro .quiz-restart { color: var(--on-night-soft); }
.quiz--intro .quiz-restart:hover { color: var(--on-night); }

/* ---- transitions entre questions ---- */
@media (prefers-reduced-motion: no-preference) {
  .quiz-stage { transition: height 0.3s var(--ease); }
  .quiz-q {
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .quiz-q.is-entering { opacity: 0; }
  .quiz-q.is-entering.from-right { transform: translateX(34px); }
  .quiz-q.is-entering.from-left { transform: translateX(-34px); }
  .quiz-q.is-active { opacity: 1; transform: none; }
  .quiz-q.is-leaving { opacity: 1; transform: none; transition: opacity 0.24s var(--ease), transform 0.24s var(--ease); }
  .quiz-q.is-leaving.to-left { opacity: 0; transform: translateX(-34px); }
  .quiz-q.is-leaving.to-right { opacity: 0; transform: translateX(34px); }

  .quiz-card { will-change: transform; }
  .quiz-card.is-chosen { animation: quizCardPop 0.24s var(--ease); }
  @keyframes quizCardPop { 0% { transform: none; } 45% { transform: scale(1.015); } 100% { transform: none; } }

  .quiz-progress-bar { transition: width 0.45s var(--ease); }
}

/* ---- mobile ---- */
@media (max-width: 640px) {
  .quiz-scale { gap: 6px; }
  .quiz-scale-btn { min-height: 48px; font-size: 1.05rem; }
  .quiz-card { min-height: 56px; padding: 15px 16px; font-size: 0.98rem; }
  .quiz-method-opt { min-width: 0; padding: 11px 8px; font-size: 0.9rem; }
  .quiz-other { flex-direction: column; }
  .quiz-other .quiz-continue { width: 100%; }
}

/* ancien encart résultat : plus utilisé */
.quiz-result, .quiz-result-head, .quiz-result-text, .quiz-result-actions, .quiz-result-restart { display: none !important; }
