/* Blinkjob — site vitrine.
   Concept : un aplat bleu marine (la couleur de l'app), une typographie nette,
   et de vrais morceaux d'interface plutôt que des images. */

:root {
  --navy: #1B4F72;
  --navy-deep: #123A55;
  --navy-ink: #0D2C42;
  --sky: #EBF2F9;
  --sky-line: #CFE0EF;
  --ink: #0E1726;
  --text: #253141;
  --muted: #5D6877;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --green: #1E8E5A;
  --green-soft: #E6F5ED;
  --red: #C62828;
  --red-soft: #FCECEC;
  --apply: #5EE08A;
  --orange: #C2410C;

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Onest", "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-card: 0 1px 2px rgba(13, 44, 66, 0.06), 0 12px 32px rgba(13, 44, 66, 0.14);
  --shadow-soft: 0 1px 2px rgba(13, 44, 66, 0.05), 0 6px 18px rgba(13, 44, 66, 0.07);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible {
  outline: 3px solid #7FB3DB;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Marque ─────────────────────────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand-mark rect { fill: #0E2D49; }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 9.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: #75C1F3; }
.brand--inverse { color: #fff; }
.brand--inverse .brand-mark rect { fill: #fff; }
.brand--inverse .brand-mark path { stroke: #0E2D49; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* ── Boutons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--navy-deep); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); }
.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ── Héros (photo + vraie carte de l'app) ───────────────────────────────── */

.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--sky);
  border-radius: 999px;
  padding: 6px 14px 6px 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(40px, 6.6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 22px 0 24px;
}
.hero h1 em { font-style: normal; color: var(--navy); }
.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 32em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn--outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #C9D5E2; }
.btn--outline:hover { background: var(--bg-soft); }
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.stores span { display: inline-flex; align-items: center; gap: 8px; }
.stores svg { width: 16px; height: 16px; }

.hero-visual { position: relative; padding: 0 0 48px 40px; }
.hero-visual::before {
  /* aplat bleu ciel décalé derrière la photo */
  content: "";
  position: absolute;
  right: -24px;
  top: 40px;
  width: 78%;
  height: 82%;
  border-radius: 36px;
  background: var(--sky);
}
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
  background: var(--sky-line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Mini carte d'offre posée sur la photo */
.mini-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(300px, 72%);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(13, 44, 66, 0.06), 0 18px 40px rgba(13, 44, 66, 0.22);
  overflow: hidden;
  z-index: 2;
}
.mini-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mini-card .logo { width: 38px; height: 38px; border-radius: 10px; font-size: 13px; }
.mini-card .company { font-size: 15px; }
.mini-card .place { font-size: 12px; }
.mini-card .kind { font-size: 10px; padding: 3px 8px; }
.mini-card .job-title { font-size: 19px; }
.mini-card .fit-head b { font-size: 17px; }

.sent-chip {
  position: absolute;
  top: 28px;
  right: -8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 2px 4px rgba(13, 44, 66, 0.06), 0 14px 32px rgba(13, 44, 66, 0.18);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sent-chip i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}
.sent-chip svg { width: 16px; height: 16px; }
.sent-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* Bandeau de repères sous le héros */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.proof ul {
  list-style: none;
  margin: 0 auto;
  padding: 22px var(--gutter);
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 28px;
}
.proof li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.proof b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.proof svg { width: 22px; height: 22px; color: var(--navy); flex-shrink: 0; }
@media (max-width: 860px) { .proof ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .proof ul { grid-template-columns: 1fr; } }

/* ── Pile de cartes (démo) ──────────────────────────────────────────────── */

.demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.deck {
  position: relative;
  width: min(100%, 360px);
  height: 384px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.card {
  position: absolute;
  inset: 0;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: 50% 100%;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), opacity 0.35s ease;
  will-change: transform;
}
.card[data-depth="1"] { transform: translateY(14px) scale(0.955); }
.card[data-depth="2"] { transform: translateY(28px) scale(0.91); }
.card[data-depth="3"] { transform: translateY(28px) scale(0.91); opacity: 0; }
.card[data-depth="1"]::after,
.card[data-depth="2"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 44, 66, 0.12);
}
.card.is-dragging { transition: none; cursor: grabbing; }
.card[data-depth="0"] { cursor: grab; z-index: 3; }
.card[data-depth="1"] { z-index: 2; }
.card[data-depth="2"] { z-index: 1; }

/* Contenu d'une carte d'offre : sobre, typographique */
.card { padding: 26px; gap: 18px; border-radius: 22px; box-shadow: 0 1px 2px rgba(13, 44, 66, 0.06), 0 18px 44px rgba(13, 44, 66, 0.18); }
.card-top { display: flex; gap: 12px; align-items: center; }
.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: #fff;
  flex-shrink: 0;
}
.card-id { min-width: 0; }
.company { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.2; }
.place { font-size: 13px; color: var(--muted); margin-top: 2px; }
.kind {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--sky-line);
  border-radius: 999px;
  padding: 4px 10px;
}
.job-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.skills { font-size: 14px; color: var(--muted); }

/* Correspondance : une barre fine */
.fit { margin-top: auto; }
.fit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.fit-head b { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.fit-bar { height: 4px; margin-top: 8px; border-radius: 2px; background: #E8EDF2; overflow: hidden; }
.fit-bar i { display: block; height: 100%; border-radius: 2px; background: var(--navy); }
.fit--weak .fit-head b { color: #A8432F; }
.fit--weak .fit-bar i { background: #C9705E; }

/* Étiquettes qui apparaissent pendant le glissé */
.stamp {
  position: absolute;
  top: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  z-index: 2;
}
.stamp--yes { left: 22px; background: var(--navy-ink); color: #fff; }
.stamp--no { right: 22px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.deck-actions { display: flex; align-items: center; gap: 22px; }
.round {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}
.round:hover { transform: translateY(-2px); }
.round:active { transform: scale(0.95); }
.round svg { width: 26px; height: 26px; }
.round--apply { width: 66px; height: 66px; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }
.round:not(.round--apply):hover { background: rgba(255, 255, 255, 0.08); }
.round--apply svg { width: 30px; height: 30px; }
.deck-hint { font-size: 14px; color: #B9D4EA; text-align: center; min-height: 22px; }

.toast {
  position: absolute;
  left: 50%;
  top: -54px;
  transform: translate(-50%, 8px);
  opacity: 0;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.deck-end {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-l);
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  color: #D5E5F2;
}
.deck-end strong { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; margin-bottom: 8px; }

/* ── Sections ───────────────────────────────────────────────────────────── */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 40em; }

/* Étapes */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}
.step h3 { font-size: 24px; margin: 18px 0 10px; }
.step p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  overflow: hidden;
}
.tile h3 { font-size: 24px; font-weight: 700; }
.tile p { color: var(--muted); font-size: 16px; }
.tile--navy { background: var(--navy); border-color: var(--navy); color: #D5E5F2; }
.tile--navy h3 { color: #fff; }
.tile--navy p { color: #C2D8EA; }
.tile--sky { background: var(--sky); border-color: var(--sky-line); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3 { grid-column: span 1; }
  .span-4 { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .tile { min-height: 0; }
}

.tile-visual { margin-top: auto; }

/* Correspondance : deux barres fines */
.fit-list { display: grid; gap: 18px; padding-top: 4px; }
.fit-list .fit-head span { color: var(--text); }

/* Lettre : citation */
.letter {
  border-left: 2px solid var(--navy);
  padding: 2px 0 2px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.letter .muted { color: var(--muted); }
.letter-meta { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Mini CV typographique */
.mini-cv {
  width: min(100%, 240px);
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 20px 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 10.5px;
  line-height: 1.5;
}
.cv-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.cv-role { color: var(--muted); margin-bottom: 12px; }
.cv-sec {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  margin: 10px 0 5px;
}
.cv-line { padding-left: 8px; border-left: 2px solid transparent; margin: 3px 0; }
.cv-line.hl { border-left-color: var(--navy); color: var(--ink); font-weight: 600; }

/* Suivi : frise verticale */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 8px 0; font-size: 15px; color: var(--ink); }
.dot { position: relative; top: 1px; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.dot--answer { background: var(--navy); }
.timeline .when { margin-left: auto; font-size: 13px; color: var(--muted); }

/* Coach */
.chat { display: grid; gap: 8px; }
.bubble { max-width: 88%; padding: 11px 15px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.bubble--me { justify-self: end; background: var(--navy-ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble--coach { background: var(--bg-soft); color: var(--text); border-bottom-left-radius: 4px; }

/* Événements : liste sobre */
.events { display: grid; }
.event { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.event:last-child { border-bottom: 1px solid var(--line); }
.event-date { font-family: var(--font-display); line-height: 1.05; }
.event-date b { display: block; font-size: 26px; font-weight: 700; color: var(--ink); }
.event-date small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.event strong { display: block; font-size: 15px; color: var(--ink); }
.event span { font-size: 13px; color: var(--muted); }

/* Lettre au choix : options à cocher */
.choices { list-style: none; margin: 0; padding: 0; }
.choice { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.choice:last-child { border-bottom: 1px solid var(--line); }
.choice::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B8C4D1; flex-shrink: 0; }
.choice--on { color: var(--ink); font-weight: 600; }
.choice--on::before { box-shadow: inset 0 0 0 5px var(--navy); }

/* Crédits */
.credits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.credit {
  border-radius: var(--radius-l);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}
.credit-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.credit h3 { font-size: 21px; margin: 14px 0 8px; }
.credit p { color: var(--muted); font-size: 16px; }
.credit--navy { background: var(--navy); border-color: var(--navy); }
.credit--navy .credit-num, .credit--navy h3 { color: #fff; }
.credit--navy p { color: #C2D8EA; }
@media (max-width: 860px) { .credits { grid-template-columns: 1fr; } }

.costs {
  margin-top: 16px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.cost {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.cost:first-child { border-top: 0; }
.cost span { flex: 1; }
.cost b { font-family: var(--font-display); font-size: 18px; color: var(--ink); white-space: nowrap; }
.cost--free b { color: var(--green); }
@media (max-width: 620px) { .cost { padding: 16px 18px; font-size: 16px; } }

/* Sources */
.sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.source-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.source-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.source-list li span { font-weight: 400; font-size: 15px; color: var(--muted); text-align: right; }
@media (max-width: 860px) { .sources { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-4px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 46em; }

/* Appel final : photo à gauche, aplat marine à droite */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--navy);
  color: #fff;
}
.cta-photo { margin: 0; min-height: 420px; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-body {
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta h2 { color: #fff; font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; }
.cta p { color: #D5E5F2; font-size: 19px; margin: 18px 0 30px; max-width: 30em; }
.cta .hero-actions { margin-top: 0; }
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
  .cta-photo { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Pied de page */
.site-footer { background: var(--navy-ink); color: #A9C3D8; padding: 56px 0 40px; font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: #A9C3D8; }
.footer-grid a:hover { color: #fff; }
.footer-note { margin-top: 14px; max-width: 26em; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}

/* Héros : mise en page étroite */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero-visual { padding: 0 0 40px 0; }
  .hero-visual::before { right: -16px; }
  .sent-chip { right: 8px; top: 16px; }
  .mini-card { left: 12px; }
}
@media (max-width: 420px) {
  .deck { height: 392px; }
  .job-title { font-size: 19px; }
}

/* ── Pages légales ──────────────────────────────────────────────────────── */

.legal-hero { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); }
.legal-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.legal-hero p { color: #C2D8EA; margin-top: 12px; }
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 26px; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 6px; }
.legal a { color: var(--navy); font-weight: 600; }
.todo {
  background: #FFF4E5;
  color: #8A4B00;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95em;
}
.legal-note {
  margin-bottom: 40px;
  padding: 16px 20px;
  border-radius: var(--radius-m);
  background: var(--sky);
  color: var(--navy-ink);
  font-size: 15px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-display); color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(64px, 14vw, 160px); font-weight: 800; color: var(--navy); letter-spacing: -0.05em; }
.notfound p { color: var(--muted); font-size: 19px; margin: 12px 0 28px; }

/* ── Refonte : sections avec photos ─────────────────────────────────────── */

/* Étapes illustrées */
.photo-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.photo-step figure {
  position: relative;
  margin: 0 0 22px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sky);
}
.photo-step img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-step:hover img { transform: scale(1.03); }
.step-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--navy-ink);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 0 4px 14px rgba(13, 44, 66, 0.18);
}
.photo-step h3 { font-size: 24px; margin-bottom: 8px; }
.photo-step p { color: var(--muted); }
@media (max-width: 860px) { .photo-steps { grid-template-columns: 1fr; } }

/* Bandeau de démonstration (la pile de cartes) */
.demo-band {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.demo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  pointer-events: none;
}
.demo-band .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.demo-text h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.demo-text p { color: #D5E5F2; font-size: 18px; margin-top: 18px; max-width: 32em; }
.kicker--light { color: #9CC3E0; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #EAF2F9; }
.checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--apply) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230D2C42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (max-width: 960px) { .demo-band .wrap { grid-template-columns: 1fr; } }

/* Alternance : métiers en photos */
.trades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.trade {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sky);
}
.trade img { width: 100%; height: 100%; object-fit: cover; }
.trade::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(to top, rgba(13, 44, 66, 0.72), rgba(13, 44, 66, 0));
}
.trade figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}
@media (max-width: 860px) {
  .trades { grid-template-columns: 1fr; }
  .trade { aspect-ratio: 16 / 10; }
}

/* Professionnels : recruteurs, écoles */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.audience {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  scroll-margin-top: 90px;
}
.audience figure { margin: 0; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.audience img { width: 100%; height: 100%; object-fit: cover; }
.audience-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.audience-body .kicker { margin-bottom: 0; }
.audience-body h3 { font-size: clamp(24px, 2.4vw, 30px); }
.audience-body p { color: var(--muted); }
.audience-actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.link-arrow { font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } }

.faq details p a { color: var(--navy); font-weight: 600; }
#etapes, #faq, #ecoles, #recruteurs { scroll-margin-top: 80px; }

/* ── Inscription au lancement ───────────────────────────────────────────── */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button.btn { font-family: inherit; }

.wl-dialog {
  width: min(92vw, 460px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(13, 44, 66, 0.3);
  color: var(--text);
}
.wl-dialog::backdrop { background: rgba(13, 44, 66, 0.45); backdrop-filter: blur(3px); }
.wl-box { position: relative; padding: clamp(26px, 5vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.wl-box h2 { font-size: 26px; padding-right: 36px; }
.wl-box p { color: var(--muted); font-size: 15px; }
.wl-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.wl-close svg { width: 16px; height: 16px; }
.wl-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.wl-field input, .waitlist-inline input[type="email"] {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
.wl-field input:focus, .waitlist-inline input[type="email"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27, 79, 114, 0.14); }
.wl-box .btn { justify-content: center; }
.wl-msg { font-size: 14px; }
.wl-msg:empty { display: none; }
.wl-msg.is-error { color: var(--red); }
.wl-box .wl-legal { font-size: 13px; }
.wl-legal a { color: var(--navy); }
.wl-done { text-align: center; padding: 12px 0 4px; }
.wl-done i {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
}
.wl-done i svg { width: 24px; height: 24px; }
.wl-done h2 { padding-right: 0; }

/* Formulaire du bandeau final, sur fond marine */
.waitlist-inline { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist-inline input[type="email"] { flex: 1 1 240px; border-color: transparent; }
.waitlist-inline .wl-msg { flex-basis: 100%; color: #D5E5F2; }
.waitlist-inline .wl-msg.is-error { color: #FFC9C2; }
.cta .wl-legal { color: #A9C3D8; font-size: 14px; margin: 14px 0 0; max-width: 34em; }
.cta .wl-legal a { color: #fff; }
.link-light { display: inline-block; margin-top: 22px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.cta-done { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 600; font-size: 17px; }
