/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1d4ed8;
  --blue-dark:   #1638a8;
  --blue-light:  #3b82f6;
  --gold:        #c89b4a;
  --bg:          #f4f7fb;
  --bg-white:    #ffffff;
  --text:        #0c1a2b;
  --text-muted:  #6b7a8f;
  --border:      #dde4ef;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow-card: 0 4px 32px rgba(29, 78, 216, 0.10), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-btn:  0 2px 12px rgba(29, 78, 216, 0.30);
  --font-title:  'Fraunces', Georgia, serif;
  --font-body:   'Geist', 'Inter', system-ui, sans-serif;
  --transition:  0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 0;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ─── PULSE DOT ─────────────────────────────────────────────────── */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.35);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 0 24px 80px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  padding-top: 72px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ─── STATS ─────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 28px 0 0;
}
.stat:last-child { padding-right: 0; }
.stat-number {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px 0 0;
}

/* ─── FORM CARD ─────────────────────────────────────────────────── */
.hero-form-wrapper {
  position: sticky;
  top: 32px;
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.form-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
}

/* ─── STEPS ─────────────────────────────────────────────────────── */
.step {
  padding: 36px 36px 32px;
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}
.step.active {
  display: block;
  animation: fadeUp 0.3s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.step-header { margin-bottom: 28px; }

.step-indicator {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.step-optional { color: var(--gold); }

.step-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.step-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── FIELDS ────────────────────────────────────────────────────── */
.field-group {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.field-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}
.field-input::placeholder { color: #aab4c2; }
.field-input:focus {
  border-color: var(--blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.10);
}
.field-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

/* ─── CHOICE BUTTONS ────────────────────────────────────────────── */
.question-group {
  margin-bottom: 22px;
}
.question-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.optional-tag {
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}

.btn-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-choice {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-choice:hover {
  border-color: var(--blue-light);
  color: var(--blue);
  background: rgba(59, 130, 246, 0.06);
}
.btn-choice.selected {
  border-color: var(--blue);
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue);
  font-weight: 600;
}

/* ─── PRIMARY BUTTON ────────────────────────────────────────────── */
.btn-primary {
  width: 100%;
  padding: 15px 24px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.btn-primary:hover:not(:disabled) {
  background: var(--blue-dark);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}
.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ─── SPINNER ───────────────────────────────────────────────────── */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* ─── SKIP LINK ─────────────────────────────────────────────────── */
.btn-skip {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
  padding-bottom: 4px;
}
.btn-skip:hover { color: var(--text); }

/* ─── FORM META ─────────────────────────────────────────────────── */
.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
}

/* ─── SUCCESS ───────────────────────────────────────────────────── */
.success-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.success-title {
  margin-bottom: 16px;
}
.success-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.success-body strong { color: var(--text); }
.success-spam {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ─── SOCIAL PROOF ──────────────────────────────────────────────── */
.social-proof {
  background: var(--text);
  padding: 56px 24px;
  text-align: center;
}
.social-proof-text {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.social-proof-author {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── FEATURES ──────────────────────────────────────────────────── */
.features {
  padding: 96px 24px;
  background: var(--bg-white);
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 56px;
  color: var(--text);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  padding: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(29, 78, 216, 0.25);
  box-shadow: 0 4px 24px rgba(29, 78, 216, 0.08);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.feature-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
  }
  .hero-form-wrapper {
    position: static;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0 16px 64px;
  }
  .nav {
    padding-top: 20px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 0;
  }
  .stat { padding-right: 20px; }
  .stat-divider { margin-right: 20px; }
  .step {
    padding: 28px 24px 24px;
  }
  .btn-choice-group {
    gap: 6px;
  }
  .btn-choice {
    padding: 7px 13px;
    font-size: 0.78rem;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Consent RGPD ─── */
.consent-block {
  margin: 16px 0 8px;
  font-size: 13px;
  color: #4a5a72;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #1d4ed8;
  cursor: pointer;
  flex-shrink: 0;
}
.consent-label a {
  color: #1d4ed8;
  text-decoration: underline;
}
.consent-label a:hover {
  color: #0c1a2b;
}

/* ─── Footer legal links ─── */
.footer-legal {
  margin-top: 16px;
  font-size: 12px;
  color: #6b7280;
}
.footer-legal a {
  color: #6b7280;
  text-decoration: none;
  margin: 0 8px;
}
.footer-legal a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  padding: 100px 32px;
  background: #ffffff;
  border-top: 1px solid rgba(12, 26, 43, 0.08);
  border-bottom: 1px solid rgba(12, 26, 43, 0.08);
}
.faq .container {
  max-width: 720px;
  margin: 0 auto;
}
.faq-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 56px;
  color: #0c1a2b;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-item {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(12, 26, 43, 0.08);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #1d4ed8;
}
.faq-a {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5a72;
  margin: 0;
}
