/* ══════════════════════════════════════════
   RESET & PALETA TRIVIUM
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Tons Ivory, Champagne e Pedra */
  --ivory:        #FBF8F3;
  --ivory-2:      #F5EEE4;
  --ivory-3:      #EDE2D0;
  --champagne:    #F0E6CF;
  --champagne-2:  #F9F3E8;
  --champagne-3:  #F3EBD6;
  --gold:         #C4965A;
  --gold-light:   #D4AA72;
  --gold-dark:    #9A7038;
  --stone-100:    #F4EFE8;
  --stone-200:    #E5DDD1;
  --stone-300:    #C8BAA8;
  --stone-400:    #A89880;
  --stone-500:    #8A7B68;
  --stone-600:    #6B5E50;
  --charcoal:     #24201C;
  --charcoal-2:   #3D3530;
  --white:        #FFFFFF;

  /* Cores de Diagnóstico */
  --rose:         #C0747A;
  --amber:        #C4965A;
  --warm:         #A88040;
  --sage:         #7A9E87;
  --whatsapp:     #25D366;

  /* Bordas e Sombras */
  --border:       #E0D6C8;
  --border-gold:  rgba(196, 150, 90, 0.35);
  --radius:       16px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 10px rgba(42, 36, 32, 0.05);
  --shadow:       0 4px 24px rgba(42, 36, 32, 0.07);
  --shadow-md:    0 8px 36px rgba(42, 36, 32, 0.11);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Tipografia */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; display: block; }
button, input, select { font-family: inherit; }

/* ══════════════════════════════════════════
   GERENCIAMENTO DE TELAS
══════════════════════════════════════════ */
.screen {
  display: none;
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--ivory);
}

#screen-landing.active {
  display: block;
}

#screen-quiz.active,
#screen-lead.active,
#screen-result.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.screen.slide-in  { animation: fadeUp 0.42s cubic-bezier(0.4, 0, 0.2, 1) both; }
.screen.slide-out { animation: fadeOut 0.28s ease both; }

@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* ══════════════════════════════════════════
   DECORAÇÕES DE FILIGRANA
══════════════════════════════════════════ */
.deco-top-left, .deco-top-right {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 220px;
  height: 220px;
}
.deco-top-left {
  top: 0; left: 0;
  background: linear-gradient(135deg, rgba(196, 150, 90, 0.12) 0%, transparent 65%);
  border-right: 1px solid rgba(196, 150, 90, 0.15);
  border-bottom: 1px solid rgba(196, 150, 90, 0.15);
  border-radius: 0 0 100% 0;
}
.deco-top-right {
  top: 0; right: 0;
  background: linear-gradient(225deg, rgba(196, 150, 90, 0.12) 0%, transparent 65%);
  border-left: 1px solid rgba(196, 150, 90, 0.15);
  border-bottom: 1px solid rgba(196, 150, 90, 0.15);
  border-radius: 0 0 0 100%;
}

/* ══════════════════════════════════════════
   BOTÕES GLOBAIS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 16px 36px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(196, 150, 90, 0.35);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 150, 90, 0.5);
  filter: brightness(1.05);
}
.btn-primary.btn-full {
  width: 100%;
  padding: 17px;
}
.btn-primary.loading {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--whatsapp);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 17px 36px;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  letter-spacing: 0.01em;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

/* ══════════════════════════════════════════
   HERO SECTION (ALTA SOFISTICAÇÃO & RESPIRO)
══════════════════════════════════════════ */
.hero-section {
  position: relative;
  text-align: center;
  padding: 88px 24px 68px;
  overflow: hidden;
  background: var(--ivory);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero-ornament {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 22px;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5.2vw, 3.45rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--charcoal);
  letter-spacing: -0.015em;
  margin: 0 auto 16px;
  max-width: 760px;
  text-wrap: balance;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold);
}
.break-desktop {
  display: inline;
}

