/* ============================================================
   LavaíApp - design tokens
   Identidade "LA": preto fosco + verde performance (#39FF14),
   com o brilho/estrela do símbolo como assinatura visual.
   ============================================================ */
:root {
  --tinta: #0d0d0d;
  --tinta-suave: #1a1a1a;
  --tinta-linha: rgba(255,255,255,.1);

  --espuma: #141414;
  --espuma-fosca: #1c1c1c;
  --grafite: #ffffff;
  --grafite-fraco: #a6a6a6;

  --brilho: #39ff14;
  --brilho-fundo: #22c40c;

  --raio: 1.25rem;
  --raio-sm: .75rem;
  --max: 1160px;

  --fonte: -apple-system, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--fonte);
  color: var(--grafite);
  background: var(--tinta);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }
.icon { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--brilho); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brilho); color: #08170a; box-shadow: 0 10px 26px -10px rgba(57,255,20,.55); }
.btn-primary:hover { background: #5aff3d; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.15); }
.btn-dark:hover { background: var(--tinta-suave); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tinta-linha);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1.5rem; }
.nav-desktop { display: none; }
.nav-desktop a { color: rgba(255,255,255,.7); font-weight: 600; font-size: .9375rem; padding: .5rem .25rem; transition: color .15s ease; }
.nav-desktop a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: flex; background: none; border: none; color: #fff; padding: .5rem; cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; gap: .25rem; padding: 0 1.5rem 1.25rem; background: var(--tinta); }
.mobile-menu.aberto { display: flex; }
.mobile-menu a { color: rgba(255,255,255,.85); font-weight: 600; padding: .65rem 0; border-bottom: 1px solid var(--tinta-linha); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; align-items: center; gap: 2rem; }
  .hamburger { display: none; }
}

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
.logo.logo-footer img { height: 40px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--tinta);
  color: #fff;
  padding: 4.5rem 0 5rem;
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.gota {
  position: absolute;
  z-index: 1;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, rgba(57,255,20,.6), rgba(57,255,20,0));
  transform: rotate(45deg);
  animation: cair linear infinite;
  opacity: 0;
}
@keyframes cair {
  0% { transform: translateY(-40px) rotate(45deg); opacity: 0; }
  15% { opacity: .55; }
  85% { opacity: .35; }
  100% { transform: translateY(420px) rotate(45deg); opacity: 0; }
}
.hero-grid { position: relative; z-index: 2; width: min(1320px, 100% - 3rem); margin: 0 auto; }
.hero-grid > div { max-width: 38rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(57,255,20,.1);
  border: 1px solid rgba(57,255,20,.35);
  color: var(--brilho);
  font-weight: 700;
  font-size: .8125rem;
  padding: .4rem .95rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero-eyebrow .sparkle { width: 1rem; height: 1rem; fill: var(--brilho); flex-shrink: 0; }
.hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.12; margin-bottom: 1.25rem; }
.hero h1 .brilha {
  background: linear-gradient(100deg, #baff8c 0%, var(--brilho) 45%, #baff8c 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brilhar 5s ease-in-out infinite;
}
@keyframes brilhar { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.hero p.lead { font-size: 1.125rem; color: rgba(255,255,255,.72); max-width: 34rem; margin-bottom: 2.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.85rem; }
.hero-trust { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.5); font-size: .875rem; }
.hero-trust .icon { width: 1.125rem; height: 1.125rem; color: var(--brilho); }

/* ---------- Carrossel de fundo (hero) ---------- */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-slide.ativo { opacity: 1; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,8,8,.97) 0%, rgba(8,8,8,.86) 28%, rgba(8,8,8,.4) 52%, rgba(8,8,8,.08) 75%);
}

/* No mobile o carrossel não cabe atrás do texto sem virar uma mancha
   escura sem graça — vira um cartão próprio, visível, logo abaixo do
   texto (a ordem visual inverte com column-reverse, mas o carrossel
   continua vindo primeiro no HTML). */
