/* landing.css — feuille de la landing publique (static/index.html).
 *
 * ⚠️ EXTRAITE D'UN <style> INLINE LE 2026-07-14 — NE PAS LA REMETTRE INLINE.
 * La CSP de production (infra/nginx/rendtrack.conf) pose `style-src 'self'`
 * SANS 'unsafe-inline' : tout bloc <style> et tout attribut style="..." y est
 * bloqué. Cette page s'affichait ENTIÈREMENT NUE (Times New Roman, liens bleus)
 * et pire — FR et EN simultanément, les règles .fr/.en{display:none} vivant dans
 * le bloc bloqué. Invisible en dev : le Go ne pose aucune CSP, seul nginx le
 * fait, et il n'a jamais été exercé (VPS non déployé, Lot 7).
 * Prouvé au navigateur en servant static/ avec la CSP exacte de la conf.
 * Vérifier toute nouvelle règle sous CSP réelle, pas seulement en dev.
 */

:root {
  --bg: #080c14;
  --bg2: #0d1220;
  --surface: #121929;
  --border: #1e2a3d;
  --gold: #e8b84b;
  --gold2: #f5d07a;
  --gold-dim: rgba(232,184,75,0.12);
  --gold-glow: rgba(232,184,75,0.25);
  --green: #3ecf8e;
  --green-dim: rgba(62,207,142,0.1);
  --text: #eef2f8;
  --text2: #8899b4;
  --muted: #4a5878;
  --red: #f05d5d;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Mono', monospace;
  background: var(--bg) url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  color: var(--text);
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transition: transform 0.15s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(232,184,75,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94), opacity 0.3s;
  transform: translate(-50%, -50%);
}
body:hover .cursor { opacity: 1; }


/* Grid background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(232,184,75,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,184,75,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── LANG TOGGLE ── */
/* `.lang-bar`, `.logo`, `.nav-right` → `nav.css` (feuille partagée avec les
   pages légales, qui en portaient une copie). */

.lang-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.lang-btn {
  padding: 5px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--muted);
  transition: all 0.2s;
}
.lang-btn.active { background: var(--gold-dim); color: var(--gold); }

.nav-cta {
  padding: 7px 18px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 20px var(--gold-glow); }
.nav-cta.secondary { background: none; color: var(--text2); border: 1px solid var(--border); }
.nav-cta.secondary:hover { background: none; border-color: var(--gold); color: var(--gold); box-shadow: none; }

/* Sous 640 px la barre passe en `sticky` et retourne à la ligne (cf. nav.css).
   On resserre les deux boutons pour que tout `.nav-right` tienne sur UNE
   rangée : la barre fait alors 2 rangées au lieu de 3, et rend ~34 px de
   hauteur au contenu. Mesuré en français, cas dimensionnant. */
@media (max-width: 640px) {
  /* 9 px et non 10 : « Essayer gratuitement » + « Se connecter » + FR/EN
     doivent tenir sur UNE rangée à 375 px, sinon la barre passe à 3 rangées.
     Le resserrement est ici, pas dans `nav.css` : les pages légales ont 125 px
     de marge et n'ont aucune raison de payer la contrainte de la landing. */
  .nav-cta { padding: 6px 9px; font-size: 10px; }
  /* Les 100 px de `padding-top` du héros compensaient une barre en `position:
     fixed`, qui ne prenait pas de place. Elle est désormais en `sticky` donc
     DANS le flux : la compensation faisait doublon et repoussait le titre à
     208 px du haut, sur un écran qui en fait 667. */
  .hero { padding-top: 32px; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  z-index: 1;
  overflow: hidden;
}

/* Radial glow */
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(232,184,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(232,184,75,0.25);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--text);
  max-width: 900px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-title .accent {
  color: var(--gold);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.hero-title .line2 {
  display: block;
  color: var(--text2);
  font-size: 0.72em;
  margin-top: 8px;
  letter-spacing: -2px;
}

.hero-sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text2);
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-sub .fr { display: block; }
.hero-sub .en { display: none; font-style: italic; color: var(--muted); margin-top: 6px; }

/* Numbers ticker */
.hero-ticker {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
  justify-content: center;
}
.ticker-item {}
.ticker-val {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}
.ticker-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  animation: fadeUp 0.8s ease 0.4s both;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: none;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-note {
  margin-top: 16px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
  animation: fadeUp 0.8s ease 0.5s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CHART PREVIEW ── */
.chart-preview {
  position: relative;
  margin-top: 72px;
  width: 100%;
  max-width: 880px;
  animation: fadeUp 0.8s ease 0.6s both;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green), transparent);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.preview-title {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.preview-val {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.preview-sub { font-size: 10px; color: var(--green); margin-top: 2px; }

/* Animated chart bars */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: height 1s cubic-bezier(.34,1.56,.64,1);
  animation: growBar 1.2s cubic-bezier(.34,1.56,.64,1) both;
}
.bar.gold { background: linear-gradient(180deg, var(--gold) 0%, rgba(232,184,75,0.3) 100%); }
.bar.green { background: linear-gradient(180deg, var(--green) 0%, rgba(62,207,142,0.3) 100%); }
.bar:hover::after {
  content: attr(data-val);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--gold);
  white-space: nowrap;
  background: var(--bg2);
  padding: 2px 6px;
  border-radius: 3px;
}

@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

.chart-labels {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.chart-label-item {
  flex: 1;
  text-align: center;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* Preview stats row */
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.prev-stat {}
.prev-stat-label { font-size: 8px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.prev-stat-val { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); margin-top: 3px; }
.prev-stat-val.pos { color: var(--green); }

/* ── FEATURES ── */
.section {
  position: relative;
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
}

.section-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  max-width: 600px;
}
.section-title .it {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg2);
  padding: 36px 32px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { background: var(--surface); }
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(0deg, var(--gold-dim), transparent);
  transition: height 0.3s;
  pointer-events: none;
}
.feature-card:hover::after { height: 60px; }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(232,184,75,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.feature-desc {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text2);
}
.feature-desc .en { display: none; font-style: italic; }

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 10px;
  background: var(--green-dim);
  border: 1px solid rgba(62,207,142,0.2);
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
}

