/* =========================================================
   Ligue Baterias Multimarcas — site v3 (TESTE)
   Mesma marca do v2: amarelo #E1AF2F · preto #101010 · branco
   Montserrat 800 (títulos) + Inter 400/600 (texto)
   Princípio: uma mensagem e uma ação por tela.
   ========================================================= */
:root {
  --y: #E1AF2F;
  --y-strong: #CF9E1F;
  --y-soft: #FBF1D6;
  --k: #101010;
  --k-2: #2A2A2A;
  --w: #FFFFFF;
  --g: #F5F4F0;
  --line: #E4E1D8;
  --muted: #4B4B4B;
  --muted-on-dark: #C9D3DD;
  --radius: 14px;
  --font-head: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--k); background: var(--w); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 8vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 5.5vw, 2.1rem); }
h3 { font-size: 1.125rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--y); color: var(--k); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }

/* Cabeçalho: logo + menu simples */
.top { background: var(--k); color: var(--w); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: block; background: var(--w); border-radius: 10px; padding: 5px 10px; }
.brand img { width: 104px; height: auto; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .95rem; padding: .5rem .75rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: .5rem; background: var(--w); color: var(--k); border-radius: var(--radius); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); min-width: 220px; z-index: 20; }
.menu li a { display: block; padding: .6rem .75rem; text-decoration: none; border-radius: 8px; }
.menu li a:hover { background: var(--g); }

/* Botões */
.btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 56px; padding: .9rem 1.25rem; border-radius: 12px; border: 2px solid var(--k); background: var(--y); color: var(--k); font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; text-decoration: none; box-shadow: 4px 4px 0 var(--k); transition: transform .15s, box-shadow .15s; }
.btn:hover { background: var(--y-strong); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--k); }
.btn svg { width: 22px; height: 22px; flex: none; }
.dark .btn { border-color: var(--y); box-shadow: 4px 4px 0 rgba(255,255,255,.22); }
@media (min-width: 720px) { .btn { width: auto; display: inline-flex; } }
.alt-link { display: inline-block; margin-top: .9rem; font-size: 1rem; }
.dark .alt-link { color: var(--w); }

/* Seções */
.sec { padding: 56px 0; }
.sec--alt { background: var(--g); }
.dark { background: var(--k); color: var(--w); }
.lead { font-size: 1.125rem; color: var(--muted); }
.dark .lead { color: var(--muted-on-dark); }

/* Topo da home */
.hero { padding: 36px 0 48px; }
.tag { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--k); background: var(--y); padding: .25rem .65rem; border-radius: 999px; margin-bottom: 1rem; }
.hl { color: var(--y); }
.anchor { margin: 1.25rem 0 1.5rem; font-size: 1.0625rem; color: var(--muted-on-dark); }
.anchor strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--w); line-height: 1.1; }
.micro { margin: 1.1rem 0 0; font-size: .95rem; color: var(--muted-on-dark); }

/* Lista de provas */
.proofs { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; }
.proofs li { display: grid; grid-template-columns: 32px 1fr; gap: .75rem; align-items: start; }
.proofs svg { width: 28px; height: 28px; color: var(--k); background: var(--y); border-radius: 50%; padding: 5px; }
.proofs strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; }
.proofs span { color: var(--muted); }

/* Preços */
.prices { list-style: none; margin: 1.25rem 0; padding: 0; border-top: 1px solid var(--line); }
.prices li { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.prices .name { font-family: var(--font-head); font-weight: 800; }
.prices .val { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.prices .use { grid-column: 1 / -1; color: var(--muted); font-size: 1rem; }
.prices .flag { display: inline-block; margin-left: .4rem; font-family: var(--font-body); font-size: .75rem; font-weight: 600; background: var(--y-soft); border: 1px solid var(--y-strong); padding: 0 .45rem; border-radius: 999px; vertical-align: middle; }
.note { font-size: .95rem; color: var(--muted); }
.lines { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.lines a { font-weight: 600; }

/* Passos */
.steps { list-style: none; counter-reset: s; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: .75rem; align-items: center; font-size: 1.0625rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--k); color: var(--y); font-family: var(--font-head); font-weight: 800; }

/* Loja */
.shop { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 1.25rem 0; }
.shop img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.shop img.wide { aspect-ratio: 3 / 4; }
.facts { list-style: none; padding: 0; margin: 0 0 1rem; }
.facts li { padding: .35rem 0; }

/* FAQ em acordeão */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: .8rem; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: .5rem; }

/* Páginas internas */
.crumbs { font-size: .9rem; color: var(--muted-on-dark); margin: 0 0 .75rem; }
.crumbs a { color: var(--muted-on-dark); }
.page-hero { padding: 32px 0 40px; }
.article h2 { margin-top: 2rem; }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: .4rem; }
.figure { margin: 1.5rem 0; }
.figure img { border-radius: var(--radius); width: 100%; max-height: 380px; object-fit: cover; }
.cta-box { background: var(--k); color: var(--w); border-radius: var(--radius); padding: 24px; margin: 2rem 0 0; }
.cta-box p { color: var(--muted-on-dark); }
table.cmp { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .98rem; }
table.cmp th, table.cmp td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp th { font-family: var(--font-head); }

/* Rodapé */
.foot { background: var(--k); color: var(--muted-on-dark); padding: 40px 0 28px; font-size: .95rem; border-top: 4px solid var(--y); }
.foot a { color: var(--w); }
.foot .cols { display: grid; gap: 1.5rem; }
.foot h3 { color: var(--w); font-size: 1rem; margin-bottom: .5rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: .2rem 0; }
.foot .legal { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Recursos visuais e movimento (v3). Tudo com fallback: sem JS ou com
   "reduzir movimento" o conteúdo aparece parado e completo.
   ========================================================= */

/* Barra de progresso de leitura */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; }

