/* ============================================================
   traak.ai · Landing v0.5 — styles
   Dark editorial brand surface · paper-mode mockups for the V1 app
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 88px;
}

body {
  background: var(--brand-ink);
  color: var(--brand-paper);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
}

::selection { background: var(--teal); color: var(--brand-ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

:where(a, button, input):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--teal);
  color: var(--brand-ink);
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 200ms var(--ease-out-cubic);
}
.skip-link:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--teal);
  z-index: 60;
  width: 0%;
  transition: width 100ms linear;
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
  pointer-events: none;
}

/* ─── Layout primitives ─── */

.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

section { position: relative; }

/* ─── Atmosphere ─── */

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.atmosphere::before,
.atmosphere::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.atmosphere::before {
  top: -10vh; right: -10vw;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.18) 0%, transparent 70%);
  transform: translate3d(var(--orb-x, 0), var(--orb-y, 0), 0);
  transition: transform 600ms var(--ease-out-cubic);
}
.atmosphere::after {
  bottom: -10vh; left: -10vw;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  transform: translate3d(calc(var(--orb-x, 0) * -0.5), calc(var(--orb-y, 0) * -0.5), 0);
  transition: transform 800ms var(--ease-out-cubic);
}

.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(var(--mx, 50vw), var(--my, 50vh), 0) translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity 400ms var(--ease-out-cubic);
  opacity: 0;
}
body.has-cursor .spotlight { opacity: 1; }
@media (hover: none), (pointer: coarse) { .spotlight { display: none; } }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

main { position: relative; z-index: 2; }

/* ─── Wordmark (image-based · virgule teal + traak) ─── */

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.wordmark img {
  display: block;
  height: 100%;
  width: auto;
}
.topbar-left .wordmark { height: 32px; }
@media (max-width: 760px) {
  .topbar-left .wordmark { height: 26px; }
}

/* Legacy text-wordmark fallback (kept for compatibility) */
.wordmark .wm-comma {
  font-style: italic;
  color: var(--teal);
  display: inline-block;
  transform: translateY(-0.06em);
}
.wordmark .aa { font-style: italic; color: var(--teal); }

/* ─── Top bar ─── */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--dur-fade), backdrop-filter var(--dur-fade), padding var(--dur-fade), border-color var(--dur-fade);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--brand-line);
  padding-block: 10px;
}

.topbar-left .wordmark { height: 32px; display: inline-flex; align-items: center; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-paper-mute);
  transition: color var(--dur-fade);
}
.topbar-link:hover { color: var(--brand-paper); }

.topbar-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--teal);
  padding: 10px 16px;
  border-radius: 6px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background var(--dur-fade), transform var(--dur-fade);
}
.topbar-cta:hover { background: #00E8BC; transform: translateY(-1px); }
.topbar-cta:active { transform: translateY(0); }

@media (max-width: 760px) {
  .topbar-link { display: none; }
  .topbar-right { gap: 10px; }
  .topbar-left .wordmark { height: 26px; }
  .topbar-cta { padding: 9px 12px; font-size: 10px; }
  .topbar { padding: 12px 16px; }
}

/* ─── Common: eyebrow ─── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .num { color: var(--teal); }
.eyebrow .dot {
  width: 4px; height: 4px;
  background: var(--brand-paper-whisper);
  border-radius: 50%;
}

/* ─── Section heading commons ─── */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 72px);
  max-width: 780px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  text-wrap: balance;
}
.section-title .it { font-style: italic; color: var(--teal); }
.section-lede {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--brand-paper-mute);
  max-width: 54ch;
}

/* ─── 01 · HERO ─── */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 104px;
  padding-bottom: 56px;
  gap: 40px;
  position: relative;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 4vh;
}

.hero-baseline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--brand-paper);
  max-width: 24ch;
}
.hero-baseline .word {
  display: inline-block;
  margin-right: 0.32em;
}
.hero-baseline .word:last-child { margin-right: 0; }
.hero-baseline .italic-teal {
  font-style: italic;
  color: var(--teal);
  margin-right: 0.42em;
}
.hero-baseline .word {
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
}
.hero-baseline.in-view .word {
  animation: word-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}
