/* ===== Polices hébergées localement ===== */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk.woff2") format("woff2");
}

/* ===== Design tokens — fond blanc, navy + indigo/cyan ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f0;
  --bg-elevated: #f1eee8;
  --bg-card: #ffffff;
  --text: #1c1c1c;
  --text-muted: #5c5c5c;
  --text-dim: #6b6b6b;
  --border: #e2ddd6;
  --border-strong: #c7c1b6;

  --color-primary: #0b0b0f;
  --color-primary-dark: #000000;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4fc4;
  --accent-2: #2563eb;
  --glow: rgba(37, 99, 235, 0.3);
  --glow-navy: rgba(37, 99, 235, 0.18);

  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1120px;
  --max-width-narrow: 720px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
p { margin: 0 0 1em; color: var(--text); }
a { color: inherit; }
ul { padding-left: 1.2em; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-narrow { max-width: var(--max-width-narrow); }

.section { padding: 72px 0; position: relative; background: var(--bg); border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--text-muted); margin-bottom: 2em; }
.emphasis { font-weight: 600; color: var(--text); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--color-accent-dark);
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
}
.btn-accent:hover {
  box-shadow: 0 8px 24px var(--glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-outline-light {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline-light:hover { border-color: var(--text); background: rgba(11, 15, 26, 0.04); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: block; text-align: center; width: 100%; }

.fine-print { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.75em; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  text-decoration: none;
  color: var(--text);
  line-height: 1.2;
}
.brand-name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-tagline {
  display: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}
.main-nav { display: none; gap: 24px; }
.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text);
}
.main-nav a:hover { color: var(--color-accent); }
.header-cta { padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; }

@media (min-width: 900px) {
  .brand-tagline { display: block; }
  .main-nav { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--bg);
  padding: 64px 0 56px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: 2rem; }
.hero .lead { font-size: 1.1rem; color: var(--text-muted); }
.hero .fine-print { color: var(--text-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* CTA (id=rdv) : bande pleine largeur, séparateurs nets avec les sections claires autour */
.hero-final {
  --text: #ffffff;
  --text-muted: #e8e9ec;
  --text-dim: #cbced6;
  background: var(--color-primary);
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-final .lead-small { font-size: 1.05rem; color: #6ea0ff; font-weight: 600; }

@media (min-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
}

/* Hero plein-écran avec photo en fond (section 1 uniquement) */
.hero-photo {
  --text: #ffffff;
  --text-muted: #e8e9ec;
  --text-dim: #cbced6;
  --border-strong: rgba(255, 255, 255, 0.45);
  padding: 110px 0 96px;
  min-height: 72vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 45%, rgba(255, 106, 40, 0.35), transparent 60%),
    linear-gradient(135deg, #0b0b0f, #17171d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.55), rgba(10, 14, 26, 0.35));
}
.hero-photo .wrap { max-width: var(--max-width); }
.hero-photo .hero-text { max-width: 640px; }
.hero-photo .btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 640px) {
  .hero-photo { min-height: 64vh; padding: 90px 0 72px; }
}

/* ===== Image placeholders (captures à venir) ===== */
.img-placeholder {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 24px;
}
.img-placeholder.ratio-4-3 { aspect-ratio: 4 / 3; }
.solution-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 28, 28, 0.1);
}

/* ===== Image rows (section 3) ===== */
.imgrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.imgrow:first-of-type { border-top: none; }
.imgrow h3 { font-size: 1.3rem; }
.imgrow p { color: var(--text-muted); }

@media (min-width: 800px) {
  .imgrow { grid-template-columns: 1fr 1fr; gap: 48px; }
  .imgrow-reverse .imgrow-media { order: 2; }
  .imgrow-reverse .imgrow-text { order: 1; }
}

