/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f8fafc;
}

/* Color Variables */
:root {
  --primary: #0ea5e9;
  --secondary: #06b6d4;
  --success: #10b981;
  --destructive: #ef4444;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --foreground: #1a1a1a;
  --background: #ffffff;
  --border: #e2e8f0;
  --accent: #0891b2;
}

/* Utility Classes */
.min-h-screen {
  min-height: 100vh;
}

.bg-hero-pattern {
  background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 100%);
}



.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-success {
  color: var(--success);
}

.text-destructive {
  color: var(--destructive);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.pulse-urgency {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Layout Components */
.container {
  max-width: 512px;
  margin: 0 auto;
  padding: 0 16px;
}

.main-content {
  padding: 24px 16px;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content.center {
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00C853, #00C2A8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.units-counter {
  font-size: 12px;
  color: var(--muted-foreground);
}

.units-number {
  font-weight: bold;
  color: var(--destructive);
}

/* Success Header */
.success-header {
  background: var(--success);
  color: white;
  padding: 16px 0;
}

.success-header-content {
  padding: 0 16px;
  text-align: center;
}

.success-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.success-header-title {
  font-size: 20px;
  font-weight: bold;
}

.success-header-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

/* Back Button */
.back-button {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.back-button:hover {
  background: var(--muted);
}

.back-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.question-counter {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* Progress Bar */
.progress-container {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.progress-bar {
  height: 12px;
  background: var(--muted);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 6px;
  transition: width 0.3s ease;
}

/* Hero Section */
.hero-section {
  margin-bottom: 24px;
  text-align: center;
}

.hero-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-description {
  font-size: 16px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Product Preview */
.product-preview {
  margin-bottom: 32px;
}

.product-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  padding: 24px;
}

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 12px;
}

.product-name {
  font-size: 14px;
  color: var(--muted-foreground);
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.benefit-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  margin-bottom: 48px;
  text-align: center;
}

.cta-button {
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #0ea5e9);
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.4);
}


.cta-button:active {
  transform: scale(0.95);
}

.cta-disclaimer {
  font-size: 12px;
  color: var(--muted-foreground);
  padding: 0 16px;
}

/* Social Proof */
.social-proof {
  display: flex;
  justify-content: space-around; /* espaço entre os itens */
  gap: 24px;
  text-align: center;
}


.proof-item {
  color: #000; /* aplica preto em todo o bloco */
}

.proof-label {
  color: #000; /* força o label em preto */
}

.proof-number {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 4px;
  
}

.proof-label {
  font-size: 12px;
  color: var(--muted-foreground);
  
}

/* Quiz Styles */
.quiz-banner {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 16px;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.banner-title {
  font-weight: bold;
  font-size: 14px;
}

.banner-description {
  font-size: 12px;
  opacity: 0.9;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
}

.question-section {
  margin-bottom: 16px; /* estava 24px, reduzido */
}

.question-title {
  font-size: 18px;   /* estava 20px, um pouco menor */
  margin-bottom: 8px; /* reduzido */
}

.question-subtitle {
  font-size: 14px;
  color: var(--muted-foreground);
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-button {
  padding: 10px 14px; /* mais compacto (antes 16px) */
  min-height: 48px;   /* antes 60px */
  font-size: 14px;
}


.option-button:hover {
  border-color: var(--primary);
  background: rgba(14, 165, 233, 0.05);
}

.option-button.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  transform: scale(1.02);
}

.option-text {
  font-size: 14px;
  line-height: 1.5;
}

.confirm-section {
  margin-top: 24px;
}

.confirm-button {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.confirm-button:hover {
  background: rgba(8, 145, 178, 0.9);
}

.security-note {
  margin-top: 24px;
  text-align: center;
}

.security-note p {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* Form Styles */
.success-section {
  text-align: center;
  margin-bottom: 24px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 12px;
}

.success-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 8px;
}

.success-subtitle {
  font-size: 16px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.success-product {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
}

.success-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 600;
}

.form-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--muted-foreground);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
}

.field-input {
  height: 48px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.field-input:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
}

.submit-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.trust-indicators {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.trust-item svg {
  color: var(--success);
}

/* Confirmation Page Styles */
.product-showcase {
  margin-bottom: 32px;
}

.product-display-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.product-display-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.product-display-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 12px;
}

.product-display-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
}

.product-display-description {
  font-size: 14px;
  color: var(--muted-foreground);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.video-play-button {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  cursor: pointer;
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 12px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.video-description {
  font-size: 14px;
  color: var(--muted-foreground);
}

.benefits-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.pricing-section {
  text-align: center;
  margin-bottom: 24px;
}

.original-price {
  font-size: 32px;
  font-weight: bold;
  color: var(--destructive);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.current-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--success);
  margin-bottom: 8px;
}

.pricing-note {
  font-size: 12px;
  color: var(--muted-foreground);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.benefit-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-detail svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.benefit-title {
  font-weight: 600;
  color: var(--foreground);
  font-size: 14px;
  margin-bottom: 4px;
}

.benefit-description {
  font-size: 12px;
  color: var(--muted-foreground);
}

.urgency-counter {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  margin-bottom: 16px;
}

.urgency-text {
  font-size: 14px;
  color: var(--destructive);
  font-weight: 600;
}

.confirmed-button {
  width: 100%;
  background: var(--success);
  color: white;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.9;
}

.reviews-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.reviews-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 24px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-item {
  text-align: center;
}

.review-stars {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.star {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  fill: currentColor;
}

.review-text {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 8px;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  color: var(--foreground);
  font-size: 14px;
}

.review-location {
  font-size: 12px;
  color: var(--muted-foreground);
}

.steps-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
}

.steps-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 24px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.step-primary {
  background: var(--primary);
}

.step-secondary {
  background: var(--secondary);
}

.step-success {
  background: var(--success);
}

.step-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
  font-size: 14px;
}

.step-description {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--muted);
  padding: 24px 0;
  margin-top: 32px;
}

.footer-content {
  padding: 0 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer-logo-text {
  font-size: 16px;
  font-weight: bold;
  color: var(--foreground);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.footer-bottom {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* Confetti Animation */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--primary);
  animation: confetti-fall 4s linear forwards;
  z-index: 1000;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive Design */
@media (min-width: 640px) {
  .social-proof {
    flex-direction: row;
    justify-content: space-around;
  }

  .trust-indicators {
    flex-direction: row;
    justify-content: space-around;
  }

  .footer-contact {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}
.product-video iframe {
  width: 100%;       /* ocupa toda a largura do container */
  max-width: 772px;  /* limite igual ao que você definiu */
  aspect-ratio: 16/9;/* mantém proporção do vídeo */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.logo-img {
  max-width: 120px;  /* ajuste o tamanho da sua logo */
  height: auto;
  margin-bottom: 8px;
}
.logo-icon img {
  height: 40px;     /* altura fixa, ajuste conforme necessário */
  width: auto;      /* mantém a proporção */
  object-fit: contain;
  display: block;
}
.online-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #10b981; /* verde (pode usar var(--success)) */
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px #10b981; /* brilho */
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.kit-image-container {
  display: flex;
  justify-content: center;
}
.kit-image-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 0 1rem; /* dá um respiro lateral no mobile */
}
 .kit-image-container {
    padding: 0 0px  /* evita encostar nas bordas */
  }
.trust-indicators {
  display: flex;
  flex-direction: row;   /* agora em linha */
  justify-content: space-around; /* distribui com espaço */
  gap: 16px;
  margin-top: 24px;
  text-align: center;
}

/* Overlay */
#legalModal.legal-modal {
  display: none;                    /* começa invisível */
  position: fixed;
  inset: 0;                         /* top/right/bottom/left: 0 */
  background: rgba(0,0,0,0.7);      /* fundo escuro */
  z-index: 9999;
}

/* Quando abrir, vira flex e centraliza */
#legalModal.legal-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;                    /* respiro nas bordas da tela */
}

/* Caixa do popup (TAMANHO CONTROLADO AQUI) */
#legalModal .legal-modal__content {
  position: relative;   /* referência pro botão absolute */
  background: #fff;
  width: min(92vw, 360px);
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 20px;
  text-align: center;
}

#legalModal .legal-modal__close {
  position: absolute;
  top: 8px;          /* distância do topo */
  right: 8px;        /* distância da direita */
  border: none;
  background: transparent;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  color: #444;
  margin: 0;         /* remove qualquer centralização */
  display: inline;   /* impede de ocupar linha inteira */
}



/* Título */
#legalModal .legal-modal__title {
  font-size: clamp(18px, 4.2vw, 22px);
  line-height: 1.25;                /* compacto */
  font-weight: 700;                 /* só o título em negrito */
  color: #1a1a1a;
  margin: 8px 0 12px;
}

/* Texto */
#legalModal .legal-modal__text {
  font-size: 16px;                  /* um pouco maior */
  line-height: 1.35;                /* mais juntinho */
  color: #333;
  font-weight: 400;                 /* sem negrito */
  margin: 0 0 12px;
  text-align: center;
}