.hero-subtitle {
  color: var(--stone-500);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 32px;
  text-wrap: balance;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.btn-hero {
  padding: 18px 44px;
  font-size: 1.05rem;
}
.hero-note {
  color: var(--stone-400);
  font-size: 0.78rem;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

/* WIDGET DE AUTORIDADE COM ALTO CONTRASTE (+200) */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 243, 232, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 10px 24px 10px 14px;
  margin-top: 38px;
  box-shadow: 0 4px 20px rgba(196, 150, 90, 0.1);
  text-align: left;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.hero-trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 150, 90, 0.18);
  border-color: var(--gold);
}
.trust-metric-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: lining-nums tabular-nums;   /* a Cormorant usa algarismos "de texto" por padrão, mais baixos */
  font-feature-settings: "lnum" 1, "tnum" 1;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(196, 150, 90, 0.3);
  flex-shrink: 0;
}
.trust-metric-pill .trust-plus {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  margin-right: 1px;
}
.trust-metric-pill .trust-number {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--stone-200);
  flex-shrink: 0;
}
.trust-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.trust-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.trust-sub {
  font-size: 0.76rem;
  color: var(--stone-500);
  line-height: 1.35;
}
.trust-sub strong {
  color: var(--gold-dark);
}

/* ══════════════════════════════════════════
   SEÇÕES DA LANDING PAGE
══════════════════════════════════════════ */
.landing-section {
  padding: 84px 24px;
  position: relative;
}
.landing-section--alt {
  background: var(--champagne-2);
}
.landing-container {
  max-width: 1040px;
  margin: 0 auto;
}

.section-ornament {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.section-h2 em {
  font-style: italic;
  color: var(--gold);
}
.section-subtitle-lp {
  color: var(--stone-500);
  font-size: 1.02rem;
  line-height: 1.75;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  text-wrap: balance;
}
.section-subtitle-lp strong {
  color: var(--charcoal);
  font-weight: 600;
}
.section-cta-center {
  text-align: center;
  margin-top: 40px;
}

/* ══════════════════════════════════════════
   SINTOMAS (8 CARDS)
══════════════════════════════════════════ */
.symptoms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.symptom-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.symptom-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.symptom-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.symptom-card p {
  font-size: 0.92rem;
  color: var(--stone-600);
  line-height: 1.55;
}
.symptom-card p strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   COMO FUNCIONA (3 PASSOS)
══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}
.step-card--highlight {
  background: linear-gradient(135deg, rgba(240, 230, 207, 0.4), var(--white));
  border-color: var(--border-gold);
}
.step-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(196, 150, 90, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}
.step-badge--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.step-icon { color: var(--gold); }
.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--stone-500);
  line-height: 1.65;
  flex: 1;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.step-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--stone-500);
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ══════════════════════════════════════════
   O QUE VAI REVELAR (3 CARDS)
══════════════════════════════════════════ */
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}
.reveal-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}
.reveal-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.reveal-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.reveal-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.reveal-card p {
  font-size: 0.88rem;
  color: var(--stone-500);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   PROVAS SOCIAIS / RESULTADOS (CLEAN)
══════════════════════════════════════════ */
/* Depoimentos em vídeo: 4 colunas no computador, 2 no tablet, carrossel deslizante no celular */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto 40px;
}
.video-wrapper-clean {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-gold);
  background: #000;
}
.video-wrapper-clean video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000;
}

.proof-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.proof-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.proof-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ══════════════════════════════════════════
   FINAL CTA & FOOTER
══════════════════════════════════════════ */
.final-cta-section {
  text-align: center;
  padding: 84px 24px;
  background: var(--ivory);
  border-top: 1px solid var(--border);
}
.final-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.22;
  margin-bottom: 14px;
  text-wrap: balance;
}
.final-cta-sub {
  color: var(--stone-500);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 36px;
  text-wrap: balance;
}
.final-cta-note {
  color: var(--stone-400);
  font-size: 0.78rem;
  margin-top: 14px;
}
.landing-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--stone-400);
}

