:root{
  --bg: #0b1120;
  --bg-card: #131b2e;
  --primary: #16c784;
  --primary-dark: #0ea36a;
  --accent: #ffb020;
  --text: #eef2f7;
  --text-muted: #9aa5b8;
  --border: #24304a;
  --danger: #ff5c5c;
  --radius: 14px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.5;
}

/* Texto de destaque no estilo "bold condensado maiúsculo" (padrão VSL) */
strong,
.highlight,
.ad-tag,
.artigo-tag{
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.app{
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

.progress-wrap{
  position: sticky;
  top:0;
  padding: 14px 20px 10px;
  background: var(--bg);
  z-index: 10;
}
.progress-bar{
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.progress-fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: width .4s ease;
}

.screen{
  display:none;
  animation: fadeIn .35s ease;
}
.screen.active{
  display:block;
}

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

.container{
  padding: 28px 20px 60px;
}

/* ===== LOGO ===== */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 24px;
}
.logo-foto{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 14px rgba(22,199,132,.3);
}
.logo-icon{
  width: 38px;
  height: 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #04140c;
}
.logo-text{
  font-size: 18px;
  letter-spacing: .5px;
  color: var(--text-muted);
}
.logo-text strong{
  color: var(--text);
}

/* ===== HEADLINE ===== */
.headline{
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 22px;
}
.headline .highlight{
  display: inline-block;
  color: var(--primary);
  font-size: 1.05em;
}

/* ===== ANTES E DEPOIS ===== */
.antes-depois{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.ad-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.ad-tag{
  display:inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ad-antes .ad-tag{ background: rgba(255,92,92,.15); color: var(--danger); }
.ad-depois .ad-tag{ background: rgba(22,199,132,.15); color: var(--primary); }
.ad-card ul{ margin:0; padding-left: 4px; list-style:none; }
.ad-card li{ margin-bottom: 6px; font-size: 14.5px; }
.ad-arrow{
  text-align:center;
  font-size: 20px;
  color: var(--text-muted);
}

/* ===== QUALIFICACAO / SINTOMAS / URGENCIA (entrada) ===== */
.qualificacao-box{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.qualificacao-pergunta{
  margin:0;
  font-weight: 600;
  font-size: 16px;
}

.sintomas-box{
  margin-bottom: 20px;
}
.sintomas-titulo{
  font-weight: 700;
  margin-bottom: 10px;
}
.sintomas-lista{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.sintomas-lista li{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14.5px;
}
.sintomas-box.reforco{
  margin-top: 20px;
}

.urgencia-box{
  background: rgba(255,176,32,.12);
  border: 1px solid rgba(255,176,32,.35);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 26px;
  font-size: 14.5px;
}
.urgencia-box p{ margin:0; }

/* ===== BOTOES ===== */
.btn-primary{
  display:block;
  width:100%;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  color: #04140c;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border:none;
  border-radius: 12px;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(22,199,132,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(22,199,132,.35);
}
.btn-primary:active{
  transform: translateY(0);
}
.hidden{
  display:none !important;
}
.text-center{
  text-align: center;
}

/* ===== PÁGINA DE OBRIGADO ===== */
.obrigado-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.obrigado-page .container{
  width: 100%;
  text-align: center;
}
.obrigado-page .headline{
  margin-bottom: 14px;
}
.obrigado-page .subpergunta{
  margin: 0 0 28px;
}
.obrigado-page .btn-primary{
  display: inline-block;
  width: auto;
  min-width: 260px;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
}

/* ===== ARTIGO/NOTICIA ===== */
.artigo-box{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.artigo-tag{
  display:inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  background: rgba(255,176,32,.14);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.artigo-titulo{
  font-size: 20px;
  line-height:1.35;
  margin: 0 0 8px;
}
.artigo-fonte{
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.artigo-texto{
  font-size: 15px;
  margin: 0 0 12px;
}

/* ===== PERGUNTAS / OPCOES ===== */
.pergunta{
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 20px;
}
.subpergunta{
  font-size: 15.5px;
  color: var(--text-muted);
  margin: -10px 0 20px;
}

.opcoes{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

/* ===== VSL (9:16) ===== */
.vsl-wrap{
  max-width: 340px;
  margin: 0 auto 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.opcao{
  text-align:left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  cursor:pointer;
  transition: border-color .15s ease, background .15s ease;
}
.opcao:hover{
  border-color: var(--primary);
}
.opcao.selected{
  border-color: var(--primary);
  background: rgba(22,199,132,.12);
}

/* ===== EXPLICACAO ===== */
.explicacao-box{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.explicacao-box p{
  font-size: 15px;
  margin: 0 0 12px;
}
.explicacao-box p:last-child{ margin-bottom:0; }

/* ===== INIMIGO COMUM ===== */
.inimigo-box{
  background: rgba(255,92,92,.08);
  border: 1px solid rgba(255,92,92,.3);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 14.5px;
}
.inimigo-box p{ margin:0; }

/* ===== MECANISMO ===== */
.mecanismo-box{
  background: rgba(22,199,132,.1);
  border: 1px solid rgba(22,199,132,.35);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 22px;
  font-size: 14.5px;
}
.mecanismo-box p{ margin:0; }

/* ===== PROVA SOCIAL ===== */
.prova-social-box{
  margin-top: 24px;
}
.prova-social-titulo{
  font-weight: 700;
  margin-bottom: 12px;
}
.depoimento-print{
  display:block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* ===== CARROSSEL PROVA SOCIAL ===== */
.carrossel{
  position: relative;
}
.carrossel-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 14px;
  padding-bottom: 4px;
}
.carrossel-track::-webkit-scrollbar{
  display:none;
}
.carrossel-slide{
  flex: 0 0 100%;
  scroll-snap-align: center;
  display:flex;
  justify-content:center;
}
.carrossel-dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  margin-top: 14px;
}
.carrossel-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor:pointer;
  padding:0;
  transition: background .2s ease, transform .2s ease;
}
.carrossel-dot.active{
  background: var(--primary);
  transform: scale(1.2);
}
.depoimento{
  display:flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.depoimento-avatar{
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #04140c;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.depoimento-nome{
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 14px;
}
.depoimento-texto{
  margin:0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== LOADING ===== */
.loading-container{
  padding-top: 60px;
  text-align:center;
}
.loading-bar-wrap{
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  overflow:hidden;
  margin: 24px 0 14px;
}
.loading-bar-fill{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: width .3s linear;
}
.loading-status{
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 26px;
}
.loading-steps{
  list-style:none;
  padding:0;
  margin:0;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.loading-steps li{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  transition: all .2s ease;
}
.loading-steps li.done{
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(22,199,132,.1);
}
.loading-steps li.done::before{
  content: "✔ ";
}

@media (min-width: 480px){
  .headline{ font-size: 30px; }
  .antes-depois{ flex-direction: row; align-items: stretch; }
  .ad-arrow{ display:flex; align-items:center; }
}
