/* ============================================================
   Système Contexte IA — mehdichallakh.com/systeme-contexte-ia
   Design system : fond blanc, accent bleu #51A2FF, îlots sombres
   (trace terminal, ciel à météores, panneau JSON),
   Inter + JetBrains Mono (motif « trace d'appels d'outils »).
   Structure & motion inspirées composio.dev, adaptées au modèle
   « projet sur-mesure : réserver un appel ».
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F9FF;
  --panel: #FFFFFF;
  --panel-2: #EFF5FD;
  --border: #E2E9F3;
  --border-soft: #ECF1F8;
  --ink: #0D1B2E;
  --muted: #55637B;
  --muted-2: #8B96AA;
  --blue: #51A2FF;
  --blue-strong: #2E8BF5;
  --blue-dark: #1663D2;
  --blue-soft: rgba(81, 162, 255, .12);
  --blue-line: rgba(81, 162, 255, .55);
  --green: #0E8A50;
  --green-soft: rgba(14, 138, 80, .1);
  --red: #D6355C;
  --red-soft: rgba(214, 53, 92, .1);
  /* Îlots sombres (terminal, ciel, JSON) */
  --night: #0A1120;
  --night-panel: #0E1730;
  --night-border: #20304F;
  --night-ink: #E8EEFB;
  --night-muted: #93A1C4;
  /* Îlot clair « claude.ai » (panneaux de chat) */
  --cp-bg: #FAF9F5;
  --cp-panel: #FFFFFF;
  --cp-border: #E6E2D7;
  --cp-ink: #211F1C;
  --cp-muted: #6E6A5F;
  --cp-accent: #D97757;
  --cp-user: #EFECE2;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(13, 27, 46, .07);
  --shadow-lift: 0 16px 44px rgba(13, 27, 46, .13);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--blue); color: #fff; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; color: var(--ink); }

h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 800; }

h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 18px; }

p { color: var(--muted); }

a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

img { max-width: 100%; }

section { padding: 88px 0; position: relative; }

@media (max-width: 640px) { section { padding: 58px 0; } }

/* ---------- Eyebrow façon chemin (motif « trace ») ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

.eyebrow::before { content: "/"; opacity: .5; margin-right: 6px; }

.section-lead {
  font-size: 1.12rem;
  max-width: 720px;
  margin-bottom: 34px;
}

.mono-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 28px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  font-family: var(--font);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(81, 162, 255, .38);
}

.btn-primary:hover { background: var(--blue-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(81, 162, 255, .48); }

.btn-ghost {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--blue-line); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: .92rem; }

.btn-lg { padding: 17px 34px; font-size: 1.06rem; }

.link-arrow {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
}

.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.sc-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark { width: 26px; height: 26px; flex: none; display: inline-flex; }

.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: .02em;
}

.sc-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.sc-nav a.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}

.sc-nav a.nav-link:hover { color: var(--ink); }

.sc-nav a.nav-link.active { color: var(--ink); }

@media (max-width: 900px) {
  .sc-nav a.nav-link { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 38px 0 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 60% at 55% -12%, rgba(81, 162, 255, .14), transparent 60%),
    var(--bg);
}

.hero .wrap { position: relative; z-index: 2; }

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(81, 162, 255, .35) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, rgba(13, 27, 46, .18) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 18%, rgba(81, 162, 255, .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 42%, rgba(13, 27, 46, .15) 50%, transparent 51%),
    radial-gradient(1px 1px at 73% 15%, rgba(81, 162, 255, .3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 55%, rgba(81, 162, 255, .3) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 28%, rgba(13, 27, 46, .15) 50%, transparent 51%);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.hero-grid h1 { font-size: clamp(1.9rem, 3.1vw, 2.5rem); }

.hero-grid > div { min-width: 0; }

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .8);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 22px;
}

.hero-tag .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 8px rgba(14, 138, 80, .6); }

.hero h1 { max-width: 820px; margin-bottom: 20px; }

.hero h1 em { font-style: normal; color: var(--blue-dark); }

.hero-lead { font-size: 1.12rem; max-width: 700px; margin-bottom: 22px; }

.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

/* Trace terminal (îlot sombre) */
.hero-trace {
  max-width: 700px;
  border: 1px solid var(--night-border);
  background: var(--night);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--night-muted);
  display: grid;
  gap: 9px;
  box-shadow: var(--shadow-lift);
}