/* ══════════════════════════════════════════
   QUIZ SCREEN (#screen-quiz)
══════════════════════════════════════════ */
.quiz-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 10px rgba(42, 36, 32, 0.04);
}
.quiz-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}
.quiz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  flex: 1;
  margin-left: auto;
}
.quiz-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--stone-200);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}
.quiz-progress-text {
  font-size: 0.76rem;
  color: var(--stone-400);
  font-weight: 600;
  white-space: nowrap;
}

.quiz-body {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.question-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.question-rule {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin-bottom: 22px;
}
.question-text {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.5vw, 2.05rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.36;
  margin-bottom: 36px;
  color: var(--charcoal);
  max-width: 620px;
  text-wrap: balance;
}

/* OPÇÕES COM ALTERNÂNCIA DE CORES */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 680px;
}
.option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  animation: fadeUp 0.3s ease both;
  position: relative;
  box-shadow: 0 1px 6px rgba(42, 36, 32, 0.04);
}

.options-grid .option-card:nth-child(even) {
  background: var(--champagne-2);
  border-color: var(--stone-200);
}

.option-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 150, 90, 0.15);
}
.options-grid .option-card:nth-child(even):hover {
  background: var(--champagne-3);
  border-color: var(--gold-light);
}

.option-card.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(196, 150, 90, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
  box-shadow: 0 4px 22px rgba(196, 150, 90, 0.25);
}

.option-letter {
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stone-400);
  flex-shrink: 0;
  transition: all var(--transition);
}
.option-card.selected .option-letter {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.option-text {
  font-size: 0.9rem;
  color: var(--charcoal-2);
  line-height: 1.5;
  padding-top: 4px;
}
.option-card.selected .option-text {
  color: var(--charcoal);
  font-weight: 600;
}

.option-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.option-card.selected .option-check {
  opacity: 1;
  transform: scale(1);
}

.quiz-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--stone-500);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-back:hover { border-color: var(--stone-300); color: var(--charcoal); }
.btn-back:disabled { opacity: 0.3; cursor: not-allowed; }

.dots-wrap { display: flex; gap: 7px; align-items: center; }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--stone-200);
  transition: all 0.3s;
}
.dot.answered { background: var(--gold-light); }
.dot.current  { background: var(--gold); width: 22px; border-radius: 4px; }

/* ══════════════════════════════════════════
   CAPTURA DE LEAD (#screen-lead)
══════════════════════════════════════════ */
.lead-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  padding: 52px 24px 64px;
  text-align: center;
}
.lead-target-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.lead-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}
.lead-title em {
  font-style: italic;
  color: var(--gold);
}
.lead-subtitle {
  color: var(--stone-500);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 24px;
  text-wrap: balance;
}

/* BENEFÍCIOS DO LEAD */
.lead-benefits-box {
  background: var(--champagne-2);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 24px;
  text-align: left;
}
.lead-benefits-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.lead-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lead-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--charcoal-2);
}
.lead-benefits-list li svg { flex-shrink: 0; }
.lead-benefits-list li strong { color: var(--charcoal); }

/* FORMULÁRIO */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--stone-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group input,
.form-group select {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  font-size: 0.92rem;
  padding: 13px 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input::placeholder { color: var(--stone-300); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 150, 90, 0.12);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A89880' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { color: var(--charcoal); }
.form-group select option[value=""] { color: var(--stone-400); }

.lead-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--stone-400);
  font-size: 0.72rem;
  margin-top: 14px;
}

/* ══════════════════════════════════════════
   TELA DE RESULTADO (#screen-result)
══════════════════════════════════════════ */
#screen-result {
  overflow-y: auto;
}
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}
.result-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-header {
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
}
.result-greeting {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 20px;
  font-weight: 600;
}
.result-greeting span { color: var(--gold); font-weight: 700; }