@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.hero-sub {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--brand-paper-mute);
  max-width: 46ch;
}
.hero-sub strong { color: var(--brand-paper); font-weight: 400; }

@media (max-width: 880px) {
  .hero-foot { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 88px; padding-bottom: 32px; gap: 24px; }
  .hero-eyebrow-row { margin-bottom: 2vh; gap: 12px; }
}

/* ─── Notify form (shared) ─── */

.notify-block { max-width: 520px; }

.notify-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
}
.notify-meta .pulse {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  position: relative;
}
.notify-meta .pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.4); opacity: 0; }
}

.notify-form {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--brand-line-strong);
  border-radius: 10px;
  background: rgba(244, 241, 234, 0.02);
  transition: border-color var(--dur-fade), background var(--dur-fade);
}
.notify-form:focus-within {
  border-color: var(--teal);
  background: rgba(0, 212, 170, 0.04);
}
.notify-form.is-submitted {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.06);
}

.notify-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 20px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  color: var(--brand-paper);
  min-width: 0;
}
.notify-input::placeholder {
  color: var(--brand-paper-whisper);
  font-weight: 300;
}

.notify-submit {
  background: var(--teal);
  color: var(--brand-ink);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 0 22px;
  margin: 5px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--dur-fade), transform 120ms var(--ease-out-cubic), box-shadow var(--dur-fade);
  white-space: nowrap;
  min-height: 44px;
}
.notify-submit:hover { background: #00E8BC; box-shadow: 0 4px 14px rgba(0, 212, 170, 0.35); }
.notify-submit:hover svg { transform: translateX(2px); }
.notify-submit:active { transform: scale(0.98); }
.notify-submit svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out-cubic); }

.notify-stores {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
}
.notify-stores .store { display: inline-flex; align-items: center; gap: 6px; }
.notify-stores .store svg { width: 12px; height: 12px; opacity: 0.6; }
.notify-stores .sep { width: 1px; height: 10px; background: var(--brand-line-strong); }

.notify-success {
  display: none;
  padding: 18px 20px;
  border: 1px solid rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.06);
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--brand-paper);
}
.notify-success.is-visible { display: flex; align-items: center; gap: 12px; }
.notify-success .check {
  width: 22px; height: 22px;
  background: var(--teal);
  color: var(--brand-ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notify-success .check svg { width: 12px; height: 12px; }
.notify-success em {
  font-style: italic;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 17px;
  margin-left: 4px;
}

.notify-inline-success {
  padding: 18px 20px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--brand-paper);
  display: flex;
  align-items: center;
  gap: 12px;
}
.notify-inline-success .check {
  width: 22px; height: 22px;
  background: var(--teal);
  color: var(--brand-ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notify-inline-success .check svg { width: 12px; height: 12px; }
.notify-inline-success em {
  font-style: italic;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 17px;
  margin-left: 4px;
}

@media (max-width: 480px) {
  .notify-form { flex-direction: column; align-items: stretch; gap: 6px; padding: 6px; }
  .notify-input { padding: 14px 14px; }
  .notify-submit { margin: 0; padding: 14px 22px; justify-content: center; }
}

/* ─── 02 · MANIFESTE ─── */

.manifest {
  padding: clamp(72px, 11vw, 132px) 0;
  border-top: 1px solid var(--brand-line);
}
.manifest-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.manifest-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
  margin-bottom: 40px;
}
.manifest-eyebrow .line {
  width: 40px; height: 1px;
  background: var(--brand-line-strong);
}
.manifest-eyebrow .num { color: var(--teal); }
.manifest-eyebrow .label { color: var(--teal); }

.manifest-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  text-wrap: pretty;
  margin-bottom: 36px;
}
.manifest-title .it { font-style: italic; color: var(--teal); }

.manifest-prose {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--brand-paper-mute);
  max-width: 56ch;
  margin-bottom: 56px;
}
.manifest-prose em {
  font-style: italic;
  color: var(--brand-paper);
  font-family: var(--font-display);
  font-size: 1.05em;
}

