/* ================================================================
   LH Studio — style-shared.css
   Design system partagé par toutes les pages
   ================================================================ */

/* ── 1. Variables — Dark mode (défaut) ─────────────────────── */

:root {
  --bg:          #07080F;
  --surface:     #0F1020;
  --surface-2:   #161830;
  --border:      rgba(255,255,255,.07);
  --text:        #ECEAF8;
  --text-dim:    rgba(236,234,248,.52);
  --text-faint:  rgba(236,234,248,.26);

  --brand:       #6366F1;
  --brand-dim:   rgba(99,102,241,.15);
  --brand-glow:  rgba(99,102,241,.28);

  /* Couleur produit (surchargée par data-product) */
  --product:      var(--brand);
  --product-dim:  var(--brand-dim);
  --product-text: #fff;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.35);
  --shadow:    0 4px 18px rgba(0,0,0,.45);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.55);

  --z-base:   1;
  --z-card:   10;
  --z-sticky: 20;
  --z-modal:  30;
}

/* ── 2. Variants produit ───────────────────────────────────── */

:root[data-product="subtrack"] {
  --product:      #F59E0B;
  --product-dim:  rgba(245,158,11,.14);
  --product-text: #1C1000;
}
:root[data-product="familycare"] {
  --product:      #34D399;
  --product-dim:  rgba(52,211,153,.14);
  --product-text: #001A10;
}
:root[data-product="aidesdetect"] {
  --product:      #60A5FA;
  --product-dim:  rgba(96,165,250,.14);
  --product-text: #fff;
}
:root[data-product="recotrack"] {
  --product:      #C084FC;
  --product-dim:  rgba(192,132,252,.14);
  --product-text: #fff;
}

/* ── 3. Light mode via préférence système ──────────────────── */

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:          #F4F3FF;
    --surface:     #FFFFFF;
    --surface-2:   #EDEAFC;
    --border:      rgba(0,0,0,.08);
    --text:        #0F0E1A;
    --text-dim:    rgba(15,14,26,.58);
    --text-faint:  rgba(15,14,26,.32);
    --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
    --shadow:      0 4px 18px rgba(0,0,0,.10);
    --shadow-lg:   0 10px 40px rgba(0,0,0,.13);
  }
}

/* ── 4. Light mode via toggle explicite ────────────────────── */

:root[data-theme="light"] {
  --bg:          #F4F3FF;
  --surface:     #FFFFFF;
  --surface-2:   #EDEAFC;
  --border:      rgba(0,0,0,.08);
  --text:        #0F0E1A;
  --text-dim:    rgba(15,14,26,.58);
  --text-faint:  rgba(15,14,26,.32);
  --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
  --shadow:      0 4px 18px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.13);
}

/* ── 5. Reset ──────────────────────────────────────────────── */

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a            { color: inherit; text-decoration: none; }
img, svg     { display: block; max-width: 100%; }
button       { font-family: inherit; cursor: pointer; border: none; background: none; }
input        { font-family: inherit; }
ul, ol       { list-style: none; }