.result-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.result-emoji { font-size: 2.5rem; }
.result-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1.5px solid;
  text-align: center;
  line-height: 1.5;
}
.result-badge.rose  { color: var(--rose);  border-color: rgba(192, 116, 122, 0.45); background: rgba(192, 116, 122, 0.08); }
.result-badge.amber { color: var(--gold);  border-color: var(--border-gold);        background: rgba(196, 150, 90, 0.08); }
.result-badge.warm  { color: #9A7038;      border-color: rgba(196, 150, 90, 0.45);  background: rgba(240, 220, 180, 0.22); }
.result-badge.sage  { color: var(--sage);  border-color: rgba(122, 158, 135, 0.45); background: rgba(122, 158, 135, 0.08); }

/* Score Ring */
.result-score-wrap {
  position: relative;
  width: 150px; height: 150px;
  margin: 0 auto 28px;
}
.ring-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: var(--stone-200);
  stroke-width: 7;
}
.ring-fill {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring-fill.rose  { stroke: var(--rose); }
.ring-fill.amber { stroke: var(--gold); }
.ring-fill.warm  { stroke: var(--gold-light); }
.ring-fill.sage  { stroke: var(--sage); }

.ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.ring-label {
  font-size: 0.66rem;
  color: var(--stone-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.result-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.25;
  text-wrap: balance;
}
.result-subheadline {
  color: var(--stone-500);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.68;
  max-width: 560px;
  margin: 0 auto;
  text-wrap: balance;
}

/* CARDS DE DIAGNÓSTICO */
.result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-bottom: 36px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.result-card--diagnosis { border-top: 3.5px solid #8B5CF6; }
.result-card--impact    { border-top: 3.5px solid var(--rose); }
.result-card--adjustment {
  grid-column: 1 / -1;
  border-top: 3.5px solid var(--gold);
  background: linear-gradient(135deg, rgba(240, 230, 207, 0.35), var(--white));
}
.result-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stone-200);
}
.result-card-icon { font-size: 1.25rem; }
.result-card h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.result-card p {
  color: var(--stone-600);
  font-size: 0.92rem;
  line-height: 1.75;
}
.result-card p strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   CTA CONDICIONAL 1: SESSÃO ESTRATÉGICA (>= 35K)
══════════════════════════════════════════ */
.result-strategic-box {
  width: 100%;
  background: linear-gradient(135deg, rgba(240, 230, 207, 0.4) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  text-align: center;
}
.strategic-badge-gold {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  background: rgba(196, 150, 90, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 5px 16px;
  display: inline-block;
  margin-bottom: 16px;
}
.strategic-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 1.95rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.28;
  margin-bottom: 12px;
  text-wrap: balance;
}
.strategic-desc {
  font-size: 0.94rem;
  color: var(--stone-500);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.strategic-desc strong { color: var(--charcoal); }

.strategic-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin-bottom: 32px;
}
.strategic-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.pillar-bullet {
  width: 26px; height: 26px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.strategic-pillar-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.strategic-pillar-item p {
  font-size: 0.82rem;
  color: var(--stone-500);
  line-height: 1.55;
}

.strategic-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.strategic-note {
  font-size: 0.76rem;
  color: var(--stone-400);
}

/* ══════════════════════════════════════════
   CTA CONDICIONAL 2: DIAGNÓSTICO PADRÃO (< 35K)
══════════════════════════════════════════ */
.result-standard-box {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  text-align: center;
}
.standard-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--stone-400);
  background: var(--stone-100);
  border-radius: 999px;
  padding: 5px 16px;
  display: inline-block;
  margin-bottom: 14px;
}
.standard-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 12px;
  text-wrap: balance;
}
.standard-desc {
  font-size: 0.94rem;
  color: var(--stone-500);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.standard-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-restart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--stone-400);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  margin: 0 auto;
}
.btn-restart:hover {
  border-color: var(--stone-300);
  color: var(--charcoal);
}