@media (max-width: 979px) {
  .hero { flex-direction: column-reverse; padding-bottom: 2.5rem; }
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--raio);
    overflow: hidden;
    margin-top: 2.25rem;
    box-shadow: 0 20px 44px -18px rgba(0,0,0,.6);
  }
  .hero-bg-slide { object-position: 68% center; }
  .hero-bg::after {
    background: linear-gradient(0deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,0) 30%);
  }
}

@media (min-width: 980px) {
  .hero { padding: 6.5rem 0 7rem; min-height: 620px; }
  .hero h1 { font-size: 3.375rem; }
}

/* ---------- Seções gerais ---------- */
.eyebrow {
  display: inline-block;
  color: var(--brilho);
  font-weight: 800;
  font-size: .8125rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.section-head { max-width: 42rem; margin: 0 auto 3.25rem; text-align: center; }
.section-head h2 { font-size: 1.875rem; font-weight: 800; color: var(--grafite); margin-bottom: .9rem; }
.section-head p { color: var(--grafite-fraco); font-size: 1.0625rem; }
@media (min-width: 900px) { .section-head h2 { font-size: 2.375rem; } }

/* ---------- Dores ---------- */
.dores { background: var(--espuma-fosca); }
.dores-grid { display: grid; gap: 1.25rem; }
.dor-card {
  background: var(--tinta-suave);
  border-radius: var(--raio);
  padding: 1.6rem;
  border: 1px solid var(--tinta-linha);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.dor-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(57,255,20,.12); color: var(--brilho);
  display: flex; align-items: center; justify-content: center;
}
.dor-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .35rem; color: var(--grafite); }
.dor-card p { color: var(--grafite-fraco); font-size: .9375rem; }
@media (min-width: 700px) { .dores-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Galeria ---------- */
.galeria-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.galeria-foto {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--tinta-suave);
}
.galeria-foto.principal { aspect-ratio: 16 / 10; }
.galeria-foto img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.galeria-foto:hover img { transform: scale(1.05); }
.galeria-foto .legenda {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,0));
  color: #fff; padding: 1.5rem 1.35rem 1rem; font-weight: 700; font-size: .9688rem;
}
@media (min-width: 820px) {
  .galeria-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
  .galeria-foto.principal { grid-row: 1 / 3; grid-column: 1; aspect-ratio: auto; height: 100%; }
}

/* ---------- Recursos ---------- */
.recursos-grid { display: grid; gap: 1.25rem; }
.recurso-card {
  padding: 1.85rem;
  border-radius: var(--raio);
  background: var(--espuma-fosca);
  border: 1px solid var(--tinta-linha);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.recurso-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(0,0,0,.5); border-color: var(--brilho); background: var(--tinta-suave); }