/* ── SIMULATION DEMO ── */
.demo-section {
  position: relative;
  padding: 80px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  z-index: 1;
}
.demo-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,184,75,0.05), transparent 60%);
  pointer-events: none;
}

.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.demo-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-field {}
.demo-field label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.demo-field input, .demo-field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.demo-field input:focus, .demo-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.demo-field select option { background: var(--surface); }

.demo-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.demo-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 24px var(--gold-glow); }

.demo-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.demo-result::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.result-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.result-val {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
  transition: all 0.4s cubic-bezier(.34,1.56,.64,1);
}
.result-sub { font-size: 11px; color: var(--green); margin-top: 6px; }
.result-sub .fr {}
.result-sub .en { display: none; }

.result-breakdown {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breakdown-label { font-size: 10px; color: var(--text2); }
.breakdown-val { font-size: 12px; font-weight: 500; color: var(--text); }
.breakdown-val.hi { color: var(--gold); }

/* Progress bar */
.progress-wrap {
  margin-top: 20px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}
.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold2), var(--green));
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(.34,1.56,.64,1);
}

/* ── PRICING ── */
.pricing-section {
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}

.plan-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--bg2), rgba(232,184,75,0.04));
}
.plan-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-radius: 12px 12px 0 0;
}

.plan-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(232,184,75,0.3);
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.plan-price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
}
.price-period { font-size: 12px; color: var(--muted); }

.plan-desc {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text2);
  line-height: 1.6;
}

.plan-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text2);
}
.feat-check { color: var(--green); flex-shrink: 0; }
.feat-cross { color: var(--muted); flex-shrink: 0; }

.plan-btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 13px;
  text-align: center;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}
.plan-btn.free {
  background: var(--surface);
  color: var(--text2);
  border: 1px solid var(--border);
}
.plan-btn.free:hover { border-color: var(--gold); color: var(--gold); }
.plan-btn.premium {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--bg);
}
.plan-btn.premium:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 24px var(--gold-glow); }

/* ── FOOTER ── */
footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  /* 🔴 `space-between` sans `gap` ne garantit RIEN : quand les trois blocs
     remplissent la ligne, l'espace à distribuer tombe à zéro et ils se touchent.
     Mesuré le 2026-08-18 sur la prod : 3 px d'écart à 925 px de large (contre
     53 px à 1024 px). La bande allait de 769 px — où la règle d'empilement
     s'arrête — à ~955 px : tablettes et fenêtres de portable réduites.
     Le `gap` est un PLANCHER, lui : l'avertissement du centre, seul bloc au
     texte long, absorbe la contrainte en passant sur deux lignes. */
  gap: 32px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.footer-logo span { color: var(--gold); }