/* ══════════════════════════════════════════
   RESPONSIVIDADE COMPLETA
══════════════════════════════════════════ */
@media (max-width: 860px) {
  .proof-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .video-gallery {
    display: flex;
    gap: 14px;
    max-width: none;
    margin: 0 -24px 32px;          /* encosta nas bordas da tela */
    padding: 0 24px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    -webkit-overflow-scrolling: touch;
  }
  .video-gallery .video-wrapper-clean {
    flex: 0 0 74%;                  /* mostra um pedaço do próximo: dá a dica de deslizar */
    scroll-snap-align: center;
  }
}

@media (max-width: 680px) {
  .hero-section { padding: 56px 18px 40px; }
  .break-desktop { display: none; }
  
  .hero-trust-badge {
    border-radius: var(--radius);
    padding: 14px 18px;
    gap: 12px;
    margin-top: 28px;
    width: 100%;
    max-width: 100%;
  }

  .symptoms-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .reveal-grid { grid-template-columns: 1fr; }
  .strategic-pillars-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .result-cards { grid-template-columns: 1fr; }
  .result-card--adjustment { grid-column: 1; }

  .form-row-2 { grid-template-columns: 1fr; }
  .lead-content { padding: 36px 18px 48px; }
  .result-content { padding: 48px 18px 64px; }
  .result-strategic-box { padding: 26px 18px; }
  .result-standard-box { padding: 26px 18px; }

  .btn-whatsapp { width: 100%; font-size: 0.92rem; padding: 16px 20px; }
}

@media (max-width: 480px) {
  .hero-trust-badge {
    flex-direction: column;
    text-align: center;
    border-radius: var(--radius-sm);
    gap: 10px;
    padding: 14px;
  }
  .trust-divider {
    display: none;
  }
  .proof-gallery-grid { grid-template-columns: 1fr; }
}

/* Links legais (formulário e rodapé) */
.lead-privacy a { color: inherit; text-decoration: underline; }
.landing-footer-links { margin-top: 6px; font-size: 0.85em; }
.landing-footer-links a { color: inherit; text-decoration: underline; }
.landing-footer-empresa { margin-top: 6px; font-size: 0.82em; }
.landing-footer-empresa a { color: inherit; }
.landing-footer-aviso { max-width: 720px; margin: 10px auto 0; font-size: 0.74em; line-height: 1.55; opacity: 0.8; }

/* Aviso de cookies (só aparece quando há Meta Pixel ou Google configurados no painel) */
.aviso-cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto; padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border-gold); border-radius: 14px;
  box-shadow: 0 12px 36px rgba(36, 32, 28, 0.16); font-size: 0.86rem; color: var(--charcoal);
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { flex: 1; min-width: 220px; margin: 0; line-height: 1.5; }
.aviso-cookies a { color: var(--gold-dark); text-decoration: underline; }
.aviso-cookies-botoes { display: flex; gap: 8px; }
.btn-cookies {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-gold); background: var(--white);
  font: inherit; font-weight: 600; color: var(--charcoal); cursor: pointer;
}
.btn-cookies--aceitar { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-cookies:hover { filter: brightness(0.97); }
.landing-footer-links a[hidden] { display: none; }

/* Títulos com linhas equilibradas (evita uma palavra sozinha na última linha) */
.hero-h1, .section-h2, .final-cta-title, .result-headline, .lead-title, .question-text { text-wrap: balance; }

/* Texto acima do botão do WhatsApp no resultado (/obrigado) */
.cta-explica { max-width: 520px; margin: 0 auto 6px; font-size: 0.92rem; line-height: 1.55; color: var(--stone-600, #6B5E50); text-align: center; }
.cta-explica strong { color: var(--charcoal); }