/* ===== Flow diagrams (schémas des solutions) ===== */
.flow-diagram {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.flow-inputs { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 200px; }
.flow-inputs-single { align-items: center; }
.flow-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.flow-node svg { width: 18px; height: 18px; flex: none; color: var(--color-accent-dark); }
.flow-line {
  width: 2px;
  height: 26px;
  background: linear-gradient(var(--border-strong), var(--color-accent));
  flex: none;
}
.flow-hub {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--glow);
}
.flow-hub svg { width: 22px; height: 22px; color: #fff; }
.flow-output { width: 100%; max-width: 200px; display: flex; justify-content: center; }
.flow-card {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}
.flow-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.14);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.flow-check svg { width: 13px; height: 13px; }
.flow-card-title { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.flow-card-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--bg-alt);
  padding: 3px 9px;
  border-radius: 12px;
}
.flow-card-tag-inline { display: inline-flex; align-items: center; gap: 5px; }
.flow-card-tag-inline svg { width: 12px; height: 12px; }
.flow-doc-lines { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-bottom: 4px; }
.flow-doc-lines span { display: block; height: 6px; border-radius: 3px; background: var(--border-strong); }
.flow-doc-lines span.short { width: 60%; }

.flow-diagram-sync { gap: 22px; }
.flow-sync-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.flow-line-h { width: 28px; height: 2px; }
.flow-node-lg { padding: 12px 16px; font-weight: 600; }
.flow-node-lg svg { width: 20px; height: 20px; }
.flow-node-highlight {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(29,79,196,0.08));
  color: var(--text);
  box-shadow: 0 0 16px var(--glow);
}
.flow-node-highlight svg { color: var(--color-accent-dark); }
.flow-badge {
  align-self: center;
  font-size: 0.78rem;
  color: var(--color-accent-dark);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.22);
}

@media (min-width: 640px) {
  .flow-diagram:not(.flow-diagram-sync) { flex-direction: row; }
  .flow-diagram:not(.flow-diagram-sync) .flow-line { width: 36px; height: 2px; background: linear-gradient(90deg, var(--border-strong), var(--color-accent)); }
}

