/* AIGENSCAN — feuille unique (statique, sans dépendance). Inter auto-hébergée. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/inter-400.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/inter-500.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/inter-600.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/inter-700.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/inter-800.woff2") format("woff2");}

/* =========================================================================
   AIGENSCAN — Design tokens
   Source of truth: docs/REFONTE-AIGENSCAN-CLAUDE.md (§5 palette, §7 type).
   Two themes — daylight (default) and night — share every spacing, radius
   and hierarchy value. Only color roles swap. Blue = decorative accent,
   red = commercial CTA, neutral = prose/utility.
   ========================================================================= */

:root,
:root[data-theme="daylight"] {
  color-scheme: light;

  /* -- Surfaces --------------------------------------------------------- */
  --bg: #eef3f6;              /* global page ground */
  --bg-alt: #e4ebf0;          /* alternating section band */
  --surface: #f8fbfd;         /* card surface */
  --surface-raised: #ffffff;  /* raised surface / field */

  /* -- Text ------------------------------------------------------------- */
  --text: #17324a;            /* primary ink */
  --muted: #486578;           /* secondary text / placeholder */
  --faint: #4f6a7d;           /* tertiary / meta — AA on --bg and --bg-alt */

  /* -- Blue accent (decorative only) ------------------------------------ */
  --accent: #2a78af;          /* graphic accent, icons, large figures */
  --accent-strong: #1a416b;   /* accent text / small links (AA on light) */
  --accent-text: #1a416b;
  --accent-soft: #d6e9f6;     /* soft accent surface */
  --accent-soft-ink: #1a416b; /* text on soft accent */

  /* -- Borders ---------------------------------------------------------- */
  --border: #c6d4df;          /* decorative hairline */
  --border-strong: #aebecb;   /* stronger separation */
  --control-border: #6f879b;  /* field / control outline */

  /* -- Badge ------------------------------------------------------------ */
  --badge-bg: #1a416b;
  --badge-ink: #ffffff;

  /* -- Commercial CTA (red — never a large fill) ------------------------ */
  --cta: #a43022;             /* primary fill */
  --cta-hover: #8d291d;
  --cta-ink: #a43022;         /* secondary outline/text */
  --on-cta: #ffffff;

  /* -- Focus ------------------------------------------------------------ */
  --focus: #1a416b;

  /* -- Depth (offset + soft blur, tinted from the blue family) ---------- */
  --shadow-sm: 0 1px 2px rgba(23, 50, 74, 0.06),
               0 2px 6px rgba(23, 50, 74, 0.05);
  --shadow-md: 0 4px 12px rgba(23, 50, 74, 0.08),
               0 12px 28px rgba(23, 50, 74, 0.07);
  --shadow-lg: 0 8px 24px rgba(23, 50, 74, 0.10),
               0 24px 60px rgba(23, 50, 74, 0.10);
  --shadow-cta: 0 6px 18px rgba(164, 48, 34, 0.28);

  /* Ambient tints for the hero backdrop (subtle, palette-derived) */
  --ambient-a: rgba(42, 120, 175, 0.16);
  --ambient-b: rgba(26, 65, 107, 0.10);

  /* Nebulous cloud field (soft, drifting light/blue-gray blobs — no hard bands) */
  --cloud-1: rgba(255, 255, 255, 0.62);
  --cloud-2: rgba(201, 217, 231, 0.5);
  --cloud-3: rgba(214, 233, 246, 0.42);
  --grain-opacity: 0.08;
  --grain-blend: soft-light;

  /* Browser surfaces */
  --selection-bg: #cfe4f4;
  --selection-ink: #17324a;
  --scroll-thumb: #b9cad7;
  --scroll-thumb-hover: #9db2c2;
}

