/* ============================================================
   SOURIRE NUMÉRIQUE — Design System
   Générateur de Documents Légaux
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --orange: #FF6900;
  --orange-dark: #E05500;
  --orange-light: #FF8533;
  --orange-ultra-light: #FFF3EC;
  --dark: #0B0C10;
  --dark-2: #1A1B22;
  --dark-3: #2A2B35;
  --grey-1: #6B7280;
  --grey-2: #9CA3AF;
  --grey-3: #D1D5DB;
  --grey-4: #E5E7EB;
  --grey-5: #F3F4F6;
  --off-white: #F8F9FA;
  --white: #FFFFFF;

  --font: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-orange: 0 8px 30px rgba(255,105,0,0.30);

  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--grey-1); line-height: 1.7; }

.text-orange { color: var(--orange); }
.text-dark   { color: var(--dark); }
.text-grey   { color: var(--grey-1); }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.fw-500      { font-weight: 500; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

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

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,105,0,0.40);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--grey-4);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--grey-1);
  padding: 12px 20px;
}

.btn-ghost:hover { color: var(--dark); background: var(--grey-5); }

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--grey-4);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.logo b { font-weight: 800; color: var(--orange); }

/* Ancien logo-icon (conservé par compatibilité) */
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo span { color: var(--orange); }


.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey-1);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--dark); background: var(--grey-5); }
.nav-links a.active { color: var(--orange); }

/* CTA header button — texte blanc par défaut, noir au survol */
.nav-links a.btn-primary { color: #ffffff !important; }
.nav-links a.btn-primary:hover { color: #0B0C10 !important; background: var(--grey-5); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,105,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-ultra-light);
  color: var(--orange);
  border: 1px solid rgba(255,105,0,0.2);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { color: var(--orange); font-style: normal; }

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--grey-1);
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--grey-1);
  font-weight: 500;
}

.trust-item .icon {
  width: 32px;
  height: 32px;
  background: var(--orange-ultra-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 16px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-4);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,105,0,0.15);
}

/* ── Document Cards ──────────────────────────────────────────── */
.doc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  border: 2px solid var(--grey-4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grey-4);
  transition: var(--transition);
}

.doc-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.doc-card:hover::before { background: var(--orange); }

.doc-card.selected {
  border-color: var(--orange);
  background: var(--orange-ultra-light);
}

.doc-card.selected::before { background: var(--orange); }

.doc-card.featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: var(--white);
}

.doc-card.featured::before { background: var(--orange); }
.doc-card.featured p { color: var(--grey-2); }
.doc-card.featured .doc-price { color: var(--orange); }

.doc-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-ultra-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.doc-card.featured .doc-icon { background: rgba(255,105,0,0.2); }

.doc-card:hover .doc-icon { background: var(--orange); }
.doc-card.selected .doc-icon { background: var(--orange); }

.doc-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  margin-top: 12px;
}

.doc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Section titles ──────────────────────────────────────────── */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey-1);
  max-width: 560px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

/* ── Steps / How it works ────────────────────────────────────── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange));
  opacity: 0.2;
}

.step-item { text-align: center; }

.step-number {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(255,105,0,0.08);
  position: relative;
  z-index: 1;
  background: var(--white);
}

@media (max-width: 700px) {
  .steps-container { grid-template-columns: 1fr; }
  .steps-container::before { display: none; }
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.form-label.required::after {
  content: ' *';
  color: var(--orange);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--grey-4);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,105,0,0.10);
}

.form-control::placeholder { color: var(--grey-3); }

.form-control.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--grey-2);
}

.form-error {
  font-size: 0.8rem;
  color: #EF4444;
  font-weight: 500;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── Toggle / Checkbox ───────────────────────────────────────── */
.toggle-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--grey-3);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-slider { background: var(--orange); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

.toggle-label { font-size: 0.95rem; color: var(--dark); font-weight: 500; cursor: pointer; }

/* ── Wizard / Stepper ────────────────────────────────────────── */
.wizard-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-4);
  overflow: hidden;
}

.wizard-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 32px 40px 24px;
  color: var(--white);
}

.wizard-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.2);
}

.step-dot.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,105,0,0.3);
}

.step-dot.completed {
  background: rgba(255,105,0,0.3);
  color: white;
  border-color: var(--orange);
}

.step-dot.completed::after {
  content: '✓';
  font-size: 0.75rem;
}

.step-dot.completed span { display: none; }

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.15);
  transition: var(--transition);
}

.step-line.completed { background: var(--orange); }

.step-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.step-label-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  flex: 1;
  font-weight: 500;
  transition: var(--transition);
}

.step-label-text.active { color: rgba(255,255,255,0.9); }
.step-label-text.completed { color: var(--orange); }

.wizard-body {
  padding: 40px;
}

@media (max-width: 600px) {
  .wizard-header { padding: 24px 20px 20px; }
  .wizard-body { padding: 24px 20px; }
}

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-top: 1px solid var(--grey-4);
  background: var(--grey-5);
}

@media (max-width: 600px) { .wizard-nav { padding: 20px; } }

/* ── Entity / Sector selector ────────────────────────────────── */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.option-card {
  padding: 20px 16px;
  border: 2px solid var(--grey-4);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  user-select: none;
}

.option-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  border-color: var(--orange);
  background: var(--orange-ultra-light);
}

.option-card .option-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.option-card .option-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

/* ── Summary / Recap ─────────────────────────────────────────── */
.summary-block {
  background: var(--grey-5);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-4);
  font-size: 0.9rem;
}

.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--grey-1); }
.summary-row .value { font-weight: 600; color: var(--dark); }

.price-total {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.price-total .total-label { font-size: 1.1rem; font-weight: 600; }
.price-total .total-amount { font-size: 2rem; font-weight: 800; color: var(--orange); }

/* ── Loading ─────────────────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.loading-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid var(--grey-4);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

/* ── Success page ────────────────────────────────────────────── */
.success-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  width: 100%;
}

@media (max-width: 600px) { .success-card { padding: 36px 24px; } }

.success-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 0 auto 32px;
  box-shadow: 0 12px 32px rgba(16,185,129,0.3);
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.download-btn-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grey-5);
  border: 2px solid var(--grey-4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}

.download-btn:hover {
  border-color: var(--orange);
  background: var(--orange-ultra-light);
}

.download-btn .dl-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.download-btn .dl-info { flex: 1; }
.download-btn .dl-label { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.download-btn .dl-sub { font-size: 0.8rem; color: var(--grey-1); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--grey-2);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 0.875rem;
}

.footer-links a { color: var(--grey-2); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey-1);
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-3);
}

/* ── Misc ────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--grey-4);
  margin: 32px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-orange { background: var(--orange-ultra-light); color: var(--orange); }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-dark { background: var(--dark); color: white; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-info { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.alert-warning { background: var(--orange-ultra-light); color: var(--orange-dark); border: 1px solid rgba(255,105,0,0.2); }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

/* ── Responsive visibility ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── Stripe payment block ────────────────────────────────────── */
.stripe-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--grey-2);
  margin-top: 12px;
}

.stripe-info svg { width: 40px; }