.footer-note {
  font-size: 10px;
  /* Inversé avec .footer-links le 2026-08-18 : l'avertissement « pas de conseil
     financier » porte plus que les liens légaux, il prend donc la teinte lisible. */
  color: var(--text);
  opacity: .7;
  letter-spacing: 0.5px;
}

/* Mentions de la section tarifs (taxes en sus, plan gratuit sans garantie).
   Lisibles mais secondaires : elles informent, elles ne vendent pas. */
.pricing-note {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text2);
}
.pricing-note.disclaimer { margin-top: 28px; font-size: 11px; color: var(--muted); }

/* ── CONTACT ── */
.contact-section {
  padding: 100px 40px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  text-align: left;
}
.contact-field label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 11px 14px;
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,184,75,.1);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--muted); }
.contact-msg {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.5;
  display: none;
}
.contact-msg.error   { background: rgba(240,93,93,.08); border: 1px solid rgba(240,93,93,.2); color: #f05d5d; display: block; }
.contact-msg.success { background: rgba(62,207,142,.08); border: 1px solid rgba(62,207,142,.2); color: var(--green); display: block; }

/* Honeypot anti-bot — visible pour les bots qui remplissent tout, invisible
   pour les humains (off-screen + aria-hidden + tabindex -1). Si le champ
   arrive rempli côté API, le message est rejeté silencieusement. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-ticker { gap: 24px; }
  .section { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
 * Remplaçants des attributs style="…" (2026-07-14)
 * La CSP prod (`style-src 'self'` sans 'unsafe-inline') bloque tout
 * attribut style="…" : les 31 qui étaient ici sont devenus des classes.
 * ⚠️ Ne pas réintroduire de style="…" dans index.html.
 * ───────────────────────────────────────────────────────────────── */

.ta-right { text-align: right; }
.c-green { color: var(--green); }
.c-muted { color: var(--muted); }
.full-row { grid-column: 1 / -1; }
.no-underline { text-decoration: none; }
.mb-32 { margin-bottom: 32px; }
.mt-4 { margin-top: 4px; }

/* Titres de section centrés (2 occurrences) */
.section-title.centered { margin: 0 auto; text-align: center; letter-spacing: -2px; }

/* Barre de progression de la démo : état initial. La largeur réelle est posée
 * par landing.js en CSSOM (el.style.width) — le CSSOM échappe à la CSP,
 * contrairement à un attribut style="…" dans le markup. */
.progress-fill.start-0 { width: 0%; }

/* Pied de la landing */
/* Teinte posée sur le conteneur, pas sur le `a` : le séparateur `·` l'hérite
   ainsi lui aussi et ne reste pas sur l'ancienne couleur.
   `--text2` et NON `--muted` : l'échange littéral avec .footer-note aurait mis
   ces liens à 2,76:1 sur le fond (mesuré) — sous le seuil AA de 4,5:1, et sur
   des cibles cliquables de 11 px. `--text2` rend 6,77:1 en gardant le retrait
   voulu. La mention, elle, passe de 2,76:1 à 8,69:1. */
.footer-links { margin-top: 10px; font-size: 11px; color: var(--text2); }
.footer-links a { color: inherit; opacity: 1; text-decoration: none; }
.footer-links .sep { opacity: .6; margin: 0 6px; }

/* Hauteurs des 15 barres du graphique d'aperçu.
 * En :nth-child plutôt qu'en style="height:…" ou via JS : ce sont des valeurs
 * FIXES d'illustration, elles doivent tenir SANS JavaScript. L'ordre du markup
 * fait foi — si on ajoute/retire une barre, ajuster ici. */
.chart-bars .bar:nth-child(1)  { height: 18%; }
.chart-bars .bar:nth-child(2)  { height: 22%; }
.chart-bars .bar:nth-child(3)  { height: 28%; }
.chart-bars .bar:nth-child(4)  { height: 34%; }
.chart-bars .bar:nth-child(5)  { height: 40%; }
.chart-bars .bar:nth-child(6)  { height: 48%; }
.chart-bars .bar:nth-child(7)  { height: 56%; }
.chart-bars .bar:nth-child(8)  { height: 65%; }
.chart-bars .bar:nth-child(9)  { height: 72%; }
.chart-bars .bar:nth-child(10) { height: 80%; }
.chart-bars .bar:nth-child(11) { height: 88%; }
.chart-bars .bar:nth-child(12) { height: 95%; }
.chart-bars .bar:nth-child(13) { height: 100%; }
.chart-bars .bar:nth-child(14) { height: 98%; }
.chart-bars .bar:nth-child(15) { height: 100%; }
