/* ======================================================
   RESET E BASE
====================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f7f9fc;
  color: #333;
  line-height: 1.5;
}

body.dark {
  background: #0f1115;
  color: #e1e1e1;
}

body.modal-aberto {
  overflow: hidden;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #0013b9 transparent;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0013b9, #007bff);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #000b78, #0057b7);
  background-clip: content-box;
}

body.dark {
  scrollbar-color: #5da2ff transparent;
}

body.dark ::-webkit-scrollbar-track {
  background: transparent;
}

body.dark ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #004dff, #5da2ff);
  border-color: transparent;
  background-clip: content-box;
}

img,
iframe {
  max-width: 100%;
}

button,
a {
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
.planos .card:focus-visible {
  outline: 3px solid #ffdd57;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 2000;
  background: #fff;
  color: #0013b9;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ======================================================
   CONTAINER
====================================================== */
.container {
  width: min(90%, 1200px);
  margin: auto;
}

/* ======================================================
   HEADER
====================================================== */
.header {
  min-height: 70px;
  background: #0013b9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 50px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.menu-toggle,
#toggle-dark {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#toggle-dark {
  order: 2;
  margin-left: auto;
}

.menu-toggle {
  order: 3;
}

.logo {
  order: 1;
}

/* MENU */
nav {
  position: fixed;
  right: -100%;
  top: 0;
  width: min(82vw, 280px);
  height: 100%;
  background: #111;
  padding: 80px 20px 30px;
  transition: right 0.3s ease;
  z-index: 1001;
}

nav.active {
  right: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: #57E9FF;
}

/* ======================================================
   HERO
====================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 48px 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("../imagem/banner.png") center/cover no-repeat;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-aproveite,
.btn-detalhes {
  background: linear-gradient(135deg, #0057b7, #007bff);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.btn-aproveite:hover,
.btn-detalhes:hover {
  transform: translateY(-3px);
}

.detalhes {
  margin-top: 12px;
  overflow: hidden;
  transition: max-height 0.26s ease, opacity 0.26s ease;
}

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

h2 {
  margin-bottom: 20px;
}

/* ======================================================
   PLANOS
====================================================== */
.planos {
  position: relative;
}

.planos .cards,
.vantagens-cards,
.faq-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x proximity;
}

.dicas-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 8px 4px 18px;
}

.planos .card,
.vantagem-card,
.dica-card,
.faq-card {
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  scroll-snap-align: start;
}

.planos .card {
  min-width: 260px;
  cursor: pointer;
}

.planos .card img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
}

body.dark .planos .card img[src*="max.png"],
body.dark .planos .card img[src*="disney.png"] {
  filter: brightness(0) invert(1);
}

.planos .card.mostrar {
  box-shadow: 0 10px 28px rgba(0, 19, 185, 0.18);
  transform: translateY(-2px);
  border: 1px solid rgba(0, 19, 185, 0.24);
}

.preco {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0013b9;
  margin: 12px 0;
}

.plano-selo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0071D4;
  color: #B8DEFF;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plano-selo.destaque {
  background: #000696;
  color: #A1A5FF;
}

.detalhes ul {
  padding-left: 18px;
  margin: 12px 0 18px;
}

.seta {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #0013b9;
  color: #fff;
  cursor: pointer;
}

.seta-esquerda {
  left: 12px;
}

.seta-direita {
  right: 12px;
}

body.dark .planos .card,
body.dark .vantagem-card,
body.dark .dica-card,
body.dark .faq-card {
  background: #1e1f25;
  color: #fff;
}

body.dark .preco {
  color: #8bb8ff;
}

body.dark .plano-selo {
  background: #0071D4;
  color: #B8DEFF
}

body.dark .plano-selo.destaque {
   background: #000696;
  color: #A1A5FF;
}

.btn-cobertura {
  margin: 14px 0 24px;
}

.bairros-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  list-style: none;
  margin-top: 24px;
  text-align: left;
}

.bairros-lista li {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body.dark .bairros-lista li {
  background: #1e1f25;
  color: #fff;
}

/* ======================================================
   FAQ, DEPOIMENTOS E FORMULARIO
====================================================== */
.faq-cards {
  flex-direction: column;
  overflow: visible;
  max-width: 820px;
  margin: 0 auto;
}

.faq-card {
  width: 100%;
}

.faq-pergunta {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 800;
}

.faq-pergunta::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: #0013b9;
}

.faq-pergunta[aria-expanded="true"]::after {
  content: "-";
}

.faq-resposta {
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.24s ease;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}

.depoimento-card,
.form-cobertura {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.depoimento-card p {
  margin-bottom: 12px;
}

.form-cobertura {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 24px auto 0;
  text-align: left;
}

.form-cobertura label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.form-cobertura input {
  min-height: 46px;
  border: 1px solid #cdd6e8;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.form-cobertura input:focus {
  outline: 3px solid #57E9FF;
  border-color: #0013b9;
}

.campo-endereco,
.form-cobertura button {
  grid-column: 1 / -1;
}

body.dark .faq-pergunta::after {
  color: #8bb8ff;
}

body.dark .depoimento-card,
body.dark .form-cobertura {
  background: #1e1f25;
  color: #fff;
}

body.dark .form-cobertura input {
  background: #111318;
  border-color: #343844;
  color: #fff;
}

/* ======================================================
   CONTATO
====================================================== */
address {
  font-style: normal;
}

address a {
  color: inherit;
}

/* ======================================================
   BOTÃO WHATSAPP
====================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mobile-cta {
  display: none;
}

/* ======================================================
   POPUP
====================================================== */
.popup-promocao {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  padding: 20px;
}

.popup-conteudo {
  background: #fff;
  color: #333;
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

#fecharPopup {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: inherit;
}

body.dark .popup-conteudo {
  background: #1e1f25;
  color: #fff;
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
  background: #071035;
  color: #fff;
  text-align: left;
  padding: 36px 0;
}

.footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* ======================================================
   RESPONSIVO
====================================================== */
@media (min-width: 900px) {
  .header {
    justify-content: flex-start;
  }

  .logo {
    order: 1;
  }

  .menu-toggle {
    display: none;
  }

  nav {
    order: 2;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  #toggle-dark {
    order: 3;
  }

  .seta {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 78px;
  }

  .header {
    min-height: 64px;
    padding: 8px 14px;
  }

  .logo img {
    height: 42px;
    max-width: 150px;
  }

  .hero {
    min-height: 72vh;
    padding: 42px 18px;
  }

  .hero-buttons,
  .form-cobertura {
    grid-template-columns: 1fr;
  }

  .hero-buttons a,
  .form-cobertura button {
    width: 100%;
  }

  section {
    padding: 44px 0;
  }

  .planos .cards,
  .vantagens-cards {
    scroll-padding-left: 4px;
  }

  .planos .card,
  .vantagem-card {
    min-width: 82vw;
  }

  .dicas-cards {
    grid-template-columns: 1fr;
  }

  .dica-card {
    min-width: 0;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.16);
  }

  .mobile-cta a {
    min-height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    color: #fff;
    background: #0013b9;
  }

  .mobile-cta a:last-child {
    background: #25d366;
    color: #082b15;
  }

  body.dark .mobile-cta {
    background: rgba(15, 17, 21, 0.96);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
  }

  .reveal.visivel {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
