/* ============================================
   VARIÁVEIS / RESET
============================================ */
:root {
  --amarelo: #FFC700;
  --amarelo-claro: #FFE17D;
  --vermelho: #E63946;
  --laranja: #F77F00;
  --verde: #2D6A4F;
  --verde-claro: #40916C;
  --azul: #1D3557;
  --creme: #FFF8E7;
  --marrom: #5C3A21;
  --texto: #3A2B1A;

  --shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius: 16px;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  background-color: var(--azul);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* espaço pra barra fixa */
}

h1, h2, h3 {
  font-family: 'Baloo 2', cursive;
  color: var(--azul);
  line-height: 1.25;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   BANDEIRINHAS (TOPO)
============================================ */
.bandeirinhas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 8px;
  background: var(--azul);
}

.flag {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid var(--amarelo);
}

.flag-1 { border-top-color: var(--amarelo); }
.flag-2 { border-top-color: var(--vermelho); }
.flag-3 { border-top-color: var(--verde-claro); }
.flag-4 { border-top-color: var(--laranja); }
.flag-5 { border-top-color: #fff; }

/* ============================================
   HERO
============================================ */
.hero {
  background: linear-gradient(180deg, var(--laranja) 0%, var(--vermelho) 100%);
  color: #fff;
  padding: 16px 0 24px;
  text-align: center;
}

.selo {
  display: inline-block;
  background: var(--amarelo);
  color: var(--azul);
  font-weight: 700;
  font-family: 'Baloo 2', cursive;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.hero-title .highlight {
  color: var(--amarelo);
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #FFF3E0;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- MOCKUP DO PDF (imagem) ---- */
.pdf-mockup-wrapper {
  margin: 0 auto 12px;
  text-align: center;
}

.pdf-mockup-image {
  display: inline-block;
  width: 75%;
  max-width: 270px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

/* ---- BENEFÍCIOS RÁPIDOS (linha compacta abaixo do botão) ---- */
.hero-quickfacts {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFF3E0;
  margin-top: 14px;
  line-height: 1.7;
}

/* ---- URGÊNCIA ---- */
.hero-urgency {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFF3E0;
  margin-top: 6px;
  opacity: 0.9;
}

/* ---- SELO DE GARANTIA (HERO) ---- */
.hero-guarantee {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-top: 8px;
}

/* ---- PREÇO ---- */
.price-box {
  margin-bottom: 10px;
}

.price-label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: #fff;
}

.price-value {
  display: inline-block;
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  font-weight: 800;
  color: var(--amarelo);
  text-shadow: 0 3px 0 rgba(0,0,0,0.2);
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  margin: 10px 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-cta {
  background: var(--verde);
  color: #fff;
  font-size: 1.15rem;
  padding: 18px 28px;
  min-height: 58px;
  border-radius: 999px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 0 #1B4332, 0 6px 10px rgba(0,0,0,0.18);
}

.btn-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #1B4332, 0 2px 6px rgba(0,0,0,0.18);
}

/* botão de destaque do bloco de oferta: maior e mais chamativo */
.btn-oferta {
  font-size: 1.25rem;
  padding: 20px 28px;
  min-height: 64px;
  box-shadow: 0 5px 0 #1B4332, 0 8px 14px rgba(0,0,0,0.2);
}

.btn-oferta:active {
  box-shadow: 0 2px 0 #1B4332, 0 3px 8px rgba(0,0,0,0.2);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.btn-secondary {
  background: var(--amarelo);
  color: var(--azul);
  font-size: 1.05rem;
  padding: 16px 26px;
  min-height: 56px;
  border-radius: 999px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 0 #C99700, 0 6px 10px rgba(0,0,0,0.15);
}

.btn-secondary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.trust-text {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

/* ============================================
   SEÇÕES GERAIS
============================================ */
.section {
  padding: 56px 0;
  text-align: center;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.section p {
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 16px;
}

/* ---- DOR ---- */
.section-dor {
  background: var(--creme);
}

.solution-box {
  background: #fff;
  border: 2px dashed var(--verde);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: 480px;
  margin: 14px auto 0;
}

.solution-box p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---- CONTEÚDO / CARDS ---- */
.section-conteudo {
  background: var(--azul);
  color: #fff;
}

.section-conteudo h2 {
  color: #fff;
}

.section-conteudo .conteudo-subtitle {
  color: #FFF3E0;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.card {
  background: #fff;
  color: var(--texto);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--vermelho);
}

.card p {
  font-size: 0.9rem;
  margin: 0;
  max-width: 100%;
}

/* ---- BENEFÍCIOS ---- */
.section-beneficios {
  background: linear-gradient(180deg, var(--amarelo-claro) 0%, var(--amarelo) 100%);
}

.beneficios-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
  text-align: left;
}

.beneficios-list li {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.beneficio-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---- RENDA EXTRA ---- */
.section-renda {
  background: var(--verde);
  color: #fff;
}

.section-renda h2 {
  color: #fff;
}

.section-renda p {
  color: #E9F5EE;
}

.renda-exemplos {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ---- OFERTA / PLANOS ---- */
.section-oferta {
  background: repeating-linear-gradient(
    45deg,
    var(--vermelho),
    var(--vermelho) 12px,
    #d62839 12px,
    #d62839 24px
  );
  padding: 48px 0;
}

.section-oferta h2 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.section-oferta .oferta-subtitle {
  color: #FFF3E0;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 auto;
}

.planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 460px;
  margin: 28px auto 0;
}

.plano-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  text-align: center;
}

.plano-nome {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

p.plano-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--texto);
  max-width: none;
  margin: 0 0 14px;
}

.plano-preco-valor {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 16px;
}

.plano-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.plano-card .btn {
  width: 100%;
  max-width: none;
}

.plano-destaque {
  border: 3px solid var(--amarelo);
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
  padding-top: 34px;
}

.plano-destaque .plano-preco-valor {
  color: var(--vermelho);
}

.plano-selo {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amarelo);
  color: var(--azul);
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

p.oferta-comparacao {
  text-align: center;
  color: #FFF3E0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 460px;
  margin: 24px auto 0;
}

/* ---- SELO DE GARANTIA (OFERTA) ---- */
.garantia-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--creme);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 18px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.garantia-icon {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
}

.garantia-title {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  color: var(--verde);
  margin-bottom: 2px;
}

p.garantia-text {
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: none;
  margin: 0;
  color: var(--texto);
}

/* ---- SEGURANÇA ---- */
.section-seguranca {
  background: var(--creme);
}

.selos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 420px;
  margin: 24px auto 0;
}

