/* ============================================================
   Témoova — Design system
   Papier chaud, accent terracotta unique, éditorial serif/sans
   ============================================================ */

:root {
  /* Couleurs — primitives */
  --paper: oklch(0.985 0.004 90);
  --surface: oklch(0.995 0.002 90);
  --ink: oklch(0.21 0.012 80);
  --ink-soft: oklch(0.44 0.014 80);
  --ink-faint: oklch(0.55 0.014 80);
  --accent: oklch(0.55 0.15 32);
  --accent-strong: oklch(0.47 0.15 32);
  --accent-soft: oklch(0.94 0.035 38);
  --accent-line: oklch(0.86 0.06 38);
  --line: oklch(0.9 0.008 80);
  --line-strong: oklch(0.82 0.01 80);
  --dark: oklch(0.22 0.012 80);
  --dark-soft: oklch(0.3 0.014 80);
  --on-dark: oklch(0.93 0.008 90);
  --on-dark-soft: oklch(0.75 0.01 85);
  --star: oklch(0.75 0.16 75);

  /* Ombres chaudes */
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.05);
  --shadow-md: 0 12px 32px -12px oklch(0.2 0.01 80 / 0.14);
  --shadow-lg: 0 24px 60px -20px oklch(0.2 0.01 80 / 0.18);

  /* Rayons */
  --r-tag: 6px;
  --r-card: 14px;
  --r-block: 20px;

  /* Espacements */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px;
  --sp-24: 96px; --sp-32: 128px;

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Grain papier subtil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60vw 50vh at 18% 8%, oklch(0.94 0.03 45 / 0.5), transparent 70%),
    radial-gradient(50vw 45vh at 85% 75%, oklch(0.94 0.025 60 / 0.4), transparent 70%);
}

body > * { position: relative; z-index: 1; }

main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 6.2vw, 80px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.015em; }
h4 { font-size: 18px; }

h1 em, h2 em {
  font-style: italic;
  color: var(--accent-strong);
}

p { margin: 0 0 var(--sp-4); max-width: 68ch; }

a {
  color: var(--accent-strong);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

img, svg, video { max-width: 100%; display: block; }

::selection { background: var(--accent-soft); color: var(--accent-strong); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.section { padding-block: var(--sp-24); }
.section-tight { padding-block: var(--sp-16); }

/* Micro-labels mono */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.kicker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
}

.mono { font-family: var(--font-mono); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease,
              background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn .arrow { display: inline-block; transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: oklch(0.16 0.01 80);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

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

.btn-ghost-light {
  background: transparent;
  color: var(--on-dark);
  border-color: oklch(1 0 0 / 0.22);
}
.btn-ghost-light:hover { border-color: oklch(1 0 0 / 0.5); background: oklch(1 0 0 / 0.06); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: oklch(0.985 0.004 90 / 0.8);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none !important;
}
.brand svg { width: 28px; height: 28px; }

.main-nav { display: flex; align-items: center; gap: var(--sp-8); }

/* Le CTA dans le menu n'apparaît qu'en mobile (le bouton header le double sinon) */
.main-nav .btn { display: none; }

.main-nav a.nav-link {
  color: var(--ink-soft);
  font-size: 15px;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.main-nav a.nav-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: var(--sp-3); }
.header-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-24);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--sp-12);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: var(--sp-6);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero p.lead { margin-bottom: var(--sp-8); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-proof svg { width: 16px; height: 16px; stroke: var(--accent-strong); flex: none; }

/* Maquette produit (pur HTML/CSS) */
.mockup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1deg);
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.97 0.005 85);
}
.mockup-chrome .c { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mockup-chrome .url {
  flex: 1;
  margin-left: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-body { padding: var(--sp-6); display: grid; gap: var(--sp-4); }

.mockup-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.mockup-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }

.pill-live {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill-live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.t-widget {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--sp-4);
  background: var(--paper);
}
.t-widget .stars { display: flex; gap: 2px; margin-bottom: var(--sp-2); }
.t-widget .stars svg { width: 15px; height: 15px; fill: var(--star); }
.t-widget blockquote {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink);
}
.t-widget figcaption { display: flex; align-items: center; gap: var(--sp-2); font-size: 13px; color: var(--ink-soft); }
.t-widget .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent-strong);
  flex: none;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.stat-cell {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--sp-3) var(--sp-4);
  background: var(--paper);
}
.stat-cell .num { font-family: var(--font-mono); font-size: 20px; color: var(--ink); display: block; line-height: 1.2; }
.stat-cell .lbl { font-size: 12px; color: var(--ink-faint); }
.stat-cell .up { color: var(--accent-strong); }

