/* =========================================================================
   PoolCenter — Vitrine publique (site marketing statique, SEO-first)
   --------------------------------------------------------------------------
   Réplique stricte des tokens de docs/DESIGN_SYSTEM.md « v2 » (light mode —
   surface publique/marketing). Aucune valeur magique : couleurs (Gris
   PoolCenter 210°), spacing (base 4px), radius (géométrie douce), ombres à
   l'encre et typo proviennent du design system. Polices DS v2 auto-hébergées :
   Gabarito (titres, §3) + Plus Jakarta Sans (corps/UI), subset latin variable.
   ========================================================================= */

/* ── Polices DS v2 (§3) — auto-hébergées, subset latin, variable ────────── */
@font-face {
  font-family: "Gabarito";
  src: url("fonts/gabarito-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

/* ── Tokens (§2 couleurs, §4 spacing, §5 radius, §6 ombres) ───────────── */
:root {
  /* Brand scale */
  --primary-50: #e5f7ff;
  --primary-100: #b8eaff;
  --primary-200: #85dcff;
  --primary-300: #4dcbff;
  --primary-400: #26bbff;
  --primary-500: #00abff;
  --primary-600: #0090db;
  --primary-700: #0073b0;
  --primary-800: #005685;
  --primary-900: #003c5e;
  --primary-950: #001e2f;

  /* Semantic brand (light) — §2.2 */
  --brand: var(--primary-500);
  --brand-hover: var(--primary-600);
  --brand-pressed: var(--primary-700);
  --brand-subtle: #cceeff;
  --brand-strong: #006daa;
  --brand-on: #ffffff;

  /* « Gris PoolCenter » — neutres teinte ~210°, chroma quasi nul (§2.3) */
  --neutral-0: #ffffff;
  --neutral-50: #f5f6f8;
  --neutral-100: #ebedf0;
  --neutral-200: #e0e3e7;
  --neutral-300: #b7bdc6;
  --neutral-400: #8c939d;
  --neutral-500: #697079;
  --neutral-600: #4b525c;
  --neutral-700: #353c45;
  --neutral-800: #21262e;
  --neutral-900: #14181e;
  --neutral-950: #0b0e12;

  /* Statuts sémantiques — main / subtle (fond) / strong (texte) (§2.4) */
  --success: #17a87c;
  --success-subtle: #c8f2e3;
  --success-strong: #076b4d;
  --warning: #ee9d2b;
  --warning-subtle: #fce8c7;
  --warning-strong: #94560c;
  --danger: #e5484d;
  --danger-subtle: #fbdbdc;
  --danger-strong: #a82226;
  --info: #00abff;
  --info-subtle: #cceeff;
  --info-strong: #006daa;

  /* Surfaces (light) — §2.5 */
  --surface-base: #f5f6f8;
  --surface-raised: #ffffff;
  --surface-overlay: #ffffff;
  --surface-sunken: #ebedf0;

  /* Borders (light) — §2.6 */
  --border-default: #e0e3e7;
  --border-strong: #b7bdc6;
  --border-focus: #00abff;

  /* Text (light) — §2.7 */
  --text-primary: #14181e;
  --text-secondary: #4b525c;
  --text-tertiary: #697079;
  --text-on-brand: #ffffff;
  --text-link: #006daa;

  /* Spacing — base 4px (§4.1) */
  --s0-5: 2px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 28px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --s20: 80px;
  --s24: 96px;

  /* Max content widths (§4.2) */
  --width-form: 600px;
  --width-content: 880px;
  --width-wide: 1160px;
  --width-full: 1320px;

  /* Radius — géométrie douce (§5) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  /* Shadows — bordure d'abord, ombre en murmure ; encre #14181E (§6) */
  --shadow-xs: 0 1px 2px rgba(20, 24, 30, 0.05);
  --shadow-sm: 0 2px 8px rgba(20, 24, 30, 0.07);
  --shadow-md: 0 8px 24px rgba(20, 24, 30, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 24, 30, 0.12);

  /* Brand gradient — marketing/login uniquement (§2.9) */
  --brand-gradient: linear-gradient(135deg, #00abff 0%, #0073b0 100%);

  /* Motion (§9) */
  --motion-fast: 120ms;
  --motion-normal: 200ms;
  --motion-slow: 300ms;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset / base ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--surface-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Typographie (§3) — Gabarito (titres, ×1,2, gras) + Jakarta (UI) ────── */
/* Titres éditoriaux : Gabarito, gros et gras (≥ 700). Œil plus petit → tailles
   majorées de 20 % (§3). */
.t-display-lg,
.t-display-sm,
.t-heading-xl,
.t-heading-lg {
  font-family: "Gabarito", "Plus Jakarta Sans", sans-serif;
}
.t-display-lg {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.t-display-sm {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.10;
  letter-spacing: -0.02em;
}
.t-heading-xl {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.t-heading-lg {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.20;
  letter-spacing: -0.01em;
}
.t-heading-md {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.30;
}
.t-heading-sm {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.t-body-lg {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.50;
}
.t-body-md {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.50;
}
.t-body-sm {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
.t-label-lg {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.20;
  letter-spacing: 0.01em;
}
.t-label-sm {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.20;
  letter-spacing: 0.02em;
}
.t-caption {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.30;
  letter-spacing: 0.03em;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
}

.text-secondary {
  color: var(--text-secondary);
}
.text-tertiary {
  color: var(--text-tertiary);
}
.text-brand {
  color: var(--brand-strong);
}

/* ── Layout helpers ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--width-wide);
  margin-inline: auto;
  padding-inline: var(--s4);
}
.container--content {
  max-width: var(--width-content);
}
.container--form {
  max-width: var(--width-form);
}

.section {
  padding-block: var(--s16);
}
.section--tight {
  padding-block: var(--s12);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--s2);
  background: var(--surface-raised);
  color: var(--text-primary);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-md);
  z-index: 100;
}
.skip-link:focus {
  left: var(--s4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

/* ── Boutons (§7.1 PCButton) — pilule, toujours ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  height: 44px;
  padding-inline: var(--s5);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out);
}
.btn:hover {
  text-decoration: none;
}
/* Pression : scale 0.98 (§7.1) */
.btn:active {
  transform: scale(0.98);
}

/* Tailles : sm 36 · md 44 (défaut) · lg 52 */
.btn--lg {
  height: 52px;
  padding-inline: var(--s6);
}
.btn--md {
  height: 44px;
  padding-inline: var(--s5);
}
.btn--sm {
  height: 36px;
  padding-inline: var(--s4);
  font-size: 13px;
}

.btn--primary {
  background: var(--brand);
  color: var(--text-on-brand);
}
.btn--primary:hover {
  background: var(--brand-hover);
}

/* Encre : CTA des surfaces publiques/marketing et des fonds brand */
.btn--ink {
  background: var(--neutral-900);
  color: #ffffff;
}
.btn--ink:hover {
  background: var(--neutral-800);
}

/* Tonal : actions secondaires fréquentes */
.btn--tonal {
  background: var(--brand-subtle);
  color: var(--brand-strong);
}
.btn--tonal:hover {
  background: #b8e6ff;
}

.btn--secondary {
  background: var(--surface-raised);
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn--secondary:hover {
  border-color: var(--border-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
}
.btn--ghost:hover {
  background: var(--surface-sunken);
}

/* Inversé : bouton blanc sur un aplat/dégradé brand (bandeaux CTA) */
.btn--on-brand {
  background: #ffffff;
  color: var(--brand-strong);
}
.btn--on-brand:hover {
  background: var(--neutral-50);
}

/* Secondaire sur fond brand : contour blanc translucide */
.btn--ghost-on-brand {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost-on-brand:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

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

/* ── Badge / chip (§7.5 PCBadge) — fond subtle + texte strong, sans bordure */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  height: 26px;
  padding-inline: var(--s3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge--brand {
  background: var(--brand-subtle);
  color: var(--brand-strong);
}
.badge--success {
  background: var(--success-subtle);
  color: var(--success-strong);
}
.badge--warning {
  background: var(--warning-subtle);
  color: var(--warning-strong);
}
.badge--neutral {
  background: var(--surface-sunken);
  color: var(--text-secondary);
}

/* ── Card (§7.6 PCCard) — bordure d'abord, ombre xs au repos ───────────── */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--s6);
  box-shadow: var(--shadow-xs);
}
.card--flat {
  box-shadow: none;
}
.card--interactive {
  transition:
    box-shadow var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out);
}
.card--interactive:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* ── Navbar vitrine ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-default);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: 64px;
  max-width: var(--width-wide);
  margin-inline: auto;
  padding-inline: var(--s4);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
.nav__brand:hover {
  text-decoration: none;
}
.nav__logo {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin-left: var(--s6);
}
.nav__link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}
.nav__link:hover {
  color: var(--text-primary);
  text-decoration: none;
}
.nav__spacer {
  flex: 1;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text-primary);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s3) var(--s4) var(--s5);
  border-bottom: 1px solid var(--border-default);
  background: var(--surface-raised);
}
.nav__mobile a {
  padding: var(--s3);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 600;
}
.nav__mobile a:hover {
  background: var(--surface-sunken);
  text-decoration: none;
}
.nav__mobile.is-open {
  display: flex;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: var(--s20) var(--s16);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -40% 0 auto 0;
  height: 520px;
  background: radial-gradient(
    60% 60% at 50% 0%,
    rgba(0, 171, 255, 0.16) 0%,
    rgba(0, 171, 255, 0) 70%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 760px;
}
.hero h1 {
  margin-top: var(--s4);
}
.hero__sub {
  margin-top: var(--s5);
  max-width: 620px;
  color: var(--text-secondary);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s8);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  margin-top: var(--s8);
  color: var(--text-tertiary);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 13px;
  font-weight: 600;
}

/* ── Section header ───────────────────────────────────────────────────── */
.section-head {
  max-width: 640px;
  margin-bottom: var(--s10);
}
.section-head h2 {
  margin-top: var(--s3);
}
.section-head p {
  margin-top: var(--s3);
  color: var(--text-secondary);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* ── Grilles ──────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--s5);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Feature item ─────────────────────────────────────────────────────── */
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-subtle);
  color: var(--brand-strong);
  margin-bottom: var(--s4);
}
.feature__icon svg {
  width: 24px;
  height: 24px;
}
.feature h3 {
  margin-bottom: var(--s2);
}
.feature p {
  color: var(--text-secondary);
  margin: 0;
}

/* ── Problème / solution ──────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: stretch;
}
.panel {
  padding: var(--s6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
}
.panel--problem {
  background: var(--surface-sunken);
}
.panel--solution {
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}
.panel h3 {
  margin-bottom: var(--s4);
}
.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.panel li {
  display: flex;
  gap: var(--s3);
  color: var(--text-secondary);
}
.panel li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.panel--problem li svg {
  color: var(--text-tertiary);
}
.panel--solution li svg {
  color: var(--success);
}

/* ── Audience (pour qui) ──────────────────────────────────────────────── */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
.audience__card {
  padding: var(--s8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-default);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}
.audience__card h3 {
  margin: var(--s4) 0 var(--s2);
}
.audience__card ul {
  margin: var(--s5) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.audience__card li {
  display: flex;
  gap: var(--s3);
  color: var(--text-secondary);
  font-size: 14px;
}
.audience__card li svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand);
  margin-top: 2px;
}

/* ── Aperçu tarifs ────────────────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: var(--s6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  background: var(--surface-raised);
}
.price-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.price-card__price {
  margin: var(--s5) 0 var(--s2);
}
.price-card__price .amount {
  font-family: "Gabarito", "Plus Jakarta Sans", sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-card__price .period {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
}
.price-card ul {
  margin: var(--s5) 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}
.price-card li {
  display: flex;
  gap: var(--s3);
  color: var(--text-secondary);
  font-size: 14px;
}
.price-card li svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 2px;
}

/* ── Bandeau CTA / waitlist ───────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--brand-gradient);
  color: #fff;
  padding: var(--s16) var(--s8);
  text-align: center;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: var(--s4) auto 0;
}

.beta-banner {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-full);
  background: var(--warning-subtle);
  color: var(--warning-strong);
  font-size: 13px;
  font-weight: 600;
}
.beta-banner svg {
  flex: none;
  width: 18px;
  height: 18px;
}

/* ── Formulaires ──────────────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s4);
  text-align: left;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.field input, .field textarea, .field select {
  width: 100%;
  height: 52px;
  padding: 0 var(--s5);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: var(--surface-sunken);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  transition:
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out);
}
.field textarea {
  height: auto;
  min-height: 120px;
  padding: var(--s4) var(--s5);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(0, 171, 255, 0.20);
  background: var(--surface-raised);
}
.field .hint {
  font-size: 12px;
  color: var(--text-tertiary);
}
/* Honeypot anti-spam — masqué aux humains, rempli par les bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: var(--s4);
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-status.is-success {
  display: block;
  background: var(--success-subtle);
  color: var(--success-strong);
}
.form-status.is-error {
  display: block;
  background: var(--danger-subtle);
  color: var(--danger-strong);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-default);
  background: var(--surface-raised);
  padding-block: var(--s12) var(--s8);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s8);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
}
.footer__tag {
  margin-top: var(--s3);
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--s4);
}
.footer__col a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding-block: var(--s1);
}
.footer__col a:hover {
  color: var(--text-primary);
  text-decoration: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s10);
  padding-top: var(--s6);
  border-top: 1px solid var(--border-default);
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ── Legal / contenu long ─────────────────────────────────────────────── */
.legal {
  padding-block: var(--s10) var(--s16);
}
.legal h1 {
  margin-bottom: var(--s2);
}
.legal__meta {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: var(--s8);
}
.legal article {
  padding: var(--s5) 0;
  border-top: 1px solid var(--border-default);
}
.legal article h2 {
  font-size: 18px;
  margin-bottom: var(--s3);
}
.legal article h3 {
  font-size: 15px;
  margin: var(--s4) 0 var(--s2);
}
.legal p, .legal li {
  color: var(--text-secondary);
  line-height: 1.7;
}
.legal ul {
  padding-left: var(--s5);
}

/* ── Utilitaires ──────────────────────────────────────────────────────── */
.mt-2 {
  margin-top: var(--s2);
}
.mt-4 {
  margin-top: var(--s4);
}
.mt-6 {
  margin-top: var(--s6);
}
.center {
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Hero de page interne (plus compact que la home) ──────────────────── */
.hero--page {
  padding-block: var(--s12) var(--s8);
}
.hero--page .hero__inner {
  max-width: 720px;
}
.lead {
  color: var(--text-secondary);
}

/* ── Note / encart (skeletons TODO) ───────────────────────────────────── */
.note {
  display: flex;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--brand-subtle);
  color: var(--brand-strong);
  font-size: 14px;
  line-height: 1.5;
}
.note svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--brand-strong);
  margin-top: 1px;
}