/* Aparecer ao rolar (só quando o JS está ativo) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Topo: status ao vivo + bateria carregando */
.tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: 1rem; }
.tagrow .tag { margin-bottom: 0; }
.live { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 600; color: var(--w); }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.8s infinite; }
.live.off i { background: #94A3B8; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.charge { position: absolute; right: -14px; top: 20px; width: 170px; height: auto; opacity: .22; z-index: 0; }
.charge .cell { fill: var(--y); opacity: .15; animation: cell 2.4s infinite; }
.charge .cell:nth-of-type(2) { animation-delay: .4s; }
.charge .cell:nth-of-type(3) { animation-delay: .8s; }
.charge .cell:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes cell { 0%, 15% { opacity: .15; } 35%, 70% { opacity: 1; } 100% { opacity: .15; } }
.charge .bolt { fill: var(--w); animation: zap 2.4s infinite; transform-origin: center; }
@keyframes zap { 0%, 60%, 100% { opacity: .5; } 70% { opacity: 1; } }
@media (min-width: 720px) { .charge { width: 240px; right: max(-30px, calc((100% - 760px) / 2 - 230px)); top: 40px; opacity: .3; } }
@media (max-width: 1100px) and (min-width: 720px) { .hero h1, .hero .lead { max-width: 480px; } }

/* Botão principal respira (chama atenção sem gritar) */
.btn.pulse { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 4px 4px 0 var(--k), 0 0 0 8px rgba(225,175,47,.25); } }
.dark .btn.pulse { animation-name: breathe-dark; }
@keyframes breathe-dark { 50% { box-shadow: 4px 4px 0 rgba(255,255,255,.22), 0 0 0 8px rgba(225,175,47,.3); } }

/* Provas: ícone anima ao entrar */
.js .proofs .rv.in svg { animation: pop .5s .15s both; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Preços com foto recortada */
.prices li.ph { grid-template-columns: 64px 1fr auto; align-items: center; }
.prices li.ph picture { display: contents; }
.prices li.ph .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; grid-column: 1; grid-row: 1 / span 2; }
.prices li.ph .name { grid-column: 2; grid-row: 1; align-self: end; }
.prices li.ph .val { grid-column: 3; grid-row: 1; align-self: end; }
.prices li.ph .use { grid-column: 2 / -1; grid-row: 2; align-self: start; }
.prices li { transition: background .2s; }
.prices li:hover { background: var(--y-soft); }
.prices li.ph { padding-left: .5rem; padding-right: .5rem; }
.prices li.best { background: var(--y-soft); border-radius: 12px; }

/* Formulário curto que monta a mensagem do WhatsApp */
.quick { display: grid; gap: .75rem; margin: 1.25rem 0 0; }
.quick label { font-size: .875rem; font-weight: 600; }
.quick input { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: var(--w); transition: border-color .2s, box-shadow .2s; }
.quick input:focus { outline: none; border-color: var(--y-strong); box-shadow: 0 0 0 4px rgba(225,175,47,.25); }

/* Atalhos das linhas com ícone */
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 1.25rem 0; padding: 0; }
.chips a { display: grid; justify-items: center; gap: .4rem; padding: 1rem .5rem; border: 2px solid var(--k); border-radius: 14px; text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--w); transition: transform .2s, box-shadow .2s, background .2s; }
.chips a:hover { background: var(--y); transform: translateY(-3px); box-shadow: 0 6px 0 var(--k); }
.chips svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.chips a:hover svg { transform: scale(1.15) rotate(-4deg); }
@media (min-width: 720px) { .chips { grid-template-columns: repeat(4, 1fr); } }

/* Passos: linha que se desenha */
.steps li { position: relative; }
.js .steps li::after { content: ""; position: absolute; left: 19px; top: 44px; width: 2px; height: calc(100% - 4px + 1rem - 40px); background: var(--y); transform: scaleY(0); transform-origin: top; transition: transform .6s .3s; }
.js .steps li.in::after { transform: scaleY(1); }
.steps li:last-child::after { display: none; }

/* Galeria da loja: rolagem lateral com encaixe */
.gal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 14px; margin: 1.25rem -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal::-webkit-scrollbar { display: none; }
.gal figure { flex: 0 0 72%; max-width: 320px; margin: 0; scroll-snap-align: center; }
.gal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); transition: transform .4s; }
.gal figure:hover img { transform: scale(1.03); }
.dots { display: flex; justify-content: center; gap: 8px; margin: -4px 0 1rem; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.dots i.on { background: var(--k); width: 22px; border-radius: 99px; }

/* FAQ: abre suave */
.faq details[open] p { animation: drop .3s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Barra fixa no celular: aparece depois do topo, some no CTA final */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 2px solid var(--line); box-shadow: 0 -8px 20px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .35s ease; }
.sticky.show { transform: none; }
.sticky .btn { min-height: 50px; padding: .6rem 1rem; box-shadow: 3px 3px 0 var(--k); }
.sticky .tel { flex: 0 0 56px; width: 56px; padding: 0; background: var(--k); color: var(--y); }
.sticky .tel svg { width: 24px; height: 24px; }
@media (min-width: 720px) { .sticky { display: none; } }
body { padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .charge .cell, .charge .bolt, .live i, .btn.pulse, .faq details[open] p, .js .proofs .rv.in svg { animation: none; }
  .js .steps li::after { transform: scaleY(1); transition: none; }
  .sticky { transition: none; }
}
