/* Ma Prépa Civique — Design System */
:root {
  --c-bg: #f8f9fa;
  --c-bg-warm: #fdfcfa;
  --c-paper: #ffffff;
  --c-ink: #264653;
  --c-ink-soft: #4a6470;
  --c-mute: #6b7d85;
  --c-line: #e2e6e8;
  --c-line-soft: #eef1f2;
  --c-blue: #264653;
  --c-blue-deep: #1a3340;
  --c-red: #e63946;
  --c-red-soft: #fde8ea;
  --c-mint: #a8dadc;
  --c-mint-soft: #e7f4f4;
  --c-cream: #f4f1ea;
  --c-gold: #d4a04a;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(38,70,83,0.04), 0 1px 3px rgba(38,70,83,0.06);
  --shadow-md: 0 4px 12px rgba(38,70,83,0.06), 0 1px 2px rgba(38,70,83,0.04);
  --shadow-lg: 0 18px 40px -12px rgba(38,70,83,0.18), 0 6px 12px rgba(38,70,83,0.06);

  --font-display: 'Fraunces', 'Source Serif Pro', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== TOP RIBBON ========== */
.ribbon {
  background: var(--c-blue);
  color: #d6e0e3;
  font-size: 12.5px;
  padding: 8px 0;
  letter-spacing: 0.01em;
}
.ribbon .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ribbon-left { display: flex; align-items: center; gap: 8px; }
.ribbon-flag {
  display: inline-flex; height: 10px; border-radius: 1px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.ribbon-flag span { width: 7px; height: 100%; }
.ribbon-flag span:nth-child(1) { background: #1e3a5f; }
.ribbon-flag span:nth-child(2) { background: #fff; }
.ribbon-flag span:nth-child(3) { background: #e63946; }
.ribbon-right { display: flex; gap: 18px; opacity: 0.85; }
.ribbon-right a:hover { color: #fff; }

/* ========== NAV ========== */
.nav {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink-soft);
  border-radius: var(--r-sm);
  transition: all 0.15s ease;
}
.nav-links a:hover { color: var(--c-ink); background: var(--c-line-soft); }
.nav-links a.active { color: var(--c-red); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.btn-primary:hover { background: #cf2f3c; border-color: #cf2f3c; }
.btn-dark {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.btn-dark:hover { background: var(--c-blue-deep); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover { background: var(--c-line-soft); border-color: var(--c-mute); }
.btn-link {
  background: transparent;
  color: var(--c-ink);
  border: none;
  padding: 12px 4px;
}
.btn-link:hover { color: var(--c-red); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, var(--c-bg-warm) 0%, var(--c-bg) 100%);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .pill {
  background: var(--c-mint-soft);
  color: var(--c-blue);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 24px;
}
.hero h1 .highlight {
  color: var(--c-red);
  position: relative;
  white-space: nowrap;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 12px;
  background: var(--c-red-soft);
  z-index: -1;
  border-radius: 2px;
}
.hero-sub {
  font-size: 18px;
  color: var(--c-ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 32px;
  display: flex; gap: 32px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--c-mute);
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item svg { color: var(--c-blue); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 580px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(45deg, #d8dee2 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #c9d4d8 0%, #aebcc1 100%);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px;
}
.hero-photo-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
  background: rgba(38,70,83,0.65);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(6px);
}
.hero-card {
  position: absolute;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}
.hero-card-quiz {
  top: 8%;
  right: -8%;
  width: 280px;
}
.hero-card-progress {
  bottom: 6%;
  left: -10%;
  width: 240px;
}
.quiz-q-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 8px;
}
.quiz-q-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 14px;
  line-height: 1.4;
}
.quiz-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: 13px;
  margin-bottom: 6px;
  cursor: pointer;
}
.quiz-option:hover { border-color: var(--c-mute); }
.quiz-option.correct {
  background: var(--c-mint-soft);
  border-color: var(--c-mint);
  color: var(--c-blue);
  font-weight: 500;
}
.quiz-option .dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--c-line);
  flex-shrink: 0;
}
.quiz-option.correct .dot {
  background: var(--c-blue);
  border-color: var(--c-blue);
  position: relative;
}
.quiz-option.correct .dot::after {
  content: ''; position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.progress-card-title {
  font-size: 12px;
  color: var(--c-mute);
  margin-bottom: 6px;
  display: flex; justify-content: space-between;
}
.progress-bar {
  height: 8px; background: var(--c-line-soft);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--c-blue);
  border-radius: 99px;
}
.progress-themes { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.progress-theme { display: flex; justify-content: space-between; font-size: 12px; }
.progress-theme span:last-child { color: var(--c-mute); font-variant-numeric: tabular-nums; }

/* ========== TRUST STRIP ========== */
.trust {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-mute);
  font-weight: 600;
}
.trust-logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--c-ink-soft);
  opacity: 0.7;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}

/* ========== SECTIONS ========== */
section { padding: 96px 0; }
.section-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--c-red);
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  max-width: 760px;
}
.section-sub {
  font-size: 18px;
  color: var(--c-ink-soft);
  max-width: 640px;
  line-height: 1.6;
}
.section-head { margin-bottom: 56px; }
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap; margin-bottom: 56px;
}
.section-head-row .section-head { margin-bottom: 0; }

