/* Bicho do Zeca — funil WhatsApp */
:root {
  --verde: #0b3d1e;
  --verde-2: #12552b;
  --vermelho: #c8161d;
  --creme: #fbf6ea;
  --papel: #f4e9cf;
  --linha: #e4d6b4;
  --texto: #1c2a20;
  --texto-2: #4b5a4f;
  --wa: #25d366;
  --wa-hover: #1fbe5b;
  --wa-texto: #04361a;
  --raio: 16px;
  --sombra: 0 10px 30px -12px rgba(11, 61, 30, .35);
  --titulo: "Anton", "Impact", "Arial Narrow", sans-serif;
  --corpo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; line-height: 1.05; margin: 0; letter-spacing: .3px; color: var(--verde); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.vermelho { color: var(--vermelho); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Barra do topo ---------- */
.topo-aviso {
  background: var(--verde);
  color: #f3ead2;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  letter-spacing: .2px;
}
.topo-aviso b { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,255,255,.75), transparent 70%),
    url("../assets/fundo-tabela.webp") center top / cover no-repeat,
    var(--papel);
  border-bottom: 1px solid var(--linha);
  overflow: hidden;
}
.hero::after { /* suaviza a textura para não brigar com o texto */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(251,246,234,.45), rgba(251,246,234,.35) 45%, rgba(251,246,234,.78) 70%, rgba(251,246,234,.6));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 18px; padding-bottom: 26px; }
.hero-grid { display: grid; gap: 0; }
.selo {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vermelho); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 10px;
}
.hero h1 { font-size: clamp(34px, 10vw, 58px); }
.hero .sub { margin-top: 10px; font-size: 16.5px; color: var(--texto-2); max-width: 34em; }
.hero .sub b { color: var(--texto); }
.hero-texto { text-align: center; }
.hero-texto .selo { margin-left: auto; margin-right: auto; }
.hero-texto .sub { margin-left: auto; margin-right: auto; }

.hero-zeca { position: relative; display: flex; justify-content: center; margin-bottom: 10px; }
.hero-zeca img { height: clamp(190px, 31vh, 320px); width: auto; filter: drop-shadow(0 12px 18px rgba(11,61,30,.22)); }
.balao {
  position: absolute; top: 8%; right: max(4%, calc(50% - 205px));
  background: #fff; color: var(--verde);
  font-family: var(--titulo); text-transform: uppercase; font-size: 17px; line-height: 1.05;
  padding: 10px 12px; border-radius: 14px; border: 2.5px solid var(--verde);
  box-shadow: 3px 3px 0 var(--verde); max-width: 128px; text-align: center;
  transform: rotate(4deg);
}
.balao::after {
  content: ""; position: absolute; left: 16px; bottom: -12px;
  border: 7px solid transparent; border-top: 9px solid var(--verde); border-left-width: 2px;
}
.balao span { color: var(--vermelho); }

/* ---------- Botão WhatsApp ---------- */
.cta-area { margin-top: 16px; text-align: center; }
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 460px; margin: 0 auto;
  min-height: 62px; padding: 14px 14px;
  background: var(--wa); color: var(--wa-texto);
  font-family: var(--corpo); font-size: clamp(15px, 4.3vw, 18px); font-weight: 900; letter-spacing: 0; text-transform: uppercase; line-height: 1.15;
  border: 0; border-radius: 14px; cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 0 #179c48, 0 14px 26px -8px rgba(37,211,102,.7);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa:active { transform: translateY(4px); box-shadow: 0 2px 0 #179c48, 0 8px 18px -8px rgba(37,211,102,.7); }
.btn-wa:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }
.btn-wa svg { width: 26px; height: 26px; flex: none; }
.btn-wa[disabled] { opacity: .7; cursor: progress; }
.pulsar { animation: pulsar 2.2s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.btn-wa.pulsar:active { animation: none; }

.micro {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px;
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--texto-2);
}
.micro span { display: inline-flex; align-items: center; gap: 5px; }
.micro svg { width: 15px; height: 15px; color: var(--verde-2); flex: none; }

/* ---------- Seções ---------- */
.secao { padding: 44px 0; }
.secao-titulo { text-align: center; font-size: clamp(28px, 8vw, 42px); }
.secao-sub { text-align: center; color: var(--texto-2); margin: 10px auto 0; max-width: 32em; }

/* Benefícios */
.beneficios { display: grid; gap: 12px; margin-top: 24px; }
.card {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 16px; box-shadow: 0 2px 0 var(--linha);
}
.card-icone {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--verde); color: #fff;
}
.card-icone svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; }
.card p { margin-top: 4px; font-size: 15px; color: var(--texto-2); }