.manifest-foot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--brand-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-paper-mute);
}
.manifest-foot .dot.teal {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* ─── 03 · STEPS · Comment ça marche ─── */

.steps {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--brand-line);
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr 280px;
  gap: 48px;
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--brand-line);
}
.step:last-child { border-bottom: 1px solid var(--brand-line); }

.step-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
  color: var(--brand-paper-whisper);
}
.step-num .italic-teal {
  font-style: italic;
  color: var(--teal);
}

.step-body { max-width: 44ch; }
.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--brand-paper);
  margin-bottom: 14px;
}
.step-title .it { font-style: italic; color: var(--teal); }
.step-desc {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--brand-paper-mute);
}

.step-screen {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .step {
    grid-template-columns: 80px 1fr;
    gap: 24px 32px;
  }
  .step-screen { grid-column: 1 / -1; justify-content: flex-start; padding-top: 8px; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 64px 1fr; gap: 16px 24px; }
}

/* ─── 04 · CAPACITÉS ─── */

.capacites {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--brand-line);
}

.cap-list {
  display: flex;
  flex-direction: column;
}

.cap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--brand-line);
}
.cap:last-child { border-bottom: 1px solid var(--brand-line); }

.cap:nth-child(even) {
  grid-template-columns: 320px 1fr;
}
.cap:nth-child(even) .cap-text { order: 2; }
.cap:nth-child(even) .cap-screen { order: 1; justify-content: flex-start; }

.cap-text { max-width: 50ch; }
.cap-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.cap-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--brand-paper);
  margin-bottom: 18px;
}
.cap-title .it { font-style: italic; color: var(--teal); }
.cap-desc {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-paper-mute);
  margin-bottom: 18px;
}
.cap-desc em {
  font-style: italic;
  color: var(--brand-paper);
  font-family: var(--font-display);
  font-size: 1.05em;
}
.cap-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
}
.cap-meta .dot {
  width: 3px; height: 3px;
  background: var(--brand-paper-whisper);
  border-radius: 50%;
}

.cap-screen { display: flex; justify-content: flex-end; }

@media (max-width: 880px) {
  .cap, .cap:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cap:nth-child(even) .cap-text { order: 1; }
  .cap:nth-child(even) .cap-screen { order: 2; }
  .cap-screen, .cap:nth-child(even) .cap-screen { justify-content: flex-start; }
}

/* ─── PHONE MOCKUP · real screenshots ─── */

.phone-real {
  width: 280px;
  height: 568px;
  border-radius: 38px;
  overflow: hidden;
  background: #F4F1EA;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(15, 27, 45, 0.06),
    0 30px 70px -22px rgba(0, 0, 0, 0.55);
  transform: translateY(0) rotate(-1deg);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 700ms cubic-bezier(0.22, 1, 0.36, 1);
  isolation: isolate;
}
.step:nth-child(even) .phone-real,
.cap:nth-child(even) .phone-real {
  transform: translateY(0) rotate(1deg);
}
.step .phone-real:hover,
.cap .phone-real:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow:
    0 0 0 1px rgba(15, 27, 45, 0.06),
    0 40px 90px -22px rgba(0, 0, 0, 0.7),
    0 16px 32px -10px rgba(0, 212, 170, 0.25);
}

.phone-real img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

/* soft fade at bottom for cropped tall screenshots */
.phone-real::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent 0%, rgba(244, 241, 234, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 720px) {
  .phone-real { width: 240px; height: 488px; }
  .phone-real::after { height: 48px; }
}

/* ─── PHONE MOCKUP (light, paper-mode for V1 app) ─── */

.phone {
  width: 260px;
  background: #FFFFFF;
  border-radius: 38px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  color: #1A1A1A;
  box-shadow:
    0 0 0 1px rgba(15, 27, 45, 0.06),
    0 30px 70px -22px rgba(0, 0, 0, 0.55);
  transform: translateY(0) rotate(-1deg);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step:nth-child(even) .phone,
.cap:nth-child(even) .phone {
  transform: translateY(0) rotate(1deg);
}
.step .phone:hover,
.cap .phone:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow:
    0 0 0 1px rgba(15, 27, 45, 0.06),
    0 40px 90px -22px rgba(0, 0, 0, 0.7),
    0 16px 32px -10px rgba(0, 212, 170, 0.25);
}