/* ===== Où perdez-vous du temps (grille bento) ===== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.bento-card {
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.bento-text h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.bento-text p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }
.bento-dark { background: #0b0b0f; border-color: #0b0b0f; }
.bento-dark .bento-text h3, .bento-dark .bento-text p { color: #fff; }
.bento-dark .bento-text p { color: #b7bdd0; }
.bento-tint-amber { background: #fdf3e3; border-color: #f6e6c8; }
.bento-tint-teal { background: #e3f5f1; border-color: #cdece5; }
.bento-tint-coral { background: #fdedea; border-color: #f8dbd5; }
.bento-tint-blue { background: #eaf1fd; border-color: #d5e3f8; }
.bento-tint-lavender { background: #efedfd; border-color: #dcd8f9; }
.bento-tint-sage { background: #eaf3e6; border-color: #d7e8cf; }
.bento-tint-rose { background: #fbeaf2; border-color: #f3d6e5; }

.bento-visual { margin-top: 18px; }
.bento-dark .flow-diagram,
.bento-tint-amber .flow-diagram {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.bento-dark .flow-diagram {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.bento-dark .flow-node { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #cfd4e2; }
.bento-dark .flow-node svg { color: #a99bff; }
.bento-dark .flow-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.bento-dark .flow-card-title { color: #fff; }
.bento-dark .flow-card-tag { background: rgba(255, 255, 255, 0.08); color: #b7bdd0; }

.bento-mini {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bento-mini-icon {
  width: 34px; height: 34px; flex: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent-dark);
}
.bento-mini-icon svg { width: 17px; height: 17px; }
.bento-mini-line {
  flex: 1;
  height: 2px;
  min-width: 16px;
  background: linear-gradient(90deg, var(--border-strong), var(--color-accent));
}
.bento-mini-check {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.16);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.bento-mini-check svg { width: 12px; height: 12px; }
.bento-mini-label { font-size: 0.8rem; font-weight: 600; color: var(--text); white-space: nowrap; }

.bento-jobs {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bento-dark .bento-jobs { border-top-color: rgba(255, 255, 255, 0.12); }
.job-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.bento-dark .job-tag { background: rgba(255, 255, 255, 0.08); color: #cfd4e2; border-color: rgba(255, 255, 255, 0.14); }

.job-closing {
  max-width: var(--max-width-narrow);
  margin: 40px auto 0;
  text-align: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.job-closing p { color: var(--text-muted); margin-bottom: 1.2em; }

@media (min-width: 640px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (min-width: 900px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-wide { grid-column: span 2; }
}

/* ===== Stats band (couleur principale) ===== */
.stats-band {
  --text: #ffffff;
  --text-muted: #cdd9e0;
  --text-dim: #b9c6cf;
  --border: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.28);
  --bg-card: rgba(255, 255, 255, 0.06);
  position: relative;
  background: var(--color-primary);
  color: var(--text);
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
@media (min-width: 900px) {
  .stats-layout { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.stats-band h2 { color: #fff; font-size: 1.6rem; }
.stats-sub { color: var(--text-muted); max-width: 560px; margin: 0 0 2.5em; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 2.5em;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { display: block; font-size: 0.92rem; color: var(--text-muted); margin-top: 6px; }
.stats-footnote { font-size: 0.9rem; color: var(--text-dim); max-width: 640px; margin: 0; }

@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Simulation window (fenêtre flottante à côté de la preuve) ===== */
.sim-window {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 900px) { .sim-window { margin: 0; } }
.sim-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
}
.sim-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.sim-titlebar-label { margin-left: 8px; font-size: 0.72rem; color: var(--text-dim); }
.sim-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.sim-line { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.sim-check {
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.22);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sim-check svg { width: 12px; height: 12px; }
.sim-status {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  padding: 7px 16px;
  border-radius: 16px;
}
.sim-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 10px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.sim-tools-label { font-size: 0.72rem; color: var(--text-dim); margin-right: 2px; }
.sim-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem; font-weight: 600; color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 4px 10px 4px 4px; border-radius: 12px;
}
.sim-tool.sim-tool-plain { padding: 4px 10px; }
.tool-logo {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
}
.tool-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tool-logo svg { width: 12px; height: 12px; }
.flow-node .tool-logo { width: 22px; height: 22px; }
.flow-node .tool-logo svg { width: 13px; height: 13px; }

/* ===== Vos outils (grille de compatibilité) ===== */
.tools-header { text-align: center; margin-bottom: 8px; }
.tools-header .section-intro { margin-bottom: 0; }
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.tool-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 108px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.tool-logo-lg {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 8px;
}
.tool-logo-lg svg { width: 26px; height: 26px; }
.tools-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 28px 0 0;
}

/* ===== Table ===== */
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top; font-size: 0.95rem; color: var(--text-muted);
}
.compare-table thead th {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-dim); border-bottom: 2px solid var(--border-strong);
}
.col-highlight { background: rgba(37, 99, 235, 0.06); color: var(--text); font-weight: 500; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 28px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-number {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.step p { color: var(--text-muted); margin: 0; }

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
}

/* ===== Guardrails ===== */
.guardrails-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.guardrail {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.guardrail:hover { border-color: var(--border-strong); }
.guardrail h3 { font-size: 1.05rem; }
.guardrail p { color: var(--text-muted); margin: 0; }

@media (min-width: 700px) {
  .guardrails-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Offers ===== */
.offers-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 24px; }
.offer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.offer:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(37,99,235,0.14);
}
.offer-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.offer-icon svg { width: 22px; height: 22px; }
.offer h3 { font-size: 1.15rem; }
.offer-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 1em;
}
.offer ul { margin: 0 0 1.5em; padding-left: 1.1em; color: var(--text-muted); font-size: 0.92rem; }
.offer ul li { margin-bottom: 0.4em; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-option { border-top: 1px solid var(--border); padding-top: 24px; }
.offer-option h3 { font-size: 1.05rem; }
.offers-note { margin-top: 24px; }

@media (min-width: 800px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  color: var(--color-accent); font-weight: 700; font-size: 1.1rem;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--text-muted); }

/* ===== Scenarios ===== */
.scenarios-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.scenario {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.scenario:hover { border-color: var(--border-strong); }
.scenario h3 { font-size: 1.05rem; margin-bottom: 0.6em; }
.scenario p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.5em; }
.scenario p:last-child { margin-bottom: 0; }
.scenario strong { color: var(--text); }
.scenarios-footer { margin-top: 32px; text-align: center; color: var(--text-muted); }

