/* ===========================================
   PRODUCTLY · Landing — styles spécifiques
   ===========================================
   Repose sur les tokens/composants de global.css.
*/

/* ----------- NAV (sticky) ----------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 760px) { .nav-links { display: none; } }

/* ----------- HERO ----------- */

.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.45vw, 18px);
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-fineprint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-fineprint span { display: inline-flex; align-items: center; gap: 6px; }

.hero-fineprint .check {
  width: 12px;
  height: 12px;
  display: inline-block;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3.5 3.5L13 5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3.5 3.5L13 5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

.tools-strip {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}

.tools-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 18px;
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  align-items: center;
  opacity: .85;
}

.tool-name {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ----------- DASHBOARD MOCK (dans le hero) ----------- */

.dash {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 13px;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sunk);
}

.dash-traffic { display: flex; gap: 6px; }
.dash-traffic span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.dash-traffic span:nth-child(1) { background: oklch(0.72 0.18 25); }
.dash-traffic span:nth-child(2) { background: oklch(0.82 0.16 85); }
.dash-traffic span:nth-child(3) { background: oklch(0.75 0.14 145); }

.dash-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-left: 6px;
}

.dash-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}

.dash-body { padding: 22px; display: grid; gap: 22px; }

.dash-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-sunk);
}

.dash-stat {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
}
.dash-stat:last-child { border-right: none; }

.dash-stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.dash-stat-value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum";
}

.dash-stat-value.accent { color: var(--accent-ink); }

.dash-stat-sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}

.dash-stat-sub.up::before { content: "↑ "; color: var(--accent); }

.dash-section-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dash-section-h h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.dash-section-h .dash-section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}

.dash-timeline {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.dash-day {
  height: 38px;
  background: var(--bg-sunk);
  border: 1px solid var(--border);
  border-radius: 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
  align-items: center;
  overflow: hidden;
}

.dash-day i {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: var(--h, 30%);
  background: var(--accent);
  opacity: 0.8;
  border-radius: 2px;
}

.dash-day.done i { opacity: 1; }

.dash-day.today {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dash-day.today::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent);
  border-radius: 7px;
  pointer-events: none;
}

.dash-day span { position: relative; z-index: 1; mix-blend-mode: multiply; }

.dash-table {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.dash-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 80px 80px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 10px;
}
.dash-row:last-child { border-bottom: none; }

.dash-row-name {
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dash-row-name .src {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  background: var(--bg-sunk);
  flex-shrink: 0;
}

.dash-row-name .label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-bar {
  height: 6px;
  background: var(--bg-sunk);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.dash-bar > i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.dash-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  text-align: right;
  font-feature-settings: "tnum";
}

.dash-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  text-align: right;
  font-feature-settings: "tnum";
}

.dash-autos { display: grid; gap: 10px; }

.dash-auto {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elev);
  transition: border-color .15s;
}
.dash-auto:hover { border-color: var(--border-strong); }

.dash-auto-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.dash-auto-text { flex: 1; min-width: 0; }

.dash-auto-text h5 {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.dash-auto-text p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.dash-auto-gain {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.dash-auto-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
  font-family: inherit;
}
.dash-auto-btn:hover { background: oklch(from var(--ink) calc(l + 0.08) c h); }

/* ----------- MÉTIERS ----------- */

.metiers-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev);
  max-width: 480px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.metiers-search svg { color: var(--muted); flex-shrink: 0; }

.metiers-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  color: inherit;
  height: 44px;
  font-size: 15px;
  font-family: inherit;
}
.metiers-search input::placeholder { color: var(--faint); }

.metiers-search .kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
  background: var(--bg-sunk);
}

.metiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elev);
}

.metier {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  background: var(--bg-elev);
  transition: background .15s, border-color .15s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  text-align: left;
  border-top: none;
  border-left: none;
  color: inherit;
  font-family: inherit;
  min-height: 150px;
}

.metier:hover {
  background: var(--bg-sunk);
}

.metier:hover .metier-cta {
  color: var(--accent);
}

.metier:hover .metier-cta::after {
  transform: translateX(3px);
}

.metier-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.metier-tools {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.metier-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--faint);
}