/* ========== THEMES ========== */
.themes-section { background: var(--c-paper); }
.themes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.theme-card {
  grid-column: span 2;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.theme-card:hover { border-color: var(--c-blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.theme-card.featured { grid-column: span 3; }
.theme-card.size-lg { grid-column: span 3; }

.theme-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--c-blue);
}
.theme-card.featured .theme-icon {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
}
.theme-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-mute);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.theme-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.theme-desc {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.theme-meta {
  display: flex; justify-content: space-between;
  font-size: 12.5px;
  color: var(--c-mute);
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
}
.theme-meta strong { color: var(--c-ink); font-weight: 600; }

/* ========== HOW IT WORKS ========== */
.how-section { background: var(--c-bg); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.how-step {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 36px 32px;
  position: relative;
}
.how-step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--c-red);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.how-step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.how-step p {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  line-height: 1.6;
}
.how-step-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-blue);
  background: var(--c-mint-soft);
  padding: 4px 10px;
  border-radius: var(--r-sm);
}

/* ========== PRICING ========== */
.pricing-section { background: var(--c-paper); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 40px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--c-blue);
  color: #d8e2e5;
  border-color: var(--c-blue);
  position: relative;
}
.price-card.featured h3, .price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-feature { color: #d8e2e5; }
.price-card-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-red);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  position: absolute;
  top: 20px; right: 20px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 6px;
}
.price-card .price-tagline {
  font-size: 14px;
  color: var(--c-mute);
  margin-bottom: 28px;
}
.price-card.featured .price-tagline { color: #b3c2c7; }
.price-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-amount sup {
  font-size: 22px;
  margin-left: 2px;
  font-weight: 400;
}
.price-period {
  font-size: 13.5px;
  color: var(--c-mute);
  margin-top: 8px;
  margin-bottom: 28px;
}
.price-card.featured .price-period { color: #b3c2c7; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.price-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.price-feature::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--c-mint-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9l3 3 5-6' stroke='%23264653' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain;
}
.price-card.featured .price-feature::before {
  background-color: rgba(255,255,255,0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9l3 3 5-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.price-note {
  font-size: 12.5px;
  color: var(--c-mute);
  margin-top: 16px;
  text-align: center;
}
.price-card.featured .price-note { color: #b3c2c7; }
.price-card .btn-primary { width: 100%; justify-content: center; }
.price-card.featured .btn { background: #fff; color: var(--c-blue); border-color: #fff; }
.price-card.featured .btn:hover { background: var(--c-cream); }

/* ========== STATS ========== */
.stats-section {
  background: var(--c-blue);
  color: #d8e2e5;
}
.stats-section .section-eyebrow { color: var(--c-mint); }
.stats-section .section-eyebrow::before { background: var(--c-mint); }
.stats-section .section-title { color: #fff; }
.stats-section .section-sub { color: #b3c2c7; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: #fff;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat-num .unit { font-size: 28px; color: var(--c-mint); margin-left: 2px; }
.stat-label {
  font-size: 14px;
  color: #b3c2c7;
  line-height: 1.5;
  max-width: 220px;
}

/* ========== ARTICLES ========== */
.articles-section { background: var(--c-bg); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
}
.article-card:hover { border-color: var(--c-blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-img {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(45deg, var(--c-line-soft) 0 1px, transparent 1px 12px),
    var(--c-cream);
  position: relative;
  display: flex; align-items: flex-end; padding: 14px;
}
.article-img-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-ink-soft);
  background: rgba(255,255,255,0.85);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
}
.article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}
.article-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.article-excerpt {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.article-meta {
  font-size: 12.5px;
  color: var(--c-mute);
  display: flex; gap: 12px;
}

/* ========== SOURCES ========== */
.sources-section { background: var(--c-cream); }
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.source-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.source-card .official {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--c-mute);
  text-transform: uppercase;
}
.source-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.source-card p {
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  flex: 1;
}
.source-link {
  font-size: 13px;
  color: var(--c-blue);
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px;
}
.source-link:hover { color: var(--c-red); }

/* ========== FAQ ========== */
.faq-section { background: var(--c-paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--c-line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--c-line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.faq-q-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-size: 14px;
}
.faq-item.open .faq-q-toggle {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
  transform: rotate(45deg);
}
.faq-a {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  line-height: 1.65;
  margin-top: 12px;
  display: none;
  max-width: 580px;
}
.faq-item.open .faq-a { display: block; }

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--c-bg);
  padding: 0 0 96px;
}
.cta-card {
  background: var(--c-blue);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}
.cta-card p {
  color: #b3c2c7;
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
}
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-card .btn-primary { background: var(--c-red); border-color: var(--c-red); }
.cta-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* ========== FOOTER ========== */
footer {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-about img { height: 44px; margin-bottom: 16px; }
.footer-about p {
  font-size: 13.5px;
  color: var(--c-ink-soft);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-line-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink-soft);
  transition: all 0.15s ease;
}
.footer-social a:hover { background: var(--c-blue); color: #fff; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--c-ink-soft);
}
.footer-col a:hover { color: var(--c-red); }
.footer-bottom {
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: var(--c-mute);
}
.footer-bottom-links { display: flex; gap: 24px; }

/* ========== DISCREET PREMIUM MENTION ========== */
.premium-mention {
  padding: 0;
  background: var(--c-bg);
}
.premium-mention-inner {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 24px 0;
  display: flex;
  justify-content: center;
}
.premium-mention-text {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--c-ink-soft);
}
.premium-mention-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mute);
  padding-right: 16px;
  border-right: 1px solid var(--c-line);
}
.premium-mention-text p { margin: 0; }
.premium-mention-text a {
  color: var(--c-red);
  font-weight: 600;
}
.premium-mention-text a:hover { text-decoration: underline; }

/* ========== UTILITIES ========== */
.flex-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.text-center { text-align: center; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 56px; }

@media (max-width: 960px) {
  .hero-grid, .footer-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .themes-grid { grid-template-columns: 1fr; }
  .theme-card, .theme-card.featured, .theme-card.size-lg { grid-column: span 1; }
  .how-grid, .stats-grid, .articles-grid, .sources-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; }
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}
