/* Landing publique voxfacture — overrides ciblés par-dessus Pico CSS. */

:root {
  --vf-accent: #3c6eaa;
  --vf-accent-dark: #2c528b;
  --vf-success: #2e8a3e;
  --vf-bg-soft: #f6f7fa;
  --vf-bg-hero: linear-gradient(180deg, #ffffff 0%, #f1f4fa 100%);
  --vf-text-strong: #14213d;
  --vf-text-muted: #5a6b85;
}

body { background: #fff; color: #1c1c1c; }

main {
  /* override Pico's default container styling on <main> so sections
     can paint full-width backgrounds. */
  background: transparent;
}

.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

/* ── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid #e9ecf1;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 50;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand-link {
  text-decoration: none;
  color: var(--vf-text-strong);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-header nav a {
  color: var(--vf-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-header nav a:hover {
  color: var(--vf-accent);
}
.site-header .login-link {
  border-left: 1px solid #e9ecf1;
  padding-left: 1.25rem;
}
.cta-small {
  font-size: 0.88rem;
  padding: 0.4rem 0.9rem !important;
  margin: 0;
}

/* Hide some nav items on mobile */
@media (max-width: 700px) {
  .site-header nav a:not(.cta-small):not(.login-link) { display: none; }
}

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  background: var(--vf-bg-hero);
  padding: 5rem 0 4rem;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--vf-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--vf-text-strong);
  margin: 0 0 1rem;
  font-weight: 700;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--vf-text-muted);
  max-width: 660px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cta-primary {
  background: var(--vf-accent) !important;
  border-color: var(--vf-accent) !important;
  color: #fff !important;
  font-weight: 600;
  margin: 0;
}
.cta-primary:hover {
  background: var(--vf-accent-dark) !important;
  border-color: var(--vf-accent-dark) !important;
}
.cta-ghost {
  background: transparent !important;
  border: 1px solid #cdd5e0 !important;
  color: var(--vf-text-strong) !important;
  margin: 0;
}
.cta-ghost:hover {
  background: #fff !important;
  border-color: var(--vf-accent) !important;
  color: var(--vf-accent) !important;
}
.cta-primary.block {
  width: 100%;
  display: block;
  text-align: center;
}
.trust-line {
  font-size: 0.85rem;
  color: var(--vf-text-muted);
  margin-top: 0.6rem;
}

/* ── SECTION COMMUNS ────────────────────────────────────────────────── */
section { padding: 4rem 0; }
section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin: 0 0 0.75rem;
  color: var(--vf-text-strong);
}
.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--vf-text-muted);
  font-size: 1.05rem;
}

/* ── HOW IT WORKS ───────────────────────────────────────────────────── */
.how { background: #fff; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step {
  background: var(--vf-bg-soft);
  padding: 1.75rem;
  border-radius: 10px;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vf-accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--vf-text-strong);
}
.step p { color: var(--vf-text-muted); margin: 0 0 0.5rem; }
.step blockquote {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border-left: 3px solid var(--vf-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: #2a2a2a;
  border-radius: 4px;
}

/* ── FEATURES ───────────────────────────────────────────────────────── */
.features { background: var(--vf-bg-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e9ecf1;
}
.feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.feature h3 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  color: var(--vf-text-strong);
}
.feature p { margin: 0; color: var(--vf-text-muted); font-size: 0.95rem; }

/* ── AUDIENCE ───────────────────────────────────────────────────────── */
.audience { background: #fff; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.audience article {
  text-align: center;
  background: var(--vf-bg-soft);
  padding: 1.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--vf-text-strong);
}
.audience article span {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

/* ── PRICING ────────────────────────────────────────────────────────── */
.pricing { background: var(--vf-bg-soft); }
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(20, 33, 61, 0.08);
  border: 1px solid #e9ecf1;
}
.pricing-card header { text-align: center; margin-bottom: 1.5rem; padding: 0; }
.pricing-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vf-accent);
  margin: 0 0 0.5rem;
}
.price { margin: 0; }
.price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--vf-text-strong);
}
.price .period {
  color: var(--vf-text-muted);
  margin-left: 0.25rem;
}
.tagline { color: var(--vf-text-muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f3f7;
  font-size: 0.95rem;
}
.pricing-features li:last-child { border: none; }
.overage {
  background: var(--vf-bg-soft);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--vf-text-muted);
  margin-bottom: 1.5rem;
}
.cta-sub { text-align: center; font-size: 0.85rem; color: var(--vf-text-muted); margin-top: 0.5rem; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { background: #fff; }
.faq details {
  background: var(--vf-bg-soft);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  border: 1px solid #e9ecf1;
}
.faq summary {
  font-weight: 600;
  color: var(--vf-text-strong);
  cursor: pointer;
  font-size: 1rem;
}
.faq details[open] summary { margin-bottom: 0.6rem; }
.faq p { margin: 0; color: var(--vf-text-muted); line-height: 1.6; }

/* ── FINAL CTA ──────────────────────────────────────────────────────── */
.final-cta {
  background: var(--vf-text-strong);
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #cdd5e0; margin: 0 0 1.5rem; }
.final-cta .cta-primary {
  background: #fff !important;
  color: var(--vf-text-strong) !important;
  border-color: #fff !important;
}
.final-cta .cta-primary:hover {
  background: var(--vf-accent) !important;
  color: #fff !important;
  border-color: var(--vf-accent) !important;
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer {
  background: #fff;
  border-top: 1px solid #e9ecf1;
  padding: 2rem 0;
  margin-top: 0;
}
.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--vf-text-muted);
}
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a {
  color: var(--vf-text-muted);
  text-decoration: none;
}
.site-footer a:hover { color: var(--vf-accent); }
