/* ==========================================================================
   ESD Antiestáticos — Design System (proposta de layout 2026)
   Base compartilhada por todas as páginas: tokens, tipografia, componentes,
   header + mega menu, rodapé, camadas globais e animações.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --y: #F9E01E;            /* amarelo de segurança (logo) */
  --y-strong: #EDD200;
  --y-soft: #FCEF8A;
  --y-tint: #FEF9D8;
  --y-wash: #FFFDF0;

  /* Neutros técnicos */
  --ink: #0E0F11;
  --ink-2: #15171A;
  --ink-3: #1D2024;
  --ink-4: #272B30;
  --steel-800: #33383E;
  --steel-700: #4A5058;
  --steel-600: #646B74;
  --steel-500: #6C737C;
  --steel-400: #A0A6AE;
  --steel-300: #C4C9CF;
  --steel-200: #DCDFE3;
  --steel-150: #E6E8EB;
  --steel-100: #EEF0F2;
  --steel-50: #F6F7F8;
  --white: #FFFFFF;

  --wa: #25D366;
  --wa-ink: #128C4B;
  --ok: #1F9D61;

  /* Semântica */
  --bg: var(--white);
  --bg-soft: var(--steel-50);
  --text: var(--ink);
  --text-2: var(--steel-700);
  --text-3: var(--steel-600);
  --line: var(--steel-150);
  --line-2: var(--steel-200);

  /* Tipografia */
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.55rem, 1.25rem + 4.6vw, 5.15rem);
  --fs-h1: clamp(2.2rem, 1.3rem + 3.1vw, 3.9rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.3vw, 3.15rem);
  --fs-h3: clamp(1.2rem, 1rem + .7vw, 1.55rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: .9rem;
  --fs-xs: .78rem;

  /* Espaço */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 140px);
  --header-h: 76px;
  --topbar-h: 38px;

  /* Forma */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(14, 15, 17, .06);
  --shadow-sm: 0 1px 2px rgba(14, 15, 17, .05), 0 4px 14px -6px rgba(14, 15, 17, .12);
  --shadow: 0 2px 4px rgba(14, 15, 17, .04), 0 18px 40px -18px rgba(14, 15, 17, .28);
  --shadow-lg: 0 4px 10px rgba(14, 15, 17, .05), 0 40px 90px -30px rgba(14, 15, 17, .45);

  /* Movimento */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .18s;
  --t: .35s;
  --t-slow: .8s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--y); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--y); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.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-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--y); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(980px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .text-2, .on-dark .text-2 { color: var(--steel-300); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, .75rem); align-items: center; }
