/* =====================================================================
   Balanças.com — "Linha Verde" (site multipágina)
   css/base.css — usado em TODAS as páginas.
   Tokens, tipografia, utilitários, botões, etiquetas, cabeçalho, menu,
   faixa de aviso, moldura das seções, faixas (ticker), ficha de produto,
   rodapé, botões flutuantes, transições e estados iniciais das animações.
   Um único ângulo para tudo: −12° (a barra "/" das faixas verdes).
   Documentação: COMPONENTES.md
   ===================================================================== */

:root {
  --ink: #0A0A0A;
  --ink-2: #131313;
  --ink-3: #1B1B1A;
  --paper: #F4F4F0;
  --paper-2: #EAEAE4;
  --paper-3: #DCDCD5;
  --white: #FFFFFF;
  --green: #019F42;
  --green-deep: #007A35;   /* links/texto verde sobre fundo claro (5,4:1) */
  --volt: #C6FF3D;         /* só em etiquetas pequenas (tags) */
  --line: #494949;         /* linhas técnicas (fio) */
  --grey: #8A8A85;         /* texto secundário sobre preto (5,7:1) */
  --muted: #55554F;        /* texto secundário sobre claro (6,9:1) */
  --body-dark: #CFCFC9;    /* parágrafo sobre preto */
  --body-paper: #2A2A28;   /* parágrafo sobre off-white */

  --tan: 0.2126;           /* tan(12°) */
  --slash: -12deg;

  --f-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --hdr: 72px;
  --gut: clamp(16px, 4.2vw, 64px);
  --max: 1520px;
  --tab: 56px;
  --sec-pad: clamp(88px, 10vw, 160px);

  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 760px) {
  :root { --hdr: 62px; --tab: 44px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--ink); }

:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
.on-paper :focus-visible, .on-green :focus-visible { outline-color: var(--ink); }
.on-paper .on-dark :focus-visible, .on-green .on-dark :focus-visible { outline-color: var(--volt); }
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 18px; background: var(--volt); color: var(--ink);
  font: 600 14px/1 var(--f-text); text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nobr { white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* ---------- Layout e temas ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.on-dark  { background: var(--ink);   color: var(--paper); --bg: var(--ink); }
.on-paper { background: var(--paper); color: var(--ink);   --bg: var(--paper); }
.on-green { background: var(--green); color: var(--ink);   --bg: var(--green); }

/* ---------- Tipografia ---------- */
.mono {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.5;
  letter-spacing: .02em; text-transform: uppercase; font-weight: 400;
}
.kicker {
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 26px; height: 10px; flex: none;
  background: var(--green); transform: skewX(var(--slash));
}
.on-green .kicker::before { background: var(--ink); }

.h1, .h2 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.005em; text-wrap: balance;
}
/* Títulos em 2+ linhas: entrelinha ≥ 1,05 para os acentos (Ã, Õ, É, Ç) não tocarem a linha de cima */
.h2 { font-size: clamp(50px, 7.2vw, 128px); line-height: 1.05; }
.h2--md { font-size: clamp(46px, 5.8vw, 100px); }
.h2--sm { font-size: clamp(40px, 4.6vw, 76px); }
.h3 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(30px, 3.2vw, 48px); line-height: 1.06; text-transform: uppercase;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 34em; }
.on-dark .lead { color: var(--body-dark); }
.on-paper .lead { color: var(--body-paper); }
.on-green .lead { color: var(--ink); }
.txt-green { color: var(--green); }
.on-paper .txt-green { color: var(--green-deep); }

/* Etiquetas inclinadas */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px 3px; position: relative; isolation: isolate;
  font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap;
}
.tag::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--slash)); }
.tag--volt  { color: var(--ink); }   .tag--volt::before  { background: var(--volt); }
.tag--green { color: var(--ink); }   .tag--green::before { background: var(--green); }
.tag--ink   { color: var(--paper); } .tag--ink::before   { background: var(--ink); }
.tag--line  { color: inherit; }      .tag--line::before  { border: 1px solid currentColor; }

/* Espaçamentos utilitários (margem superior/inferior) */
.mt-1 { margin-top: 16px !important; } .mt-2 { margin-top: 24px !important; } .mt-3 { margin-top: 32px !important; }
.mt-4 { margin-top: clamp(36px, 4vw, 48px) !important; } .mt-5 { margin-top: clamp(64px, 7vw, 112px) !important; }
.mb-1 { margin-bottom: 16px !important; } .mb-2 { margin-bottom: 26px !important; } .mb-3 { margin-bottom: 40px !important; }