/* ── Liste de fonctionnalités groupées (icône + titre + texte) ────────── */
.flist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5) var(--s8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.flist li {
  display: flex;
  gap: var(--s3);
}
.flist > li > svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brand);
  margin-top: 2px;
}
.flist h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 var(--s1);
}
.flist p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* ── FAQ (details/summary) ────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  max-width: var(--width-content);
  margin-inline: auto;
}
.faq-item {
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--s4) var(--s5);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\2013";
}
.faq-item p {
  color: var(--text-secondary);
  margin: var(--s3) 0 0;
  line-height: 1.65;
}

/* ── Comparatif simple ────────────────────────────────────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.compare th, .compare td {
  text-align: left;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border-default);
  font-size: 14px;
}
.compare thead th {
  background: var(--surface-sunken);
  font-weight: 600;
  color: var(--text-secondary);
}
.compare td.tick {
  color: var(--success);
  font-weight: 600;
}
.compare td.muted {
  color: var(--text-tertiary);
}

@media (max-width: 720px) {
  .flist {
    grid-template-columns: 1fr;
  }
  .compare {
    display: block;
    overflow-x: auto;
  }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }
}
@media (max-width: 860px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .split, .audience {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .t-display-lg {
    font-size: 36px;
  }
  .t-display-sm {
    font-size: 28px;
  }
  .section {
    padding-block: var(--s12);
  }
  .hero {
    padding-block: var(--s12) var(--s10);
  }
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    padding: var(--s12) var(--s5);
  }
}
@media (max-width: 460px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero__cta .btn {
    width: 100%;
  }
}

/* ─── Prose (corps d'article) ─────────────────────────────────────────────── */
.prose {
  max-width: 680px;
  line-height: 1.65;
  color: var(--text-primary);
}
.prose > * + * {
  margin-top: var(--s5);
}
.prose h2 {
  font-family: "Gabarito", "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.20;
  letter-spacing: -0.01em;
  margin-top: var(--s10);
  color: var(--text-primary);
}
.prose h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.30;
  margin-top: var(--s7);
  color: var(--text-primary);
}
.prose p {
  font-size: 16px;
}
.prose ul, .prose ol {
  padding-left: var(--s6);
  font-size: 16px;
}
.prose li + li {
  margin-top: var(--s2);
}
.prose strong {
  font-weight: 600;
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
}
.prose a:hover {
  color: var(--brand-hover);
}
.prose blockquote {
  border-left: 3px solid var(--brand);
  margin-left: 0;
  padding: var(--s3) var(--s5);
  background: var(--surface-raised);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.prose code {
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  background: var(--surface-sunken);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.prose table th,
.prose table td {
  padding: var(--s2) var(--s3);
  text-align: left;
  border-bottom: 1px solid var(--border-default);
}
.prose table th {
  font-weight: 600;
  background: var(--surface-raised);
}
.prose table tr:nth-child(even) td {
  background: var(--surface-sunken);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--text-primary);
  text-decoration: none;
}
.breadcrumb__sep {
  color: var(--text-tertiary);
}

/* Article card (utilisé sur la page index ressources) */
.article-card {
  display: block;
  padding: var(--s6);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow var(--motion-normal) var(--ease-out),
    transform var(--motion-normal) var(--ease-out),
    border-color var(--motion-normal) var(--ease-out);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand);
  text-decoration: none;
  color: inherit;
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: var(--s3);
}
.article-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--s2);
  color: var(--text-primary);
}
.article-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
