/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 45%, #020617 100%);
  color: #e5e7eb;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT BÁSICO */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.secao {
  padding: 4rem 0;
}

.secao-alternada {
  background: #020617;
}

/* compensação do header fixo para âncoras (#inicio, #kit, etc.) */
.hero,
.secao {
  scroll-margin-top: 80px;
}

h1,
h2,
h3 {
  color: #f9fafb;
  margin-bottom: 0.75rem;
}

p {
  line-height: 1.6;
}

.subtitulo {
  color: #9ca3af;
  margin-bottom: 1.75rem;
}

/* ANIMAÇÕES GERAIS --------------------------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* aplicado em alguns blocos importantes (classe adicionada via JS) */
.fade-enter {
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
}

/* TOPO -------------------------------------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.topo-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-texto {
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.logo-texto strong {
  color: #f97316;
}

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #f97316);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* HERO -------------------------------------- */
.hero {
  position: relative;
  padding: 4.5rem 0 3.8rem;
  overflow: hidden;
  border-bottom: 1px solid #111827;
}

.hero-banner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.95)),
    url("img/imgbanner.png") center/cover no-repeat;
  opacity: 0.9;
  z-index: -1;
}

/* leve glow de fundo atrás da área do hero */
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3), transparent 60%);
  filter: blur(18px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-selo {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
}

.hero-texto h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.hero-descricao {
  color: #e5e7eb;
}

.hero-lista {
  list-style: none;
  margin: 1rem 0 1.2rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.hero-lista li + li {
  margin-top: 0.3rem;
}

.hero-lista li::before {
  content: "•";
  color: #22c55e;
  margin-right: 0.4rem;
}

/* Botoes hero */
.hero-botoes {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Badges hero */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge {
  padding: 0.45rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid #1f2937;
  font-size: 0.8rem;
}

.badge-titulo {
  font-weight: 600;
  color: #e5e7eb;
  display: block;
}

.badge-texto {
  color: #9ca3af;
}

/* IMAGEM HERO + glow */
.hero-imagem {
  display: flex;
  justify-content: flex-end; /* imagem encostada mais à direita no desktop */
}

.hero-imagem-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #1f2937;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.95);
  background: #020617;
}

/* glow sob a imagem */
.hero-imagem-wrap::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.25), transparent 60%);
  filter: blur(14px);
  z-index: -1;
}

.hero-imagem img {
  width: 100%;
  max-width: 380px;
  object-fit: cover;
}

/* BOTÕES ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.btn-icone {
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
}

.btn-principal {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.4),
    0 15px 35px rgba(22, 163, 74, 0.7),
    0 0 45px rgba(22, 163, 74, 0.6);
}

.btn-principal:hover {
  background: linear-gradient(135deg, #4ade80, #16a34a);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.6),
    0 18px 40px rgba(22, 163, 74, 0.8),
    0 0 55px rgba(34, 197, 94, 0.85);
}

.btn-secundario {
  background: transparent;
  color: #f9fafb;
  border: 1px solid #4b5563;
}

.btn-secundario:hover {
  background: #111827;
}

.btn-form {
  width: 100%;
  margin-top: 0.3rem;
}

/* SOBRE ------------------------------------- */
.lista-simples {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.lista-simples li + li {
  margin-top: 0.25rem;
}

/* KIT --------------------------------------- */
.kit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
  animation-delay: 0.15s;
}

/* Galeria */
.galeria {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.galeria-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  max-height: 360px;
}