.grid { display: grid; gap: var(--gap, clamp(16px, 2vw, 28px)); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
@media (max-width: 1180px) { .hide-lg { display: none !important; } }
@media (max-width: 760px) { .hide-sm { display: none !important; } }

/* ---------- Tipografia ---------- */
.display { font-size: var(--fs-display); font-weight: 760; font-stretch: 112%; letter-spacing: -.035em; line-height: .98; }
.h1 { font-size: var(--fs-h1); font-weight: 720; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.02; }
.h2 { font-size: var(--fs-h2); font-weight: 700; font-stretch: 106%; letter-spacing: -.028em; line-height: 1.04; }
.h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -.018em; line-height: 1.15; }
.h4 { font-size: var(--fs-h4); font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.on-dark .lead, .section--dark .lead { color: var(--steel-300); }
.small { font-size: var(--fs-sm); }

/* marca-texto amarela com varredura */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .34em; z-index: -1;
  background: var(--y); border-radius: 2px; transform-origin: left center;
  transform: scaleX(var(--hl, 1)); transition: transform 1.1s var(--ease) .25s;
}
[data-reveal] .hl::after, .hl[data-reveal]::after { --hl: 0; }
.is-in .hl::after, .hl.is-in::after { --hl: 1; }
/* em fundo escuro: texto amarelo com traço fino (contraste AA) */
.on-dark .hl, .section--dark .hl, .site-footer .hl { color: var(--y); }
.on-dark .hl::after, .section--dark .hl::after, .site-footer .hl::after { height: .07em; bottom: -.04em; left: 0; right: 0; opacity: .85; }
.hl--text::after { display: none; }
.hl--text { color: var(--y); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel-600);
}
.eyebrow::before {
  content: ""; width: .7em; height: .62em; flex: none; background: var(--y);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.eyebrow--light, .on-dark .eyebrow, .section--dark .eyebrow { color: var(--steel-400); }
.eyebrow--plain::before { display: none; }
.idx { font-family: var(--mono); font-size: var(--fs-xs); color: var(--steel-500); letter-spacing: .1em; }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem 3rem; }
.section-head--center { text-align: center; justify-items: center; }
.section-head .lead { margin-top: .25rem; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: transparent; --btn-fill: var(--y); --btn-fill-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.35em;
  font-weight: 600; font-size: .975rem; letter-spacing: -.005em; line-height: 1.1; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--btn-fill);
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn:active { transform: scale(.98); }
.btn .i { width: 1.15em; height: 1.15em; transition: transform var(--t) var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--y); --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--y); box-shadow: 0 10px 24px -12px rgba(237, 210, 0, .9); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-fill: var(--y); --btn-fill-fg: var(--ink); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-fill: var(--y); --btn-fill-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--steel-200); --btn-fill: var(--ink); --btn-fill-fg: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .28); --btn-fill: var(--white); --btn-fill-fg: var(--ink); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #052e16; --btn-fill: #1cb455; --btn-fill-fg: #031c0d; }
.btn--wa-dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-fill: var(--wa); --btn-fill-fg: #052e16; }
.btn--wa-dark .i:first-child { color: var(--wa); transition: color var(--t); }
.btn--wa-dark:hover .i:first-child { color: #052e16; }
.btn--sm { min-height: 40px; padding: .6em 1.05em; font-size: .9rem; }
.btn--lg { min-height: 58px; padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--square { border-radius: var(--r-sm); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap var(--t) var(--ease), color var(--t); }
.link-arrow:hover { gap: .75em; }
.link-arrow .i { width: 1.05em; height: 1.05em; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  color: var(--ink); border: 1px solid var(--line); background: var(--white);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t) var(--ease);
}
.icon-btn:hover { background: var(--steel-50); border-color: var(--steel-200); }
.icon-btn .i { width: 20px; height: 20px; }

/* ---------- Tags, chips, selos ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .35em; height: 26px; padding: 0 .65em;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  color: var(--steel-700); background: var(--steel-50); border: 1px solid var(--line); border-radius: var(--r-xs);
}
.tag--sm { height: 20px; font-size: .66rem; padding: 0 .5em; }
.tag--y { background: var(--y); border-color: var(--y); color: var(--ink); }
.tag--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tag--ex { background: var(--ink); border-color: var(--ink); color: var(--y); }
.tag--outline { background: transparent; }
.tag .i { width: 1.1em; height: 1.1em; }

.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: .45em 1em;
  font-size: .9rem; font-weight: 500; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip .i { width: 1.05em; height: 1.05em; }
.chip__count { font-family: var(--mono); font-size: .75em; opacity: .6; }

.seal { display: inline-flex; align-items: center; gap: .45em; padding: .4em .75em; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-xs); color: var(--steel-300); }
.seal .i { width: 1.15em; height: 1.15em; color: var(--y); }

/* ---------- Formulários ---------- */
.field { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--steel-700); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: .75em .95em; font-size: 1rem; font-weight: 400; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(249, 224, 30, .45); }
.field input::placeholder, .field textarea::placeholder { color: var(--steel-400); }
.field.is-error input, .field.is-error textarea { border-color: #B42318; }
.field--full { grid-column: 1 / -1; }
.on-dark .field { color: var(--steel-300); }
.on-dark .field input, .on-dark .field textarea, .on-dark .field select { background: var(--ink-3); border-color: var(--ink-4); color: var(--white); }
.on-dark .field input:focus, .on-dark .field textarea:focus { border-color: var(--y); box-shadow: 0 0 0 4px rgba(249, 224, 30, .18); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--steel-300); font-size: .8rem; position: relative; z-index: 61; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--topbar-h); }
.topbar__msg { display: flex; align-items: center; gap: .55em; }
.topbar__msg .i { color: var(--y); width: 1.15em; height: 1.15em; }
.topbar__links { display: flex; align-items: center; gap: 1.4rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .45em; transition: color var(--t-fast); }
.topbar__links a:hover { color: var(--white); }
.topbar__links .i { width: 1.05em; height: 1.05em; }
.topbar__social { display: flex; gap: .85rem; padding-left: 1.2rem; border-left: 1px solid var(--ink-4); }
@media (max-width: 1080px) { .topbar__msg { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow var(--t), border-color var(--t), background var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(14, 15, 17, .25); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-mega-open { background: var(--white); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 40px); height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: 128px; height: auto; transition: width var(--t) var(--ease); }
.site-header.is-scrolled .brand img { width: 116px; }

.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: clamp(0px, .4vw, 6px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .3em; height: 44px; padding: 0 .8em;
  font-size: .95rem; font-weight: 550; color: var(--ink); border-radius: var(--r-pill); white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--steel-100); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: 4px; height: 2px; background: var(--y); border-radius: 2px; }
