* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #2c3e50;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: linear-gradient(135deg, #ffffff, #f5f5f5);
}

.section-alt {
  background: linear-gradient(135deg, #f5f5f5, #e8e1ff);
}

.section-urgency {
  background: linear-gradient(135deg, #f5f5f5, #e8e1ff);
  color: #4b0082;
}

.section-offer {
  background: linear-gradient(135deg, #2c004a, #4b0082);
  padding: 100px 0;
  color: #ffffff;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.section-offer .section-title {
  color: #ffffff;
}
.section-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #6a0dad;
  text-align: left;
  margin-bottom: 24px;
}

.section-alt .section-title,
.section-title {
  color: #6a0dad;
}

.section-text {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.center {
  text-align: center;
  padding: 40px 0;
}

/* Faixa superior 5ª versão / Oferta de Natal */
.top-banner {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(90deg, #ff7675, #fd79a8, #6a0dad);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.top-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.badge {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.top-banner-marquee {
  overflow: hidden;
  flex: 1;
}

.top-banner-track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.top-banner-track span {
  font-size: 0.9rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #2c004a, #4b0082);
  color: #ffffff;
  padding: 100px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.12),
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 1.1rem;
  color: #d4f5e8;
  margin-bottom: 24px;
}

.hero-note {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.mockup-device {
  background: transparent;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.mockup-single {
  max-width: 360px;
}

.mockup-single img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-secondary {
  transform: translateY(20px) scale(0.9);
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background-color: #27ae60;
  color: #ffffff;
}

.btn-secondary {
  background-color: #27ae60;
  color: #ffffff;
}

.btn-cta {
  background-color: #27ae60;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 16px 40px;
}

.btn:hover {
  background-color: #4b0082;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

/* Cards base */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-alt .card {
  background-color: #ffffff;
}

.card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a0dad, #8e44ad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.card h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #4b0082;
}

.card p {
  font-size: 0.95rem;
}

/* Storytelling */
.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-text p + p {
  margin-top: 14px;
}

.story-timeline {
  position: relative;
  padding-left: 16px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 80px;
  width: 3px;
  background: linear-gradient(to bottom, #6a0dad, #27ae60);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  margin-left: 10px;
}

.timeline-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Poppins", system-ui, sans-serif;
  margin-bottom: 6px;
}

.timeline-before {
  background-color: #ffe6e6;
  color: #b00020;
}

.timeline-after {
  background-color: #d4f5e8;
  color: #145a32;
}

.timeline-content {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline-image {
  margin-top: 2px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  width: 100%;
  height: 45em;
}

/* Módulos */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.module {
  background-color: #f5f5f5;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.module h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #4b0082;
}

.module ul {
  padding-left: 18px;
}

.module li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Oportunidades */
.opportunities-grid .card {
  text-align: left;
}

/* Prova social */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  align-items: center;
}

.testimonial-photo {
  background: linear-gradient(135deg, #6a0dad, #8e44ad, #27ae60);
  padding: 3px;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.testimonial-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #4b0082;
}

.faq-item p {
  font-size: 0.95rem;
}

/* Oferta */
.offer-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.offer-content {
  max-width: 600px;
}

.offer-list {
  list-style: none;
  margin: 16px 0 24px;
}

.offer-list li {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.offer-price {
  margin-bottom: 20px;
}

.old-price {
  text-decoration: line-through;
  opacity: 0.7;
}

.new-price {
  font-size: 1.3rem;
}

.new-price span {
  font-weight: 700;
  color: #2ecc71;
}

.guarantee {
  margin-top: 10px;
  font-size: 0.95rem;
}

.offer-image img {
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Empurrão final */
.final-section {
  text-align: center;
}

.signature {
  margin: 16px 0 20px;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 32px 0 20px;
}

.footer-content {
  text-align: center;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.footer a {
  color: #2ecc71;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Neve */
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.snow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    );
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: #ffffff;
  opacity: 0.6;
  font-size: 0.8rem;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7));
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes fall {
  0% {
    transform: translate3d(0, -10vh, 0);
  }
  100% {
    transform: translate3d(var(--horizontal-shift), 110vh, 0);
  }
}

/* Responsividade */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-mockup {
    margin-top: 24px;
  }

  .story-grid,
  .offer-box,
  .testimonials-grid,
  .modules-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 80px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  /* Story mobile: texto/timeline primeiro, imagem depois e menor */
  .story-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .story-text {
    order: 1;
  }

  .story-timeline {
    order: 2;
  }

  .timeline-image {
    box-shadow: none;
    height: auto;
  }

  .cards-grid,
  .testimonials-grid,
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn-cta,
  .btn-primary {
    width: 100%;
    text-align: center;
  }

  /* Hero mobile: texto primeiro, imagem menor e sem fundo branco marcado */
  .hero-content {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .hero-mockup {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .mockup-single {
    max-width: 260px;
    background: transparent;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }

  /* Ajuste faixa superior no mobile: badge em cima, texto abaixo, tudo centralizado */
  .top-banner-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  .top-banner-marquee {
    width: 100%;
  }

  .top-banner-track span {
    font-size: 0.8rem;
  }
}