/* ── 6. Layout ─────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow { max-width: 720px; }

.section        { padding-block: 5rem; }
.section--sm    { padding-block: 3.5rem; }
.section--lg    { padding-block: 7rem; }

/* ── 7. Navigation ─────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid var(--border);
  background: rgba(7,8,15,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nav {
    background: rgba(244,243,255,.92);
  }
}
:root[data-theme="light"] .nav { background: rgba(244,243,255,.92); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.025em;
  color: var(--text);
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.nav__logo:hover { opacity: 0.78; }

.nav__logo-mark {
  width: 30px;
  height: 30px;
  background: var(--brand);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9375rem;
  color: #fff;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav__theme-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.nav__theme-btn:hover { color: var(--text); background: var(--surface); }

.nav__cta {
  padding: 0.5rem 1.125rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav__cta:hover { opacity: 0.86; transform: translateY(-1px); }

.nav__burger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s;
}
.nav__burger:hover { background: var(--surface); }

@media (max-width: 768px) {
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__burger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    gap: 0.875rem;
    z-index: var(--z-sticky);
  }
}

/* ── 8. Boutons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover   { opacity: 0.88; transform: translateY(-1px); }
.btn:active  { transform: translateY(0); }
.btn:disabled{ opacity: 0.45; cursor: not-allowed; transform: none; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(99,102,241,.38);
}
.btn--primary:hover { box-shadow: 0 8px 26px rgba(99,102,241,.5); }

.btn--product {
  background: var(--product);
  color: var(--product-text);
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.btn--product:hover { box-shadow: 0 8px 26px rgba(0,0,0,.35); }

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: rgba(255,255,255,.18); }

:root[data-theme="light"] .btn--ghost:hover,
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .btn--ghost:hover {
    border-color: rgba(0,0,0,.18);
  }
}

.btn--sm  { padding: 0.5625rem 1rem; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn--lg  { padding: 1rem 2.25rem;   font-size: 1.0625rem; }

/* ── 9. Inputs ─────────────────────────────────────────────── */

.input {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--text-faint); }
.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.input--product:focus {
  border-color: var(--product);
  box-shadow: 0 0 0 3px var(--product-dim);
}

/* ── 10. Hero hub ──────────────────────────────────────────── */

.hero {
  padding-block: 5.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.13) 0%, transparent 68%);
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  background: var(--brand-dim);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__headline {
  font-size: clamp(2.5rem, 5.5vw + 0.5rem, 4.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin-bottom: 1.5rem;
  max-width: 820px;
  margin-inline: auto;
}

.hero__headline em {
  font-style: normal;
  color: var(--brand);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--text-dim);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding: 2.25rem 0;
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── 11. Section labels & headers ──────────────────────────── */

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label--product { color: var(--product); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.section-header__title {
  font-size: clamp(1.625rem, 3vw + 0.25rem, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.section-header__sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── 12. Grid produits (hub) ───────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.product-card::after {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--card-color, var(--brand));
  transition: opacity 0.22s;
  opacity: 0.6;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-color, var(--brand));
  box-shadow: 0 16px 48px rgba(0,0,0,.32);
}
.product-card:hover::after { opacity: 1; }

.product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card-color, var(--brand)) 14%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--card-color, var(--brand));
}

.product-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--card-color, var(--brand));
  margin-bottom: 0.25rem;
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
  flex: 1;
}

.product-card__cta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-color, var(--brand));
  margin-top: 1.5rem;
  transition: gap 0.2s ease;
}
.product-card:hover .product-card__cta { gap: 0.625rem; }

/* Variantes couleur */
.product-card--subtrack    { --card-color: #F59E0B; }
.product-card--familycare  { --card-color: #34D399; }
.product-card--aidesdetect { --card-color: #60A5FA; }
.product-card--recotrack   { --card-color: #C084FC; }

/* ── 13. How it works ──────────────────────────────────────── */

.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.35;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid rgba(99,102,241,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--brand);
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── 14. Newsletter (hub) ──────────────────────────────────── */

.newsletter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99,102,241,.09), transparent);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin-inline: auto;
  margin-top: 2rem;
}

/* ── 15. Footer ────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem 2rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dim);
}

.footer__brand-mark {
  width: 22px;
  height: 22px;
  background: var(--brand);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.7rem;
  color: #fff;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--text-faint);
  transition: color 0.15s;
}
.footer__link:hover { color: var(--text-dim); }

/* ── 16. Hero produit ──────────────────────────────────────── */

.product-hero {
  padding-top: 1.75rem;
  padding-bottom: 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-hero__glow {
  position: absolute !important;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--product-dim) 0%, transparent 68%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.product-hero > * { position: relative; z-index: 1; }

.product-hero__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--product-dim);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--product);
}

.product-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  background: var(--product-dim);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--product);
  margin-bottom: 1.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-hero__headline {
  font-size: clamp(2rem, 5vw + 0.25rem, 3.75rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.033em;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.product-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-dim);
  max-width: 460px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* ── 17. Problème / citation ───────────────────────────────── */

.problem-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-wrapper {
  max-width: 680px;
  margin-inline: auto;
  text-align: left;
}

.problem-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--product);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.problem-quote {
  padding-left: 1.5rem;
  border-left: 3px solid var(--product);
}

.problem-quote__text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.problem-quote__author {
  font-size: 0.875rem;
  color: var(--text-faint);
  font-weight: 600;
}

/* ── 18. Features ──────────────────────────────────────────── */

.features-section {
  padding-block: 5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.feature-card:hover {
  border-color: var(--product);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--product-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  color: var(--product);
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── 19. Pricing ───────────────────────────────────────────── */

.pricing-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 680px;
  margin-inline: auto;
  margin-top: 3rem;
}

.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--product);
  background: var(--surface-2);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--product);
  color: var(--product-text);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pricing-card__tier {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.pricing-card__price {
  font-family: var(--font-mono);
  font-size: 2.375rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.pricing-card__price sup {
  font-size: 1rem;
  vertical-align: top;
  margin-top: 0.4rem;
  display: inline-block;
}

.pricing-card__price small {
  font-size: 0.9rem;
  color: var(--text-faint);
  font-weight: 400;
}

.pricing-card__tagline {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.pricing-feat--on { color: var(--text); }

.pricing-feat__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feat__icon--on {
  background: var(--product-dim);
  color: var(--product);
}

.pricing-feat__icon--off {
  background: var(--surface-2);
  color: var(--text-faint);
}

/* ── 20. Waitlist form ─────────────────────────────────────── */

.waitlist-section {
  padding-block: 5rem;
  text-align: center;
}

.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.waitlist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--product-dim), transparent);
  pointer-events: none;
}

.waitlist-card > * { position: relative; z-index: 1; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  padding: 1.5rem;
}

.form-success__circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--product-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--product);
}

.form-success__msg {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.form-success__sub {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ── 21. Back link ─────────────────────────────────────────── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.15s, gap 0.15s;
}
.back-link:hover { color: var(--text); gap: 0.6rem; }

/* ── 22. Animations ────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  [data-animate="fade"] { transform: none; }

  [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Le hero est toujours visible — pas d'animation au chargement */
  .product-hero [data-animate],
  .product-hero [data-animate="fade"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-delay="1"] { transition-delay: 0.1s; }
  [data-delay="2"] { transition-delay: 0.2s; }
  [data-delay="3"] { transition-delay: 0.3s; }
  [data-delay="4"] { transition-delay: 0.4s; }
  [data-delay="5"] { transition-delay: 0.5s; }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ── 23. Utilitaires ───────────────────────────────────────── */

.text-center  { text-align: center; }
.text-brand   { color: var(--brand); }
.text-product { color: var(--product); }
.text-dim     { color: var(--text-dim); }
.text-faint   { color: var(--text-faint); }
.text-mono    { font-family: var(--font-mono); }

.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }

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

/* ── 24. Responsive ────────────────────────────────────────── */

@media (max-width: 900px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid--3 { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 768px) {
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container        { padding-inline: 1rem; }
  .section          { padding-block: 3.5rem; }
  .hero             { padding-block: 3.5rem 2.5rem; }
  .product-hero     { padding-top: 1.25rem; padding-bottom: 2.5rem; }
  .features-grid    { grid-template-columns: 1fr; }
  .hero__actions    { flex-direction: column; align-items: stretch; }
  .newsletter-form  { flex-direction: column; }
  .waitlist-card    { padding: 2.25rem 1.25rem; }
  .newsletter-card  { padding: 2.25rem 1.25rem; }
  .stats            { gap: 2.5rem; }
  .form-row         { grid-template-columns: 1fr; }
  .footer__inner    { flex-direction: column; align-items: flex-start; }
}
