:root{
  --bg: #f1f3f6;
  --card: #f9fafb;
  --ink: #0b1220;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e3e6eb;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-soft: #eaf1fe;
  --blue-track: #edf2fd;
  --blue-light: #9dbcf6;
  --green: #16a34a;
  --green-dark: #128a3e;
  --red: #ff2d3d;
  --red-dark: #e0182b;
  --yellow-bg: #fff4e2;
  --yellow-border: #fde2b6;
  --yellow-ink: #c48a0c;
  --danger-bg: #ffe4e4;
  --danger-border: #fecaca;
  --danger-ink: #e11d48;
  --focus: #3b82f6;
  --radius-card: 34px;
  --radius-pill: 999px;
}

*{ box-sizing: border-box; }
html{ min-height: 100%; }
body{
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 10px;
  -webkit-font-smoothing: antialiased;
}
b, strong{ font-weight: 700; color: inherit; }

.stage{ width: 100%; max-width: 520px; }

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px 26px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 540px){
  body{ background: var(--card); padding: 0; }
  .stage{ max-width: 100%; }
  .card{ border: none; border-radius: 0; min-height: 100dvh; padding: 14px 16px 26px; }
}

.topbar{ display: flex; align-items: center; min-height: 22px; }
.back-btn{
  background: none; border: none; cursor: pointer; color: var(--muted);
  padding: 4px; display: flex; visibility: hidden;
}
.back-btn.visible{ visibility: visible; }
.back-btn:focus-visible{ outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.brand{ display: flex; align-items: center; justify-content: center; margin: -8px 0 22px; }
.brand-logo{ height: 64px; width: auto; }

.progress-track{
  height: 10px;
  background: var(--blue-track);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 26px;
  flex-shrink: 0;
}
.progress-fill{
  height: 100%;
  background: var(--blue-light);
  border-radius: var(--radius-pill);
  transition: width 420ms cubic-bezier(.4,0,.2,1);
}

.step-body{ flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.step-body.animate{ animation: rise 320ms cubic-bezier(.16,1,.3,1); }
@keyframes rise{ from{ opacity: 0; transform: translateY(10px); } to{ opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce){
  .step-body.animate{ animation: none; }
  .progress-fill{ transition: none; }
  .btn-pulse{ animation: none !important; }
}

.txt-green{ color: var(--green); }

/* ---- Perguntas ---- */
h1.step-title{
  font-size: clamp(27px, 7.6vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.012em;
  margin: 18px 0 12px;
  text-align: center;
  text-wrap: balance;
}
h1.step-title-plain{ font-weight: 700; letter-spacing: -0.02em; }
h1.step-title-left{ text-align: left; font-weight: 500; font-size: clamp(24px, 6.6vw, 29px); }
h1.step-title-left strong{ font-weight: 800; }
.step-sub{ font-size: 17px; line-height: 1.45; color: var(--ink); margin: 0 0 18px; text-align: center; }
.step-sub-muted{ color: var(--muted); }
.step-sub-left{ text-align: left; font-size: 17px; }
.step-note{ font-size: 17px; font-weight: 700; text-align: center; margin: 0 0 18px; }
.step-footer{ font-size: 13px; line-height: 1.45; color: var(--ink); text-align: center; margin: 18px 6px 0; }
.step-footer a{ color: inherit; text-decoration: none; }
.step-footer a:hover{ text-decoration: underline; }

.options{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.options.locked{ pointer-events: none; }
.option{
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  min-height: 70px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(11,18,32,0.05);
  transition: border-color 140ms ease, background 140ms ease;
}
@media (hover: hover){ .option:hover{ border-color: var(--blue); } }
.option:focus-within{ outline: none; }
.option.selected{ border-color: var(--blue); background: var(--blue-soft); }
.option .opt-icon{ font-size: 28px; line-height: 1; flex-shrink: 0; }
.opt-radio{
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid #d1d5db; background: #fff; flex-shrink: 0;
}
.option.selected .opt-radio{ border: 7px solid var(--blue); }

.actions{ margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ---- Botões ---- */
.btn{
  appearance: none;
  border: none;
  border-radius: 18px;
  padding: 20px 20px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: background 140ms ease, transform 80ms ease;
}
.btn:active{ transform: translateY(2px); }
.btn:focus-visible{ outline: 2px solid var(--focus); outline-offset: 3px; }
.btn-blue{ background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-dark); margin-bottom: 6px; }
.btn-green{ background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark); }
.btn-red{ background: var(--red); color: #fff; box-shadow: 0 6px 0 var(--red-dark); }
.btn:disabled{ opacity: 0.5; cursor: not-allowed; }

/* ---- Prova social ---- */
.social-proof-img{ width: 100%; border-radius: 12px; margin: 4px 0 18px; display: block; }
.rating{ text-align: center; font-size: 18px; margin: 0 0 16px; }

/* ---- Loading ---- */
.loading-head{ display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin: 6px 0 12px; }
.loading-track{
  height: 14px;
  background: #e5e7eb;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 8px 0 22px;
}
.loading-fill{ height: 100%; background: var(--blue); border-radius: var(--radius-pill); width: 0%; }
.loading-label{ font-size: 17px; text-align: center; margin: 0 0 22px; }
h1.loading-title{
  font-size: clamp(22px, 6.4vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
h1.loading-title u{ font-weight: 800; text-underline-offset: 3px; }

.case-carousel, .testimonial-scroll{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 2px 20px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.case-carousel::-webkit-scrollbar, .testimonial-scroll::-webkit-scrollbar{ display: none; }
.case-carousel img, .testimonial-scroll img{
  width: 96%;
  flex: none;
  scroll-snap-align: center;
  border-radius: 10px;
  display: block;
}
@media (max-width: 540px){
  .case-carousel, .testimonial-scroll{ margin: 0 -16px; padding: 2px 16px 4px; }
}
.carousel-dots{ display: flex; justify-content: center; gap: 8px; margin: 14px 0 6px; }
.carousel-dots span{ width: 7px; height: 7px; border-radius: 50%; background: #cfdcf8; align-self: center; }
.carousel-dots span.active{ width: 12px; height: 12px; background: var(--blue); }

.founder-block{ margin: 4px 0 6px; }
.founder-hero{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.founder-hero .founder-photo{ width: 40%; flex-shrink: 0; border-radius: 18px; object-fit: cover; display: block; }
.founder-hero .founder-logos{ width: 60%; display: block; }
.founder-block .founder-flags-img{ width: 82%; display: block; margin: 0 auto 6px; }
.founder-bio{ font-size: 17px; line-height: 1.5; color: var(--ink); text-align: center; margin-top: 14px; }
.founder-bio p{ margin: 0 0 12px; }

/* ---- Gráfico (nível atual x ideal) ---- */
.chart-box{ margin: 0 0 16px; }
.chart-warning{
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  color: var(--yellow-ink);
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.chart-wrap{ position: relative; margin: 0 0 12px; }
.chart-visual{ display: block; width: 100%; height: auto; }
.chart-tag{
  position: absolute;
  transform: translate(-50%, -125%);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(11,18,32,0.08);
  pointer-events: none;
}
.chart-tag-ideal{ transform: translate(-85%, -125%); }
.result-chart{ margin: 4px 0 16px; }
.result-chart .chart-tag{ font-size: 14px; padding: 7px 12px; }
.result-chart .tag-left{ left: -4px; transform: translate(0, -20%); }
.result-chart .tag-right{ right: -4px; left: auto; transform: translate(0, -120%); }
.chart-danger{
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-ink);
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 17px;
  line-height: 1.5;
}
.chart-danger strong{ display: block; margin-bottom: 8px; font-size: 18px; }

/* ================================================================
   PÁGINA DE VENDA
   ================================================================ */
.sales-page{ padding: 6px 0 20px; }
.sales-section{ margin-bottom: 30px; }

.sales-section h2{ text-align: center; margin: 0 0 16px; text-wrap: balance; color: var(--ink); }
.h-hero{ font-size: clamp(30px, 8.6vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.h-big{ font-size: clamp(28px, 8vw, 36px); line-height: 1.15; font-weight: 900; letter-spacing: -0.012em; }
.h-mid{ font-size: clamp(24px, 6.6vw, 29px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.h-mid b{ font-weight: 900; }
.h-hero .txt-green{ display: block; }

.sales-lead-strong{ font-size: 19px; line-height: 1.35; font-weight: 700; text-align: center; margin: 0 0 20px; }
.sales-lead-strong b{ font-weight: 900; }
.sales-lead{ font-size: 18px; line-height: 1.5; color: var(--muted); text-align: center; margin: 0 0 22px; }
.sales-lead b{ color: var(--muted); }

/* Caixa de preço */
.price-card{
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--blue);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 14px;
  background: var(--card);
}
.pb-badge{
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 7px 10px;
}
.pb-body{ display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 14px; }
.pb-radio{ width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c7ccd4; background: #fff; flex-shrink: 0; }
.pb-left{ flex: 1; font-size: clamp(17px, 5vw, 21px); font-weight: 700; line-height: 1.25; }
.pb-left p{ margin: 0; }
.pb-left s{ white-space: nowrap; }
.pb-left.pb-stack p:first-child:has(s){ white-space: nowrap; }
.pb-left.pb-stack p + p{ margin-top: 18px; }
.pb-left:not(.pb-stack) p + p{ margin-top: 10px; }
.pb-left s{ font-weight: 700; }
.pb-right{
  background: #eceef1;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.pb-small{ font-size: 13.5px; color: var(--ink-soft); line-height: 1.3; }
.pb-r{ text-align: right; }
.pb-price{ font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.pb-price small{ font-size: 18px; font-weight: 800; }

/* Contador */
.countdown{ display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 14px; }
.countdown .unit{
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: 14px;
  width: 78px;
  padding: 10px 0 8px;
  text-align: center;
}
.countdown .num{ font-size: 30px; font-weight: 700; color: #ef1c3a; display: block; line-height: 1.1; }
.countdown .lbl{ font-size: 15px; color: #f07a8b; }
.countdown .colon{ font-size: 22px; font-weight: 800; }
.countdown-neutral .unit{ background: var(--card); border-color: var(--line); }
.countdown-neutral .num{ color: var(--ink); }
.countdown-neutral .lbl{ color: var(--muted); }

/* CTA com halo pulsando */
.cta-wrap{ margin: 0 0 10px; }
.btn-pulse{ animation: halo 1.8s ease-out infinite; }
.btn-green.btn-pulse{ --halo: 22,163,74; }
.btn-red.btn-pulse{ --halo: 255,45,61; }
@keyframes halo{
  0%{ box-shadow: 0 6px 0 var(--btn-edge, rgba(0,0,0,.15)), 0 0 0 0 rgba(var(--halo), .35); }
  70%{ box-shadow: 0 6px 0 var(--btn-edge, rgba(0,0,0,.15)), 0 0 0 12px rgba(var(--halo), 0); }
  100%{ box-shadow: 0 6px 0 var(--btn-edge, rgba(0,0,0,.15)), 0 0 0 0 rgba(var(--halo), 0); }
}
.btn-green.btn-pulse{ --btn-edge: var(--green-dark); }
.btn-red.btn-pulse{ --btn-edge: var(--red-dark); }

.payment-icons{ display: flex; justify-content: center; margin: 14px 0 6px; }
.payment-icons img{ width: 62%; max-width: 310px; height: auto; }
.secure-badge{ display: flex; justify-content: center; }
.secure-badge img{ width: 32%; max-width: 130px; height: auto; }

/* Divisória dupla tracejada azul */
.divider-double{
  height: 44px;
  margin: 0 0 30px;
}
.divider-double.divider-tall{ height: 112px; }

.product-mockup{ width: 100%; height: auto; display: block; margin: 0 0 28px; }

.deliverables{ display: flex; flex-direction: column; gap: 30px; margin: 0 0 30px; }
.deliv h3{ font-size: 23px; line-height: 1.25; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.deliv p{ font-size: 18px; line-height: 1.5; margin: 0; }

.toast-card{
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 26px -6px rgba(11,18,32,0.18);
  padding: 18px 26px 0;
  margin: 0 0 26px;
  overflow: hidden;
}
.toast-title{ font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.toast-text{ font-size: 15.5px; line-height: 1.4; margin: 0 0 16px; }
.toast-bar{ height: 5px; margin: 0 -26px; background: transparent; }
.toast-bar span{ display: block; height: 100%; width: 50%; background: #c4c4c4; animation: toastbar 6s linear infinite; }
@keyframes toastbar{ from{ width: 100%; } to{ width: 0%; } }

.guarantee-row{ display: flex; align-items: center; justify-content: space-around; gap: 16px; }
.guarantee-row img{ width: 42%; border-radius: 18px; display: block; }
.guarantee-row .seal{ width: 44%; height: auto; }

.conquistas{ list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-direction: column; gap: 14px; }
.conquistas li{ font-size: 18px; line-height: 1.45; }
.conquistas li::before{ content: "✅ "; }

.mentor-photo{ width: 100%; border-radius: 18px; display: block; margin: 0 0 26px; }
.mentor-bio{ font-size: 18px; line-height: 1.45; text-align: center; margin: 0 0 22px; }
.mentor-bio p{ margin: 0 0 16px; }

/* Perguntas frequentes */
.faq-item{ border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "";
  width: 9px; height: 9px;
  border-left: 1.6px solid var(--ink);
  border-top: 1.6px solid var(--ink);
  transform: rotate(225deg);
  flex-shrink: 0;
  margin-right: 6px;
}
.faq-item[open] summary::after{ transform: rotate(45deg); margin-top: 6px; }
.faq-item p{ font-size: 18px; line-height: 1.5; margin: 16px 0 0; }
.faq-item u{ text-underline-offset: 3px; }

.legal-footer{ font-size: 17px; line-height: 1.5; color: var(--ink-soft); text-align: center; margin: 26px 0 0; }

.sr-only{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
fieldset{ border: none; padding: 0; margin: 0; min-width: 0; }
legend{ padding: 0; }

/* Faixa da promoção de Natal */
.natal-banner{
  background: linear-gradient(90deg, #b91c1c, #dc2626 50%, #15803d);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 22px;
}
.natal-banner b{ color: #fff; }
.natal-banner-sm{ font-size: 15px; padding: 10px 14px; margin-bottom: 18px; }

/* Tela do gráfico compacta no celular: o botão Continuar tem que
   aparecer sem rolar (pedido do João, 02/12). */
@media (max-width: 540px){
  .chart-box{ margin: -14px 0 8px; }
  .chart-box + .actions .btn{ padding: 17px 20px; }
  .chart-warning{ font-size: 15px; line-height: 1.4; padding: 11px 14px; margin-bottom: 8px; }
  .chart-wrap{ margin-bottom: 6px; }
  .chart-danger{ font-size: 15px; line-height: 1.4; padding: 11px 14px; }
  .chart-danger strong{ font-size: 16px; margin-bottom: 4px; }
  .chart-box + .actions{ margin-top: 10px; }
}
