* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
  color: #1a1a1a;
  background: var(--v-bg, #ffffff);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Header fixo: voltar + logo + barra de progresso */
.v-header {
  max-width: 440px;
  margin: 0 auto;
  padding: 16px 20px 10px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 12px;
  position: relative;
}
.v-back {
  grid-column: 1;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--v-accent, #111);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  justify-self: start;
}
.v-logo {
  grid-column: 2;
  height: 28px;
  margin: 0 auto;
  display: block;
}
.v-logo-text {
  grid-column: 2;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--v-accent, #111);
  background: color-mix(in srgb, var(--v-accent, #111) 12%, transparent);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.v-progressbar {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.v-progressbar-fill {
  height: 100%;
  width: 0%;
  background: var(--v-accent, #111);
  transition: width 0.35s ease;
}

.v-page {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  animation: v-fade-in 0.3s ease;
}

@keyframes v-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.v-headline {
  font-size: calc(30px * var(--v-font-scale, 1));
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--v-accent, #111);
  text-align: center;
}

.v-text {
  font-size: calc(16px * var(--v-font-scale, 1));
  color: #555;
  margin: 0;
  text-align: center;
}

.v-delayed {
  display: none !important;
}

.v-button, .v-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 17px 24px;
  border-radius: 16px;
  border: none;
  background: var(--v-accent, #111);
  color: #fff;
  font-size: calc(16px * var(--v-font-scale, 1));
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--v-accent, #111) 30%, transparent);
}
.v-button:active, .v-cta:active { transform: scale(0.98); }

.v-cta {
  font-size: calc(17px * var(--v-font-scale, 1));
}

.v-image, .v-video iframe, .v-video video {
  width: 100%;
  border: none;
  border-radius: 16px;
}

.v-video { position: relative; padding-top: 56.25%; height: 0; border-radius: 16px; overflow: hidden; }
.v-video iframe, .v-video video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

.v-testimonial {
  background: #f7f7f8;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0;
  font-style: italic;
}
.v-testimonial cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; }

.v-faq { border-bottom: 1px solid #eee; padding: 12px 0; }
.v-faq summary { cursor: pointer; font-weight: 600; }

.v-guarantee { background: color-mix(in srgb, var(--v-accent, #111) 8%, #fff); border-radius: 14px; padding: 18px; }

.v-highlight {
  background: var(--v-accent, #111);
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.v-highlight-icon { font-size: 18px; flex-shrink: 0; }
.v-highlight p { margin: 0; font-size: calc(15px * var(--v-font-scale, 1)); line-height: 1.5; }

.v-before-after { position: relative; border-radius: 16px; overflow: hidden; }
.v-before-after img { width: 100%; display: block; }
.v-before-after-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--v-accent, #111);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
}

.v-countdown { font-size: calc(24px * var(--v-font-scale, 1)); font-weight: 700; text-align: center; color: var(--v-accent, #111); }

.v-progress { background: #eee; border-radius: 999px; height: 10px; overflow: hidden; }
.v-progress-bar { background: var(--v-accent, #111); height: 100%; transition: width 0.3s; }

.v-separator { border: none; border-top: 1px solid #eee; margin: 4px 0; }

.v-card { background: #f7f7f8; border-radius: 14px; padding: 16px; }

.v-benefit { display: flex; align-items: center; gap: 10px; font-size: calc(15px * var(--v-font-scale, 1)); }
.v-check { color: var(--v-accent, #111); font-weight: 700; }

/* Quiz */
.v-question-title {
  font-size: calc(24px * var(--v-font-scale, 1));
  font-weight: 700;
  margin: 0;
  color: var(--v-accent, #111);
  text-align: center;
}
.v-question-subtitle { color: #666; margin: 0; text-align: center; font-size: calc(15px * var(--v-font-scale, 1)); }
.v-question-image { width: 100%; border-radius: 16px; }

.v-options { display: flex; flex-direction: column; gap: 12px; }
.v-option {
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1.5px solid #ececec;
  background: #fff;
  color: color-mix(in srgb, var(--v-accent, #111) 55%, #1a1a1a);
  font-weight: 500;
  font-size: calc(15px * var(--v-font-scale, 1));
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, background 0.15s;
}
.v-option:hover { border-color: color-mix(in srgb, var(--v-accent, #111) 40%, #ececec); }
.v-option.selected {
  border-color: var(--v-accent, #111);
  background: color-mix(in srgb, var(--v-accent, #111) 6%, #fff);
  font-weight: 600;
}

.v-option-thumb {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 12px;
  flex-shrink: 0;
}

.v-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-option-image {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}
.v-option-image img { width: 100%; height: 140px; object-fit: cover; display: block; }
.v-option-image .v-option-label { display: block; padding: 12px; font-weight: 600; text-align: center; }
.v-option-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Checkpoint */
.v-checkpoint {
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 55vh;
}
.v-checkpoint-text { font-size: calc(18px * var(--v-font-scale, 1)); font-weight: 600; color: var(--v-accent, #111); }
.v-checkpoint-spinner {
  width: 36px; height: 36px;
  border: 3px solid #eee;
  border-top-color: var(--v-accent, #111);
  border-radius: 50%;
  animation: v-spin 0.8s linear infinite;
}
@keyframes v-spin { to { transform: rotate(360deg); } }

.v-medidor { text-align: center; }
.v-medidor-label {
  font-size: calc(20px * var(--v-font-scale, 1));
  font-weight: 700;
  color: var(--v-accent, #111);
  margin-bottom: 14px;
}
.v-medidor-value {
  font-size: calc(40px * var(--v-font-scale, 1));
  font-weight: 700;
  color: var(--v-accent, #111);
  margin-bottom: 16px;
}
.v-medidor-unit { font-size: calc(18px * var(--v-font-scale, 1)); margin-left: 4px; }
.v-medidor-range {
  width: 100%;
  accent-color: var(--v-accent, #111);
  height: 6px;
}

.v-vsl-disfarcado {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* proporção 16:9 */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.v-vsl-disfarcado iframe, .v-vsl-disfarcado video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  pointer-events: none; /* reforço — a camada abaixo já bloqueia tudo */
}
.v-vsl-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  cursor: default;
}

.v-anim-fade { animation: v-block-fade 0.5s ease both; }
.v-anim-slide { animation: v-block-slide 0.5s ease both; }
.v-anim-zoom { animation: v-block-zoom 0.4s ease both; }

@keyframes v-block-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes v-block-slide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes v-block-zoom { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }


.v-campo-wrap { text-align: left; }
.v-campo-label { display: block; font-weight: 600; font-size: calc(14px * var(--v-font-scale, 1)); margin-bottom: 6px; color: var(--v-accent, #111); }
.v-campo {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: calc(15px * var(--v-font-scale, 1));
  box-sizing: border-box;
}
.v-campo:focus { outline: none; border-color: var(--v-accent, #111); }
.v-campo-invalid {
  border-color: #e53935 !important;
  animation: v-campo-shake 0.3s ease;
}
@keyframes v-campo-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.v-checkpoint-image { width: 140px; height: 140px; object-fit: cover; border-radius: 16px; margin-bottom: 10px; }
