/* =============================================
   DIAGNÓSTICO IA PMEs — v2 DYNAMIC EDITION
   Mobile-first · Motion-heavy · Premium
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --rosa: #ff2ea6;
  --rosa-hover: #ff5cbb;
  --rosa-glow: rgba(255, 46, 166, 0.4);
  --rosa-soft: rgba(255, 46, 166, 0.12);
  --preto: #0b0b0c;
  --offwhite: #f4f2ee;
  --grafite: #141416;
  --preto-input: #1a1a1d;
  --texto-82: rgba(244, 242, 238, 0.82);
  --texto-65: rgba(244, 242, 238, 0.65);
  --texto-50: rgba(244, 242, 238, 0.50);
  --borda: rgba(244, 242, 238, 0.14);
  --verde-wpp: #25D366;
  --verde-wpp-hover: #20bd5a;

  --font-anton: 'Anton', sans-serif;
  --font-bc: 'Barlow Condensed', sans-serif;
  --font-barlow: 'Barlow', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-barlow);
  background: var(--preto);
  color: var(--offwhite);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; outline: none; cursor: pointer; font-family: inherit; background: none; }

/* ---------- Animated Background ---------- */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 46, 166, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 46, 166, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 92, 187, 0.03) 0%, transparent 50%);
  animation: bgShift 20s ease infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgShift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -3%) rotate(1deg); }
  66% { transform: translate(-1%, 2%) rotate(-0.5deg); }
}

/* ---------- Floating Particles (CSS only) ---------- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--rosa);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 3s; }
.particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: 6s; }
.particle:nth-child(4) { left: 55%; animation-duration: 24s; animation-delay: 2s; }
.particle:nth-child(5) { left: 70%; animation-duration: 20s; animation-delay: 5s; }
.particle:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: 8s; }
.particle:nth-child(7) { left: 15%; animation-duration: 21s; animation-delay: 1s; width: 2px; height: 2px; }
.particle:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: 4s; width: 2px; height: 2px; }

@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; }
  90% { opacity: 0; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ---------- Layout ---------- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
}

.section.active {
  display: flex;
  flex-direction: column;
}

/* =============================================
   NAVBAR — Glassmorphism, compact on mobile
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(11, 11, 12, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--borda);
  transition: transform 0.4s var(--ease-out);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
}

.navbar-logo {
  font-family: var(--font-bc);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--offwhite);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  transition: border-color 0.3s;
}

.navbar-badge {
  font-family: var(--font-bc);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rosa);
  background: var(--rosa-soft);
  border: 1px solid rgba(255, 46, 166, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  animation: badgePulse 3s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 166, 0.3); }
  50% { box-shadow: 0 0 12px 2px rgba(255, 46, 166, 0.15); }
}

/* =============================================
   QUIZ SECTION — The main event
   ============================================= */
#quiz {
  padding-top: 70px;
}

.quiz-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 40px;
  min-height: calc(100vh - 70px);
  min-height: calc(100dvh - 70px);
}

/* --- Progress Bar --- */
.progress-container {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0;
}

.progress-bar-bg {
  height: 3px;
  background: rgba(244, 242, 238, 0.06);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rosa), var(--rosa-hover), var(--rosa));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  border-radius: 0 2px 2px 0;
  transition: width 0.6s var(--ease-out);
  width: 0%;
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--rosa);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--rosa-glow), 0 0 32px rgba(255, 46, 166, 0.2);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Quiz Header --- */
.quiz-header {
  margin-bottom: 32px;
}

.quiz-counter {
  font-family: var(--font-anton);
  font-size: 0.95rem;
  color: var(--texto-50);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.quiz-counter .current {
  color: var(--rosa);
  font-size: 1.3rem;
}

.quiz-category {
  margin-bottom: 16px;
}

.eyebrow {
  font-family: var(--font-bc);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rosa);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 2px;
  background: var(--rosa);
  border-radius: 1px;
}

.quiz-question {
  font-family: var(--font-anton);
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 650px;
}

/* --- Quiz Brain Image --- */
.quiz-brain-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0.7;
  animation: brainFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 46, 166, 0.3));
}

@keyframes brainFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Quiz Options --- */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: var(--preto-input);
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-spring),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Ripple bg */
.quiz-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 46, 166, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

/* Glow line left */
.quiz-option::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--rosa);
  transition: width 0.4s var(--ease-out);
  border-radius: 14px 0 0 14px;
}