/* ---------- Bande de confiance / cas d'usage ---------- */
.usecases {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding-block: var(--sp-8);
}
.usecases-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3) var(--sp-8);
  margin: 0; padding: 0; list-style: none;
}
.usecases-row li {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.usecases-row li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* ---------- Sections génériques ---------- */
.section-head { max-width: 720px; margin-bottom: var(--sp-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Fonctionnalités ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-6);
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: var(--sp-8);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.feature:nth-child(1) { grid-column: span 7; }
.feature:nth-child(2) { grid-column: span 5; }
.feature:nth-child(3) { grid-column: span 5; }
.feature:nth-child(4) { grid-column: span 7; }

.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--accent-strong); }

.feature h3 { margin-bottom: var(--sp-2); }
.feature p { color: var(--ink-soft); margin-bottom: 0; }

.feature-demo {
  margin-top: var(--sp-6);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  padding: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-tag);
  padding: 4px 10px;
}
.chip.accent { color: var(--accent-strong); background: var(--accent-soft); border-color: var(--accent-line); }

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: var(--sp-6);
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-strong);
  display: block;
  margin-bottom: var(--sp-3);
}
.step h3 { font-size: 22px; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Aperçu widgets ---------- */
.showcase {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
}
.showcase-grid .t-widget { background: var(--surface); box-shadow: var(--shadow-sm); }
.showcase-note {
  margin-top: var(--sp-8);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- Tarifs ---------- */
.pricing-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-6);
  margin: 0 0 var(--sp-12);
  padding: 0;
  list-style: none;
}
.pricing-note li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--ink-soft);
}
.pricing-note svg { width: 15px; height: 15px; stroke: var(--accent-strong); flex: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: var(--sp-8);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.plan.popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: var(--sp-8);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
}

.plan.custom {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--on-dark);
}
.plan.custom h3, .plan.custom .plan-price, .plan.custom .plan-price .amount { color: var(--on-dark); }
.plan.custom .plan-price { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
.plan.custom .plan-desc, .plan.custom .plan-features li { color: var(--on-dark-soft); }
.plan.custom .plan-features svg { stroke: var(--accent); }
.plan.custom .plan-price .period { color: var(--on-dark-soft); }

.plan-name { font-size: 22px; margin-bottom: 2px; }
.plan-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: var(--sp-6); min-height: 2.8em; }

.plan-price { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 46px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.plan-price .period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}

.plan-features {
  list-style: none;
  margin: 0 0 var(--sp-8);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: var(--sp-3);
  font-size: 14.5px;
  color: var(--ink-soft);
  align-items: flex-start;
}
.plan-features svg { width: 16px; height: 16px; stroke: var(--accent-strong); flex: none; margin-top: 3px; }
.plan-features li strong { color: var(--ink); font-weight: 600; }
.plan.custom .plan-features li strong { color: var(--on-dark); }