.nav__chev { width: 1em; height: 1em; transition: transform var(--t) var(--ease); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__new {
  display: inline-flex; align-items: center; height: 19px; padding: 0 .5em; margin-left: .2em;
  font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  background: var(--y); color: var(--ink); border-radius: 4px;
}
.nav__item { position: relative; }
.nav__item--mega { position: static; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.quote-btn { position: relative; }
.quote-btn__count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; font-family: var(--mono); font-size: .68rem; font-weight: 500;
  background: var(--y); color: var(--ink); border: 2px solid var(--white); border-radius: var(--r-pill);
}
.quote-btn.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }
.header-cta { margin-left: 4px; }

.burger { display: none; }
.burger__lines { position: relative; width: 18px; height: 12px; }
.burger__lines span { position: absolute; left: 0; height: 1.75px; width: 100%; background: currentColor; border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t-fast), top var(--t) var(--ease); }
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 5px; width: 70%; }
.burger__lines span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1360px) { .nav__new { display: none; } }
@media (max-width: 1300px) {
  .site-header__inner { gap: 18px; }
  .nav__link { padding: 0 .6em; font-size: .92rem; }
  .header-actions { gap: 6px; }
}
.header-cta__short { display: none; }
@media (max-width: 1240px) { .header-cta__long { display: none; } .header-cta__short { display: inline; } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img, .site-header.is-scrolled .brand img { width: 104px; }
}