.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #0A0E1A;
  border-radius: 12px;
  z-index: 5;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: #1A1A1A;
  padding: 6px 14px 4px;
  letter-spacing: -0.01em;
}
.phone-status .signal { display: inline-flex; gap: 2px; align-items: center; }
.phone-status .signal i {
  display: inline-block;
  width: 3px;
  background: #1A1A1A;
  border-radius: 1px;
}
.phone-status .signal i:nth-child(1) { height: 4px; }
.phone-status .signal i:nth-child(2) { height: 6px; }
.phone-status .signal i:nth-child(3) { height: 8px; }
.phone-status .signal i:nth-child(4) { height: 10px; }
.phone-status .battery {
  width: 22px; height: 11px;
  border: 1px solid #1A1A1A;
  border-radius: 3px;
  position: relative;
  padding: 1px;
}
.phone-status .battery::after {
  content: '';
  position: absolute;
  right: -3px; top: 3px;
  width: 2px; height: 5px;
  background: #1A1A1A;
  border-radius: 0 1px 1px 0;
}
.phone-status .battery::before {
  content: '';
  display: block;
  height: 100%;
  width: 70%;
  background: #1A1A1A;
  border-radius: 1px;
}

.phone-screen {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
}

/* Common mockup primitives */
.fb-eyebrow, .traj-eyebrow, .coach-eyebrow, .sso-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #009B7D;
  font-weight: 500;
}

/* — Step 1: SSO ReKrute */
.phone-step-1 .phone-screen { justify-content: center; align-items: center; gap: 24px; }
.comma-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 88px;
  color: #00A788;
  line-height: 0.7;
  margin-top: 12px;
}
.sso-card {
  width: 100%;
  padding: 18px;
  background: #F8F9FA;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sso-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #999;
  text-transform: uppercase;
}
.sso-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: #1A1A1A;
}
.sso-logo {
  width: 28px; height: 28px;
  background: #00D4AA;
  color: #FFFFFF;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
}
.sso-cta {
  background: #1A1A1A;
  color: #FFFFFF;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
}
.sso-foot {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #999;
  text-align: center;
  margin-top: 8px;
  text-transform: uppercase;
}

/* — Step 2 & Cap 02: Trajectoire */
.traj-headline {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.12;
  color: #1A1A1A;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.traj-headline em { font-style: italic; color: #00A788; }

.traj-essence {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: #1A1A1A;
  letter-spacing: -0.012em;
  margin-top: 4px;
}
.traj-essence em { font-style: italic; color: #00A788; }

.traj-narrative {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  padding: 10px 12px;
  background: #F8F9FA;
  border-radius: 10px;
}

.traj-phase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid #F0F2F5;
  border-radius: 10px;
}
.traj-phase-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #999;
  text-transform: uppercase;
}
.traj-phase-val {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  color: #00A788;
}

.traj-forces { display: flex; flex-direction: column; gap: 6px; }
.traj-force {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #F8F9FA;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: #1A1A1A;
}
.traj-force .qn {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #00A788;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.traj-dirs {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #F0F2F5;
  border-radius: 10px;
}
.dir-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dir-row {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--font-ui);
  font-size: 12px;
  color: #1A1A1A;
  border-top: 1px solid #F0F2F5;
}
.dir-row:first-of-type { border-top: none; }
.dir-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #00A788;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* — Step 3 & Cap 01: Coach question */
.phone-step-3 .phone-screen { align-items: center; }
.coach-q {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.22;
  color: #1A1A1A;
  letter-spacing: -0.01em;
  padding: 12px 14px;
  background: #F8F9FA;
  border-radius: 12px;
  text-align: center;
}
.coach-q em { font-style: italic; color: #00A788; }
.coach-cta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #999;
  text-transform: uppercase;
  text-align: center;
  margin-top: auto;
}

.mic-stack { display: flex; justify-content: center; }
.mic {
  width: 64px; height: 64px;
  background: #00D4AA;
  color: #FFFFFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 212, 170, 0.38);
  position: relative;
}
.mic::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 170, 0.3);
  animation: mic-pulse 2s ease-out infinite;
}
@keyframes mic-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.mic svg { width: 24px; height: 24px; }