.quiz-option:hover,
.quiz-option:active {
  border-color: rgba(255, 46, 166, 0.4);
  transform: scale(1.02);
  box-shadow: 0 4px 24px rgba(255, 46, 166, 0.1);
}

.quiz-option:hover::before,
.quiz-option:active::before {
  opacity: 1;
}

.quiz-option.selected {
  border-color: var(--rosa);
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(255, 46, 166, 0.2), 0 8px 40px rgba(255, 46, 166, 0.1);
}

.quiz-option.selected::after {
  width: 4px;
}

.quiz-option.selected::before {
  opacity: 1;
}

/* Haptic bounce on select */
@keyframes selectBounce {
  0% { transform: scale(1.03); }
  40% { transform: scale(0.97); }
  70% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.quiz-option.selected {
  animation: selectBounce 0.5s var(--ease-out);
}

.option-letter {
  font-family: var(--font-anton);
  font-size: 1.2rem;
  color: var(--rosa);
  min-width: 26px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.option-text {
  font-family: var(--font-barlow);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--offwhite);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* --- Slide Transitions --- */
.quiz-slide {
  animation: slideUp 0.5s var(--ease-out);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.quiz-slide-out {
  animation: slideOutUp 0.35s var(--ease-out) forwards;
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-40px) scale(0.97);
    filter: blur(4px);
  }
}

/* --- Loading Analysis --- */
.loading-analysis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 24px;
  animation: slideUp 0.5s var(--ease-out);
}

.loading-spinner-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(244, 242, 238, 0.08);
  border-top-color: var(--rosa);
  animation: spin 0.7s linear infinite;
  position: relative;
}

.loading-spinner-ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--rosa-hover);
  animation: spin 1.2s linear infinite reverse;
}

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

.loading-text {
  font-family: var(--font-bc);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--texto-65);
}

.loading-progress-bar {
  width: 200px;
  height: 3px;
  background: rgba(244, 242, 238, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rosa), var(--rosa-hover));
  border-radius: 2px;
  animation: loadingProgress 2s var(--ease-out) forwards;
}

@keyframes loadingProgress {
  0% { width: 0%; }
  20% { width: 15%; }
  50% { width: 45%; }
  70% { width: 70%; }
  90% { width: 88%; }
  100% { width: 100%; }
}

.loading-brain {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: brainPulse 1.5s ease infinite;
  filter: drop-shadow(0 0 30px rgba(255, 46, 166, 0.4));
}

@keyframes brainPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* =============================================
   RESULTS SECTION — Maximum impact
   ============================================= */
#results {
  padding-top: 70px;
}

.results-wrapper {
  padding: 0 0 60px;
}

/* --- Results Hero --- */
.results-hero {
  text-align: center;
  padding: 48px 0 40px;
  position: relative;
}

.results-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 46, 166, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: heroPulse 4s ease infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.results-hero-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 24px;
  animation: rocketLaunch 1s var(--ease-out) both;
  filter: drop-shadow(0 0 30px rgba(255, 46, 166, 0.4));
}

@keyframes rocketLaunch {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.results-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rosa-soft);
  border: 1px solid rgba(255, 46, 166, 0.25);
  border-radius: 50px;
  padding: 8px 16px;
  font-family: var(--font-bc);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rosa);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s var(--ease-out) 0.3s both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-headline {
  font-family: var(--font-anton);
  font-size: clamp(1.7rem, 6.5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInUp 0.7s var(--ease-out) 0.5s both;
}

.results-headline .highlight {
  color: var(--rosa);
  position: relative;
}

.results-headline .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: rgba(255, 46, 166, 0.2);
  z-index: -1;
  border-radius: 2px;
}

.results-sub {
  font-family: var(--font-barlow);
  font-weight: 500;
  font-size: 1rem;
  color: var(--texto-82);
  line-height: 1.7;
  animation: fadeInUp 0.7s var(--ease-out) 0.7s both;
}

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

/* --- Results Body --- */
.results-body {
  max-width: 720px;
  margin: 0 auto;
}

.results-intro {
  font-family: var(--font-barlow);
  font-weight: 500;
  font-size: 1rem;
  color: var(--texto-82);
  line-height: 1.8;
  padding: 32px 0;
  border-bottom: 1px solid var(--borda);
}

.results-intro strong {
  color: var(--offwhite);
  font-weight: 700;
}