/* Dropdowns simples */
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 5; min-width: 260px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  animation: dropIn .35s var(--ease);
}
.drop--right { left: auto; right: 0; }
.drop--wide { width: 620px; padding: 12px; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.drop__list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65em .85em; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; transition: background var(--t-fast); }
.drop__list a:hover { background: var(--steel-50); }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__card { display: flex; gap: .85rem; padding: .9rem; border-radius: var(--r); transition: background var(--t-fast); }
.drop__card:hover { background: var(--steel-50); }
.drop__card strong { display: block; font-size: .95rem; font-weight: 650; }
.drop__card small { display: block; font-size: .82rem; color: var(--text-3); line-height: 1.4; margin-top: 2px; }
.drop__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--y-tint); color: var(--ink); }
.drop__cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 8px; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--ink); color: var(--white); transition: background var(--t-fast); }
.drop__cta strong { display: block; font-size: .95rem; }
.drop__cta small { display: block; font-size: .82rem; color: var(--steel-300); }
.drop__cta .i { color: var(--y); transition: transform var(--t) var(--ease); }
.drop__cta:hover .i { transform: translateX(4px); }
.drop__contact { display: grid; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.drop__contact a { display: flex; align-items: center; gap: .6em; padding: .5em .85em; font-size: .88rem; color: var(--text-2); border-radius: var(--r-sm); }
.drop__contact a:hover { background: var(--steel-50); color: var(--ink); }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 4;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(14, 15, 17, .45);
  max-height: calc(100vh - var(--header-h) - 10px); overflow: auto; overscroll-behavior: contain;
  animation: megaIn .45s var(--ease);
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(14, 15, 17, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.mega__inner { padding-top: 22px; padding-bottom: 0; }
.mega__top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mega__search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; }
.mega__search .i { position: absolute; left: 16px; color: var(--steel-500); pointer-events: none; }
.mega__search input { width: 100%; height: 50px; padding: 0 70px 0 48px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--steel-50); font-size: .95rem; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.mega__search input:focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(249, 224, 30, .45); }
.mega__search kbd { position: absolute; right: 12px; }
.mega__quick { display: flex; align-items: center; gap: 1.4rem; font-size: .9rem; font-weight: 550; }
.mega__quick a { display: inline-flex; align-items: center; gap: .45em; color: var(--text-2); transition: color var(--t-fast); }
.mega__quick a:hover { color: var(--ink); }
.mega__all { color: var(--ink) !important; border-bottom: 1.5px solid var(--y); padding-bottom: 1px; }
.mega__body { display: grid; grid-template-columns: 300px 1fr; min-height: 420px; }
.mega__tabs { padding: 14px 18px 18px 0; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.mega__tab { display: grid; grid-template-columns: 36px 1fr auto 16px; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: var(--r-sm); font-weight: 550; font-size: .93rem; line-height: 1.2; transition: background var(--t-fast), color var(--t-fast); }
.mega__tab-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--steel-50); border: 1px solid var(--line); transition: background var(--t-fast), border-color var(--t-fast); }
.mega__tab-ic .i { width: 19px; height: 19px; }
.mega__tab-count { font-family: var(--mono); font-size: .72rem; color: var(--steel-500); }
.mega__tab-arrow { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: opacity var(--t-fast), transform var(--t) var(--ease); }
.mega__tab:hover { background: var(--steel-50); }
.mega__tab.is-active { background: var(--ink); color: var(--white); }
.mega__tab.is-active .mega__tab-ic { background: var(--y); border-color: var(--y); color: var(--ink); }
.mega__tab.is-active .mega__tab-count { color: var(--steel-400); }
.mega__tab.is-active .mega__tab-arrow { opacity: 1; transform: none; color: var(--y); }
.mega__panels { padding: 22px 0 24px 32px; }
.mega__panel { display: grid; grid-template-columns: 1fr 280px; gap: 32px; animation: panelIn .4s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.mega__groups { columns: 3 200px; column-gap: 28px; }
.mega__group { break-inside: avoid; margin-bottom: 22px; }
.mega__group-title { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mega__group a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 6px 0; font-size: .92rem; color: var(--steel-800); transition: color var(--t-fast), padding var(--t) var(--ease); }
.mega__group a:hover { color: var(--ink); padding-left: 6px; }
.mega__group a:hover::before { content: ""; position: absolute; margin-left: -10px; width: 4px; height: 4px; background: var(--y); border-radius: 50%; }
.mega__count { font-family: var(--mono); font-size: .7rem; color: var(--steel-400); }
.mega__feature { align-self: start; display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--steel-50); border: 1px solid var(--line); transition: border-color var(--t), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.mega__feature:hover { border-color: var(--steel-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.mega__feature-media { display: block; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 100%, var(--y-tint), var(--white) 60%); }
.mega__feature-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; transition: transform .8s var(--ease); }
.mega__feature:hover .mega__feature-media img { transform: scale(1.05); }
.mega__feature-body { display: grid; gap: 6px; padding: 16px 18px 18px; background: var(--white); border-top: 1px solid var(--line); }
.mega__feature-kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-500); }
.mega__feature-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.mega__feature-desc { font-size: .86rem; color: var(--text-2); line-height: 1.45; }
.mega__feature-cta { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; font-weight: 600; font-size: .9rem; }
.mega__feature-cta .i { width: 1em; height: 1em; transition: transform var(--t) var(--ease); }
.mega__feature:hover .mega__feature-cta .i { transform: translateX(4px); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 14px 0 18px; border-top: 1px solid var(--line); }
.mega__foot p { display: flex; align-items: center; gap: .6em; font-size: .9rem; color: var(--text-2); }
.mega__foot .i { color: var(--ink); }

kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; font-family: var(--mono); font-size: .68rem; color: var(--steel-600); background: var(--white); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; }