.wave {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wave span {
  flex: 1;
  background: #00D4AA;
  border-radius: 2px;
  opacity: 0.8;
  animation: wave 1.4s ease-in-out infinite;
  min-height: 4px;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
.wave span:nth-child(1) { animation-delay: 0.0s; }
.wave span:nth-child(2) { animation-delay: 0.08s; }
.wave span:nth-child(3) { animation-delay: 0.16s; }
.wave span:nth-child(4) { animation-delay: 0.24s; }
.wave span:nth-child(5) { animation-delay: 0.32s; }
.wave span:nth-child(6) { animation-delay: 0.40s; }
.wave span:nth-child(7) { animation-delay: 0.48s; }
.wave span:nth-child(8) { animation-delay: 0.56s; }
.wave span:nth-child(9) { animation-delay: 0.64s; }
.wave span:nth-child(10) { animation-delay: 0.72s; }
.wave span:nth-child(11) { animation-delay: 0.80s; }
.wave span:nth-child(12) { animation-delay: 0.88s; }

/* — Cap 01: Coach Feedback */
.fb-verdict {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.12;
  color: #1A1A1A;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.fb-verdict em { font-style: italic; color: #00A788; }

.fb-list { display: flex; flex-direction: column; }
.fb-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #F0F2F5;
  font-family: var(--font-body);
  font-size: 12px;
  color: #1A1A1A;
}
.fb-line:first-child { border-top: none; }
.fb-line .fb-k { color: #999; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.fb-line .fb-v { color: #00A788; font-weight: 600; }

/* — Cap 03: SSO confirm */
.sso-cv {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #F8F9FA;
  border-radius: 12px;
}
.sso-avatar {
  width: 44px; height: 44px;
  background: #1A1A1A;
  color: #FFFFFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.sso-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sso-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: #1A1A1A;
  letter-spacing: -0.01em;
}
.sso-role {
  font-family: var(--font-body);
  font-size: 11px;
  color: #666;
}
.sso-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sso-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.08);
  color: #009B7D;
  font-weight: 500;
}
.sso-confirm {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: #00D4AA;
  border-radius: 12px;
  color: #1A1A1A;
}
.sso-confirm-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
}
.sso-confirm-arrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 18px;
}

/* ─── 05 · POUR QUI ─── */

.forwhom {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--brand-line);
}
.forwhom-inner { max-width: 980px; margin: 0 auto; }

.forwhom-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
  margin-bottom: 32px;
}
.forwhom-eyebrow .num { color: var(--teal); }

.forwhom-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  text-wrap: pretty;
  margin-bottom: 24px;
}
.forwhom-title .it { font-style: italic; color: var(--teal); }

.forwhom-sub {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--brand-paper-mute);
  max-width: 56ch;
  margin-bottom: 56px;
}

/* Editorial persona list — replaces the old 2-col card grid */
.personas {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--brand-line);
}
.persona {
  display: grid;
  grid-template-columns: clamp(80px, 9vw, 132px) 1fr auto;
  column-gap: clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 44px) 4px;
  border-bottom: 1px solid var(--brand-line);
  position: relative;
  transition: background var(--dur-fade), padding-left var(--dur-fade);
}
.persona::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 380ms var(--ease-out-cubic);
}
.persona:hover {
  background: linear-gradient(90deg, rgba(0, 212, 170, 0.04) 0%, transparent 70%);
  padding-left: 18px;
}
.persona:hover::before { transform: scaleY(1); }

.persona-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.85;
  color: var(--teal);
  letter-spacing: -0.02em;
  font-feature-settings: "lnum";
}

.persona-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--brand-paper);
  text-wrap: balance;
  margin: 0;
  max-width: 32ch;
}
.persona-text em {
  font-style: italic;
  color: var(--teal);
}

.persona-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
  white-space: nowrap;
  padding: 6px 12px;
  border: 1px solid var(--brand-line-strong);
  border-radius: 999px;
  align-self: center;
  transition: color var(--dur-fade), border-color var(--dur-fade);
}
.persona:hover .persona-tag {
  color: var(--teal);
  border-color: rgba(0, 212, 170, 0.4);
}