.metier-cta {
  color: var(--accent-ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}

/* ===========================================
   Modal preview métier (avant questionnaire)
   =========================================== */

.metier-modal-overlay {
  background: oklch(0.18 0.005 240 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.metier-modal-card {
  max-width: 540px;
  padding: 36px 40px 28px;
  position: relative;
  background: var(--bg-elev);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.metier-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
}

.metier-modal-close:hover {
  background: var(--bg-sunk);
  border-color: var(--border-strong);
  color: var(--ink);
}

.metier-modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.metier-modal-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.15;
}

.metier-modal-tools {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.metier-modal-gain {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.metier-modal-gain-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metier-modal-gain-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-ink);
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  line-height: 1;
}

.metier-modal-gain-unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-ink);
  font-weight: 500;
}

.metier-modal-gain-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  opacity: 0.75;
  margin-top: 6px;
}

.metier-modal-section {
  margin-bottom: 24px;
}

.metier-modal-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.metier-modal-autos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.metier-modal-autos li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 26px;
  position: relative;
  line-height: 1.45;
}

.metier-modal-autos li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  width: 18px;
  height: 18px;
  background: var(--accent-soft);
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  line-height: 18px;
}

.metier-modal-foot {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.metier-modal-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--faint);
  margin-bottom: 16px;
  text-align: center;
}

.metier-modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.metier-modal-actions .btn-ghost {
  flex: 0 0 auto;
}

.metier-modal-cta {
  flex: 1;
  justify-content: center;
}

@media (max-width: 540px) {
  .metier-modal-card { padding: 30px 22px 22px; }
  .metier-modal-title { font-size: 24px; }
  .metier-modal-gain-value { font-size: 28px; }
  .metier-modal-autos li { font-size: 13.5px; }
  .metier-modal-actions { flex-direction: column-reverse; }
  .metier-modal-actions .btn { width: 100%; }
}

.metiers-foot {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.metiers-foot a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.metiers-noresults {
  margin-top: 24px;
  padding: 24px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.metiers-noresults a { color: var(--accent-ink); text-decoration: underline; }

/* ----------- HOW IT WORKS ----------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elev);
}

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 280px;
}

.step:last-child { border-right: none; }

@media (max-width: 860px) {
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.step-title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }

.step-body { color: var(--muted); font-size: 14px; line-height: 1.55; }

.step-visual { margin-top: auto; padding-top: 16px; }

.sv1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.sv1 div {
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--faint);
  background: var(--bg-sunk);
}

.sv1 div.on {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.sv2 {
  height: 60px;
  background: var(--bg-sunk);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  padding: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
}

.sv2 svg { width: 100%; height: 100%; }
.sv2 .label { position: absolute; top: 6px; left: 8px; }
.sv2 .label-r { position: absolute; top: 6px; right: 8px; color: var(--accent-ink); }

.sv3 { display: grid; gap: 6px; }

.sv3 div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  background: var(--bg-sunk);
}

.sv3 .toggle {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  position: relative;
}

.sv3 .toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-elev);
}

.sv3 .toggle.off { background: var(--border-strong); }
.sv3 .toggle.off::after { right: auto; left: 2px; }

/* ----------- PRIVACY ----------- */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: stretch;
}

@media (max-width: 880px) { .privacy { grid-template-columns: 1fr; } }

.privacy-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.privacy-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.see-list, .nope-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.see-list li, .nope-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-sunk);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: -0.005em;
}

.see-list { background: none; }
.see-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  width: 14px;
}

.nope-list li {
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 1px;
  color: var(--muted);
}

.nope-list li::before {
  content: "✕";
  color: var(--danger);
  font-weight: 600;
  flex-shrink: 0;
  width: 14px;
  text-decoration: none;
  display: inline-block;
}

.privacy-side h2 { margin-bottom: 18px; }
.privacy-side p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.privacy-side .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  background: var(--bg-elev);
}

.badge svg { width: 14px; height: 14px; color: var(--accent); }

.arch {
  margin-top: 28px;
  padding: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  background: var(--bg-sunk);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.arch-title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 12px;
}

.arch-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.arch-node {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
  text-align: center;
  color: var(--ink-2);
  font-weight: 500;
}

.arch-node strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 2px;
}

.arch-arrow { color: var(--faint); font-family: var(--font-mono); }

.arch-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--accent-ink);
}