.hero-trace .tl-ok { color: #4ADE8C; }

.hero-trace img { width: 15px; height: 15px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; background: #fff; }

/* Apparition en cascade au chargement */
.rise { opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease) forwards; animation-delay: var(--d, 0s); }

@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Reveal au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- Marquee logos ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
  padding: 9px 15px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(13, 27, 46, .04);
}

.logo-chip img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }

/* ---------- Groupe de démos (onglets + scène + lecture au clic) ---------- */
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }

.demo-tab {
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .2s;
}

.demo-tab:hover { color: var(--ink); border-color: var(--blue-line); }

.demo-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.demo-stagewrap { position: relative; cursor: pointer; }

/* Indice discret : un clic sur la vidéo la rejoue */
.demo-stagewrap::after {
  content: "↻ cliquer pour rejouer";
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 5;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.demo-stagewrap:hover::after { opacity: 1; }

/* ---------- Duel (comparaison sans / avec) ---------- */
.duel-stage { position: relative; }

/* Sur le duel, l'indice de relecture passe sous les onglets, à droite */
.duel-stage.demo-stagewrap::after { top: 8px; }

.duel-side-label {
  font-family: var(--mono);
  font-size: .76rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.duel-side-label .sl-dot { width: 8px; height: 8px; border-radius: 999px; }

.duel-side-label.bad { color: var(--red); }
.duel-side-label.bad .sl-dot { background: var(--red); }
.duel-side-label.good { color: var(--green); }
.duel-side-label.good .sl-dot { background: var(--green); box-shadow: 0 0 8px rgba(14, 138, 80, .5); }

.duel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.duel-grid > div { min-width: 0; }

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

@media (max-width: 460px) { .cp-model { display: none; } }

/* ---------- Popup plein écran ---------- */
.sc-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 15, 28, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  overflow-y: auto;
}

.sc-overlay.open { display: block; animation: ov-in .3s var(--ease); }

@keyframes ov-in { from { opacity: 0; } }

.ov-inner {
  max-width: 1220px;
  margin: 26px auto;
  padding: 26px 26px 40px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(9, 15, 28, .45);
}

@media (max-width: 700px) { .ov-inner { margin: 0; border-radius: 0; min-height: 100%; } }

.ov-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }

.ov-title { font-size: 1.05rem; font-weight: 700; margin-right: auto; display: flex; align-items: center; gap: 10px; }

.ov-title .eyebrow { margin: 0; }

.ov-close {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .2s;
  flex: none;
}

.ov-close:hover { border-color: var(--red); color: var(--red); transform: rotate(90deg); }

/* En plein écran, le bouton « plein écran » du groupe disparaît */
.sc-overlay [data-fullscreen] { display: none; }

/* ---------- Panneau « claude.ai » (îlot crème) ---------- */
.claude-panel {
  background: var(--cp-bg);
  color: var(--cp-ink);
  border: 1px solid var(--cp-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 50px rgba(13, 27, 46, .14);
  height: 560px;
}

.cp-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cp-border);
  background: var(--cp-bg);
}

.cp-dots { display: inline-flex; gap: 5px; }

.cp-dots i { width: 9px; height: 9px; border-radius: 999px; background: #E4E0D5; }

.cp-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--cp-ink);
}

.cp-name img { width: 17px; height: 17px; border-radius: 5px; }

.cp-model {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 500;
  color: var(--cp-muted);
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.cp-chat {
  flex: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  font-size: .885rem;
  line-height: 1.55;
}

.cp-composer {
  flex: none;
  margin: 0 14px 14px;
  border: 1px solid var(--cp-border);
  background: var(--cp-panel);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cp-muted);
  font-size: .84rem;
}

