/* ==========================================================================
   StatusGuard — feuille de style de la landing page
   --------------------------------------------------------------------------
   Thème : clair/sombre automatique (prefers-color-scheme) + bascule manuelle
   (attribut data-theme="light|dark" sur <html>, géré par script.js).
   Couleurs de marque : modifier --brand / --brand-2 ci-dessous.
   ========================================================================== */
[hidden] { display: none !important; }

:root {
  /* --- Marque (point unique) --- */
  --brand: #16a34a;          /* vert principal */
  --brand-2: #0284c7;        /* bleu secondaire (dégradés) */
  --brand-contrast: #ffffff;

  /* --- Statuts --- */
  --up: #16a34a;
  --warn: #d97706;
  --down: #dc2626;

  /* --- Thème clair (défaut) --- */
  --bg: #f8fafc;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #dbe3ec;
  --text: #0f172a;
  --text-muted: #475569;
  --heading: #020617;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .3);
  --grad-text: linear-gradient(90deg, #15803d, #0369a1);
  --header-bg: rgba(248, 250, 252, .82);
  --link: #0369a1;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

/* Thème sombre : préférence système sauf si l'utilisateur force le clair */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --bg-alt: #0f172a; --surface: #111a2e; --surface-2: #17223a;
    --border: #23314d; --text: #e2e8f0; --text-muted: #9fb0c7; --heading: #f8fafc;
    --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
    --grad-text: linear-gradient(90deg, #4ade80, #38bdf8);
    --header-bg: rgba(11, 18, 32, .78); --link: #38bdf8;
    --up: #22c55e; --warn: #f59e0b; --down: #ef4444;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --bg-alt: #0f172a; --surface: #111a2e; --surface-2: #17223a;
  --border: #23314d; --text: #e2e8f0; --text-muted: #9fb0c7; --heading: #f8fafc;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.75);
  --grad-text: linear-gradient(90deg, #4ade80, #38bdf8);
  --header-bg: rgba(11, 18, 32, .78); --link: #38bdf8;
  --up: #22c55e; --warn: #f59e0b; --down: #ef4444;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--link); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

.container { --pad: 24px; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: 820px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--heading); color: var(--bg); border-radius: var(--radius-sm); font-weight: 600;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.muted { color: var(--text-muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--brand); color: var(--brand-contrast);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.btn-primary:hover { background: #15803d; }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); }
.btn-sm { padding: .5em .95em; font-size: .9rem; }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px -12px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--heading); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
}
.brand-logo { width: 30px; height: 30px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav-links a:hover { color: var(--heading); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.lang-switch button { border: 0; background: transparent; color: var(--text-muted); font: 600 .78rem/1 var(--font);
  padding: 0 9px; height: 38px; cursor: pointer; letter-spacing: .03em; }
.lang-switch button + button { border-left: 1px solid var(--border); }
.lang-switch button.is-active { background: var(--surface-2); color: var(--heading); }
.lang-switch button:hover { color: var(--heading); }
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-moon { display: none !important; }
:root[data-theme="dark"] .icon-sun { display: none !important; }
:root[data-theme="dark"] .icon-moon { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none !important; }
  :root:not([data-theme="light"]) .icon-moon { display: block !important; }
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 10px; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: var(--heading); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
  background:
    radial-gradient(40% 50% at 80% 30%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 15% 20%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand);
}
:root[data-theme="dark"] .eyebrow { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: #4ade80; } }
.hero .eyebrow {
  padding: 6px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--text);
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; color: var(--text-muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--up) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Points de statut */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; background: var(--up); }
.dot-up { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Maquette dashboard (CSS) ---------- */
.mockup {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease;
}
.mockup:hover { transform: none; }
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mockup-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.mockup-bar > span:nth-child(2) { background: #fbbf24; }
.mockup-bar > span:nth-child(3) { background: #4ade80; }
.mockup-url {
  margin-left: 12px; flex: 1; min-width: 0; padding: 4px 10px; border-radius: 6px; background: var(--surface);
  border: 1px solid var(--border); font: .75rem var(--mono); color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mockup-body { padding: 18px; display: grid; gap: 14px; }
.mockup-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sum { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.sum strong { display: block; font-size: 1.4rem; line-height: 1.1; }
.sum small { color: var(--text-muted); font-size: .75rem; font-weight: 600; }
.sum-up strong { color: var(--up); } .sum-warn strong { color: var(--warn); } .sum-down strong { color: var(--down); }
.monitors { list-style: none; display: grid; gap: 6px; }
.monitor {
  display: grid; grid-template-columns: 10px minmax(0, 1.3fr) 48px minmax(0, 1.4fr) 62px; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: var(--surface-2); font-size: .82rem;
}
.m-name { font-weight: 600; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-type {
  font: 600 .66rem var(--mono); text-align: center; padding: 2px 0; border-radius: 5px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
}
.m-ms { font: .74rem var(--mono); color: var(--text-muted); text-align: right; white-space: nowrap; }
.beats { display: flex; gap: 3px; height: 18px; }
.beats i { flex: 1; border-radius: 3px; background: var(--up); opacity: .9; }
.beats i.w { background: var(--warn); }
.beats i.d { background: var(--down); }
.monitor.up .dot { background: var(--up); }
.monitor.warn .dot { background: var(--warn); }
.monitor.down .dot { background: var(--down); animation: blink 1.2s infinite; }
.monitor.down { box-shadow: inset 3px 0 0 var(--down); }
.monitor.warn { box-shadow: inset 3px 0 0 var(--warn); }
@keyframes blink { 50% { opacity: .35; } }

.cert-card {
  display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border));
  background: color-mix(in srgb, var(--warn) 9%, var(--surface));
}
.cert-ring {
  --pct: 13%; /* 12 jours restants sur un cycle de 90 j */ flex: none; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--warn) var(--pct), color-mix(in srgb, var(--warn) 18%, var(--surface-2)) 0);
}
.cert-ring > span {
  width: 62px; height: 62px; border-radius: 50%; background: var(--surface); display: grid; place-content: center; text-align: center; line-height: 1;
}
.cert-ring strong { font-size: 1.35rem; color: var(--heading); }
.cert-ring small { font-size: .62rem; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.cert-info { min-width: 0; }
.cert-title { margin: 0; font-weight: 700; font-size: .9rem; color: var(--heading); }
.cert-sub { margin: 2px 0 8px; font-size: .78rem; color: var(--text-muted); }
.cert-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.cert-steps span {
  font: 600 .68rem var(--mono); padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted); background: var(--surface);
}
.cert-steps .done { background: color-mix(in srgb, var(--up) 15%, var(--surface)); border-color: color-mix(in srgb, var(--up) 40%, var(--border)); color: var(--up); }
.cert-steps .next { background: var(--warn); border-color: var(--warn); color: #1f1300; }

/* ---------- Bandeau logos ---------- */
.trust { padding: 28px 0 48px; }
.trust-title { text-align: center; font-weight: 600; color: var(--text-muted); font-size: .95rem; margin-bottom: 18px; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo-ph {
  height: 56px; display: grid; place-items: center; border: 1.5px dashed var(--border); border-radius: 10px;
  color: var(--text-muted); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .85;
}
.logos[data-source="api"] { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; }
.logo-item { height: 64px; display: flex; align-items: center; justify-content: center; }
.logo-item img { max-height: 48px; max-width: 168px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.logo-item a:hover img, .logo-item a:focus-visible img { filter: none; opacity: 1; }
:root[data-theme="dark"] .logo-item img { filter: grayscale(1) brightness(1.6); }
.trust-note { text-align: center; color: var(--text-muted); font-size: .78rem; margin: 12px 0 0; font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
.section-sub { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.feature h3 { font-size: 1.12rem; margin: 16px 0 8px; }
.feature p { color: var(--text-muted); margin: 0; font-size: .96rem; }
.feature-xl { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
.feature-xl .f-icon { grid-row: span 3; }
.feature-xl h3 { margin-top: 2px; font-size: 1.3rem; }
@media (min-width: 900px) {
  .feature-xl { grid-column: span 1; display: block; }
  .features { grid-template-columns: repeat(6, 1fr); }
  .feature { grid-column: span 2; }
  .feature-xl { grid-column: span 3; }
  .feature-xl h3 { margin-top: 16px; }
}
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; --c: var(--brand); background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-green { --c: #16a34a; } .f-amber { --c: #d97706; } .f-blue { --c: #0284c7; }
.f-violet { --c: #7c3aed; } .f-red { --c: #dc2626; } .f-teal { --c: #0d9488; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li {
  font: 600 .78rem var(--mono); padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
}
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; position: relative; }
.timeline li {
  text-align: center; font-size: .78rem; color: var(--text-muted); padding: 10px 4px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.timeline span { display: block; font: 800 1rem var(--mono); color: var(--heading); }
.timeline li:nth-child(1) span { color: var(--brand-2); }
.timeline li:nth-child(2) span { color: var(--up); }
.timeline li:nth-child(3) span { color: var(--warn); }
.timeline li:nth-child(4) span { color: var(--down); }

/* ---------- Étapes ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-muted); margin: 0; }

/* ---------- Tarifs ---------- */
.billing-toggle {
  display: flex; width: max-content; margin: 0 auto 40px; padding: 5px; gap: 4px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.bt-option {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-muted); font-weight: 600;
}
.bt-option.is-active { background: var(--heading); color: var(--bg); }
.badge {
  font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--up) 18%, transparent); color: var(--up);
}
.bt-option.is-active .badge { background: var(--up); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(var(--plan-cols, 3), 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-desc { color: var(--text-muted); font-size: .94rem; min-height: 2.8em; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--brand) 55%, transparent); }
@media (min-width: 900px) { .plan-featured { transform: translateY(-10px); } }
.plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0;
  padding: 4px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.price { display: flex; align-items: baseline; gap: 4px; margin: 8px 0 2px; }
.amount { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--heading); line-height: 1; font-variant-numeric: tabular-nums; }
.currency { font-size: 1.5rem; font-weight: 700; color: var(--heading); }
.per { color: var(--text-muted); font-size: .92rem; margin-left: 4px; }
.billed { color: var(--text-muted); font-size: .84rem; margin-bottom: 20px; min-height: 1.4em; }
.plan-features { list-style: none; display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.plan-features li { display: flex; gap: 10px; font-size: .95rem; }
.plan-features li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: color-mix(in srgb, var(--up) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pricing-note { text-align: center; color: var(--text-muted); margin: 36px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { background: var(--surface-2); }
.faq-body { padding: 0 22px 18px; color: var(--text-muted); }
.faq-body p { margin: 0; }

/* ---------- CTA + formulaire ---------- */
.cta-section { padding-top: 96px; }
.cta-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 56px;
  border-radius: 24px; color: #e2e8f0; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(14,165,233,.35), transparent 60%),
              radial-gradient(50% 70% at 0% 100%, rgba(34,197,94,.3), transparent 60%), #0b1220;
  border: 1px solid #23314d; box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.5rem); font-weight: 800; }
.cta-copy > p { color: #b6c4d8; font-size: 1.1rem; }
.cta-list { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.cta-list li { display: flex; gap: 10px; align-items: center; }
.cta-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.signup-form {
  background: #ffffff; color: #0f172a; padding: 28px; border-radius: 18px; display: grid; gap: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.signup-form a { color: #0369a1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.form-title { margin: 0; font-size: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field .opt { font-weight: 400; color: #64748b; }
.field select, .field textarea, .field input[type="tel"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #cbd5e1; background: #fff;
  font: inherit; color: #0f172a; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select:focus, .field textarea:focus { outline: none; border-color: #0284c7; box-shadow: 0 0 0 4px rgba(2,132,199,.18); }
.field input[type="email"], .field input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #cbd5e1; background: #fff;
  font: inherit; color: #0f172a; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #64748b; }
.field input:focus { outline: none; border-color: #0284c7; box-shadow: 0 0 0 4px rgba(2,132,199,.18); }
.field input[aria-invalid="true"] { border-color: #dc2626; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: #16a34a; }
.field-check label { font-weight: 400; font-size: .88rem; color: #334155; }
.field-error { margin: 0; color: #b91c1c; font-size: .84rem; min-height: 0; }
.field-error:empty { display: none; }
.selected-plan { margin: 0; font-size: .88rem; color: #475569; }
.selected-plan strong { color: #0f172a; }
.form-status { margin: 0; font-size: .92rem; text-align: center; }
.form-status:empty { display: none; }
.form-status.success { color: #15803d; font-weight: 600; }
.form-status.error { color: #b91c1c; }
.signup-form .btn-primary { background: #16a34a; color: #fff; }
.signup-form .btn-primary:hover { background: #15803d; }
.signup-form .btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--border); margin-top: 0; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); max-width: 30em; margin-top: 12px; font-size: .95rem; }
.footer-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text); text-decoration: none; font-size: .95rem; }
.site-footer ul a:hover { color: var(--brand-2); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 22px; font-size: .86rem; color: var(--text-muted); position: relative;
}
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .mockup { max-width: 620px; margin: 0 auto; width: 100%; transform: none; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature { grid-column: span 1; }
  .feature-xl { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-featured { order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.35); display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-actions { justify-content: space-between; }
  .nav-actions .btn { flex: 1; }
}
@media (max-width: 640px) {
  .container { --pad: 18px; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-ctas .btn { width: 100%; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li:last-child { grid-column: span 2; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature-xl { grid-column: span 1; display: block; }
  .feature-xl h3 { margin-top: 16px; }
  .feature:not(.feature-xl) { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .feature:not(.feature-xl) .f-icon { grid-row: span 2; }
  .feature:not(.feature-xl) h3 { margin: 2px 0 6px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .mockup-body { padding: 12px; }
  .monitor { grid-template-columns: 10px minmax(0, 1fr) 42px 52px; gap: 8px; padding: 8px 10px; }
  .beats { display: none; }
  .cert-card { gap: 12px; padding: 12px; }
  .cert-ring { width: 64px; height: 64px; }
  .cert-ring > span { width: 50px; height: 50px; }
  .cert-ring strong { font-size: 1.1rem; }
  .cta-card { padding: 28px 20px; border-radius: 18px; gap: 28px; }
  .signup-form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .billing-toggle .bt-option { padding: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .mockup { transform: none; }
}
@media (min-width: 900px) { .plan-featured.reveal.is-visible { transform: translateY(-10px); } }

/* champ anti-spam (honeypot) : invisible pour les humains */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ===================== Espace client (connexion) ===================== */
.hero-login { margin: 14px 0 0; color: var(--text-muted); font-size: .95rem; }
.hero-login a { font-weight: 600; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-main { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.login-card { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.login-card h1 { font-size: 1.5rem; margin: 0 0 8px; color: var(--heading); }
.login-card label { display: block; font-weight: 600; margin: 16px 0 6px; color: var(--heading); }
.login-slug { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.login-slug input { flex: 1; min-width: 0; border: 0; padding: .7em .8em; font: inherit; background: transparent; color: var(--heading); }
.login-slug input:focus { outline: 2px solid var(--primary, #0ea5e9); outline-offset: -2px; }
.login-suffix { display: flex; align-items: center; padding: 0 .8em; color: var(--text-muted); background: var(--bg, transparent); border-left: 1px solid var(--border); white-space: nowrap; }
.login-hint, .login-alt { color: var(--text-muted); font-size: .9rem; }
.login-card .btn-block { margin-top: 16px; }
.login-error { background: #fee2e2; color: #991b1b; border-radius: 8px; padding: .6em .8em; }
.login-langs { margin-top: 16px; }