/* Cotações */
.cotacao-secao { padding-top: 0; }
.cotacoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px auto 0; max-width: 760px; }
.cotacao {
  position: relative; text-align: center; background: #fff; border: 2px solid var(--verde);
  border-radius: var(--raio); padding: 14px 4px 12px; box-shadow: 4px 4px 0 var(--verde);
}
.cotacao.destaque { background: var(--verde); color: #fff; border-color: var(--verde); box-shadow: 4px 4px 0 var(--vermelho); }
.cotacao .tipo { display: block; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--texto-2); }
.cotacao.destaque .tipo { color: #cfe0d2; }
.cotacao .valor { display: block; font-family: var(--titulo); font-size: clamp(22px, 7vw, 40px); line-height: 1.05; color: var(--vermelho); margin-top: 4px; white-space: nowrap; }
.cotacao.destaque .valor { color: #ffd84d; }
.cotacao .valor small { font-size: .55em; vertical-align: .35em; margin-right: 1px; }
.cotacoes-nota { text-align: center; font-size: 13px; color: var(--texto-2); margin-top: 12px; }
.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.extras span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--linha); font-size: 14px; font-weight: 700; color: var(--verde);
}
.extras svg { width: 16px; height: 16px; color: var(--vermelho); }

/* Prévia do grupo */
.previa-secao { background: var(--verde); color: #f3ead2; }
.previa-secao .secao-titulo { color: #fff; }
.previa-secao .secao-sub { color: #cfe0d2; }
.celulares {
  display: flex; gap: 14px; margin: 24px -16px 0; padding: 4px 16px 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.celulares::-webkit-scrollbar { display: none; }
.celular-item { flex: 0 0 min(82%, 290px); margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; }
.celular-item figcaption {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px;
  font-family: var(--titulo); text-transform: uppercase; font-size: 18px; color: #fff; letter-spacing: .3px;
}
.celular-item figcaption b {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #ffd84d; color: var(--verde); font-size: 14px; font-family: var(--corpo); font-weight: 900;
}
.celular {
  flex: 1; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: #efe7dc; border: 6px solid #0a2a15; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.celular .conversa { flex: 1; }
.arraste { text-align: center; font-size: 13px; font-weight: 700; color: #ffd84d; margin-top: 4px; }
.celular-topo {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #075e54; color: #fff;
}
.celular-topo img { width: 34px; height: 34px; border-radius: 50%; background: var(--verde); object-fit: cover; object-position: top; }
.celular-topo b { display: block; font-size: 14px; line-height: 1.2; }
.celular-topo small { font-size: 11px; opacity: .85; }
.conversa {
  padding: 10px 8px 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,.025) 2px, transparent 3px) 0 0 / 22px 22px,
    #efe7dc;
  display: flex; flex-direction: column; gap: 6px;
}
.msg {
  position: relative; align-self: flex-start; max-width: 88%;
  background: #fff; color: #111; border-radius: 4px 12px 12px 12px;
  padding: 6px 9px 17px; font-size: 13px; line-height: 1.38;
  box-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.msg .autor { display: block; font-size: 12px; font-weight: 700; color: var(--vermelho); margin-bottom: 2px; }
.msg .autor.a2 { color: #1f6fb2; }
.msg .autor.a3 { color: #8a3fb0; }
.msg .autor.a4 { color: #c26a00; }
.sistema {
  align-self: center; max-width: 92%; text-align: center; font-size: 11.5px; color: #54656f;
  background: #fff8d6; border-radius: 8px; padding: 4px 10px; box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.msg .hora { position: absolute; right: 8px; bottom: 3px; font-size: 11px; color: #8a8a8a; }
.msg .dest { display: block; margin-top: 4px; padding: 6px 8px; border-radius: 8px; background: #f3f8f2; border-left: 3px solid var(--verde-2); font-weight: 600; }
.celular-rodape {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #f0f0f0;
  font-size: 12px; color: #666;
}
.celular-rodape svg { width: 16px; height: 16px; flex: none; }
.legenda { text-align: center; font-size: 12.5px; color: #b9cdbd; margin-top: 12px; }

/* Tabela dos bichos */
.tabela-secao {
  background: url("../assets/fundo-tabela.webp") center / cover no-repeat, var(--papel);
  position: relative;
}
.tabela-secao::before { content: ""; position: absolute; inset: 0; background: rgba(244,233,207,.72); }
.tabela-secao .wrap { position: relative; }
.tabela {
  list-style: none; padding: 0; margin: 22px auto 0; max-width: 760px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.tabela li {
  background: rgba(255,255,255,.88); border: 1px solid var(--linha); border-radius: 10px;
  padding: 7px 2px 6px; text-align: center; line-height: 1.15; min-width: 0;
}
.tabela .n { display: block; font-family: var(--titulo); color: var(--vermelho); font-size: 15px; }
.tabela .b { display: block; font-weight: 800; font-size: 11.5px; color: var(--verde); letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.tabela .d { display: block; font-size: 10px; letter-spacing: -.2px; color: var(--texto-2); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Credibilidade */
.credito-intro {
  max-width: 40em; margin: 18px auto 0; text-align: center; font-size: 16.5px; color: var(--texto-2);
}
.credito-intro b { color: var(--texto); }
.pilares { display: grid; gap: 12px; margin-top: 26px; }
.pilar {
  background: #fff; border-radius: var(--raio); padding: 18px 16px;
  border: 1px solid var(--linha); border-top: 5px solid var(--vermelho);
}
.pilar:nth-child(even) { border-top-color: var(--verde); }
.pilar h3 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.pilar h3 svg { width: 22px; height: 22px; color: var(--vermelho); flex: none; }
.pilar:nth-child(even) h3 svg { color: var(--verde-2); }
.pilar p { margin-top: 6px; font-size: 15px; color: var(--texto-2); }

/* Chamada final */
.final {
  text-align: center;
  background: radial-gradient(ellipse 80% 70% at 50% 30%, #fffdf6, var(--papel));
  border-top: 1px solid var(--linha);
}
.final h2 { font-size: clamp(30px, 9vw, 46px); }
.final p.chamada { margin: 12px auto 22px; max-width: 30em; color: var(--texto-2); font-size: 16.5px; }

/* Rodapé */
.rodape { background: var(--verde); color: #cfe0d2; text-align: center; padding: 30px 0 110px; font-size: 13.5px; }
.rodape .maior18 {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.rodape .maior18 i {
  font-style: normal; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff; font-size: 12px; font-weight: 900;
}
.rodape nav { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.rodape nav a { color: #fff; }
.rodape small { display: block; margin-top: 12px; opacity: .75; }

/* Barra fixa no celular */
.barra-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,246,234,.96); backdrop-filter: blur(6px);
  border-top: 1px solid var(--linha);
  transform: translateY(110%); transition: transform .25s ease;
}
.barra-fixa.visivel { transform: none; }
.barra-fixa .btn-wa { min-height: 54px; font-size: 16px; box-shadow: 0 4px 0 #179c48; }

/* ---------- Pop-up de captura ---------- */
.modal {
  position: fixed; inset: 0; z-index: 60; display: none;
  align-items: flex-end; justify-content: center;
  background: rgba(6, 30, 15, .62);
}
.modal.aberto { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-caixa {
  position: relative; width: 100%; max-width: 440px; max-height: 100dvh; overflow-y: auto;
  background: var(--creme); border-radius: 22px 22px 0 0;
  padding: 26px 20px calc(22px + env(safe-area-inset-bottom));
  animation: sobe .28s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes sobe { from { transform: translateY(40px); opacity: .4; } }
.modal-fechar {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(11,61,30,.08); color: var(--verde); font-size: 24px; line-height: 1; cursor: pointer;
}
.modal-cabeca { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 36px; }
.modal-cabeca img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--papel); border: 3px solid var(--verde); flex: none; }
.modal-cabeca h2 { font-size: 25px; }
.progresso { height: 10px; border-radius: 99px; background: #e9dfc6; overflow: hidden; margin: 2px 0 6px; }
.progresso span { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--verde-2), var(--wa)); border-radius: inherit; transition: width .8s ease; }
.progresso-legenda { font-size: 12.5px; font-weight: 700; color: var(--verde-2); margin-bottom: 14px; }
.campo { margin-bottom: 12px; }
.campo label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.campo input {
  width: 100%; height: 54px; padding: 0 14px; font-size: 17px; font-family: inherit; color: var(--texto);
  background: #fff; border: 2px solid var(--linha); border-radius: 12px; outline: none;
}
.campo input:focus { border-color: var(--verde-2); box-shadow: 0 0 0 3px rgba(18,85,43,.15); }
.campo.erro input { border-color: var(--vermelho); }
.campo .msg-erro { display: none; color: var(--vermelho); font-size: 13px; font-weight: 600; margin-top: 4px; }
.campo.erro .msg-erro { display: block; }
.check {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin: 4px 0 16px; cursor: pointer;
}
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--verde-2); flex: none; }
.check.erro { color: var(--vermelho); font-weight: 600; }
.modal .aviso-dados { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--texto-2); }
.modal .aviso-dados a { color: var(--verde-2); font-weight: 600; }

/* ---------- Página de obrigado ---------- */
.obrigado { min-height: 100dvh; display: flex; flex-direction: column; }
.obrigado main { flex: 1; padding: 28px 0 36px; text-align: center; }
.obrigado .progresso { height: 16px; max-width: 460px; margin: 0 auto 8px; }
.obrigado .progresso span { width: 0; }
.obrigado .progresso-legenda { font-size: 14px; margin-bottom: 18px; }
.obrigado h1 { font-size: clamp(34px, 10vw, 52px); }
.obrigado .sub { margin: 10px auto 18px; max-width: 30em; color: var(--texto-2); font-size: 16.5px; }
.obrigado .zeca-mini { height: 190px; width: auto; margin: 0 auto 14px; filter: drop-shadow(0 10px 16px rgba(11,61,30,.22)); }
.obrigado .btn-wa { min-height: 72px; font-size: 19px; }
.contagem { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--texto-2); min-height: 21px; }
.passos { list-style: none; padding: 0; margin: 26px auto 0; max-width: 420px; text-align: left; display: grid; gap: 10px; }
.passos li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.passos li b.num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--verde); color: #fff; font-size: 14px; }
.alerta { display: none; max-width: 440px; margin: 14px auto 0; padding: 12px 14px; border-radius: 12px; background: #fff3f3; border: 1px solid #f1c5c7; color: #8f1116; font-size: 14px; font-weight: 600; }
.alerta.visivel { display: block; }
.obrigado .rodape { padding-bottom: 30px; }

/* ---------- Página de texto (privacidade) ---------- */
.texto-legal main { padding: 26px 0 50px; }
.texto-legal .wrap { max-width: 760px; }
.texto-legal h1 { font-size: clamp(30px, 8vw, 44px); margin-bottom: 6px; }
.texto-legal h2 { font-size: 22px; margin: 28px 0 8px; }
.texto-legal p, .texto-legal li { color: var(--texto-2); font-size: 15.5px; }
.texto-legal p + p { margin-top: 10px; }
.texto-legal ul { padding-left: 20px; }
.texto-legal li + li { margin-top: 6px; }
.texto-legal .voltar { display: inline-block; margin-bottom: 18px; color: var(--verde-2); font-weight: 700; text-decoration: none; }
.texto-legal .rodape { padding-bottom: 30px; }

/* ---------- Telas maiores ---------- */
@media (min-width: 560px) {
  .beneficios { grid-template-columns: 1fr 1fr; }
  .pilares { grid-template-columns: 1fr 1fr; }
  .tabela { gap: 8px; }
  .tabela .b { font-size: 13px; }
  .tabela .d { font-size: 12px; }
  .modal { align-items: center; padding: 16px; }
  .modal-caixa { border-radius: 22px; }
}
@media (min-width: 660px) {
  .celulares { justify-content: center; overflow: visible; margin: 26px 0 0; padding: 0; gap: 24px; }
  .celular-item { flex: 0 1 300px; }
  .arraste { display: none; }
}
@media (min-width: 900px) {
  .hero .wrap { padding-top: 22px; padding-bottom: 44px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; }
  .hero-texto { text-align: left; }
  .hero-texto .selo, .hero-texto .sub { margin-left: 0; }
  .hero-texto .cta-area { text-align: left; }
  .hero-texto .btn-wa { margin: 0; }
  .hero-texto .micro { justify-content: flex-start; }
  .hero-zeca { order: 2; margin-top: 0; }
  .hero-zeca img { height: 440px; }
  .balao { right: auto; left: -10px; top: 10%; font-size: 20px; max-width: 150px; }
  .cta-area { margin-top: 24px; }
  .beneficios { grid-template-columns: repeat(4, 1fr); }
  .card { flex-direction: column; }
  .pilares { grid-template-columns: repeat(4, 1fr); }
  .secao { padding: 64px 0; }
  .barra-fixa { display: none; }
  .rodape { padding-bottom: 30px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .hero-zeca img { height: 170px; }
  .hero h1 { font-size: 31px; }
  .hero .sub { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