.cp-composer .send {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--cp-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex: none;
}

/* Messages */
.msg-user {
  align-self: flex-end;
  max-width: 88%;
  background: var(--cp-user);
  border: 1px solid #E4E0D3;
  border-radius: 14px 14px 4px 14px;
  padding: 9px 13px;
  min-height: 38px;
  color: var(--cp-ink);
}

.msg-ai {
  align-self: flex-start;
  max-width: 94%;
  display: flex;
  gap: 10px;
  color: var(--cp-ink);
}

.msg-ai .ava {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--cp-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.msg-ai p { color: var(--cp-ink); padding-top: 2px; }

.msg-ai p strong { font-weight: 650; }

.msg-ai .ai-note { color: var(--cp-muted); font-size: .82rem; }

/* Bloc « collage » (mur de texte côté sans contexte) */
.paste-block {
  align-self: flex-end;
  max-width: 88%;
  background: var(--cp-user);
  border: 1px solid #E4E0D3;
  border-radius: 14px 14px 4px 14px;
  padding: 9px 13px;
  font-family: var(--mono);
  font-size: .62rem;
  line-height: 1.5;
  color: var(--cp-muted);
  max-height: 92px;
  overflow: hidden;
  position: relative;
}

.paste-block::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34px;
  background: linear-gradient(transparent, var(--cp-user));
}

.paste-tag {
  display: block;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  color: var(--cp-muted);
  margin-bottom: 4px;
}

/* Ligne d'appel d'outil (signature visuelle) */
.tool-line {
  align-self: flex-start;
  width: 94%;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--cp-border);
  background: var(--cp-panel);
  border-radius: 10px;
  padding: 7px 11px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--cp-ink);
}

.tool-line img { width: 16px; height: 16px; border-radius: 4px; flex: none; }

.tool-line .tl-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tool-line .tl-status { margin-left: auto; flex: none; color: var(--cp-muted); display: inline-flex; align-items: center; }

