/* ===========================
   SOUSA & COUTO — REFORMA TRIBUTÁRIA
   Design: Dark Premium + Gold
   =========================== */

:root {
  --bg-primary: #232B44;
  --bg-card: #2A344D;
  --bg-card-hover: #313C59;
  --bg-elevated: #3A4768;
  --gold: #C9A742;
  --gold-light: #e2c06a;
  --gold-dark: #a88530;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #606060;
  --danger: #e53e3e;
  --success: #38a169;
  --warning: #d69e2e;
  --info: #3182ce;
  --border: rgba(201, 167, 66, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── UTILITIES ─── */
.gold {
  color: var(--gold);
}

.green {
  color: var(--success);
}

.red {
  color: var(--danger);
}

.amber {
  color: var(--warning);
}

.bold {
  font-weight: 700;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(35, 43, 68, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-ri {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-i {
  font-style: italic;
}

.logo-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.header-social {
  display: flex;
  gap: 1rem;
}

.header-social a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.header-social a:hover {
  color: var(--gold);
}

/* ─── BUTTONS ─── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(201, 167, 66, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 167, 66, 0.5);
}

.btn-gold:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ─── HERO ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 167, 66, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 167, 66, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 167, 66, 0.1);
  border: 1px solid rgba(201, 167, 66, 0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.5)
  }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
}

.check-icon {
  color: var(--gold);
  font-weight: 800;
}

.hero-warn {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-hero {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

.hero-time {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.hcard-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hcard-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.hcard-badge.danger {
  background: rgba(229, 62, 62, 0.2);
  color: var(--danger);
}

.hcard-badge.warning {
  background: rgba(214, 158, 46, 0.2);
  color: var(--warning);
}

.hcard-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.hcard-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hcard-bar-wrap {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  height: 6px;
  margin-bottom: 0.8rem;
}

.hcard-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 50px;
}

.hcard-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-8px)
  }
}

/* ─── SECTION COMMON ─── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ─── WHY SECTION ─── */
.why-section {
  padding: 6rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-card {
  background: rgba(201, 167, 66, 0.06);
  border-color: rgba(201, 167, 66, 0.4);
}

.cta-card h3 {
  color: var(--text-primary);
}

.cta-card .btn-gold {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* ─── QUIZ SECTION ─── */
.quiz-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.15);
}

.quiz-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* Progress */
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-bar-bg {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  height: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 50px;
  width: 20%;
  transition: width 0.5s ease;
}

.progress-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

/* Steps */
.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201, 167, 66, 0.45);
  line-height: 1;
}

.step-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Option buttons */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.option-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  color: var(--text-primary);
}

.option-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 167, 66, 0.06);
}

.option-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 167, 66, 0.12);
  box-shadow: 0 0 0 1px var(--gold);
}

.opt-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.opt-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.opt-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Inputs */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.input-wrapper:focus-within {
  border-color: var(--gold);
}

.input-prefix {
  padding: 0.8rem 1rem;
  background: rgba(201, 167, 66, 0.1);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  padding: 0.8rem 1rem;
}

.input-wrapper input::placeholder {
  color: var(--text-muted);
}

.input-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Lead form standalone inputs */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lead-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.lead-form input:focus {
  border-color: var(--gold);
}