.selo-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 10px;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.selo-item span {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
}

/* ---- FAQ ---- */
.section-faq {
  background: var(--azul);
  color: #fff;
}

.section-faq h2 {
  color: #fff;
}

.faq-list {
  max-width: 560px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--vermelho);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--texto);
}

.faq-answer p {
  padding: 0 18px 16px;
  font-size: 0.9rem;
  margin: 0;
  max-width: 100%;
  text-align: left;
}

.faq-item.open .faq-answer {
  max-height: 280px;
}

/* ---- CTA FINAL ---- */
.section-final {
  background: linear-gradient(180deg, var(--vermelho) 0%, var(--laranja) 100%);
  color: #fff;
}

.section-final h2 {
  color: #fff;
}

.section-final p {
  color: #FFF3E0;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--azul);
  color: #cdd6e0;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  padding: 24px 0 20px;
  font-size: 0.85rem;
}

.footer-small {
  font-size: 0.75rem;
  margin-top: 4px;
  color: #b9c6d6;
}

/* ============================================
   BARRA FIXA INFERIOR (MOBILE)
============================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--azul);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 1;
}

.sticky-text strong {
  color: var(--amarelo);
  font-size: 1rem;
}

.btn-sticky {
  background: var(--verde);
  color: #fff;
  font-size: 0.9rem;
  padding: 12px 18px;
  min-height: 48px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  box-shadow: 0 3px 0 #1B4332;
}

.btn-sticky:hover {
  filter: brightness(1.08);
}

/* ============================================
   ANIMAÇÕES DE ENTRADA
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVO - TABLET / DESKTOP
============================================ */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .selos-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 600px;
  }

  .plano-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 2.8rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    max-width: 600px;
  }

  .hero-quickfacts {
    font-size: 0.95rem;
  }

  .pdf-mockup-image {
    max-width: 440px;
  }

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

  .planos-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    max-width: 800px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .section p {
    font-size: 1.05rem;
  }

  .btn-cta,
  .btn-secondary {
    width: auto;
    padding-left: 48px;
    padding-right: 48px;
  }

  .sticky-bar {
    justify-content: center;
    gap: 24px;
  }

  .sticky-text {
    font-size: 1rem;
  }
}