.tool-line .spinner {
  width: 12px; height: 12px;
  border: 2px solid var(--cp-border);
  border-top-color: var(--cp-accent);
  border-radius: 999px;
  animation: spin .7s linear infinite;
  display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.tool-line .check { color: #178A50; font-weight: 700; display: none; font-family: var(--font); }

.tool-line.run .spinner { display: inline-block; }

.tool-line.done .check { display: inline; }

.tool-line.done { border-color: #D9EFE2; background: #F4FBF7; }

/* Réflexion (« ... ») */
.think-line { align-self: flex-start; display: inline-flex; gap: 4px; padding: 6px 2px; }

.think-line i {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--cp-muted);
  opacity: .4;
  animation: think 1.2s infinite;
  font-style: normal;
}

.think-line i:nth-child(2) { animation-delay: .18s; }
.think-line i:nth-child(3) { animation-delay: .36s; }

@keyframes think { 0%, 70%, 100% { opacity: .3; } 35% { opacity: 1; } }

/* Curseur de frappe */
.caret {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--cp-ink);
  opacity: 0;
}

.typing .caret { opacity: 1; animation: blink .9s steps(1, end) infinite; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Verdicts sous les panneaux */
.verdict { margin-top: 12px; font-size: .95rem; font-weight: 600; min-height: 24px; }

.verdict.bad { color: var(--red); }

.verdict.good { color: var(--green); }

/* Moteur de scène : tout [data-step] démarre masqué */
[data-step] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

[data-step].on { opacity: 1; transform: none; }

.scene-cut [data-step], .scene-cut [data-step] * { transition: none !important; animation-duration: 0s !important; }

/* ---------- Section météores (îlot nuit) ---------- */
.meteor-section { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.meteor-sky {
  position: relative;
  height: 440px;
  border: 1px solid var(--night-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(81, 162, 255, .22), transparent 60%),
    radial-gradient(1px 1px at 15% 30%, rgba(232, 238, 251, .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 15%, rgba(232, 238, 251, .3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 40%, rgba(81, 162, 255, .45) 50%, transparent 51%),
    radial-gradient(1px 1px at 75% 20%, rgba(232, 238, 251, .35) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 45%, rgba(232, 238, 251, .3) 50%, transparent 51%),
    linear-gradient(180deg, #0A1120 0%, #0D1528 100%);
  overflow: hidden;
  margin-top: 12px;
  box-shadow: var(--shadow-lift);
}

.meteor {
  position: absolute;
  top: -70px;
  left: var(--x, 50%);
  z-index: 2;
  animation: m-fall var(--dur, 3.2s) linear forwards;
  will-change: transform;
}

@keyframes m-fall {
  0% { transform: translate(0, 0); opacity: 0; }
  6% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translate(var(--dx, -110px), var(--dy, 380px)); opacity: 0; }
}

.m-tile {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 0 22px rgba(81, 162, 255, .5), 0 6px 18px rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-tile img { width: 28px; height: 28px; object-fit: contain; }

.m-trail {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 120px;
  background: linear-gradient(to top, rgba(81, 162, 255, .75), transparent);
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(16deg);
}

.server-bar {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--blue-line);
  background: rgba(14, 23, 48, .94);
  border-radius: 14px;
  padding: 13px 22px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--night-ink);
  white-space: nowrap;
  box-shadow: 0 0 34px rgba(81, 162, 255, .3);
}

.server-bar .sb-led { width: 8px; height: 8px; border-radius: 999px; background: #4ADE8C; box-shadow: 0 0 10px #4ADE8C; }

.server-bar.pulse { animation: sb-pulse .5s var(--ease); }

@keyframes sb-pulse {
  0% { box-shadow: 0 0 34px rgba(81, 162, 255, .3); }
  40% { box-shadow: 0 0 60px rgba(81, 162, 255, .75); border-color: var(--blue); }
  100% { box-shadow: 0 0 34px rgba(81, 162, 255, .3); }
}

@media (max-width: 640px) {
  .meteor-sky { height: 360px; }
  .server-bar { font-size: .68rem; padding: 11px 14px; }
}

/* Sortie du serveur vers les IA */
.sky-out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.sky-out .so-label { font-family: var(--mono); font-size: .76rem; color: var(--muted-2); margin-right: 6px; }

/* Grille statique de logos (fallback + inventaire) */
.tools-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }

/* ---------- Bandeau gouvernance ---------- */
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }

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

.gov-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.gov-card .gc-mono {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--green);
  display: block;
  margin-bottom: 14px;
}

.gov-card h3 { font-size: 1.12rem; margin-bottom: 8px; }

.gov-card p { font-size: .94rem; }

/* ---------- Grille personas (cas d'usage) ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }

@media (max-width: 960px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }

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

.persona-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-soft);
}

.persona-card:hover { transform: translateY(-4px); border-color: var(--blue-line); box-shadow: var(--shadow-lift); }

.persona-card h3 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.persona-card h3::after { content: "→"; color: var(--blue-dark); font-weight: 400; transition: transform .2s; }

.persona-card:hover h3::after { transform: translateX(4px); }

.persona-card p { font-size: .9rem; }

.persona-card .pc-logos { display: flex; gap: 7px; margin-top: auto; }

.persona-card .pc-logos img { width: 21px; height: 21px; border-radius: 6px; background: #fff; padding: 2px; border: 1px solid var(--border-soft); }

/* ---------- Qui installe ça chez vous ---------- */
.installer { background: var(--bg-soft); border-top: 1px solid var(--border-soft); }

.installer-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; margin-top: 8px; }

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

.installer-photo {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.rgpd-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0; }

@media (max-width: 560px) { .rgpd-badges { grid-template-columns: 1fr; } }

.rgpd-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.rgpd-badge svg { flex: none; color: var(--green); }

.rgpd-badge small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; line-height: 1.4; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }

@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.stat {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat .num { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--blue-dark); }

.stat .label { font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 4px; }

