/* Global Vars & Reset */
:root {
  --bg-color: #121212;
  /* Deep dark background */
  --card-bg: rgba(30, 30, 30, 0.6);
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --accent-green: #2ecc71;
  /* Vibrant positive green */
  --accent-green-hover: #27ae60;
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Outfit', sans-serif;
  --max-width: 480px;
  /* Mobile focused width for funnel */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 50% 0%, #2a2a2a 0%, var(--bg-color) 70%);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Allow scroll */
  overflow-x: hidden;
  line-height: 1.5;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.text-green-italic {
  color: var(--accent-green);
  font-style: italic;
  font-weight: 500;
}

.text-green {
  color: var(--accent-green) !important;
}

.headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  /* Increased spacing */
  color: #ffffff;
}

/* Specific highlight for Step 3 Headline if .text-green is used there */
p.headline.text-green {
  color: var(--accent-green) !important;
}

.subheadline {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
}

/* Layout */
.app-container {
  width: 100%;
  max-width: var(--max-width);
  padding: 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center content vertically in step view */
  position: relative;
}

.step-container {
  display: none;
  /* Hidden by default */
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 0.6s ease-out forwards;
}

.step-container.active {
  display: flex;
}

/* Glass Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
  background: var(--accent-green);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  background: var(--accent-green-hover);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.btn-pulse {
  animation: pulse 1.8s infinite;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  margin: 1.5rem auto;
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* Progress Bar (Loading Step) */
.progress-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2rem;
}

.progress-bar {
  height: 100%;
  background: var(--accent-green);
  width: 0%;
  transition: width 3s linear;
}

/* Carousel */
.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Smooth scroll on iOS */
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.carousel-container::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.carousel-item {
  flex: 0 0 85%;
  /* Show 85% of the slide */
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Specific Spacing for Step 3 */
#step-3 h3 {
  margin-bottom: 3rem;
  /* Extra spacing before button */
}

/* Sales Page Specifics */
.sales-page {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.sales-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.sales-page p {
  text-align: left;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #ddd;
}

.sales-page .center-text {
  text-align: center;
}

.vsl-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2rem;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.check-list {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.check-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "✔";
  color: var(--accent-green);
  position: absolute;
  left: 0;
}

.offer-card {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  text-align: left;
}

.offer-card.highlight {
  border: 2px solid var(--accent-green);
  background: rgba(46, 204, 113, 0.05);
  position: relative;
  overflow: hidden; /* <<< ADICIONE ISSO */
}

.offer-card.highlight::after {
  content: "RECOMENDADO";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: bold;
}

.price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 1rem 0;
  display: block;
  text-align: center;
}

.price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

.guarantee-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
  font-weight: bold;
}

/* High Impact Offer Redesign */
.offer-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.offer-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 3rem;
  font-weight: 400;
}

.price-display-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.price-display-block .price-strike {
  font-size: 1.4rem;
  color: #888;
  display: block;
  margin-bottom: 0.5rem;
}

.price-display-block .price-main {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
  display: block;
}

.price-meta {
  font-size: 1rem;
  color: #aaa;
  margin-top: 1rem;
  font-weight: 400;
}

.offer-impact-box {
  background: rgba(46, 204, 113, 0.05);
  border: 2px solid rgba(46, 204, 113, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: left;
}

.offer-impact-box h4 {
  color: var(--accent-green);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-align: center;
}

.impact-item {
  margin-bottom: 2rem;
}

.impact-item:last-child {
  margin-bottom: 0;
}

.impact-item .impact-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.3rem;
  width: 100%;
  flex-wrap: wrap;        /* 🔥 ESSENCIAL */
  white-space: normal;    /* 🔥 ESSENCIAL */
}

.impact-item .impact-title span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.impact-item .impact-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.4;
}

.check-list-large {
  list-style: none;
  padding: 0;
}

.check-list-large li {
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
}

.check-list-large li strong {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.2rem;
}

.price-red-strike {
  color: #ff4d4d;
  text-decoration: line-through;
  font-weight: 700;
  margin-left: 10px;
}

.price-total-box {
  margin: 3rem 0 1.5rem;
}

.price-total-box .total-label {
  color: #ff4d4d;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: line-through;
}

.price-total-box .hoje-label {
  display: block;
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: #fff;
}

.price-total-box .price-value {
  color: var(--accent-green);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-green);
}

.faq-item summary {
  padding: 1.2rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '▼';
  font-size: 0.7rem;
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.2rem 1.2rem;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  color: #666;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
}
  
/* === FIX DEFINITIVO DE SCROLL / ZOOM MOBILE === */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