/* ---------- Menu mobile ---------- */
.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; background: var(--white);
  overflow: hidden; animation: mnavIn .4s var(--ease);
}
@keyframes mnavIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mnav__scroller { height: 100%; position: relative; }
.mnav__panel { position: absolute; inset: 0; overflow: auto; padding: 18px var(--gutter) 120px; background: var(--white); animation: slideIn .35s var(--ease); overscroll-behavior: contain; }
.mnav__panel.is-root { animation: none; }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.mnav__search { position: relative; display: flex; align-items: center; margin-bottom: 14px; }
.mnav__search .i { position: absolute; left: 14px; color: var(--steel-500); }
.mnav__search input { width: 100%; height: 50px; padding: 0 14px 0 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--steel-50); font-size: 1rem; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; font-size: 1.1rem; font-weight: 600; text-align: left; }
.mnav__link > .i:last-child { margin-left: auto; color: var(--steel-500); }
.mnav__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--steel-50); border: 1px solid var(--line); }
.mnav__ic .i { width: 19px; height: 19px; }
.mnav__count { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--steel-500); font-weight: 400; }
.mnav__count + .i { margin-left: 8px !important; }
.mnav__back { display: inline-flex; align-items: center; gap: .3em; height: 40px; font-weight: 600; color: var(--steel-600); }
.mnav__title { font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 10px; }
.mnav__all { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; margin-bottom: 10px; border-radius: var(--r); background: var(--y); font-weight: 650; }
.mnav__group { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); margin: 18px 0 4px; }
.mnav__sublist a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; }
.mnav__cta { display: grid; gap: 10px; margin-top: 22px; }
.mnav__contact { display: grid; gap: 10px; margin-top: 22px; font-size: .95rem; color: var(--text-2); }
.mnav__contact > a { display: inline-flex; align-items: center; gap: .6em; }
.mnav__social { display: flex; gap: 10px; margin-top: 6px; }
.mnav__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); }
body.is-locked { overflow: hidden; }

/* ---------- Cards de produto (compartilhados) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color var(--t), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.pcard:hover { border-color: var(--steel-200); box-shadow: var(--shadow); transform: translateY(-4px); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--steel-50); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__flags { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 16px 14px; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--steel-500); text-transform: uppercase; }
.pcard__meta > span:first-child { flex: none; }
.pcard__code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--steel-700); text-transform: none; }
.pcard__title { font-size: 1rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__norms { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.pcard__actions { position: relative; z-index: 2; display: flex; gap: 8px; padding: 0 16px 16px; }
.pcard__actions .btn { flex: 1; min-height: 42px; font-size: .88rem; padding-inline: .9em; }
.pcard__add.btn--primary { box-shadow: none; }
.pcard__add.is-added { --btn-bg: var(--ink); --btn-fg: var(--y); }
.pcard--list { flex-direction: row; }
.pcard--list .pcard__media { width: 180px; flex: none; aspect-ratio: auto; }
.pcard--list .pcard__body { padding: 18px 20px; }
.pcard--list .pcard__actions { flex-direction: column; justify-content: center; padding: 18px 20px 18px 0; min-width: 210px; }
.pcard--list .pcard__actions .btn { flex: none; }
.pcard--list .pcard__desc { display: block; }
.pcard__desc { display: none; font-size: .9rem; color: var(--text-2); line-height: 1.5; }
@media (max-width: 640px) {
  .pcard--list { flex-direction: column; }
  .pcard--list .pcard__media { width: 100%; aspect-ratio: 16 / 10; }
  .pcard--list .pcard__actions { flex-direction: row; justify-content: stretch; padding: 0 16px 16px; min-width: 0; }
  .pcard--list .pcard__actions .btn { flex: 1; }
}

/* fotos herdadas do site atual têm marca d'água cinza clara: contraste leve + multiply a esconde */
.pcard__media img, .mega__feature-media img, .spal__results img, .qlist img { filter: contrast(1.15) brightness(1.08); }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; font-size: .85rem; color: var(--text-3); }
.crumbs a { transition: color var(--t-fast); }
.crumbs a:hover { color: var(--ink); }
.crumbs li { display: inline-flex; align-items: center; gap: .4em; }
.crumbs li + li::before { content: "/"; color: var(--steel-300); }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }
.on-dark .crumbs { color: var(--steel-400); }
.on-dark .crumbs a:hover, .on-dark .crumbs [aria-current] { color: var(--white); }