/* ---------- Bande logos confiance ---------- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.logo-bar-label { font-size: .85rem; font-weight: 600; color: var(--muted); }

.logo-bar img {
  height: 30px;
  width: auto;
  opacity: .65;
  filter: grayscale(1);
  transition: opacity .25s, filter .25s;
}

.logo-bar img:hover { opacity: 1; filter: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); border-top: 1px solid var(--border-soft); }

.faq-list { margin-top: 30px; display: grid; gap: 12px; max-width: 860px; }

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  cursor: pointer;
  transition: border-color .25s var(--ease);
  box-shadow: var(--shadow-soft);
}

.faq-item:hover { border-color: var(--blue-line); }

.faq-item h3 {
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item h3::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-dark);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}

.faq-item.open h3::after { transform: rotate(45deg); }

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), margin .3s;
  font-size: .96rem;
  color: var(--muted);
}

.faq-item.open .answer { max-height: 560px; margin-top: 12px; }

@media (max-width: 640px) { .faq-item.open .answer { max-height: 1100px; } }

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

/* ---------- Formulaires ---------- */
.form-section {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(81, 162, 255, .1), transparent 55%), var(--bg);
  border-top: 1px solid var(--border-soft);
}

.form-section .wrap { max-width: 900px; text-align: center; }

.form-section .section-lead { margin-left: auto; margin-right: auto; }

.form-grid { max-width: 680px; margin: 34px auto 0; text-align: left; }

.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px auto 8px; max-width: 860px; text-align: left; }

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

.next-step { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }

.next-step strong { color: var(--ink); }

.step-num {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.field { margin-bottom: 18px; }

.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }

.field label .hint { font-weight: 400; color: var(--muted-2); font-size: .82rem; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font);
  font-size: .96rem;
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.field textarea { resize: vertical; min-height: 110px; }

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 620px) { .row-2 { grid-template-columns: 1fr; } }

/* Chips cochables (formulaire de cadrage) */
.chips-row { display: flex; flex-wrap: wrap; gap: 9px; }

.chip-check { position: relative; }

.chip-check input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.chip-check span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s;
  user-select: none;
}

.chip-check span img { width: 16px; height: 16px; border-radius: 4px; }

.chip-check input:checked + span {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--ink);
}

.chip-check input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue-soft); }

.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: .88rem; color: var(--muted); }

.consent-row input { margin-top: 4px; accent-color: var(--blue); }

.submit-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-size: 1.04rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 16px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  box-shadow: 0 8px 24px rgba(81, 162, 255, .38);
}

.submit-btn:hover { background: var(--blue-strong); transform: translateY(-2px); }

.submit-btn:disabled { opacity: .6; cursor: wait; transform: none; }

.form-trust { margin-top: 18px; font-size: .84rem; color: var(--muted-2); text-align: center; }

.form-note { margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Page formulaire (cadrage + JSON) ---------- */
.intake-layout { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; margin-top: 36px; }

@media (max-width: 1020px) { .intake-layout { grid-template-columns: 1fr; } }

.intake-form fieldset {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.intake-form legend {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--blue-dark);
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
}

.intake-form .subfield { margin-bottom: 16px; }

.intake-form .subfield > label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }

.json-panel {
  position: sticky;
  top: 86px;
  border: 1px solid var(--night-border);
  background: var(--night);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.json-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--night-border);
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--night-muted);
}

.json-head .dot-g { width: 8px; height: 8px; border-radius: 999px; background: #4ADE8C; }

.json-pre {
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.6;
  color: #C6D3EE;
  padding: 16px;
  max-height: 480px;
  overflow: auto;
  white-space: pre;
}

.json-pre .jk { color: #8FC1FF; }

.json-pre .js { color: #7FDCA4; }

.json-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--night-border); }

.json-actions .btn { padding: 11px 10px; font-size: .86rem; }

.json-actions .btn-ghost { background: transparent; border-color: var(--night-border); color: var(--night-ink); }

.json-actions .btn-ghost:hover { border-color: var(--blue-line); }

.json-actions .btn-send { grid-column: 1 / -1; }

.json-actions .consent-row { color: var(--night-muted); }

.json-actions .consent-row a { color: var(--night-ink); }

/* ---------- Pricing ---------- */
.price-hero-card {
  border: 1px solid var(--blue-line);
  background: linear-gradient(180deg, rgba(81, 162, 255, .08), transparent 70%), var(--panel);
  border-radius: var(--radius-lg);
  padding: 38px;
  margin-top: 10px;
  box-shadow: var(--shadow-soft);
}

.price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }

.price-big { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }

.price-big small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.price-plus { font-size: 1.3rem; color: var(--muted-2); font-weight: 600; }

.included-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; margin-top: 26px; }

@media (max-width: 720px) { .included-list { grid-template-columns: 1fr; } }

.included-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: .95rem;
  color: var(--muted);
}

.included-list li strong { color: var(--ink); font-weight: 600; }

.included-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }

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

.tier {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.tier.featured { border-color: var(--blue-line); box-shadow: 0 0 40px rgba(81, 162, 255, .16); }

.tier .tier-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  font-family: var(--mono);
  font-size: .68rem;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
}

.tier h3 { font-size: 1.2rem; margin-bottom: 4px; }

.tier .tier-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; }

.tier .tier-price small { font-size: .9rem; font-weight: 500; color: var(--muted); }

.tier .tier-sub { font-size: .88rem; color: var(--muted-2); margin-bottom: 20px; min-height: 42px; }

.tier-rows { display: grid; gap: 0; border-top: 1px solid var(--border-soft); }

.tier-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: .9rem; }

.tier-row .k { color: var(--muted-2); flex: none; max-width: 46%; }

.tier-row .v { color: var(--ink); text-align: right; font-weight: 500; }

.tier-row .v .spec { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); font-weight: 400; }

.tier-row .v.off { color: var(--muted-2); font-weight: 400; }

.why-us {
  margin-top: 30px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.why-us h3 { font-size: 1.2rem; margin-bottom: 14px; }

.vary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 10px; }

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

.vary-card { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft); }

.vary-card h3 { font-size: 1.02rem; margin-bottom: 6px; }

.vary-card p { font-size: .9rem; }

/* ---------- Catalogue outils ---------- */
.catalog-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 30px 0 22px; }

.catalog-search {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 18px;
}

.catalog-search svg { color: var(--muted-2); flex: none; }

.catalog-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: .95rem;
}

.chip-filter {
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all .2s;
}

.chip-filter:hover { color: var(--ink); border-color: var(--blue-line); }

.chip-filter.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 980px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }

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

.tool-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform .2s var(--ease), border-color .2s;
  box-shadow: var(--shadow-soft);
}

.tool-card:hover { transform: translateY(-3px); border-color: var(--blue-line); }

.tool-card .tc-logo {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card .tc-logo img { width: 26px; height: 26px; object-fit: contain; }

.tool-card h3 { font-size: .98rem; margin-bottom: 2px; }

.tool-card p { font-size: .82rem; line-height: 1.5; }

.tool-card .tc-cat { font-family: var(--mono); font-size: .64rem; color: var(--muted-2); display: block; margin-top: 6px; }

.catalog-count { font-family: var(--mono); font-size: .78rem; color: var(--muted-2); margin-bottom: 16px; }

.custom-tool-band {
  margin-top: 34px;
  border: 1px dashed var(--blue-line);
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.custom-tool-band h3 { font-size: 1.1rem; margin-bottom: 4px; }

.custom-tool-band p { font-size: .92rem; max-width: 620px; }

.custom-tool-band .btn { margin-left: auto; }

/* ---------- Galerie cas d'usage ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 980px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }

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

.uc-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s;
  box-shadow: var(--shadow-soft);
}

.uc-card:hover { transform: translateY(-3px); border-color: var(--blue-line); }

.uc-card .uc-cat { font-family: var(--mono); font-size: .68rem; color: var(--blue-dark); letter-spacing: .05em; text-transform: uppercase; }

.uc-card h3 { font-size: 1rem; line-height: 1.35; }

.uc-card p { font-size: .86rem; }

.uc-card .uc-foot { display: flex; align-items: center; margin-top: auto; padding-top: 8px; }

.uc-card .uc-foot img { width: 20px; height: 20px; border-radius: 6px; background: #fff; padding: 2px; margin-right: 6px; border: 1px solid var(--border-soft); }

.uc-card .uc-foot .uc-more { margin-left: auto; font-size: .82rem; color: var(--blue-dark); font-weight: 600; }

/* ---------- Pages persona ---------- */
.hero-product { padding: 72px 0 58px; background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(81, 162, 255, .12), transparent 60%), var(--bg); overflow: hidden; }

.hero-product h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(1.9rem, 4vw, 2.9rem); }

.hero-product .hero-lead { font-size: 1.1rem; }

.hero-logos { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }

.demo-stage { max-width: 760px; margin: 40px auto 0; }

.demo-caption { text-align: center; font-family: var(--mono); font-size: .74rem; color: var(--muted-2); margin-top: 14px; }

.prompt-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 10px; }

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

.prompt-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s var(--ease), border-color .2s;
  box-shadow: var(--shadow-soft);
}

.prompt-card:hover { transform: translateY(-3px); border-color: var(--blue-line); }

.prompt-card h3 { font-size: 1.04rem; }

.prompt-card .pc-quote {
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--blue);
  padding-left: 14px;
}

.prompt-card .pc-quote::before { content: "« "; color: var(--blue-dark); }

.prompt-card .pc-quote::after { content: " »"; color: var(--blue-dark); }

.prompt-card .pc-tools { display: flex; gap: 7px; align-items: center; margin-top: auto; }

.prompt-card .pc-tools img { width: 20px; height: 20px; border-radius: 6px; background: #fff; padding: 2px; border: 1px solid var(--border-soft); }

.prompt-card .pc-play { margin-left: auto; font-size: .86rem; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

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

.split-visual {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-width: 0;
}

.split-visual .logo-chip { white-space: normal; }

.ia-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.check-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }

.check-list li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }

.check-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }

.check-list li strong { color: var(--ink); font-weight: 600; }

/* Bande CTA de fin de page */
.cta-band { background: radial-gradient(ellipse 75% 70% at 50% 100%, rgba(81, 162, 255, .13), transparent 65%), var(--bg-soft); border-top: 1px solid var(--border-soft); text-align: center; }

.cta-band h2 { max-width: 640px; margin: 0 auto 14px; }

.cta-band p { max-width: 560px; margin: 0 auto 30px; }

.cta-band .hero-cta-row { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.sc-footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); padding: 60px 0 40px; }

.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 44px; }

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

@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .88rem; margin-top: 10px; max-width: 300px; }

.footer-col h4 { font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }

.footer-col ul { list-style: none; display: grid; gap: 9px; }

.footer-col a { color: var(--muted); text-decoration: none; font-size: .88rem; }

.footer-col a:hover { color: var(--ink); }

.legal-block { border-top: 1px solid var(--border-soft); padding-top: 28px; }

.legal-block p { font-size: .74rem; color: var(--muted-2); line-height: 1.6; margin-bottom: 14px; }

.legal-block strong { color: var(--muted); }

.legal-block a { color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  border-radius: 12px;
  padding: 14px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 300;
  max-width: 90vw;
  box-shadow: var(--shadow-lift);
}

.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.toast.success { background: var(--green); border-color: var(--green); color: #fff; }

.toast.error { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Divers ---------- */
.fine { font-size: .8rem; color: var(--muted-2); margin-top: 22px; }

body.no-scroll { overflow: hidden; }

/* ---------- Motion réduite ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .rise { opacity: 1; transform: none; }
  [data-step] { opacity: 1; transform: none; }
  .tool-line .check { display: inline; }
  .tool-line .spinner { display: none; }
  .marquee-track { animation: none; }
}