.plan-foot {
  margin-top: var(--sp-4);
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}
.plan.custom .plan-foot { color: var(--on-dark-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5, 20px) 0;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q .plus {
  flex: none;
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  transition: transform 240ms ease, border-color 160ms ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 240ms ease;
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .plus { transform: rotate(45deg); border-color: var(--accent); }
.faq-q:hover .plus { border-color: var(--accent); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 240ms ease;
}
.faq-a-inner { padding: 0 0 var(--sp-6); color: var(--ink-soft); max-width: 65ch; }
.faq-a-inner p { margin: 0; }

/* ---------- Bande CTA finale ---------- */
.cta-band {
  background:
    radial-gradient(70% 90% at 88% 12%, oklch(0.55 0.15 32 / 0.28), transparent 65%),
    var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-block);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  margin-bottom: var(--sp-24);
}
.cta-band h2 { color: var(--on-dark); }
.cta-band h2 em { color: oklch(0.78 0.12 40); }
.cta-band p { color: var(--on-dark-soft); margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-band .mono-note {
  margin-top: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--on-dark-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-soft);
  padding: var(--sp-16) 0 var(--sp-8);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}
.site-footer .brand { color: var(--on-dark); margin-bottom: var(--sp-4); }
.site-footer p { font-size: 14px; max-width: 40ch; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer-col a { color: var(--on-dark-soft); text-decoration: none; }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; }

.footer-company {
  border-top: 1px solid oklch(1 0 0 / 0.12);
  padding-top: var(--sp-6);
  font-size: 13px;
  line-height: 1.7;
}
.footer-company p { margin-bottom: var(--sp-2); max-width: none; }
/* Les champs entre parenthèses ressortent aussi sur fond sombre */
.site-footer .placeholder {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: oklch(0.82 0.1 45);
  background: oklch(0.55 0.15 32 / 0.18);
  border: 1px solid oklch(0.55 0.15 32 / 0.4);
  border-radius: var(--r-tag);
  padding: 1px 8px;
}
.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  border-top: 1px solid oklch(1 0 0 / 0.12);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  font-size: 13px;
}

/* ---------- Pages légales ---------- */
.page-hero {
  padding: var(--sp-16) 0 var(--sp-8);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: var(--sp-3); }
.page-hero .updated { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }

.legal-body { padding: var(--sp-12) 0 var(--sp-24); }
.legal-body article { max-width: 760px; }
.legal-body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 19px; margin-top: var(--sp-8); }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { padding-left: var(--sp-6); }
.legal-body li { margin-bottom: var(--sp-2); }
.legal-body .placeholder {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: var(--r-tag);
  padding: 1px 8px;
  white-space: nowrap;
}

/* ---------- Page contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sp-12);
  align-items: start;
}

.contact-info-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: var(--sp-8);
}
.contact-info-card dl { margin: 0; display: grid; gap: var(--sp-5, 20px); }
.contact-info-card dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.contact-info-card dd { margin: 0; color: var(--ink); font-size: 15px; }
.contact-info-card dd .placeholder { white-space: normal; }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: var(--sp-8);
  display: grid;
  gap: var(--sp-5, 20px);
}
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--accent-strong); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .hint { font-size: 12.5px; color: var(--ink-faint); margin: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.form-status {
  display: none;
  border-radius: 10px;
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
}
.form-status.ok {
  display: block;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

/* ---------- Modale paiement ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.15 0.01 80 / 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: var(--sp-8);
  position: relative;
}
.modal h3 { margin-bottom: var(--sp-2); }
.modal p { color: var(--ink-soft); font-size: 15px; }
.modal .plan-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: var(--sp-4);
}
.modal-close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 160ms ease;
}
.modal-close:hover { border-color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; stroke: var(--ink); }
.modal-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ---------- Révélations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .mockup { max-width: 560px; }
  .features-grid .feature { grid-column: span 12 !important; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sp-24: 72px; --sp-16: 48px; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a.nav-link:hover { border-bottom-color: var(--line); }
  .main-nav .btn { display: inline-flex; margin-top: var(--sp-4); }

  .header-cta .btn { display: none; }

  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .cta-band { padding: var(--sp-12) var(--sp-6); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ---------- Accessibilité mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