/* Nota com fio verde à esquerda (avisos curtos, ex.: Reforma Tributária) */
.note { padding-left: 16px; border-left: 2px solid var(--green); font-size: 15px; line-height: 1.55; max-width: 46em; }
.on-dark .note { color: var(--body-dark); }
.on-dark .note strong { color: var(--paper); }
.on-paper .note { color: var(--body-paper); }
.on-paper .note strong { color: var(--ink); }
.on-green .note { border-left-color: var(--ink); }

/* Faixa inclinada decorativa (barra "/") */
.slash { display: inline-block; width: .5em; height: .82em; background: var(--green); transform: skewX(var(--slash)); vertical-align: -.06em; }
.on-green .slash { background: var(--ink); }

/* Texto que "estica" no hover (eixo de largura da Archivo 100→125).
   O ::before invisível reserva a largura máxima: nada ao redor se mexe. */
.st { display: inline-flex; flex-direction: column; align-items: flex-start; vertical-align: top; transition: font-stretch .55s var(--ease); }
.st::before {
  content: attr(data-t); content: attr(data-t) / "";
  display: none; height: 0; overflow: hidden; visibility: hidden; font-stretch: 100%; white-space: nowrap; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .st::before { display: block; font-stretch: 125%; }
  a:hover .st, button:hover .st, a:focus-visible .st, button:focus-visible .st { font-stretch: 125%; }
}

/* Marcas de corte (gráfica) */
.crop { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2; color: var(--line); }
.crop::before, .crop::after { content: ""; position: absolute; background: currentColor; }
.crop::before { width: 100%; height: 1px; }
.crop::after  { width: 1px; height: 100%; }
.crop--tl { top: calc(var(--hdr) + 16px); left: 16px; }
.crop--tl::before, .crop--tl::after { top: 0; left: 0; }
.crop--br { bottom: 16px; right: 16px; }
.crop--br::before, .crop--br::after { bottom: 0; right: 0; }
/* Nas páginas dedicadas, até 860px a marca do canto cairia sobre a trilha "Início / …" */
@media (max-width: 860px) { body:not(.pg-inicio) .phero .crop--tl { display: none; } }

/* Trilha de navegação (breadcrumb) — sobre fundo escuro */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--grey); margin-bottom: clamp(18px, 3vh, 30px); }
.crumbs a {
  --u: var(--line);
  display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px;
  color: var(--paper); text-decoration: none;
  background: linear-gradient(var(--u), var(--u)) 0 calc(50% + 1em) / 100% 1px no-repeat;
}
.crumbs a:hover { --u: var(--green); color: var(--green); }

/* ---------- Botões: pontas cortadas em −12° ---------- */
.btn {
  --b-bg: var(--green); --b-fg: var(--ink); --b-hv: var(--ink); --b-hfg: var(--paper); --b-bd: transparent;
  --bh: 54px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 calc(26px + var(--bh) * var(--tan) / 2);
  border: 0; background: none; color: var(--b-fg);
  font: 600 14px/1.1 var(--f-text); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; max-width: 100%;
  transition: color .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before, .btn::after {
  content: ""; position: absolute; inset: 0 calc(var(--bh) * var(--tan) / 2); z-index: -1;
  transform: skewX(var(--slash));
}
.btn::before { background: var(--b-bg); box-shadow: inset 0 0 0 1.5px var(--b-bd); }
.btn::after {
  background: var(--b-hv);
  transform: skewX(var(--slash)) scaleX(0); transform-origin: 100% 50%;
  transition: transform .55s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: skewX(var(--slash)) scaleX(1); transform-origin: 0 50%; }
.btn:hover, .btn:focus-visible { color: var(--b-hfg); }
.btn:focus-visible { outline-offset: 4px; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; padding-inline: calc(18px + var(--bh) * var(--tan) / 2); }
  .btn .st::before { white-space: normal; }
}
.btn .i { width: 20px; height: 20px; }
.btn--sm { --bh: 44px; font-size: 12.5px; padding-inline: calc(18px + var(--bh) * var(--tan) / 2); gap: 9px; }
.btn--sm .i { width: 17px; height: 17px; }
.btn--lg { --bh: 60px; font-size: 15px; }
.btn--green { --b-bg: var(--green); --b-fg: var(--ink); --b-hv: var(--paper); --b-hfg: var(--ink); }
.on-paper .btn--green, .on-green .btn--green { --b-hv: var(--ink); --b-hfg: var(--paper); }
.btn--ink   { --b-bg: var(--ink); --b-fg: var(--paper); --b-hv: var(--green); --b-hfg: var(--ink); }
.on-green .btn--ink { --b-hv: var(--paper); --b-hfg: var(--ink); }
.btn--line  { --b-bg: transparent; --b-bd: currentColor; --b-fg: var(--paper); --b-hv: var(--paper); --b-hfg: var(--ink); }
.on-paper .btn--line, .on-green .btn--line { --b-fg: var(--ink); --b-hv: var(--ink); --b-hfg: var(--paper); }
.on-paper .on-dark .btn--line, .on-green .on-dark .btn--line { --b-fg: var(--paper); --b-hv: var(--paper); --b-hfg: var(--ink); }
.on-paper .on-dark .btn--green { --b-hv: var(--paper); --b-hfg: var(--ink); }
/* Grupo de botões: o recuo de −6px alinha a ponta inclinada com o texto acima */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 10px; margin-left: -6px; }