:root[data-theme="night"] {
  color-scheme: dark;

  --bg: #141e30;
  --bg-alt: #182438;
  --surface: #1c293d;
  --surface-raised: #223249;

  --text: #f6fafd;
  --muted: #b3cfe5;
  --faint: #8ba7c0;

  --accent: #4ea4cc;
  --accent-strong: #83bfe3;
  --accent-text: #83bfe3;
  --accent-soft: #243d55;
  --accent-soft-ink: #cfe6f6;

  --border: #3a5069;
  --border-strong: #46607d;
  --control-border: #7890a8;

  --badge-bg: #1a416b;
  --badge-ink: #ffffff;

  --cta: #a43022;
  --cta-hover: #8d291d;
  --cta-ink: #ff8796;          /* red reads too dark on slate — lighten */
  --on-cta: #ffffff;

  --focus: #83bfe3;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30),
               0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.36),
               0 16px 40px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.42),
               0 30px 70px rgba(0, 0, 0, 0.40);
  --shadow-cta: 0 8px 22px rgba(0, 0, 0, 0.45);

  --ambient-a: rgba(78, 164, 204, 0.20);
  --ambient-b: rgba(26, 65, 107, 0.28);

  --cloud-1: rgba(41, 61, 90, 0.5);
  --cloud-2: rgba(26, 54, 86, 0.5);
  --cloud-3: rgba(33, 52, 80, 0.45);
  --grain-opacity: 0.09;
  --grain-blend: soft-light;

  --selection-bg: #2f4d6b;
  --selection-ink: #f6fafd;
  --scroll-thumb: #33475f;
  --scroll-thumb-hover: #46607d;
}

:root {
  /* -- Type families ---------------------------------------------------- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  --font-num: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;

  /* -- Type scale (§7) --------------------------------------------------- */
  --fs-display: clamp(2.25rem, 5vw, 4rem);   /* H1 36 → 64 */
  --fs-h2: clamp(1.75rem, 3.8vw, 2.75rem);   /* 28 → 44 */
  --fs-h3: clamp(1.25rem, 1.6vw, 1.375rem);  /* 20 → 22 */
  --fs-lead: clamp(1.075rem, 1.4vw, 1.25rem);/* 17 → 20 */
  --fs-body: 1rem;                            /* 16 */
  --fs-small: 0.875rem;                       /* 14 */
  --fs-price: clamp(1.85rem, 3.2vw, 2.125rem);/* ~30 → 34 */
  --fs-eyebrow: 0.8125rem;                    /* 13 */

  --lh-display: 1.06;
  --lh-h2: 1.12;
  --lh-body: 1.6;

  --tracking-display: -0.025em;
  --tracking-eyebrow: 0.14em;

  /* -- Spacing scale (§7): 4 8 12 16 24 32 48 64 92 --------------------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 92px;

  /* -- Radii (§7) ------------------------------------------------------- */
  --r-btn: 12px;
  --r-card: 16px;
  --r-offer: 20px;
  --r-pill: 999px;

  /* -- Layout ----------------------------------------------------------- */
  --max-width: 1180px;
  --measure: 65ch;
  --header-h: 72px;

  /* -- Motion (kept minimal per brief: movement 1/10) ------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur: 0ms;
  }
}
/* =========================================================================
   AIGENSCAN — Base layer
   Reset, document defaults, layout primitives, typographic rhythm and the
   browser-surface theming (selection, scrollbar, caret, focus) that keeps
   the whole page inside the design system.
   ========================================================================= */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv05" 1, "ss01" 1; /* Inter: nicer l, single-storey a */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;

  /* Nebulous cloud field: soft light + blue-gray blobs spread down the whole
     page so section-to-section transitions drift instead of stepping. No hard
     bands, no regular grid. Surfaces (cards, offers) stay clean above it. */
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 900px at 14% 4%, var(--cloud-1), transparent 55%),
    radial-gradient(1150px 850px at 88% 12%, var(--cloud-2), transparent 55%),
    radial-gradient(1100px 1000px at 20% 30%, var(--cloud-1), transparent 55%),
    radial-gradient(1250px 950px at 82% 42%, var(--cloud-2), transparent 55%),
    radial-gradient(1150px 1050px at 28% 60%, var(--cloud-3), transparent 58%),
    radial-gradient(1300px 1000px at 78% 74%, var(--cloud-1), transparent 55%),
    radial-gradient(1200px 950px at 40% 90%, var(--cloud-2), transparent 58%);
  background-repeat: no-repeat;
}

/* Very subtle film grain over the whole page — irregular, not a dot pattern. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
}

/* No banded sections — the cloud field carries through continuously. */
.section--alt {
  background: transparent;
}

/* -- Browser surfaces (themed, not defaults) --------------------------- */
::selection {
  background: var(--selection-bg);
  color: var(--selection-ink);
}

:root {
  accent-color: var(--accent);
  caret-color: var(--accent);
}

* {
  scrollbar-color: var(--scroll-thumb) transparent;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: var(--r-pill);
  border: 3px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  background-clip: padding-box;
}

/* -- Focus ------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* -- Media ------------------------------------------------------------- */
img,
svg {
  display: block;
  max-width: 100%;
}

/* -- Links ------------------------------------------------------------- */
a {
  color: var(--accent-text);
  text-decoration-color: color-mix(in srgb, var(--accent-text) 40%, transparent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
  transition: color var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--accent-strong);
    text-decoration-color: currentColor;
  }
}

/* -- Headings ---------------------------------------------------------- */
h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 800;
  letter-spacing: var(--tracking-display);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

strong {
  font-weight: 700;
  color: var(--text);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* -- Layout primitives ------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section {
  padding-block: var(--sp-9);
}

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

section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Anchor jump target for the logo / skip link. */
#top {
  scroll-margin-top: 0;
}

/* -- Skip link --------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--sp-4);
}

/* -- Shared text helpers ----------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-strong);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: var(--measure);
}

.section-intro {
  max-width: 62ch;
}

.section-intro .lead {
  margin-top: var(--sp-4);
}

/* Center a section's intro block when a section calls for it. */
.section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.section-intro--center .eyebrow,
.section-intro--center .lead {
  margin-inline: auto;
}

.u-accent {
  color: var(--accent-strong);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}
/* =========================================================================
   AIGENSCAN — Components
   Header, buttons, hero, icon system, content grids, pricing (matched to the
   reference capture), conversion, footer, legal pages, mobile menu.
   Blue = decorative accent · Red = commercial CTA · Neutral = utility/prose.
   ========================================================================= */

/* ---------------------------------------------------------------- Logo -- */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  border-radius: 8px;
}

.brand .logo {
  display: block;
  width: 176px;
  height: auto;
}

.brand .logo-night {
  display: none;
}

[data-theme="night"] .brand .logo-daylight {
  display: none;
}

[data-theme="night"] .brand .logo-night {
  display: block;
}

@media (max-width: 640px) {
  .brand .logo {
    width: 144px;
  }
}

/* -------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
  margin-inline-start: auto;
}

.primary-nav__link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .primary-nav__link:hover {
    color: var(--text);
  }
  .primary-nav__link:hover::after {
    transform: scaleX(1);
  }
}

.primary-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-inline-start: clamp(8px, 1.4vw, 20px);
}

.link-utility {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .link-utility:hover {
    color: var(--text);
  }
}

/* ------------------------------------------------------ Icon buttons -- */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    color: var(--text);
    border-color: var(--control-border);
    background: var(--surface);
  }
}

.icon-btn .icon {
  width: 20px;
  height: 20px;
}

/* Theme toggle: show moon in daylight (action = go night), sun in night. */
.theme-toggle .icon-sun {
  display: none;
}
[data-theme="night"] .theme-toggle .icon-moon {
  display: none;
}
[data-theme="night"] .theme-toggle .icon-sun {
  display: block;
}

/* Hamburger visible only on compact nav. */
.nav-toggle {
  display: none;
}

/* --------------------------------------------------------- Buttons ---- */
.btn {
  --_bg: var(--cta);
  --_ink: var(--on-cta);
  --_bd: var(--cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-5);
  font-family: inherit;
  font-size: 0.9688rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--_ink);
  background: var(--_bg);
  border: 1.5px solid var(--_bd);
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn--primary {
  box-shadow: var(--shadow-cta);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--cta-hover);
    border-color: var(--cta-hover);
    transform: translateY(-1px);
  }
  .btn--primary:active {
    transform: translateY(0);
  }
}

.btn--secondary {
  --_bg: transparent;
  --_ink: var(--cta-ink);
  --_bd: var(--cta-ink);
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn--secondary:hover {
    background: color-mix(in srgb, var(--cta-ink) 10%, transparent);
    transform: translateY(-1px);
  }
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-height: 52px;
  padding-inline: var(--sp-6);
  font-size: 1rem;
}

/* --------------------------------------------------------- Icons ------ */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Soft accent chip that holds a feature/constat icon. */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.icon-chip .icon {
  width: 26px;
  height: 26px;
}

/* Inline blue check for lists. */
.check {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2.25;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ----------------------------------------------------------- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) var(--sp-9);
  text-align: center;
  isolation: isolate;
}

/* HUD map backdrop — dotted world map from the product's world (surveillance),
   masked to fade before it reaches the content below. Multiplies into the light
   ground in daylight; inverted + screened onto the slate in night. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(760px, 100%);
  z-index: -2;
  pointer-events: none;
  background: url("assets/bg/hud-world.jpg") center top / cover no-repeat;
  opacity: 0.5;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
}

[data-theme="night"] .hero::before {
  opacity: 0.16;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg) brightness(1.25) contrast(1.05);
}

/* Soft palette-derived light over the map for depth. */
.hero::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 28% 18%, var(--ambient-a), transparent 72%),
    radial-gradient(48% 50% at 82% 6%, var(--ambient-b), transparent 74%);
  pointer-events: none;
}

.hero__inner {
  max-width: 940px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow {
  color: var(--accent-strong);
}

.eyebrow--hero {
  max-width: 54ch;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.hero h1 {
  max-width: 22ch;
}

/* Two controlled lines: the statement (colon stays attached) then the accent. */
.hero__h1-line,
.hero__h1-accent {
  display: block;
}

/* Solid blue second proposition — a clear accent, not gradient. */
.hero__h1-accent {
  color: var(--accent);
}

.hero__lead {
  margin-top: var(--sp-5);
  max-width: 62ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
}

/* Scan field */
.scan {
  margin-top: var(--sp-7);
  width: 100%;
  max-width: 600px;
  text-align: left;
}

.scan__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.scan__row {
  display: flex;
  gap: var(--sp-3);
  align-items: stretch;
}

.scan__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 var(--sp-4);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-raised);
  border: 1.5px solid var(--control-border);
  border-radius: var(--r-btn);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.scan__input::placeholder {
  color: var(--faint);
}

.scan__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
}

.scan__input[aria-invalid="true"] {
  border-color: var(--cta);
}

.scan__btn {
  flex-shrink: 0;
  height: 52px;
}

.scan__error {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--cta-ink);
}

.scan__note {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.scan__note .icon {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

/* Hero indicators — refined stat band, hairline dividers, not floating cards */
.indicators {
  margin-top: var(--sp-8);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-6);
}

.indicator {
  text-align: left;
  padding-left: var(--sp-4);
  border-left: 1px solid var(--border);
}

.indicator:first-child {
  border-left: 0;
  padding-left: 0;
}

.indicator__value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.indicator__value small {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 1px;
}

.indicator__label {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.35;
}

/* ---------------------------------------------------- Content grids --- */
.grid {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--conformite {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Card: surface + hairline + tight tinted shadow. Elevation declared once,
   no transform lift on hover — only a short accent color shift (brief §4.4). */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease);
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  }
}

.card h3 {
  margin-top: var(--sp-1);
}

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

.card__meta {
  margin-top: auto;
  padding-top: var(--sp-3);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-strong);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------- Steps ----- */
.steps {
  margin-top: var(--sp-8);
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  min-width: 0;
}

/* Connector line linking the numbered nodes across the row (right of the node,
   at its vertical centre — never under the title). */
.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 52px;
  right: calc(-1 * var(--sp-5));
  height: 1px;
  background: var(--border);
}

.step:last-child::after {
  display: none;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin: 0;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ----------------------------------------------------- Difference ----- */
.difference__grid {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.difference__prose p + p {
  margin-top: var(--sp-4);
  color: var(--muted);
}

.difference__prose p {
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.difference__prose .lead-em {
  color: var(--text);
  font-weight: 500;
}

.arg-list {
  margin-top: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
}

.arg {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.arg p {
  color: var(--text);
  font-size: 0.9688rem;
}

/* Synthesis figures: a definition list, thin separators, no fake dashboard. */
.synthesis {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.synthesis__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border);
}

.synthesis__row:first-child {
  border-top: 0;
}

.synthesis dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.synthesis dd {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 1.0625rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------- Conformité ----- */
.compliance {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.compliance__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.compliance__icon .icon {
  width: 22px;
  height: 22px;
}

.compliance h3 {
  font-size: 1.0625rem;
}

.compliance p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* France HUD map behind the sovereignty section — ties to "hébergement France". */
#conformite {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#conformite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/bg/hud-france.jpg") center right / cover no-repeat;
  opacity: 0.42;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 80%);
  mask-image: linear-gradient(to left, #000 25%, transparent 80%);
}

[data-theme="night"] #conformite::before {
  opacity: 0.14;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg) brightness(1.25) contrast(1.05);
}

/* -------------------------------------------------------- Pricing ----- */
.pricing__grid {
  margin: var(--sp-8) auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: stretch;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-offer);
  box-shadow: var(--shadow-md);
}

.offer--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.offer__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 var(--sp-4);
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

.offer h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.offer__desc {
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: 0.9688rem;
  min-height: 3em;
}

.offer__price {
  margin-top: var(--sp-5);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.offer__price-value {
  font-size: var(--fs-price);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.offer__price-note {
  font-size: 0.9375rem;
  color: var(--muted);
}

.offer__list {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}

.offer__list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: 0.9688rem;
  color: var(--text);
}

.offer__cta {
  margin-top: var(--sp-6);
}

/* ------------------------------------------------------ Conversion ---- */
.conversion__panel {
  margin-top: var(--sp-6);
  text-align: center;
  padding: clamp(40px, 6vw, 72px) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-offer);
  box-shadow: var(--shadow-md);
}

.conversion__panel .eyebrow {
  color: var(--accent-strong);
}

.conversion__panel h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.conversion__panel p {
  margin: var(--sp-4) auto 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.conversion__actions {
  margin-top: var(--sp-7);
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------- Footer ----- */
.site-footer {
  margin-top: var(--sp-9);
  border-top: 1px solid var(--border);
  background: transparent;
  padding-block: var(--sp-8) var(--sp-6);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.footer__brand .logo {
  width: 188px;
}

.footer__summary {
  margin-top: var(--sp-4);
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer__col h4 {
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__col ul {
  display: grid;
  gap: var(--sp-3);
}

.footer__col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover {
    color: var(--text);
  }
}

.footer__bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-small);
  color: var(--faint);
}

.footer__hosting {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

/* --------------------------------------------------- Mobile menu ------ */
.mobile-menu {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu__inner {
  padding-block: var(--sp-4) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.mobile-menu__link {
  padding: var(--sp-4) var(--sp-2);
  color: var(--text);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__actions {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}

/* -------------------------------------------------- Legal pages ------- */
.legal {
  padding-block: var(--sp-8) var(--sp-9);
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.legal__back .icon {
  width: 18px;
  height: 18px;
}

.legal__doc {
  max-width: 72ch;
}

.legal__meta {
  margin-top: var(--sp-3);
  color: var(--faint);
  font-size: var(--fs-small);
}

.legal__intro {
  margin-top: var(--sp-6);
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.legal__doc h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

.legal__doc h2:first-of-type {
  border-top: 0;
}

.legal__doc p,
.legal__doc li {
  color: var(--muted);
  margin-top: var(--sp-4);
}

.legal__doc ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-top: var(--sp-3);
}

.legal__doc li {
  margin-top: var(--sp-2);
}

.legal__doc a {
  color: var(--accent-strong);
}

.legal__doc address {
  font-style: normal;
  display: inline;
}

/* "à compléter" placeholder marker — honest, visible, not invented data. */
.fillin {
  display: inline;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: 0.9em;
  font-style: italic;
}

.legal__footer {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--faint);
}

/* ============================ Responsive ============================== */
@media (max-width: 1100px) {
  .primary-nav {
    display: none;
  }
  .header-actions .link-utility,
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .difference__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .grid--features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--conformite {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6);
  }
  .step::after {
    display: none;
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .offer__desc {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .indicators {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5) var(--sp-4);
  }
  .indicator:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .grid--3,
  .grid--features,
  .grid--conformite {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .offer {
    padding: 24px;
  }
  .scan__row {
    flex-direction: column;
  }
  .scan__btn {
    width: 100%;
  }
  .conversion__actions .btn {
    width: 100%;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 420px) {
  .indicators {
    grid-template-columns: 1fr;
  }
  .indicator {
    border-left: 0;
    padding-left: 0;
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border);
  }
  .indicator:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