@media (min-width: 640px) { .scenarios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .scenarios-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Simulateur (section 2b) ===== */
.sim-start { text-align: center; margin-top: 8px; }
.sim-quiz {
  max-width: 560px;
  margin: 24px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.sim-quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.sim-quiz-progress-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.sim-quiz-progress-fill {
  height: 100%; width: 20%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  transition: width 0.3s ease;
}
.sim-quiz-progress-text { font-size: 0.8rem; color: var(--text-dim); flex: none; }
.sim-question { font-size: 1.15rem; margin-bottom: 20px; }
.sim-options { display: flex; flex-direction: column; gap: 10px; }
.sim-option {
  display: block; width: 100%; text-align: left;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sim-option:hover { border-color: var(--border-strong); }
.sim-option.is-selected { border-color: var(--color-accent); background: rgba(37, 99, 235, 0.08); }
.sim-slider-row { display: flex; align-items: center; gap: 20px; }
.sim-slider-row input[type="range"] { flex: 1; accent-color: var(--color-accent); height: 4px; }
.sim-slider-row output {
  flex: none; min-width: 110px; text-align: right;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text);
}
.sim-help { margin-top: 14px; font-size: 0.85rem; color: var(--text-dim); }
.sim-checkboxes { display: flex; flex-direction: column; gap: 10px; }
.sim-checkbox {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem; color: var(--text-muted);
  cursor: pointer;
}
.sim-checkbox input { accent-color: var(--color-accent); width: 16px; height: 16px; flex: none; }
.sim-checkbox:has(input:checked) { border-color: var(--color-accent); color: var(--text); }
.sim-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.sim-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }
#sim-next { margin-left: auto; }
.sim-result-block { padding: 20px 0; border-bottom: 1px solid var(--border); text-align: center; }
.sim-result-block:last-of-type { border-bottom: none; }
.sim-result-figure {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-primary);
}
.sim-result-pair { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.sim-result-figure-sm { font-size: 1.3rem; }
.sim-result-sub { font-size: 0.88rem; color: var(--text-muted); margin-top: 10px; }
.sim-result-text { font-size: 0.95rem; color: var(--text-muted); text-align: left; }
.sim-result-text-extra { margin-top: 10px; }
.sim-result-cta { text-align: center; padding-top: 24px; }
.sim-restart {
  display: block; margin: 14px auto 0;
  background: none; border: none;
  color: var(--text-dim); font-size: 0.88rem;
  text-decoration: underline; cursor: pointer; font-family: inherit;
}
.sim-restart:hover { color: var(--text); }

@media (min-width: 560px) {
  .sim-result-pair { flex-direction: row; justify-content: center; gap: 32px; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 96px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.footer-col-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin: 0 0 4px;
}
.footer-col a { color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-col span { color: var(--text-muted); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-brand-line { margin: 0; }
.footer-brand { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--text); }
.footer-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-contact a { color: var(--text-muted); text-decoration: none; }
.footer-contact a:hover { color: var(--text); text-decoration: underline; }
.footer-ai-mention { max-width: 640px; font-size: 0.82rem; margin-top: 20px; }

@media (min-width: 700px) { .site-footer { padding-bottom: 40px; } }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Fenêtre simulateur (modale) ===== */
.sim-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 18, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sim-modal-overlay[hidden] { display: none; }
.sim-modal {
  width: min(560px, 100%);
  max-height: 88vh;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sim-modal-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  flex: none;
}
.sim-modal-titlebar-label {
  margin-left: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sim-modal-close {
  margin-left: auto;
  width: 26px;
  height: 26px;
  flex: none;
  border: none;
  background: transparent;
  color: var(--text-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sim-modal-close svg { width: 16px; height: 16px; }
.sim-modal-close:hover { background: var(--border); color: var(--text); }
.sim-modal-body {
  padding: 28px 24px;
  overflow-y: auto;
}
.sim-modal-body .sim-quiz {
  margin: 20px 0 0;
  padding: 0;
  border: none;
  max-width: none;
}
.sim-modal-body .sim-start { margin-top: 4px; }

body.sim-modal-open { overflow: hidden; }

/* ===== Mobile sticky CTA ===== */
.mobile-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.2s ease;
}
.mobile-sticky-cta.visible { transform: translateY(0); }

@media (min-width: 700px) { .mobile-sticky-cta { display: none; } }