.link-u {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  font: 600 14px/1.2 var(--f-text); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + .95em) / 100% 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-u:hover { background-size: 30% 1.5px; }
.link-out {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 1em) / 100% 1px no-repeat;
}
.link-out .i { width: 13px; height: 13px; }
.on-paper .link-out { color: var(--green-deep); }
.on-dark .link-out { color: var(--green); }
.on-green .link-out { color: var(--ink); }

/* Chips de especificação */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font: 400 10.5px/1 var(--f-mono); letter-spacing: .03em; text-transform: uppercase;
  padding: 7px 9px 6px; border: 1px solid var(--line); color: inherit;
}
.on-paper .chips li { border-color: #B9B9B2; }
.on-green .chips li { border-color: rgba(10,10,10,.45); }
.chips--dark li { border-color: var(--line); color: var(--paper); background: var(--ink); }
.on-paper .on-dark .chips li { border-color: var(--line); }

/* Status "aberto agora" (preenchido pelo core.js: data-bc="status") */
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .03em; text-transform: uppercase; }
.status::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--grey); transform: skewX(var(--slash)); }
.status.is-aberto::before { background: var(--green); box-shadow: 0 0 0 3px rgba(1,159,66,.25); }
.status.is-fechado::before { background: #B3261E; }
@media (prefers-reduced-motion: no-preference) {
  .status.is-aberto::before { animation: lv-pulse 2.2s var(--ease) infinite; }
}
@keyframes lv-pulse { 50% { box-shadow: 0 0 0 6px rgba(1,159,66,0); } }

/* =====================================================================
   CABEÇALHO
   ===================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr);
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid #1E1E1D;
}
.hdr__in {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: 24px;
}
.hdr__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green);
  transform-origin: 0 50%; transform: scaleX(0);
}
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--paper); flex: none; }
.logo__icon { width: 38px; height: 38px; color: var(--paper); transition: transform .9s var(--ease); }
.logo:hover .logo__icon { transform: rotate(180deg); }
.logo__txt { display: flex; flex-direction: column; gap: 3px; }
.logo__name { font: 900 23px/0.85 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.logo__dot { color: var(--green); }
.logo__tag { font: 400 8.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--grey); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__a {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 12px;
  font: 500 13px/1 var(--f-text); letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  color: #D7D7D2;
}
.nav__a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease);
}
.nav__a:hover, .nav__a[aria-current] { color: var(--paper); }
.nav__a:hover::after, .nav__a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__a[aria-current]::after { height: 3px; }
.nav__a .st { align-items: center; }
.hdr__wa { margin-left: 8px; }

.burger {
  display: none; position: relative; width: 48px; height: 48px; margin-left: auto; margin-right: -8px;
  border: 0; background: none; color: var(--paper);
}
.burger__l {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger__l:nth-child(1) { top: 19px; }
.burger__l:nth-child(2) { top: 27px; right: 18px; }
.burger[aria-expanded="true"] .burger__l:nth-child(1) { top: 23px; transform: rotate(-45deg); }
.burger[aria-expanded="true"] .burger__l:nth-child(2) { top: 23px; right: 12px; transform: rotate(45deg); }

@media (max-width: 1240px) {
  .nav__a { padding: 0 8px; font-size: 12px; }
  .nav__a::after { left: 8px; right: 8px; }
  .hdr__in { gap: 16px; }
}
@media (max-width: 1080px) {
  .nav, .hdr__wa { display: none; }
  .burger { display: block; }
}
@media (max-width: 380px) {
  .logo__tag { letter-spacing: .05em; }
}

/* Menu mobile (tela cheia) */
.menu {
  position: fixed; inset: var(--hdr) 0 0; z-index: 99; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 24px var(--gut) calc(28px + env(safe-area-inset-bottom));
  overflow: hidden auto; overscroll-behavior: contain;
}
.menu__band {
  position: absolute; top: 0; bottom: 0; right: -22%; width: 36%;
  background: var(--green); transform: skewX(var(--slash)); pointer-events: none;
}
.menu__nav, .menu__foot { position: relative; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 5px 0; text-decoration: none;
  font: 900 clamp(42px, 11.5vw, 80px)/.95 var(--f-display); text-transform: uppercase;
}
.menu__list a .mono { color: var(--grey); font-size: 11px; transform: translateY(-1.6em); }
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a[aria-current] { color: var(--green); }
.menu__list a[aria-current] .mono { color: var(--green); }
.menu__foot { display: grid; gap: 14px; justify-items: start; z-index: 1; }
.menu__info { color: var(--paper); background: var(--ink); padding: 4px 8px; margin-left: -8px; }
/* O botão verde não se funde com a faixa verde: contorno preto em volta do corte */
.menu__foot .btn--green::before { box-shadow: 0 0 0 3px var(--ink); }
@media (max-width: 400px) { .menu__band { right: -30%; width: 30%; } }
@media (max-height: 640px) {
  .menu__list a { font-size: clamp(34px, 9vw, 56px); }
}

/* =====================================================================
   FAIXA DE AVISO (painel → Empresa → Aviso no site; criada pelo core.js)
   Logo abaixo do cabeçalho fixo, antes do hero. O hero sobe por baixo
   da faixa (margem −hdr): continua com a mesma altura, só desce o
   tanto da faixa. Verde = informação; volt (amarelo) = alerta.
   ===================================================================== */
.lv-aviso {
  position: relative; z-index: 3; margin-top: var(--hdr);
  background: var(--green); color: var(--ink);
  border-bottom: 1px solid rgba(10,10,10,.28);
}
.lv-aviso + .phero, .lv-aviso + .pn-hero, .lv-aviso + .hv2-hero { margin-top: calc(-1 * var(--hdr)); }
.lv-aviso--alerta { background: var(--volt); }
.lv-aviso__in {
  max-width: var(--max); margin-inline: auto; padding: 9px var(--gut);
  display: flex; align-items: center; gap: 10px 16px; min-height: 54px;
}
.lv-aviso__txt { flex: 1; min-width: 0; font: 600 15px/1.45 var(--f-text); letter-spacing: .005em; text-wrap: pretty; overflow-wrap: anywhere; }
/* Etiqueta "AVISO" em paralelogramo (−12°), na mesma linha do texto */
.lv-aviso__tag {
  position: relative; isolation: isolate; display: inline-block; margin: 0 14px 0 4px; padding: 5px 11px 4px;
  font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper);
  vertical-align: 1px;
}
.lv-aviso__tag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: skewX(var(--slash)); }
.lv-aviso--alerta .lv-aviso__tag { color: var(--volt); }
.lv-aviso__x {
  position: relative; isolation: isolate; flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; margin: -4px -10px -4px 0; padding: 0; border: 0; background: none; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.lv-aviso__x::before {
  content: ""; position: absolute; inset: 6px 4px; z-index: -1; background: rgba(10,10,10,.14);
  transform: skewX(var(--slash)) scaleX(0); transition: transform .4s var(--ease);
}
.lv-aviso__x:hover::before, .lv-aviso__x:focus-visible::before { transform: skewX(var(--slash)) scaleX(1); }
.lv-aviso__x .i { width: 20px; height: 20px; }
.lv-aviso :focus-visible { outline-color: var(--ink); outline-offset: -2px; }
@media (max-width: 600px) {
  .lv-aviso__in { padding-block: 8px; gap: 8px; align-items: flex-start; }
  .lv-aviso__txt { font-size: 14px; line-height: 1.5; padding-top: 3px; }
  .lv-aviso__tag { margin-right: 10px; }
  .lv-aviso__x { margin-top: -2px; }
}
/* Entrada: a faixa corta a tela na diagonal (sem mexer na altura da página) */
@media (prefers-reduced-motion: no-preference) {
  .lv-aviso { animation: lv-aviso-in .7s var(--ease) backwards; }
}
@keyframes lv-aviso-in {
  from { clip-path: polygon(0 0, 0 0, -60px 100%, -60px 100%); }
  to   { clip-path: polygon(0 0, calc(100% + 60px) 0, 100% 100%, -60px 100%); }
}

/* =====================================================================
   SEÇÕES: aba numerada e corte em −12° na emenda
   ===================================================================== */
.sec { position: relative; padding-block: var(--sec-pad); scroll-margin-top: calc(var(--hdr) + var(--tab)); overflow-x: clip; }
.sec--first { scroll-margin-top: var(--hdr); padding-top: clamp(84px, 9vw, 136px); }
.sec--tight { padding-block: clamp(64px, 7vw, 112px); }
.sec__tab {
  position: absolute; left: 0; top: calc(var(--tab) * -1 + 1px); height: var(--tab); z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 0 calc(var(--tab) * var(--tan) + 22px) 0 var(--gut);
  background: var(--bg); color: inherit;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--tab) * var(--tan)) 100%, 0 100%);
  font: 500 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  pointer-events: none;
}
.sec__tab b { font: 900 30px/1 var(--f-display); letter-spacing: 0; }
.on-dark .sec__tab b { color: var(--green); }
/* Primeira seção logo abaixo de uma faixa: a aba fica dentro da seção, em preto */
.sec--first .sec__tab { top: 0; background: var(--ink); color: var(--paper); }
.sec--first .sec__tab b { color: var(--green); }
@media (max-width: 760px) { .sec__tab b { font-size: 24px; } .sec__tab { font-size: 10px; } }