@media (max-width: 720px) {
  .persona {
    grid-template-columns: clamp(56px, 16vw, 80px) 1fr;
    grid-template-areas:
      "num text"
      "num tag";
    row-gap: 10px;
    column-gap: 18px;
  }
  .persona-num   { grid-area: num; }
  .persona-text  { grid-area: text; }
  .persona-tag   { grid-area: tag; justify-self: start; }
  .persona:hover { padding-left: 12px; }
}
@media (max-width: 420px) {
  .persona { grid-template-columns: 48px 1fr; }
}

/* ─── 06 · FAQ ─── */

.faq {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--brand-line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}

.faq-side {
  position: sticky;
  top: 120px;
}
@media (max-width: 880px) {
  .faq-side { position: static; top: auto; }
}
.faq-side .eyebrow { margin-bottom: 24px; }
.faq-side h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
}
.faq-side h2 .it { font-style: italic; color: var(--teal); }
.faq-side .help {
  margin-top: 24px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--brand-paper-mute);
  max-width: 32ch;
}
.faq-side .help a {
  color: var(--teal);
  border-bottom: 1px solid rgba(0, 212, 170, 0.4);
  transition: border-color var(--dur-fade);
}
.faq-side .help a:hover { border-color: var(--teal); }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid rgba(0, 212, 170, 0.18); }
.faq-item:last-child { border-bottom: 1px solid rgba(0, 212, 170, 0.18); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.3;
  color: var(--brand-paper);
  letter-spacing: -0.01em;
  transition: color var(--dur-fade);
  min-height: 56px;
}
.faq-q:hover { color: var(--teal); }
.faq-q:hover .faq-toggle { border-color: var(--teal); }
.faq-q em { font-style: italic; color: var(--teal); }

.faq-toggle {
  width: 28px; height: 28px;
  flex-shrink: 0;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand-line-strong);
  border-radius: 50%;
  transition: background var(--dur-fade), border-color var(--dur-fade);
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--brand-paper);
  border-radius: 1px;
  transition: transform 280ms var(--ease-out-cubic), background var(--dur-fade);
}
.faq-toggle::before { width: 10px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 10px; }

.faq-item.is-open .faq-toggle {
  background: var(--teal);
  border-color: var(--teal);
}
.faq-item.is-open .faq-toggle::before,
.faq-item.is-open .faq-toggle::after { background: var(--brand-ink); }
.faq-item.is-open .faq-toggle::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease-out-cubic);
}
.faq-a-inner {
  padding: 0 0 26px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-paper-mute);
  max-width: 60ch;
}
.faq-a-inner em { font-style: italic; color: var(--brand-paper); }
.faq-a-inner strong { color: var(--brand-paper); font-weight: 400; }

/* ─── 07 · FOOTER ─── */

.foot {
  position: relative;
  padding: clamp(64px, 9vw, 104px) 0 0;
  border-top: 1px solid var(--brand-line);
  overflow: hidden;
}

.foot-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 88px);
}
@media (max-width: 880px) {
  .foot-cta { grid-template-columns: 1fr; gap: 28px; }
}

.foot-cta-line {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
}
.foot-cta-line .it { font-style: italic; color: var(--teal); }
.foot-cta-form { width: min(420px, 100%); }

.foot-mark {
  display: flex;
  justify-content: center;
  padding: 0 0 48px;
  position: relative;
}
.foot-mark img {
  display: block;
  width: min(880px, 88vw);
  height: auto;
  user-select: none;
  filter: drop-shadow(0 30px 60px rgba(0, 212, 170, 0.05));
}

.foot-fine {
  border-top: 1px solid var(--brand-line);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-paper-whisper);
}
.foot-fine-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-fine-links a { transition: color var(--dur-fade); }
.foot-fine-links a:hover { color: var(--brand-paper); }
.foot-fine .partner em {
  font-style: italic;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

/* ─── Reveal-on-scroll ─── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-baseline .word { opacity: 1; transform: none; filter: none; }
  .reveal { opacity: 1; transform: none; }
}