/* ---------- Acordeão ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; padding: 1.25rem 0; text-align: left; font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; }
.acc__q .acc__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform var(--t) var(--ease), background var(--t), border-color var(--t); }
.acc__q[aria-expanded="true"] .acc__ic { transform: rotate(45deg); background: var(--y); border-color: var(--y); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding-bottom: 1.25rem; color: var(--text-2); max-width: 70ch; }
.acc__q[aria-expanded="true"] + .acc__a { grid-template-rows: 1fr; }

/* ---------- Marquee ---------- */
.marquee { --speed: 40s; display: flex; overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; gap: 3rem; padding-right: 3rem; min-width: 100%; justify-content: space-around; align-items: center; animation: marquee var(--speed) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--steel-300); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(80% 60% at 70% 0%, #000, transparent 70%); mask-image: radial-gradient(80% 60% at 70% 0%, #000, transparent 70%); }
.site-footer .container { position: relative; }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--ink-4); }
.footer-cta__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 720; font-stretch: 108%; letter-spacing: -.032em; line-height: 1; color: var(--white); margin-top: .7rem; max-width: 19ch; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.35fr; gap: 2.5rem 2rem; padding-block: clamp(40px, 5vw, 64px); }
.footer-brand p { font-size: .92rem; line-height: 1.6; margin-top: 1.1rem; max-width: 34ch; }
.footer-brand__logo img { width: 150px; }
.footer-brand__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.footer-social { display: flex; gap: 8px; margin-top: 1.4rem; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-4); color: var(--steel-300); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.footer-social a:hover { background: var(--y); color: var(--ink); border-color: var(--y); }
.footer-social .i { width: 19px; height: 19px; }
.footer-col__title { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-col li + li { margin-top: .55rem; }
.footer-col a { font-size: .92rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--y); }
.footer-contact a { display: flex; gap: .6em; align-items: flex-start; line-height: 1.45; }
.footer-contact .i { margin-top: 1px; color: var(--y); width: 1.1em; height: 1.1em; }
.footer-news { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--ink-4); border-radius: var(--r-lg); background: var(--ink-2); }
.footer-news__text { display: flex; align-items: center; gap: 1rem; font-size: .95rem; }
.footer-news__text .i { width: 28px; height: 28px; color: var(--y); }
.footer-news__text strong { color: var(--white); }
.footer-news__form { display: flex; gap: 8px; flex: 1; max-width: 440px; }
.footer-news__form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--ink-4); background: var(--ink); color: var(--white); }
.footer-news__form input:focus { outline: none; border-color: var(--y); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 28px 32px; font-size: .82rem; color: var(--steel-500); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom__dev { display: flex; align-items: center; gap: .6rem; }
.footer-bottom__dev a { display: inline-flex; opacity: .7; transition: opacity .2s; }
.footer-bottom__dev a:hover { opacity: 1; }
.footer-bottom__dev img { display: block; width: 127px; height: auto; }
/* espaço para o robô do WhatsApp não cobrir a assinatura no fim da página */
@media (min-width: 768px) { .footer-bottom { padding-right: 120px; } }
@media (max-width: 767px) { .footer-bottom { padding-bottom: 120px; } }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-contact { grid-column: span 3; } }
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-contact { grid-column: 1 / -1; } .footer-news__form { max-width: none; } }
/* celular: tudo centralizado, menos os menus */
@media (max-width: 680px) {
  .footer-cta { flex-direction: column; align-items: center; text-align: center; }
  .footer-cta .eyebrow { display: block; text-align: center; }
  .footer-cta .eyebrow::before { display: inline-block; margin-right: .6em; vertical-align: .05em; }
  .footer-cta__title { margin-inline: auto; }
  .footer-cta__actions { justify-content: center; }
  .footer-brand { text-align: center; }
  .footer-brand__logo { display: inline-block; }
  .footer-brand p { margin-inline: auto; }
  .footer-brand__badges, .footer-social { justify-content: center; }
  .footer-contact { text-align: center; }
  .footer-contact a { justify-content: center; }
  .footer-contact span { text-align: center; }
  .footer-news { flex-direction: column; text-align: center; }
  .footer-news__text { flex-direction: column; gap: .6rem; }
  .footer-news__form { width: 100%; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 1rem; }
  .footer-bottom ul { justify-content: center; }
  .footer-bottom__sep { display: none; }
  .footer-bottom__cnpj { display: block; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 70; display: flex; align-items: flex-end; gap: 12px; }
.wa-float__btn { position: relative; display: block; width: 68px; height: 68px; border-radius: 50%; background: var(--y); box-shadow: 0 14px 34px -10px rgba(14, 15, 17, .55); transition: transform .5s var(--ease); }
.wa-float__btn:hover { transform: scale(1.06) rotate(-3deg); }
.wa-float__avatar { position: absolute; inset: 3px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, #3a3f45, var(--ink)); }
.wa-float__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform: scale(1.12); transform-origin: 50% 20%; }
.wa-float__badge { position: absolute; right: -4px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wa); color: var(--white); border: 2.5px solid var(--white); }
.wa-float__badge .i { width: 15px; height: 15px; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--y); animation: waPulse 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float__bubble { position: relative; width: 268px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px 18px 4px 18px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.45; animation: bubbleIn .6s var(--ease); margin-bottom: 30px; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-float__hi { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.wa-float__link { display: inline-flex; align-items: center; gap: .4em; margin-top: 10px; font-weight: 650; color: var(--wa-ink); }
.wa-float__link .i { width: 1em; height: 1em; }
.wa-float__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--steel-500); }
.wa-float__close:hover { background: var(--steel-50); color: var(--ink); }
.wa-float__close .i { width: 16px; height: 16px; }
@media (max-width: 560px) { .wa-float__btn { width: 60px; height: 60px; } .wa-float__bubble { width: min(250px, calc(100vw - 100px)); } }

/* ---------- Gaveta de orçamento ---------- */
.qdrawer { position: fixed; inset: 0; z-index: 90; }
.qdrawer__backdrop { position: absolute; inset: 0; background: rgba(14, 15, 17, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .3s ease; }
.qdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow-lg); animation: drawerIn .55s var(--ease); }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
.qdrawer.is-closing .qdrawer__panel { animation: drawerOut .35s var(--ease-io) forwards; }
.qdrawer.is-closing .qdrawer__backdrop { animation: fade .35s ease reverse forwards; }
@keyframes drawerOut { to { transform: translateX(100%); } }
.qdrawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.qdrawer__title { font-size: 1.5rem; margin-top: .35rem; }
.qdrawer__body { flex: 1; overflow: auto; padding: 8px 24px 20px; overscroll-behavior: contain; }
.qdrawer__empty { display: grid; justify-items: start; gap: 12px; padding: 22px 0 6px; color: var(--text-2); font-size: .95rem; }
.qdrawer__empty strong { color: var(--ink); }
.qdrawer__empty-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--y-tint); color: var(--ink); }
.qdrawer__empty-ic .i { width: 24px; height: 24px; }
.qlist li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fade .3s ease; }
.qlist img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--steel-50); mix-blend-mode: multiply; }
.qlist__t { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.qlist__c { font-family: var(--mono); font-size: .72rem; color: var(--steel-500); margin-top: 2px; }
.qlist__ctrl { display: flex; align-items: center; gap: 6px; }
.qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; }
.qty button { display: grid; place-items: center; width: 32px; height: 100%; color: var(--steel-700); transition: background var(--t-fast); }
.qty button:hover { background: var(--steel-50); color: var(--ink); }
.qty .i { width: 15px; height: 15px; }
.qty input { width: 38px; height: 100%; text-align: center; border: 0; font-family: var(--mono); font-size: .85rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qlist__rm { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--steel-500); }
.qlist__rm:hover { background: var(--steel-50); color: #B42318; }
.qlist__rm .i { width: 17px; height: 17px; }
.qform { margin-top: 18px; }
.qform__title { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 12px; }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .qform__grid { grid-template-columns: 1fr; } }
.qdrawer__foot { display: grid; gap: 10px; padding: 16px 24px 22px; border-top: 1px solid var(--line); background: var(--steel-50); }
.qdrawer__note { display: flex; align-items: center; justify-content: center; gap: .5em; font-size: .78rem; color: var(--text-3); text-align: center; }
.qdrawer__note .i { width: 1.1em; height: 1.1em; }