.sec__head { display: grid; gap: 28px; margin-bottom: clamp(44px, 5.5vw, 88px); }
.sec__head--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 5vw, 96px); }
.sec__intro { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 34em; }
.on-dark .sec__intro { color: var(--body-dark); }
.on-paper .sec__intro { color: var(--body-paper); }
.on-green .sec__intro { color: var(--ink); }
@media (min-width: 1600px) { .sec__head--split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
@media (max-width: 860px) { .sec__head--split { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Palavras gigantes que atravessam a seção (decorativas) */
.giant {
  position: absolute; left: 0; right: 0; pointer-events: none; user-select: none; z-index: 0;
  font: 900 clamp(120px, 24vw, 420px)/.8 var(--f-display); text-transform: uppercase; white-space: nowrap;
  letter-spacing: -.01em;
}
.giant--outline { color: transparent; -webkit-text-stroke: 1px #2E2E2D; }
.on-paper .giant--outline { -webkit-text-stroke-color: #D2D2CA; }
.giant--solid { color: #151514; }
.giant--top { top: clamp(60px, 8vw, 120px); }
.giant--mid { top: 40%; }
.giant--bottom { bottom: clamp(20px, 3vw, 48px); }
.on-paper .giant--solid { color: var(--paper-2); }
/* Celular: a palavra em contorno sobe para o respiro da seção, acima do kicker e do título */
@media (max-width: 640px) {
  .giant--outline { font-size: clamp(76px, 24vw, 110px); }
  .giant--outline.giant--top { top: 2px; }
}
.sec > .wrap { position: relative; z-index: 1; }

/* =====================================================================
   FAIXA (ticker) — inclina com a velocidade da rolagem
   ===================================================================== */
.ticker {
  --dur: 34s;
  position: relative; overflow: hidden; display: flex; align-items: center;
  background: var(--green); color: var(--ink); border-block: 1px solid var(--ink);
}
.ticker__skew { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__list { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ticker__list li {
  display: flex; align-items: center; white-space: nowrap;
  font: 900 clamp(26px, 3.2vw, 46px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em;
  padding: 15px 0 12px;
}
.ticker__list li::after {
  content: ""; width: .42em; height: .42em; margin: 0 .7em; background: currentColor;
  transform: skewX(var(--slash));
}
.ticker__btn {
  flex: none; align-self: stretch; width: 52px; display: grid; place-items: center;
  border: 0; border-left: 1px solid rgba(10,10,10,.35); background: inherit; color: inherit;
  position: relative; z-index: 2;
}
.ticker__btn .i { width: 16px; height: 16px; }
.ticker__btn:hover { background: var(--ink); color: var(--green); }
.ticker :focus-visible { outline-color: var(--ink); outline-offset: -4px; }
/* Variante preta (marcas) */
.ticker--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); --dur: 60s; }
.ticker--ink .ticker__list li { font-size: clamp(40px, 5.4vw, 84px); padding: 18px 0 14px; }
.ticker--ink .ticker__list li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--paper); }
.ticker--ink .ticker__list li::after { background: var(--green); width: .3em; height: .3em; }
.ticker--ink .ticker__btn { border-left-color: #2B2B2A; }
.ticker--ink .ticker__btn:hover { background: var(--green); color: var(--ink); }
.ticker--ink :focus-visible { outline-color: var(--volt); }

@media (prefers-reduced-motion: no-preference) {
  .ticker:not(.is-gsap) .ticker__track { animation: lv-marquee var(--dur) linear infinite; }
  .ticker:not(.is-gsap):hover .ticker__track,
  .ticker.is-paused .ticker__track { animation-play-state: paused; }
}
@keyframes lv-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__btn { display: none; } }

/* =====================================================================
   FICHA DE PRODUTO (LV.cardProduto) e grade de produtos (.pgrid)
   ===================================================================== */
.spec {
  --cat: var(--green);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink);
  border: 1px solid #CFCFC8; min-width: 0;
}
.spec__tab {
  position: absolute; top: -1px; right: -1px; z-index: 2;
  padding: 8px 14px 7px calc(14px + 30px * var(--tan));
  background: var(--cat); color: var(--ink);
  font: 500 10px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  clip-path: polygon(calc(26px * var(--tan)) 0, 100% 0, 100% 100%, 0 100%);
}
.spec__head {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px 0;
  font: 400 10px/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  padding-right: 120px;
}
.spec__fig {
  position: relative; margin: 10px 16px 0; aspect-ratio: 16 / 10;
  display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10,10,10,.07) 1px, transparent 1px) 0 0 / 20% 100%,
    linear-gradient(rgba(10,10,10,.07) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--white);
  box-shadow: inset 0 0 0 1px #E1E1DA;
}
.spec__fig::before, .spec__fig::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--ink); pointer-events: none;
}
.spec__fig::before { top: 6px; left: 6px; border-top-width: 1px; border-left-width: 1px; }
.spec__fig::after { bottom: 6px; right: 6px; border-bottom-width: 1px; border-right-width: 1px; }
.spec__fig img {
  position: absolute; inset: 0; margin: auto;
  width: 82%; height: 84%; object-fit: contain;
  transition: transform .8s var(--ease-out);
}
.spec__fig--photo img { width: auto; height: auto; max-width: 86%; max-height: 80%; background: #fff; padding: 6px; box-shadow: 0 0 0 1px #D2D2CB; }
.spec:hover .spec__fig img { transform: scale(1.05) rotate(-1.5deg); }
.spec__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 16px 0; }
.spec__brand { font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); }
.spec__model {
  margin-top: 8px;
  font: 900 clamp(32px, 2.8vw, 44px)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: 0;
  overflow-wrap: break-word; text-wrap: balance;
}
.spec__sub { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #34342F; }
.spec__table { margin-top: 14px; border-top: 1px solid var(--ink); }
.spec__table div {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px;
  padding: 7px 0 6px; border-bottom: 1px dashed #BDBDB6;
  font: 400 10px/1.4 var(--f-mono); letter-spacing: .02em; text-transform: uppercase;
}
.spec__table dt { color: var(--muted); }
.spec__table dd { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.spec__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px 5px;
  font: 500 10px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid currentColor;
}
.badge::before { content: ""; width: 7px; height: 7px; flex: none; background: currentColor; transform: skewX(var(--slash)); }
.badge--disponivel { color: var(--ink); background: var(--green); border-color: var(--green); }
.badge--consulte { color: #3D3D39; border-color: #A9A9A2; }
.badge--encomenda { color: var(--ink); }
.badge--esgotado { color: #5E5E58; border-style: dashed; }
.badge--semi { color: var(--ink); background: var(--volt); border-color: var(--volt); }
.badge--semi::before { display: none; }
.spec__foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 6px; align-items: center;
  margin-top: 16px; padding: 14px 16px 16px; border-top: 1px solid #E2E2DC;
}
.spec__price {
  grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font: 400 10px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.spec__price b { font: 900 24px/1 var(--f-display); letter-spacing: .01em; color: var(--ink); text-transform: uppercase; }
.spec__foot .btn { --bh: 44px; font-size: 11.5px; padding-inline: calc(8px + 44px * var(--tan) / 2); gap: 7px; width: 100%; }
.spec__foot .btn .i { width: 15px; height: 15px; }
.spec .btn--line { --b-fg: var(--ink); --b-hv: var(--ink); --b-hfg: var(--paper); }
.spec .btn--green { --b-hv: var(--ink); --b-hfg: var(--paper); }
.spec :focus-visible { outline-color: var(--ink); }
.spec[data-cat="automacao"] { --cat: var(--volt); }
.spec[data-cat="informatica"] { --cat: #D9D9D2; }
/* Variante compacta: sem nº, resumo e tabela */
.spec--compacta .spec__head, .spec--compacta .spec__sub, .spec--compacta .spec__table { display: none; }
.spec--compacta .spec__fig { margin-top: 30px; }
.spec--compacta .spec__price:not(.has-preco) { display: none; }
/* Variante escura: corpo preto, palco claro preservado (produtos brancos continuam legíveis) */
.spec--escura { background: var(--ink-2); color: var(--paper); border-color: #2A2A29; }
.spec--escura .spec__head, .spec--escura .spec__price, .spec--escura .spec__table dt { color: var(--grey); }
.spec--escura .spec__brand { color: var(--green); }
.spec--escura .spec__sub { color: var(--body-dark); }
.spec--escura .spec__table { border-top-color: var(--line); }
.spec--escura .spec__table div { border-bottom-color: #33332F; }
.spec--escura .spec__table dd, .spec--escura .spec__price b { color: var(--paper); }
.spec--escura .spec__fig { box-shadow: none; }
.spec--escura .spec__foot { border-top-color: #2A2A29; }
.spec--escura .badge--consulte { color: #C9C9C3; border-color: #5A5A55; }
.spec--escura .btn--line { --b-fg: var(--paper); --b-hv: var(--paper); --b-hfg: var(--ink); }
.spec--escura .btn--green { --b-hv: var(--paper); --b-hfg: var(--ink); }
.spec--escura :focus-visible { outline-color: var(--volt); }
@media (max-width: 760px) {
  .spec__table div, .badge, .spec__tab { font-size: 11.5px; }
}

/* Grade de fichas: auto-fill no desktop, 2 colunas compactas no celular */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 292px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .pgrid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pgrid--4, .pgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pgrid__i { display: flex; min-width: 0; }
.pgrid__i > .spec { flex: 1; }
@media (max-width: 639px) {
  .pgrid, .pgrid--4, .pgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pgrid .spec__head, .pgrid .spec__sub, .pgrid .spec__table { display: none; }
  .pgrid .spec__price:not(.has-preco) { display: none; }
  .pgrid .spec__tab {
    padding: 5px 8px 4px calc(8px + 16px * var(--tan)); font-size: 9px; letter-spacing: .04em;
    clip-path: polygon(calc(14px * var(--tan)) 0, 100% 0, 100% 100%, 0 100%);
  }
  .pgrid .spec__fig { margin: 24px 8px 0; aspect-ratio: 4 / 3; }
  .pgrid .spec__fig::before, .pgrid .spec__fig::after { width: 8px; height: 8px; }
  .pgrid .spec__fig img { width: 88%; height: 86%; }
  .pgrid .spec__body { padding: 10px 10px 0; }
  .pgrid .spec__brand { font-size: 9.5px; }
  .pgrid .spec__model { margin-top: 5px; font-size: clamp(20px, 5.6vw, 26px); line-height: 1.06; }
  .pgrid .spec__badges { padding-top: 10px; }
  .pgrid .badge { font-size: 9.5px; line-height: 1.2; letter-spacing: .02em; padding: 5px 6px 4px; gap: 5px; }
  .pgrid .badge::before { width: 6px; height: 6px; }
  .pgrid .spec__foot { grid-template-columns: minmax(0, 1fr) 48px; gap: 8px 4px; margin-top: 10px; padding: 10px 8px; }
  .pgrid .spec__price b { font-size: 20px; }
  .pgrid .spec__foot .btn { font-size: 11px; letter-spacing: .03em; padding-inline: calc(5px + 44px * var(--tan) / 2); }
  .pgrid .spec__foot .btn--green { padding: 0; }
  .pgrid .spec__foot .btn--green .st { display: none; }   /* nome acessível vem do aria-label */
  .pgrid .spec__foot .btn--green .i { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
  .pgrid .spec__foot .btn--line { letter-spacing: 0; font-size: 10px; padding-inline: calc(3px + 44px * var(--tan) / 2); }
  .pgrid .badge { font-size: 9px; white-space: normal; letter-spacing: 0; }
}

/* =====================================================================
   RODAPÉ — wordmark gigante "BALANÇAS.COM"
   ===================================================================== */
.ftr { position: relative; background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 calc(92px + env(safe-area-inset-bottom)); border-top: 1px solid #1E1E1D; overflow: clip; }
.ftr::before {
  content: ""; position: absolute; top: 0; left: -5%; width: 34%; height: 6px; background: var(--green);
  transform: skewX(var(--slash));
}
.ftr > .wrap { container-type: inline-size; }
.ftr__giant {
  font: 900 clamp(58px, 15.4vw, 236px)/.8 var(--f-display); text-transform: uppercase; letter-spacing: -.005em;
  white-space: nowrap; margin-bottom: clamp(40px, 5vw, 72px); color: var(--paper);
}
@supports (font-size: 1cqw) { .ftr__giant { font-size: 17.4cqw; } }
.ftr__giant span { color: var(--green); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.2fr; gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.ftr__phrase { margin-top: 18px; color: var(--grey); max-width: 18em; }
.ftr__h { color: var(--grey); margin-bottom: 14px; }
.ftr__col ul { display: grid; gap: 0; }
.ftr__col a { display: block; width: fit-content; max-width: 100%; padding-block: 11px; line-height: 1.5; text-decoration: none; color: #D7D7D2; font-size: 15px; overflow-wrap: anywhere; }
.ftr__col a[aria-current] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ftr__ref { color: var(--grey); }
.ftr__col a:hover { color: var(--green); }
.ftr__status { margin: -4px 0 16px; color: var(--paper); }
.ftr__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #262625; color: var(--grey);
}
/* "Área restrita": entrada discreta do painel da equipe */
.ftr__adm { display: inline-flex; align-items: center; min-height: 32px; margin-block: -6px; color: var(--grey); text-decoration: none; }
.ftr__adm:hover, .ftr__adm:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.hours { display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.hours li span:first-child { color: var(--grey); }
.on-paper .hours li span:first-child { color: var(--muted); }
.hours--ftr li { flex-direction: column; gap: 0; }
@media (max-width: 980px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ftr__sep { display: none; }
  .ftr__legal p > .nobr { display: block; }
}

/* =====================================================================
   BOTÕES FLUTUANTES (WhatsApp + ligar no celular)
   ===================================================================== */
.float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  visibility: visible;
  transition: transform .6s var(--ease), opacity .4s, visibility 0s;
}
/* No mouse, aparece depois do primeiro scroll; no toque, desde o topo. Perto de
   blocos que já têm WhatsApp ([data-float-off], rodapé) sai de cena.
   Fora de cena fica "visibility: hidden" (depois da saída): sai da ordem do Tab. */
@media (hover: hover) and (pointer: fine) {
  .js .float.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility 0s linear .6s; }
}
.float.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility 0s linear .6s; }
.float__b {
  position: relative; isolation: isolate; width: 58px; height: 58px; display: grid; place-items: center;
  color: var(--ink); text-decoration: none;
}
.float__b::before {
  content: ""; position: absolute; inset: 0 6px; z-index: -1; background: var(--green); transform: skewX(var(--slash));
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.55); transition: background .3s;
}
.float__b--wa::before { box-shadow: 0 0 0 2px var(--ink), 0 10px 30px -8px rgba(0,0,0,.55); }
.float__b:hover::before { background: var(--volt); }
.float__b .i { width: 26px; height: 26px; }
.float__b--tel { width: 50px; height: 50px; color: var(--paper); }
.float__b--tel::before { background: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -8px rgba(0,0,0,.55); }
.float__b--tel .i { width: 21px; height: 21px; }
@media (hover: hover) and (pointer: fine) { .float__b--tel { display: none; } }
@media (max-width: 760px) {
  .float { flex-direction: row; align-items: center; gap: 4px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .float__b { width: 52px; height: 52px; }
  .float__b .i { width: 24px; height: 24px; }
  .float__b--tel { width: 46px; height: 46px; }
}

/* =====================================================================
   TRANSIÇÃO ENTRE PÁGINAS — corte diagonal (View Transitions)
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lv-vt-out .75s var(--ease) both; }
::view-transition-new(root) { animation: lv-vt-in .75s var(--ease) both; }
@keyframes lv-vt-in {
  from { clip-path: polygon(calc(100% + 22vh) 0, 200% 0, 200% 100%, 100% 100%); }
  to   { clip-path: polygon(0 0, 200% 0, 200% 100%, -22vh 100%); }
}
@keyframes lv-vt-out { to { transform: translateX(-8%); opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =====================================================================
   ESTADO INICIAL DAS ANIMAÇÕES DE ENTRADA
   Só com JS (classe "is-loading" posta no <head>) e sem "reduzir movimento".
   O <head> tira "is-loading" sozinho depois de 2,6 s se algo falhar (e marca "lv-late":
   o GSAP que chegar depois não esconde nem reanima o que já está na tela).
   Revelações por rolagem (data-reveal) NÃO são escondidas por CSS: o JS
   esconde na hora de animar, então sem JS tudo aparece.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .is-loading [data-intro]:not(.btns) { opacity: 0; }
  .is-loading .phero__band { transform: scaleY(0); transform-origin: 50% 0; }
  .is-loading .phero__fig, .is-loading .phero__ref, .is-loading .phero__call { opacity: 0; }
  /* Chegando por transição entre páginas: o destino já aparece pronto */
  .via-vt.is-loading [data-intro], .via-vt.is-loading .phero__fig,
  .via-vt.is-loading .phero__ref, .via-vt.is-loading .phero__call { opacity: 1; }
  .via-vt.is-loading .phero__band { transform: none; }
  /* Botões do topo (WhatsApp / Ver produtos — ".btns" com data-intro, em TODAS as páginas):
     entram por CSS desde o 1º quadro, sem esperar o GSAP do CDN → visíveis em menos de 1 s.
     A animação CSS prevalece sobre o estilo inline do GSAP: nenhuma timeline de abertura
     consegue escondê-los de novo. Pela transição entre páginas já aparecem prontos. */
  .js .btns[data-intro] { animation: lv-cta .5s var(--ease-out) .12s both; }
  .via-vt .btns[data-intro] { animation: none; }
}
@keyframes lv-cta { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Lenis 1.3.26 (lenis.css embutido) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }
