/*
 * Test A/B (marketing/plan-test-ab.md) : le style de la version B, appliqué à toutes les pages
 * du site pour les visiteurs B. nginx ajoute cette feuille juste avant </head> (sub_filter) :
 * elle passe après les styles de chaque page et les remplace sans toucher au contenu.
 * Les visiteurs A ne la chargent jamais.
 *
 * Même langage que index-b.html : titres en Plus Jakarta Sans très gras, mots en couleur,
 * fond blanc avec des halos, boutons et cartes arrondis.
 */
:root { --b-ink: #1d1b26; --b-body: #4b4858; --b-coral: #E8572A; --b-coral-dk: #C9461F; --b-line: #ECE8F2; }

body { background: #fff !important; color: var(--b-ink); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 420px at 8% 2%, rgba(255, 211, 194, .45), transparent 70%),
    radial-gradient(560px 460px at 96% 12%, rgba(227, 220, 250, .55), transparent 70%);
}

/* Titres : la serif devient une sans-serif grasse, comme sur l'accueil B. */
h1, h2, h3, .heading, .serif, .cta-box-title, .step-title, .related h2, .related h3,
.content h2, .page-hero h1, .hero h1, .group h2, .blog-card h2, .signup-card h2, .email-capture h3,
.results-header h2, .step h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
}
.page-hero h1, .hero h1 { line-height: 1.1 !important; }
h1 em, h2 em, h3 em, .heading em, .serif em {
  font-family: inherit !important; font-style: normal !important; color: var(--b-coral) !important; border: 0 !important;
}
/* Les aperçus de modèles imitent un document : ils gardent leur police. */
.doc .doc-title, .doc h3, .doc h3.crit { font-family: 'Instrument Serif', serif !important; font-weight: 400 !important; letter-spacing: 0 !important; }

/* Étiquettes en pastille, comme les « pill » de l'accueil B. */
.tag {
  display: inline-block; border: 1.5px solid #F7B59A; background: #fff; color: var(--b-ink) !important;
  border-radius: 100px; padding: 5px 13px; letter-spacing: .08em !important; font-weight: 600 !important;
}

/* En-tête */
.nav.scrolled { background: rgba(255, 255, 255, .9) !important; border-bottom-color: var(--b-line) !important; }
.nav-cta { background: var(--b-coral) !important; color: #fff !important; border-radius: 12px !important; }

/* Boutons */
.btn-primary {
  background: var(--b-coral) !important; color: #fff !important; border-radius: 12px !important;
  box-shadow: 0 10px 24px -10px rgba(232, 87, 42, .7);
}
.btn-primary:hover { background: var(--b-coral-dk) !important; }
.btn-outline { border-radius: 12px !important; border: 1.5px solid var(--b-coral) !important; color: var(--b-coral-dk) !important; background: #fff !important; }

/* Cartes et encadrés */
.related-link, .fact, .step, .identity, .faq-item, .highlight {
  border-radius: 16px !important;
}
.related-link, .fact, .step, .identity {
  border-color: var(--b-line) !important; box-shadow: 0 18px 40px -30px rgba(40, 30, 80, .35);
}
.section-white { background: #FBFAFD !important; }

/* Appel final : clair, avec halos, au lieu du bloc noir. */
.cta-final {
  background: linear-gradient(135deg, #FFF1EA 0%, #F6F2FD 100%) !important;
  border: 1px solid var(--b-line); color: var(--b-ink) !important;
}
.cta-final .heading, .cta-final .desc, .cta-final .lock, .cta-final .desc a, .cta-final p { color: var(--b-ink) !important; }
.cta-final .desc, .cta-final .lock { color: var(--b-body) !important; }
.cta-final .btn-outline { background: #fff !important; }
.cta-final .tag { background: #fff; }
.cta-glow { display: none !important; }