.arch-foot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.keylog {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.keylog-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--warn-soft);
  color: var(--warn);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid color-mix(in oklch, var(--warn) 30%, var(--border));
}

.keylog h4 { font-size: 14px; margin-bottom: 4px; }

.keylog p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.keylog p strong { color: var(--ink); font-weight: 600; }

/* ----------- FOUNDER ----------- */

.founder {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; gap: 24px; }
}

.founder-photo {
  width: 220px;
  height: 260px;
  border-radius: 12px;
  background: var(--bg-sunk);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-quote {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  text-wrap: pretty;
}

.founder-quote em {
  background: linear-gradient(transparent 60%, color-mix(in oklch, var(--accent) 35%, transparent) 60%);
  font-style: normal;
}

.founder-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.founder-name { font-size: 14px; font-weight: 600; }

.founder-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.founder-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg-elev);
  transition: border-color .15s;
}

.founder-link:hover { border-color: var(--accent); }

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

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.faq-item:last-child { border-bottom: none; }

@media (max-width: 760px) {
  .faq-item { grid-template-columns: 1fr; gap: 8px; }
}

.faq-q {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-a {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-a strong { color: var(--ink); font-weight: 600; }

/* ----------- FINAL CTA (sombre) ----------- */

.final-cta {
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 90% 0%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(40% 60% at 10% 100%, color-mix(in oklch, var(--accent) 12%, transparent), transparent 70%);
  opacity: .9;
  pointer-events: none;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  position: relative;
}

@media (max-width: 880px) {
  .final-cta-grid { grid-template-columns: 1fr; }
}

.final-cta h2 {
  color: var(--bg);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.032em;
  line-height: 1.05;
}

.final-cta p {
  color: oklch(0.78 0.006 80);
  font-size: 16px;
  margin: 22px 0 32px;
  max-width: 480px;
}

.final-cta .btn-primary { background: var(--bg); color: var(--ink); }
.final-cta .btn-primary:hover { background: oklch(from var(--bg) calc(l - 0.04) c h); }

.final-cta .btn-ghost {
  color: var(--bg);
  border-color: oklch(0.4 0.005 240);
}

.final-cta .hero-fineprint { color: oklch(0.6 0.006 80); }
.final-cta .hero-fineprint .check { background: var(--accent); }

.final-cta-aside {
  font-family: var(--font-mono);
  font-size: 12px;
  color: oklch(0.6 0.006 80);
}

.final-cta-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  counter-reset: cta;
}

.final-cta-aside li {
  display: flex;
  align-items: center;
  gap: 12px;
  counter-increment: cta;
  padding: 10px 14px;
  border: 1px solid oklch(0.3 0.005 240);
  border-radius: 8px;
  background: oklch(0.22 0.006 240);
}

.final-cta-aside li::before {
  content: counter(cta, decimal-leading-zero);
  color: var(--accent);
  font-weight: 500;
}

/* ----------- FOOTER ----------- */

.foot {
  padding: 36px 0 56px;
  font-size: 13px;
  color: var(--muted);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

.foot-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
}

/* =========================================================
   RESPONSIVE — tablette & mobile
   ========================================================= */

@media (max-width: 980px) {
  :root { --pad-x: clamp(18px, 4vw, 32px); }
  .nav-inner { height: 60px; }
  .nav-cta .nav-login { padding: 0 12px; font-size: 13px; }
  .hero { padding-top: clamp(40px, 8vw, 72px); }
  .hero-cta-row .btn { flex: 1; justify-content: center; min-width: 0; }
  .hero-fineprint { gap: 10px 16px; }
  .tools-row { gap: 16px 24px; }
}

@media (max-width: 760px) {
  :root { --pad-x: 18px; }
  body { font-size: 15px; }

  .nav-inner { height: 56px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 24px; height: 24px; }
  .nav-cta .btn { height: 34px; padding: 0 12px; font-size: 13px; }

  .hero { padding: 36px 0 32px; }
  .hero-grid { gap: 36px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  h1 { letter-spacing: -0.03em; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-cta-row { margin-top: 28px; gap: 10px; }
  .hero-cta-row .btn { width: 100%; flex: 1 1 100%; }
  .btn-lg { height: 48px; font-size: 15px; }
  .hero-fineprint { font-size: 11.5px; gap: 8px 14px; }
  .tools-strip { margin-top: 40px; padding-top: 22px; }
  .tools-row { gap: 14px 22px; }
  .tool-name { font-size: 13px; }

  .dash { font-size: 12.5px; }
  .dash-body { padding: 14px; gap: 18px; }
  .dash-summary { grid-template-columns: 1fr; }
  .dash-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
  }
  .dash-stat:last-child { border-bottom: none; }
  .dash-stat-value { font-size: 24px; }

  .dash-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name time"
      "bar  num";
    gap: 6px 10px;
    padding: 12px;
  }
  .dash-row-name { grid-area: name; min-width: 0; }
  .dash-row-name .label { white-space: normal; line-height: 1.3; font-size: 12.5px; }
  .dash-bar { grid-area: bar; }
  .dash-num { grid-area: num; font-size: 11px; }
  .dash-time { grid-area: time; font-size: 11.5px; }

  .dash-auto {
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
  }
  .dash-auto-icon { width: 28px; height: 28px; font-size: 11px; }
  .dash-auto-text { flex: 1 1 calc(100% - 38px); }
  .dash-auto-gain { font-size: 11px; padding: 3px 7px; }
  .dash-auto-btn { height: 28px; font-size: 11.5px; margin-left: auto; }

  .dash-timeline { gap: 3px; }
  .dash-day { height: 32px; font-size: 8px; }

  section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; gap: 18px; }
  .section-eyebrow { font-size: 10.5px; margin-bottom: 10px; }
  .section-lede { font-size: 15px; }

  .metiers-search { max-width: none; padding: 4px 4px 4px 14px; }
  .metiers-search input { height: 42px; font-size: 14px; }
  .metiers-search .kbd { display: none; }
  .metiers-grid { grid-template-columns: 1fr 1fr; }
  .metier { padding: 16px 18px; min-height: 120px; }
  .metier-name { font-size: 14.5px; }
  .metier-tools { font-size: 11px; margin-bottom: 8px; }
  .metier-meta { font-size: 11px; padding-top: 10px; }

  .step { padding: 24px 22px; min-height: 0; }
  .step-title { font-size: 17px; }
  .step-body { font-size: 13.5px; }

  .privacy { gap: 28px; }
  .privacy-card { padding: 22px; border-radius: 12px; }
  .privacy-card h3 { font-size: 14px; margin-bottom: 14px; }
  .see-list li, .nope-list li { font-size: 12px; padding: 9px 11px; }
  .privacy-side p { font-size: 15px; }
  .arch-row { grid-template-columns: 1fr; gap: 8px; }
  .arch-arrow { transform: rotate(90deg); justify-self: center; }
  .arch-node { padding: 10px 12px; }
  .keylog { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .keylog-icon { width: 32px; height: 32px; }
  .badges { gap: 6px; }
  .badge { font-size: 11px; padding: 6px 10px; }

  .founder-photo { width: 100%; max-width: 320px; height: 240px; }
  .founder-quote { font-size: 18px; line-height: 1.45; }
  .founder-meta { gap: 10px; margin-top: 20px; }
  .founder-link { font-size: 11px; padding: 5px 8px; }

  .faq-item { padding: 18px 0; gap: 6px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 14px; }

  .final-cta { padding: 64px 0; }
  .final-cta h2 { font-size: clamp(30px, 8vw, 40px); }
  .final-cta p { font-size: 15px; margin: 18px 0 24px; }
  .final-cta-grid { gap: 32px; }
  .final-cta-aside ol { gap: 6px; }
  .final-cta-aside li { padding: 9px 12px; font-size: 11.5px; }

  .foot { padding: 28px 0 40px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-links { flex-wrap: wrap; gap: 14px 20px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  h1 { font-size: 36px; line-height: 1.05; }
  h2 { font-size: 26px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .nav-links { display: none; }
  .nav-cta .btn-primary { padding: 0 10px; font-size: 12.5px; }
  .metiers-grid { grid-template-columns: 1fr; }
  .dash-auto-gain { order: 2; }
  .dash-auto-btn { order: 3; width: 100%; justify-content: center; height: 32px; }
  .founder-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  :root { --pad-x: 14px; }
  .hero-fineprint { font-size: 11px; }
  .dash-stat-value { font-size: 22px; }
}