/* ---------- Busca rápida ---------- */
.spal { position: fixed; inset: 0; z-index: 95; display: grid; justify-items: center; align-items: start; padding: clamp(12px, 9vh, 110px) 14px 14px; }
.spal__backdrop { position: absolute; inset: 0; background: rgba(14, 15, 17, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s ease; }
.spal__panel { position: relative; width: min(720px, 100%); max-height: min(680px, calc(100svh - 40px)); display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; animation: spalIn .45s var(--ease); }
@keyframes spalIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
.spal__field { display: flex; align-items: center; gap: 12px; padding: 0 18px 0 22px; border-bottom: 1px solid var(--line); }
.spal__field > .i { width: 22px; height: 22px; color: var(--steel-500); }
.spal__field input { flex: 1; height: 68px; border: 0; font-size: 1.15rem; background: transparent; }
.spal__field input:focus { outline: none; }
.spal__field input::-webkit-search-cancel-button { display: none; }
.spal__esc { font-family: var(--mono); font-size: .72rem; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--steel-600); }
.spal__body { flex: 1; overflow: auto; padding: 16px 14px; overscroll-behavior: contain; }
.spal__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); margin: 4px 8px 10px; }
.spal__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 8px 20px; }
.spal__lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.spal__lines a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 550; transition: background var(--t-fast); }
.spal__lines a:hover { background: var(--steel-50); }
.spal__lines .i { width: 18px; height: 18px; }
@media (max-width: 600px) { .spal__lines { grid-template-columns: 1fr 1fr; } }
.spal__results li a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: var(--r); }
.spal__results li a[aria-selected="true"], .spal__results li a:hover { background: var(--steel-50); }
.spal__results li a[aria-selected="true"] .spal__go { opacity: 1; }
.spal__results img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--steel-50); mix-blend-mode: multiply; }
.spal__rt { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.spal__rt mark { background: var(--y-soft); color: inherit; border-radius: 2px; }
.spal__rm { font-family: var(--mono); font-size: .72rem; color: var(--steel-500); margin-top: 2px; }
.spal__go { opacity: 0; color: var(--steel-600); }
.spal__none { display: grid; justify-items: start; gap: 12px; padding: 10px 8px; color: var(--text-2); }
.spal__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--steel-50); font-size: .82rem; color: var(--text-3); }
.spal__foot span { display: inline-flex; align-items: center; gap: 6px; }
.spal__foot a { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); }
.spal__foot a .i { width: 1em; height: 1em; }
@media (max-width: 600px) { .spal__foot span { display: none; } }

/* ---------- Toast ---------- */
.toast-region { position: fixed; left: 50%; bottom: 24px; z-index: 120; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; background: var(--ink); color: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: .92rem; pointer-events: auto; animation: toastIn .5s var(--ease); }
.toast .i { color: var(--y); }
.toast a, .toast button { font-weight: 650; color: var(--y); white-space: nowrap; }
.toast.is-out { animation: toastOut .35s var(--ease-io) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 69; width: min(430px, calc(100vw - 110px)); display: grid; gap: 12px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); font-size: .86rem; color: var(--text-2); animation: toastIn .6s var(--ease); }
.cookie p { display: flex; gap: .7em; align-items: flex-start; }
.cookie .i { width: 22px; height: 22px; color: var(--ink); flex: none; }
.cookie a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Cursor: padrão do sistema (o personalizado foi removido a pedido do cliente) */
.spark { position: fixed; z-index: 2001; pointer-events: none; width: 0; height: 0; }
.spark i { position: absolute; left: 0; top: 0; width: 2px; height: 12px; margin-left: -1px; background: var(--y); border-radius: 2px; transform-origin: 50% 0; opacity: 0; animation: spark .55s var(--ease) forwards; box-shadow: 0 0 6px rgba(249, 224, 30, .9); }
@keyframes spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(4px) scaleY(.4); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(22px) scaleY(1); } }

/* ---------- Animações de entrada (scroll) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--r-xl)); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
/* linhas de título reveladas palavra a palavra */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 55ms + var(--d, 0s)); }
.is-in .split-word > span, .split-word.is-in > span { transform: none; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .split-word > span { transform: none; }
  .marquee__track { animation: none; }
}