/* Citação destacada */
#legalModal .legal-modal__quote {
  display: block;
  margin: 10px 0;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.35;
}

/* Link */
#legalModal .legal-modal__link {
  font-size: 14px;
  margin: 6px 0 0;
  font-weight: 600;
  color: #059669;
}
#legalModal .legal-modal__link a {
  color: #059669;
  text-decoration: none;
}

/* Ajuste extra no mobile bem pequeno */
@media (max-width: 360px) {
  #legalModal .legal-modal__content {
    width: 92vw !important;         /* garante popup menor que a tela */
    padding: 14px;
  }
  #legalModal .legal-modal__text { font-size: 15px; }
  #legalModal .legal-modal__quote { font-size: 13px; }
}
#welcomeMessage {
  font-size: 20px;   /* diminui o tamanho da fonte */
  font-weight: 500;  /* menos grosso que bold */
  line-height: 1.2;  /* deixa mais compacto */
  text-align: center;
}

.special-offer {
  background: #ecfdf5; /* verde clarinho */
  border: 1px solid #bbf7d0; /* borda sutil */
  border-radius: 8px;
  padding: 12px 16px;
  margin: 20px 0;
}

.special-offer p {
  font-size: 18px;
  font-weight: 600;
  color: #16a34a;
  line-height: 1.4;
}

.special-offer span {
  color: var(--primary); /* azul do tema */
  font-weight: 700;
}