.results-direct {
  font-family: var(--font-barlow);
  font-weight: 600;
  font-size: 1rem;
  color: var(--offwhite);
  margin: 32px 0 20px;
}

/* --- Problem Cards --- */
.results-problems {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--borda);
}

.problem-card {
  background: var(--grafite);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--rosa-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.problem-card-title {
  font-family: var(--font-bc);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--offwhite);
  margin-bottom: 4px;
}

.problem-card-desc {
  font-family: var(--font-barlow);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--texto-65);
  line-height: 1.5;
}

/* --- Warning Image Divider --- */
.warning-divider {
  text-align: center;
  padding: 32px 0;
}

.warning-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(255, 46, 166, 0.3));
  animation: warningPulse 2s ease infinite;
}

@keyframes warningPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* --- Diagnostic Cards --- */
.diagnostic-section {
  margin: 8px 0 32px;
}

.diagnostic-section .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.diagnostic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diagnostic-item {
  background: var(--grafite);
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 20px;
  padding-left: 24px;
  position: relative;
  overflow: hidden;
}

.diagnostic-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rosa), var(--rosa-hover));
  border-radius: 3px;
}

.diagnostic-item-title {
  font-family: var(--font-bc);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rosa);
  margin-bottom: 6px;
}

.diagnostic-item-text {
  font-family: var(--font-barlow);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--texto-82);
  line-height: 1.6;
}

/* --- Results Closing --- */
.results-closing {
  margin: 32px 0 40px;
}

.results-closing p {
  font-family: var(--font-barlow);
  font-weight: 500;
  font-size: 1rem;
  color: var(--texto-82);
  line-height: 1.8;
  margin-bottom: 16px;
}

.bold-text { font-weight: 700; color: var(--offwhite); }
.highlight-text { color: var(--rosa); font-weight: 700; }

/* --- CTA Box --- */
.results-cta {
  text-align: center;
  background: var(--grafite);
  border: 1px solid var(--borda);
  border-radius: 20px;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.results-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 46, 166, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: ctaGlow 3s ease infinite;
}

@keyframes ctaGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.results-cta-headline {
  font-family: var(--font-bc);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--offwhite);
  margin-bottom: 12px;
  position: relative;
}

.results-cta-sub {
  font-family: var(--font-barlow);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--texto-65);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
}

/* --- WhatsApp Button --- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-bc);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--verde-wpp);
  color: #fff;
  padding: 18px 36px;
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  animation: wppPulse 2.5s ease infinite;
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  background: var(--verde-wpp-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 40px rgba(37, 211, 102, 0.35),
    0 12px 40px rgba(37, 211, 102, 0.2);
}

@keyframes wppPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.results-microcopy {
  font-family: var(--font-barlow);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--texto-50);
  margin-top: 16px;
  position: relative;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--borda);
  padding: 24px 0;
  text-align: center;
}

.footer p {
  font-family: var(--font-barlow);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--texto-50);
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =============================================
   RESPONSIVE — Mobile-first adjustments
   ============================================= */

/* Small phones */
@media (max-width: 360px) {
  .quiz-question {
    font-size: 1.4rem;
  }

  .quiz-option {
    padding: 14px 16px;
  }

  .option-text {
    font-size: 0.88rem;
  }

  .results-headline {
    font-size: 1.5rem;
  }

  .btn-whatsapp {
    padding: 16px 24px;
    font-size: 0.88rem;
  }

  .results-cta {
    padding: 32px 16px;
  }
}

/* Tablets / Large phones */
@media (min-width: 768px) {
  .container {
    max-width: 680px;
    padding: 0 32px;
  }

  .quiz-question {
    font-size: 2.6rem;
  }

  .quiz-option {
    padding: 22px 28px;
    border-radius: 16px;
  }

  .option-text {
    font-size: 1.05rem;
  }

  .results-hero {
    padding: 60px 0 48px;
  }

  .results-headline {
    font-size: 2.8rem;
  }

  .results-hero-img {
    width: 150px;
    height: 150px;
  }

  .btn-whatsapp {
    font-size: 1.1rem;
    padding: 20px 44px;
  }

  .problem-card {
    padding: 24px;
  }

  .results-cta {
    padding: 56px 40px;
    border-radius: 24px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 720px;
  }

  .quiz-wrapper {
    min-height: calc(100vh - 70px);
  }
}

/* --- Safe area for notched phones --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .results-cta {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}