.galeria-slide {
  display: none;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.galeria-slide.ativo {
  display: block;
}

.galeria-nav {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria-nav img {
  width: 24px;
  height: 24px;
}

/* Detalhes do kit */
.kit-detalhes {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.kit-itens {
  margin: 0.8rem 0 1rem;
  padding-left: 1.1rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.kit-itens li + li {
  margin-top: 0.25rem;
}

.kit-preco-box {
  background: #020617;
  border-radius: 0.9rem;
  border: 1px solid #1f2937;
  padding: 1rem 1.1rem;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.9),
    0 0 40px rgba(34, 197, 94, 0.18); /* glow suave em volta do preço */
}

.kit-precos {
  margin-bottom: 0.4rem;
}

.preco-atual {
  font-weight: 600;
  color: #bbf7d0;
}

.preco-info {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
}

.kit-garantia {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* COMO FUNCIONA ----------------------------- */
.passos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
  animation-delay: 0.25s;
}

.passo {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  padding: 1.4rem 1.4rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.95);
}

.passo-numero {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #f9fafb;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* CIDADES ----------------------------------- */
.estados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.estado {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.estado-header {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: 0;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

.estado-nome {
  text-align: left;
}

.estado-icone {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.estado-conteudo {
  display: none;
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid #111827;
}

.estado.aberto .estado-conteudo {
  display: block;
}

.estado.aberto .estado-icone {
  background: #22c55e;
  color: #022c22;
}

.estado-busca {
  margin: 0.85rem 0 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.estado-busca-input {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.estado-busca-input::placeholder {
  color: #6b7280;
}

.estado-busca-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #f9fafb;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.estado-busca-btn:hover {
  background: #1f2937;
  border-color: #9ca3af;
}

.estado-lista {
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.cidade-item {
  font-size: 0.9rem;
  color: #e5e7eb;
  padding: 0.1rem 0;
}

.estado-msg-nada {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.6rem;
}

/* scrollbar da lista de cidades */
.estado-lista::-webkit-scrollbar {
  width: 6px;
}
.estado-lista::-webkit-scrollbar-track {
  background: #020617;
}
.estado-lista::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 999px;
}

/* FORMULÁRIO -------------------------------- */
.formulario {
  margin-top: 1.5rem;
  max-width: 520px;
  background: #020617;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
  animation-delay: 0.2s;
}

.campo {
  margin-bottom: 1rem;
}

.campo label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #374151;
  font-size: 0.95rem;
  font-family: inherit;
  background: #020617;
  color: #e5e7eb;
}

.campo input::placeholder,
.campo textarea::placeholder {
  color: #6b7280;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
}

.aviso-whats {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.75rem;
}

/* CONTATO EXTRA ------------------------------ */
.contato-extra {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

.contato-extra a {
  color: #60a5fa;
  text-decoration: none;
}

.contato-extra a:hover {
  text-decoration: underline;
}

/* RODAPÉ ------------------------------------ */
.rodape {
  background: #020617;
  color: #9ca3af;
  text-align: center;
  padding: 1.3rem 0;
  font-size: 0.9rem;
  border-top: 1px solid #111827;
}

/* BOTÃO FLUTUANTE WHATSAPP ------------------ */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 16px 35px rgba(22, 163, 74, 0.65);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 35px 12px rgba(34, 197, 94, 0.75);
    transform: translateY(-1px) scale(1.04);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 1.6rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  border: 2px solid #bbf7d0;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(22, 163, 74, 0.65);
  z-index: 30;
  animation: pulseGlow 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: translateY(-1px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.8),
    0 20px 45px rgba(22, 163, 74, 0.85);
}

.whats-icon-img {
  width: 26px;
  height: 26px;
  display: block;
}

/* RESPONSIVO -------------------------------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-texto h1 {
    font-size: 2rem;
  }

  .kit-layout {
    grid-template-columns: 1fr;
  }

  .galeria {
    margin-bottom: 1.5rem;
  }

  /* no mobile a imagem do hero volta a ficar centralizada */
  .hero-imagem {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .topo-conteudo {
    flex-direction: column;
    align-items: center; /* centraliza logo + menu no mobile */
    gap: 0.5rem;
  }

  .menu {
    justify-content: center; /* centraliza os links de navegação */
  }

  .secao {
    padding: 3rem 0;
  }
}