.lead-form input::placeholder {
  color: var(--text-muted);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-consent label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-next,
.btn-submit {
  width: 100%;
  justify-content: center;
}

.btn-submit {
  font-size: 1.05rem;
  padding: 1.1rem 2rem;
}

/* ─── RESULTS SECTION ─── */
.results-section {
  padding: 6rem 0;
}

.results-header {
  text-align: center;
  margin-bottom: 3rem;
}

.results-badge {
  display: inline-block;
  background: rgba(201, 167, 66, 0.1);
  border: 1px solid rgba(201, 167, 66, 0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-top {
  margin-bottom: 1rem;
}

.pillar-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pillar-badge.danger {
  background: rgba(229, 62, 62, 0.15);
  color: var(--danger);
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.pillar-badge.success {
  background: rgba(56, 161, 105, 0.15);
  color: var(--success);
  border: 1px solid rgba(56, 161, 105, 0.3);
}

.pillar-badge.warning {
  background: rgba(214, 158, 46, 0.15);
  color: var(--warning);
  border: 1px solid rgba(214, 158, 46, 0.3);
}

.pillar-badge.info {
  background: rgba(49, 130, 206, 0.15);
  color: var(--info);
  border: 1px solid rgba(49, 130, 206, 0.3);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pillar-value-block {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.pillar-value-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.pillar-value {
  font-size: 2rem;
  font-weight: 900;
}

.pillar-insight {
  background: rgba(201, 167, 66, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 1rem;
  min-height: 2rem;
}

.pillar-formula {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 167, 66, 0.2);
  border-radius: 6px;
  font-size: 0.76rem;
  color: #888;
  line-height: 1.7;
}

.formula-label {
  display: block;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.formula-values {
  color: #bbb;
  font-family: 'Courier New', monospace;
  font-size: 0.74rem;
}

.formula-note {
  color: #666;
  font-style: italic;
  font-size: 0.71rem;
}

/* Split Payment Timeline */
.pillar-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tl-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tl-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 32px;
  flex-shrink: 0;
}

.tl-bar-bg {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  height: 8px;
}

.tl-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(229, 62, 62, 0.6), var(--danger));
  border-radius: 50px;
  transition: width 1s ease;
}

.tl-val {
  font-size: 0.75rem;
  color: var(--text-secondary);
  width: 60px;
  flex-shrink: 0;
}

/* Credit breakdown */
.credit-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.cb-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cb-label {
  color: var(--text-secondary);
}

.cb-val {
  font-weight: 700;
  color: var(--gold);
}

/* Benefits Timeline */
.benefits-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bt-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bt-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 32px;
  flex-shrink: 0;
}

.bt-bar {
  background: linear-gradient(90deg, rgba(214, 158, 46, 0.6), var(--warning));
  border-radius: 50px;
  height: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 1s ease;
}

/* Effective Tax Gauge */
.effective-compare {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.ec-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ec-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  width: 160px;
  flex-shrink: 0;
  line-height: 1.3;
}

.ec-gauge {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1.2s ease;
}

.nominal-fill {
  background: linear-gradient(90deg, rgba(229, 62, 62, 0.6), var(--danger));
}

.real-fill {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.current-fill {
  background: rgba(255, 255, 255, 0.2);
}

.ec-val {
  font-size: 0.9rem;
  font-weight: 700;
  width: 50px;
  text-align: right;
}

.effective-formula {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.8rem;
}

/* ─── CTA BOX ─── */
.cta-box {
  background: var(--bg-card);
  border: 1px solid rgba(201, 167, 66, 0.4);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(201, 167, 66, 0.08);
}

.cta-icon-big {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.cta-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.cta-highlight {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-experts {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.expert-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
}

.expert-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0a0a0a;
  flex-shrink: 0;
}

.expert-badge strong {
  display: block;
  font-size: 0.85rem;
}

.expert-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.expert-firm {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(201, 167, 66, 0.5);
}

/* ─── RESPONSIVE ─── */
@media(max-width:900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-checklist {
    align-items: center;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .option-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .quiz-wrapper {
    padding: 1.5rem;
  }

  .cta-box {
    padding: 2rem 1.2rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .ec-label {
    width: 120px;
    font-size: 0.72rem;
  }
}

/* ===========================
   PDF BUTTON & PRINT STYLES
   =========================== */

.results-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 2.5rem;
  flex-wrap: wrap;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.8rem;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-pdf:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-pdf:active {
  transform: translateY(0);
}

/* PDF-only header block (hidden on screen) */
.pdf-header {
  display: none;
}

.print-only {
  display: none !important;
}

/* ===========================
   @MEDIA PRINT
   =========================== */
@media print {

  /* Page setup */
  @page {
    size: A4 portrait;
    margin: 14mm 12mm 14mm 12mm;
  }

  /* Hide everything except the results */
  .no-print,
  .site-header,
  .hero-section,
  #quiz-section,
  .site-footer,
  #cta-final,
  .redo-btn,
  #redo-btn {
    display: none !important;
  }

  /* Unhide PDF-only elements */
  .print-only {
    display: block !important;
  }

  /* White background for print */
  body,
  html {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
  }

  .results-section {
    display: block !important;
    background: #fff !important;
    padding: 0 !important;
  }

  /* PDF header branding */
  .pdf-header {
    display: block;
    border-bottom: 2px solid #C9A742;
    padding-bottom: 8pt;
    margin-bottom: 14pt;
  }

  .pdf-logo {
    font-size: 16pt;
    font-weight: 800;
    color: #C9A742;
    letter-spacing: -0.02em;
  }

  .pdf-sub {
    font-size: 9pt;
    color: #555;
    margin-top: 2pt;
  }

  .pdf-date {
    font-size: 8pt;
    color: #888;
    margin-top: 2pt;
  }

  /* Results header */
  .results-header {
    margin-bottom: 14pt;
    text-align: left;
  }

  .results-badge {
    display: none;
  }

  .section-title {
    font-size: 18pt !important;
    color: #111 !important;
  }

  .section-title .gold {
    color: #C9A742 !important;
  }

  #results-intro {
    font-size: 9pt !important;
    color: #444 !important;
  }

  /* Pillar grid — 2 columns on A4 */
  .pillars-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10pt !important;
    margin-bottom: 12pt !important;
  }

  /* Pillar cards */
  .pillar-card {
    background: #f8f8f8 !important;
    border: 1pt solid #ddd !important;
    border-radius: 6pt !important;
    padding: 10pt !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .pillar-title {
    font-size: 11pt !important;
    color: #111 !important;
  }

  .pillar-desc {
    font-size: 8pt !important;
    color: #555 !important;
  }

  .pillar-badge {
    font-size: 7pt !important;
  }

  .pillar-value {
    font-size: 18pt !important;
  }

  .pillar-value.red {
    color: #c0392b !important;
  }

  .pillar-value.green {
    color: #27ae60 !important;
  }

  .pillar-value.amber {
    color: #d68910 !important;
  }

  /* Insights */
  .pillar-insight {
    background: #f0f0f0 !important;
    border-left: 3pt solid #C9A742 !important;
    font-size: 7.5pt !important;
    color: #333 !important;
    padding: 6pt 8pt !important;
  }

  .pillar-formula {
    background: #e8e8e8 !important;
    border: 0.5pt solid #ccc !important;
    font-size: 7pt !important;
    color: #444 !important;
  }

  .formula-label {
    color: #a07a20 !important;
  }

  .formula-values {
    color: #333 !important;
  }

  /* Timeline bars */
  .tl-bar {
    background: #C9A742 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .bt-bar {
    background: #C9A742 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .gauge-fill {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Evolution chart */
  #evolution-chart {
    max-height: 220px !important;
  }

  .pillar-card canvas {
    max-height: 220px !important;
  }

  /* Credit breakdown */
  .cb-item {
    font-size: 8pt !important;
  }

  .cb-val {
    color: #C9A742 !important;
  }

  /* Effective comparison */
  .ec-label {
    font-size: 7.5pt !important;
  }

  .ec-val {
    font-size: 11pt !important;
  }

  .ec-val.gold {
    color: #C9A742 !important;
  }

  /* Force color printing */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}