.recurso-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  background: #000; color: var(--brilho);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.15rem;
}
.recurso-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .5rem; color: var(--grafite); }
.recurso-card p { color: var(--grafite-fraco); font-size: .9375rem; }
@media (min-width: 700px) { .recursos-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .recursos-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Como funciona ---------- */
.como-funciona { background: #000; color: #fff; position: relative; overflow: hidden; }
.como-funciona .section-head h2 { color: #fff; }
.como-funciona .section-head p { color: rgba(255,255,255,.6); }
.passos { display: grid; gap: 2.25rem; counter-reset: passo; position: relative; z-index: 1; }
.passo { position: relative; padding-left: 3.5rem; }
.passo::before {
  counter-increment: passo;
  content: counter(passo);
  position: absolute;
  left: 0; top: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--brilho);
  color: #08170a;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.passo h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .4rem; }
.passo p { color: rgba(255,255,255,.62); font-size: .9375rem; }
@media (min-width: 900px) { .passos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Prova social ---------- */
.prova { background: var(--espuma-fosca); }
.prova-card {
  background: var(--tinta-suave);
  border-radius: 1.75rem;
  border: 1px solid var(--tinta-linha);
  padding: 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.prova-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(57,255,20,.12); color: var(--brilho); font-weight: 700; font-size: .8125rem;
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.prova-card blockquote { font-size: 1.25rem; font-weight: 600; color: var(--grafite); margin-bottom: 1rem; line-height: 1.42; }
.prova-card cite { color: var(--grafite-fraco); font-style: normal; font-size: .9375rem; }
.prova-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.prova-stat { background: var(--tinta); border-radius: var(--raio-sm); padding: 1.25rem; flex: 1; min-width: 130px; text-align: center; }
.prova-stat .n { font-size: 1.75rem; font-weight: 800; color: var(--brilho); }
.prova-stat .l { font-size: .8125rem; color: var(--grafite-fraco); font-weight: 600; }
@media (min-width: 900px) { .prova-card { grid-template-columns: 1.2fr 1fr; padding: 3.25rem; } }

.confianca-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.confianca-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .65rem;
  padding: 1.35rem 1rem; background: var(--tinta-suave); border: 1px solid var(--tinta-linha); border-radius: var(--raio-sm);
}
.confianca-item .icon { width: 1.5rem; height: 1.5rem; color: var(--brilho); }
.confianca-item span { font-size: .8438rem; font-weight: 600; color: rgba(255,255,255,.78); line-height: 1.35; }
@media (min-width: 700px) { .confianca-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 44rem; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1px solid var(--tinta-linha); border-radius: var(--raio-sm); overflow: hidden; }
.faq-pergunta {
  width: 100%; text-align: left; background: var(--tinta-suave); border: none; cursor: pointer;
  padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; font-weight: 700; color: var(--grafite); font-size: .9688rem;
}
.faq-pergunta .icon { color: var(--brilho); transition: transform .2s ease; }
.faq-item.aberto .faq-pergunta .icon { transform: rotate(45deg); }
.faq-resposta { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: var(--espuma-fosca); }
.faq-item.aberto .faq-resposta { max-height: 220px; }
.faq-resposta p { padding: 0 1.25rem 1.1rem; color: var(--grafite-fraco); font-size: .9375rem; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(120deg, #baff8c, var(--brilho) 55%, var(--brilho-fundo));
  color: #08170a;
  text-align: center;
  border-radius: 1.75rem;
  margin: 0 1.5rem;
  padding: 3.5rem 1.5rem;
}
.cta-final h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: .9rem; color: #08170a; }
.cta-final p { color: #143109; margin-bottom: 2rem; font-size: 1.0625rem; }
.cta-final .btn-dark:hover { background: #141414; }
@media (min-width: 900px) { .cta-final h2 { font-size: 2.375rem; } }

/* ---------- Footer ---------- */
.footer { background: #000; color: rgba(255,255,255,.6); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 700; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { display: block; color: rgba(255,255,255,.55); font-size: .9375rem; margin-bottom: .6rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--tinta-linha); padding-top: 1.5rem; font-size: .8125rem; text-align: center; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }

.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -6px rgba(37,211,102,.6);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Páginas legais (Termos / Privacidade) ---------- */
.legal-hero { padding: 3.5rem 0 1rem; }
.legal-voltar { display: inline-flex; align-items: center; gap: .4rem; color: var(--grafite-fraco); font-size: .875rem; font-weight: 600; margin-bottom: 1.75rem; }
.legal-voltar:hover { color: #fff; }
.legal-voltar .icon { width: 1rem; height: 1rem; }
.legal-hero h1 { font-size: 2rem; font-weight: 800; color: var(--grafite); margin-bottom: .6rem; }
.legal-hero .atualizado { color: var(--grafite-fraco); font-size: .875rem; }
.legal-content { max-width: 44rem; margin: 0 auto; padding: 1rem 0 2rem; }
.legal-content h2 { font-size: 1.375rem; font-weight: 800; color: var(--grafite); margin: 2.5rem 0 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.0625rem; font-weight: 700; color: var(--grafite); margin: 1.5rem 0 .6rem; }
.legal-content p { color: var(--grafite-fraco); font-size: .9688rem; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { color: var(--grafite-fraco); font-size: .9688rem; margin: 0 0 1rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li::marker { color: var(--brilho); }
.legal-content strong { color: var(--grafite); }
.legal-content a { color: var(--brilho); text-decoration: underline; }
.legal-content .placeholder { background: rgba(57,255,20,.12); border: 1px dashed rgba(57,255,20,.45); border-radius: .35rem; padding: .05rem .4rem; color: var(--brilho); font-weight: 600; white-space: nowrap; }
