/* ==== assets/css/tokens.css ==== */
/**
 * YES Elétrica — Design Tokens
 * Cores, tipografia, espaçamento, raios, sombras.
 * Esta é a fonte da verdade — TODA cor/tipo/espaço deve sair daqui.
 */

/* ===== Fontes self-hosted (ex-Google Fonts) ==========================
   Baixadas de fonts.gstatic.com (subset latin — cobre PT-BR) e servidas
   da nossa origem: elimina 2 conexões third-party, o CSS bloqueante do
   fonts.googleapis.com e o swap tardio que causava layout shift.
   Ambas são fontes VARIÁVEIS: 1 arquivo cobre todos os pesos usados. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  /* 'optional': com preload a fonte chega ANTES do 1º paint em conexões normais
     (medido: 61ms vs paint 371ms) — visual idêntico ao 'swap'. Em 4G muito lento,
     pinta de vez com a fallback (sem repaint/reflow) → LCP = FCP no Lighthouse. */
  font-display: optional;
  src: url(../fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ===== Brand ====================================== */
  --brand-deep:    #1A1170;
  --brand-violet:  #3D1A8F;
  --brand-teal:    #0EA5A5;     /* decorativo: borders, atom, gradients, accents */
  --brand-teal-700:#0F6E56;     /* TEXTO em fundo claro + CTA bg (5.6:1 white — passa AA) */
  --brand-teal-2:  #14B8A6;     /* fundo escuro (footer): passa AAA em #0B0B2E */
  --brand-teal-3:  #5DE2C8;
  --accent-yellow: #FBC72E;
  --accent-yellow-2: #FFE082;

  /* ===== Surfaces (light → dark) ==================== */
  --surface-base:  #FFFFFF;
  --surface-soft:  #F5F7FB;
  --surface-card:  #FFFFFF;
  --surface-dark:  #0B0B2E;

  /* ===== Ink (text) ================================ */
  --ink-primary:        #0F1235;
  --ink-secondary:      #4B5573;
  --ink-muted:          #5F6680;     /* WCAG AA: 5.68:1 em white, 5.29:1 em surface-soft */
  --ink-on-dark:        #E7E9F5;
  --ink-on-dark-muted:  #A6ABCB;

  /* ===== Border ==================================== */
  --border-subtle: #E6E9F2;
  --border-strong: #C9CFE0;
  --border-dark:   rgba(255,255,255,.10);

  /* ===== Type ======================================= */
  /* Stack tipográfico: Bricolage Grotesque domina (display + body — uma única
     família traz cohesão e identidade. Skill frontend-design proíbe Inter). */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Bricolage Grotesque", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --fs-xs:   0.72rem;
  --fs-sm:   0.86rem;
  --fs-base: 1rem;
  --fs-md:   1.06rem;
  --fs-lg:   1.18rem;
  --fs-xl:   1.4rem;
  --fs-2xl:  1.85rem;
  --fs-3xl:  2.4rem;
  --fs-4xl:  3.2rem;

  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-base:  1.55;
  --lh-loose: 1.7;

  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-wide:    0.12em;
  --tracking-wider:   0.22em;

  /* ===== Spacing scale (4px base) ================== */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ===== Radius ===================================== */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ===== Shadow (low elevation by default) ========= */
  --shadow-soft: 0 1px 2px rgba(15, 18, 53, .04), 0 4px 14px rgba(15, 18, 53, .04);
  --shadow-pop:  0 8px 24px rgba(26, 17, 112, .12), 0 2px 6px rgba(15, 18, 53, .06);
  --shadow-cta:  0 8px 18px rgba(14, 165, 165, .35);

  /* ===== Layout ===================================== */
  --container-max: 1240px;
  --container-pad: 24px;       /* mobile (Apple HIG / Material padrão — respiro confortável) */

  /* ===== Z-index ==================================== */
  --z-header: 50;
  --z-modal:  100;

  /* ===== Motion ===================================== */
  --ease-out:  cubic-bezier(.25, .8, .35, 1);
  --t-fast:    .15s;
  --t-base:    .25s;
  --t-slow:    .55s;
}

@media (min-width: 720px) {
  :root {
    --container-pad: var(--space-6);
  }
}

/* ==== assets/css/base.css ==== */
/**
 * YES Elétrica — Base styles (mobile-first)
 * Reset minimal + tipografia base + container + utilitários.
 *
 * Estratégia: tudo começa mobile (sem media query), e media queries
 * com (min-width: ...) sobem progressivamente.
 */

/* ===== Reset enxuto ================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* overflow-x:hidden quebra position:sticky em descendentes (cria scroll
     container que rouba o sticky do viewport). Usamos `clip` que recorta
     visualmente igual ao hidden MAS não cria scroll container.
     Suporte: Chrome 90+, Firefox 81+, Safari 16+ (universal em 2026). */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-primary);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

a { color: inherit; text-decoration: none; }

ul, ol { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin: 0;
}

p { margin: 0; }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Container ==================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ===== Section base (mobile-first) ================== */
section.s {
  padding-block: var(--space-7);  /* 48px no mobile */
}
@media (min-width: 720px) {
  section.s { padding-block: var(--space-8); }   /* 64px tablet */
}
@media (min-width: 980px) {
  section.s { padding-block: var(--space-9); }   /* 96px desktop */
}

/* ===== Section head ================================= */
.section-head {
  margin-bottom: var(--space-6);
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--brand-teal-700);
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: 1.7rem;          /* clamp via mobile-first */
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin: 0;
  max-width: 720px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(95deg, var(--brand-teal) 0%, var(--brand-teal-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 720px) {
  .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-5);
    flex-wrap: wrap;
    margin-bottom: var(--space-7);
  }
  .section-title { font-size: var(--fs-2xl); }
}
@media (min-width: 980px) {
  .section-title { font-size: var(--fs-3xl); }
}

/* ===== "See all" link ============================== */
.see-all {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.see-all:hover { color: var(--brand-teal-700); }
@media (min-width: 720px) {
  .see-all { margin-top: 0; }
}

/* ===== Reveal animation ============================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== Utility ===================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==== assets/css/components.css ==== */
/**
 * YES Elétrica — Components (mobile-first)
 * Buttons, header, footer, cards e demais componentes reusáveis.
 */

/* ============================================================
   BANNER DE CONSENTIMENTO (LGPD) — canto inferior
   ============================================================ */
.consent {
  position: fixed;
  z-index: 9999;
  left: 16px; right: 16px; bottom: 16px;
}
.consent[hidden] { display: none; }
.consent-card {
  max-width: 460px;
  background: var(--brand-deep);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: var(--space-4);
}
.consent-text {
  font-size: .86rem;
  line-height: 1.5;
  margin: 0 0 var(--space-3);
  color: rgba(255, 255, 255, .9);
}
.consent-text a { color: var(--brand-teal-2); text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.consent-btn {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out), filter var(--t-fast) var(--ease-out);
}
.consent-btn-primary { background: var(--brand-teal-2); color: #06251f; }
.consent-btn-primary:hover { filter: brightness(1.07); }
.consent-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.consent-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.consent-btn-link { background: transparent; color: rgba(255, 255, 255, .8); padding: 9px 8px; text-decoration: underline; }
.consent-btn-link:hover { color: #fff; }
.consent-prefs {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: var(--space-2);
}
.consent-prefs[hidden] { display: none; }
.consent-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}
.consent-opt input { margin-top: 3px; accent-color: var(--brand-teal-2); }
.consent-opt strong { color: #fff; }
.consent-prefs .consent-btn-primary { justify-self: start; margin-top: var(--space-2); }
@media (max-width: 520px) {
  .consent-card { max-width: none; }
}

/* ============================================================
   MENSAGENS DE FORMULÁRIO DE LEAD (sucesso/erro inline via AJAX)
   ============================================================ */
.lead-msg {
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: var(--space-4);
  font-size: .95rem;
  line-height: 1.55;
}
.lead-msg-ok {
  background: rgba(16, 185, 129, .10);
  border: 1px solid rgba(16, 185, 129, .35);
  color: #0f7a52;
}
.lead-msg-ok strong { color: #0b5e3f; }
.lead-msg-err {
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .30);
  color: #b91c1c;
}
.lead-msg-err ul { margin: 8px 0 0 18px; padding: 0; }

/* ============================================================
   BREADCRUMB (global — aplica em produto, categoria, blog, contato)
   ============================================================ */
.breadcrumb {
  padding-block: var(--space-6) var(--space-3);  /* respiro do header sticky */
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--ink-muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--ink-secondary); }
.breadcrumb a:hover { color: var(--brand-teal-700); }
.breadcrumb .sep { color: var(--ink-muted); opacity: .6; }
.breadcrumb [aria-current="page"] { color: var(--brand-deep); font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-teal-700);                    /* WCAG AA: white text 5.6:1 */
  color: white;
  box-shadow: 0 8px 18px rgba(15, 110, 86, .35);
}
.btn-primary:hover { background: #0a523f; transform: translateY(-1px); }

.btn-deep {
  background: var(--brand-deep);
  color: white;
}
.btn-deep:hover { background: #15095a; transform: translateY(-1px); }

.btn-ghost-light {
  background: rgba(255, 255, 255, .08);
  color: white;
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }

.btn-outline {
  background: transparent;
  color: var(--brand-deep);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--brand-deep); }

/* Header CTA escondido no mobile (libera espaço pro hamburger) */
.header-cta { display: none; }
@media (min-width: 880px) {
  .header-cta { display: inline-flex; }
  .btn { padding: 12px 22px; }
}

/* ============================================================
   FABs — Floating Action Buttons
   - WhatsApp: bottom-right, sempre visível, conversão B2B
   - Back-to-top: bottom-left, aparece após scroll > 400px
   ============================================================ */
.fab {
  position: fixed;
  z-index: 90;                                     /* abaixo de modal 100, acima de header sticky 50 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
  transition: transform var(--t-fast) var(--ease-out),
              opacity var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.fab:hover { transform: translateY(-2px); }
.fab:active { transform: translateY(0); }

/* WhatsApp FAB
   - Default (mobile + desktop): círculo 56×56 só com ícone
   - Desktop com hover (mouse): expande pra pill ao passar o mouse
   - Cor: #075E54 (oficial WhatsApp dark) — AAA com white text (7.55:1)
*/
.fab-whatsapp {
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  right: 16px;
  display: inline-flex;
  align-items: center;
  width: auto;                        /* cresce naturalmente com o texto */
  height: 56px;
  padding: 0;
  border-radius: 999px;
  background: #075E54;
  color: white;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 24px rgba(7, 94, 84, .42),
              0 2px 6px rgba(15, 18, 53, .14);
  transition: padding-right 0.4s cubic-bezier(.4,0,.2,1),
              transform var(--t-fast) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              bottom 0.3s ease;
}
.fab-whatsapp:hover {
  background: #075E54;
  box-shadow: 0 12px 32px rgba(7, 94, 84, .50),
              0 4px 8px rgba(15, 18, 53, .18);
}
.fab-whatsapp .ico {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: transparent;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.fab-whatsapp .ico svg { width: 28px; height: 28px; }
.fab-whatsapp .ico::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  animation: fab-pulse 2.2s ease-out infinite;
  transition: opacity 0.25s ease;
}
/* Texto colapsado por default (não aparece no mobile/touch) */
.fab-whatsapp > span:not(.ico) {
  display: none;
  white-space: nowrap;
}

/* Hover-expand SÓ em devices com mouse + viewport >= 720px */
@media (hover: hover) and (min-width: 720px) {
  .fab-whatsapp > span:not(.ico) {
    display: block;
    max-width: 0;                     /* colapsado por default */
    overflow: hidden;
    opacity: 0;
    padding-left: 0;
    transition: max-width 0.4s cubic-bezier(.4,0,.2,1),
                opacity 0.2s ease,
                padding-left 0.4s ease;
  }
  .fab-whatsapp:hover { padding-right: 22px; }
  .fab-whatsapp:hover > span:not(.ico) {
    max-width: 280px;
    opacity: 1;
    padding-left: 4px;
    transition: max-width 0.4s cubic-bezier(.4,0,.2,1),
                opacity 0.25s ease 0.15s,
                padding-left 0.4s ease;
  }
  /* Pulse pausa no hover — quando texto aparece, halo distrai */
  .fab-whatsapp:hover .ico::before {
    animation: none;
    opacity: 0;
  }
}
@keyframes fab-pulse {
  0%   { transform: scale(0.85); opacity: 0.85; }
  70%  { transform: scale(1.4);  opacity: 0; }
  100% { transform: scale(1.4);  opacity: 0; }
}

/* Back-to-top circle — bottom-left, hidden até scroll
   Cor: brand-teal (vibrante) — visível em fundo claro (3:1 UI) E escuro (5.5:1) */
.fab-top {
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-teal);                    /* visível em qualquer bg */
  color: white;
  box-shadow: 0 8px 22px rgba(14, 165, 165, .42),
              0 2px 6px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: bottom 0.3s ease, opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-top:hover {
  background: #0c9595;
  box-shadow: 0 12px 28px rgba(14, 165, 165, .50),
              0 4px 8px rgba(0, 0, 0, .25);
}

/* Tablet+ : posições mais generosas */
@media (min-width: 720px) {
  .fab-whatsapp { bottom: 18px; right: 24px; }       /* 6px mais perto da borda */
  .fab-top {
    bottom: 18px;
    left: 24px;
    width: 48px; height: 48px;
  }
}

/* Lift dos FABs ao chegar perto do rodapé (não cobrir crédito do dev) */
.near-bottom .fab-whatsapp,
.near-bottom .fab-top {
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 720px) {
  .near-bottom .fab-whatsapp,
  .near-bottom .fab-top { bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp .ico::before { animation: none; }
  .fab { transition: opacity var(--t-base) var(--ease-out); }
  .fab:hover { transform: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;          /* toolbar industrial — altura previsível */
  padding-block: var(--space-2);
  gap: var(--space-3);
}
@media (min-width: 880px) {
  .header-inner {
    min-height: 84px;
    padding-block: var(--space-4);
    gap: var(--space-4);
  }
}
/* ============================================================
   BRAND LOGO (WebP responsivo)
   - Header: logo-{200,400}.webp     → fundo claro
   - Footer: logo-white-{200,400}.webp → fundo escuro (.brand--light)
   - <img> tem width/height attrs intrinsic → zero CLS
   ============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 100px;       /* mobile — toolbar industrial, ~25% viewport */
  height: auto;       /* aspect-ratio derivado do width/height attrs */
}
@media (min-width: 880px) {
  .brand-logo { width: 168px; }
}

/* Nav escondido no mobile, aparece desktop */
.nav-primary {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
.nav-primary > a,
.nav-mega-trigger {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  position: relative;
  transition: color var(--t-fast) var(--ease-out);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-primary > a:hover,
.nav-mega-trigger:hover { color: var(--ink-primary); }
.nav-primary > a.active,
.nav-mega-trigger.active { color: var(--brand-deep); }
.nav-primary > a.active::after {
  content: "";
  position: absolute;
  inset: auto 0 -22px 0;
  height: 2px;
  background: var(--brand-teal);
}
/* Trigger ativo usa ::before pra não conflitar com hover-bridge ::after */
.nav-mega-trigger.active::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--brand-teal);
}

/* ============================================================
   HEADER SEARCH (desktop ≥1024px) e MOBILE SEARCH (drawer)
   ============================================================ */
.header-search {
  display: none;                         /* mobile esconde — search vai no drawer */
  position: relative;
  flex: 1 1 auto;
  max-width: 380px;
  margin-inline: var(--space-5);
}
.header-search input {
  width: 100%;
  height: 44px;                          /* tap target ≥44px */
  padding: 0 16px 0 44px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink-primary);
  transition: border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.header-search input::placeholder { color: var(--ink-muted); }
.header-search input:hover { border-color: var(--border-strong); }
.header-search input:focus {
  outline: 0;
  border-color: var(--brand-teal-700);
  background: var(--surface-base);
  box-shadow: 0 0 0 4px rgba(15, 110, 86, .12);
}
.header-search .icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
  transition: color var(--t-fast) var(--ease-out);
}
.header-search input:focus ~ .icon { color: var(--brand-teal-700); }
@media (min-width: 1024px) { .header-search { display: block; } }

.mobile-search {
  position: relative;
  padding: 14px var(--container-pad);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-base);
}
.mobile-search input {
  width: 100%;
  height: 44px;                          /* tap target ≥44px */
  padding: 0 16px 0 44px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  font-size: 16px;                       /* previne zoom no iOS */
  color: var(--ink-primary);
}
.mobile-search input:focus {
  outline: 0;
  border-color: var(--brand-teal-700);
  background: var(--surface-base);
  box-shadow: 0 0 0 4px rgba(15, 110, 86, .12);
}
.mobile-search .icon {
  position: absolute;
  left: calc(var(--container-pad) + 16px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

/* ============================================================
   MEGA-MENU SIDEBAR (DESKTOP) — substitui o 4-col grid antigo
   ============================================================ */
.nav-mega {
  position: static;                       /* painel absolute relativo ao header */
}
.nav-mega-trigger .chevron {
  transition: transform var(--t-fast) var(--ease-out);
}
.nav-mega.open .nav-mega-trigger,
.nav-mega:hover .nav-mega-trigger,
.nav-mega-trigger:focus-visible {
  color: var(--brand-deep);
}
.nav-mega.open .nav-mega-trigger .chevron,
.nav-mega:hover .nav-mega-trigger .chevron {
  transform: rotate(180deg);
}

/* Hover bridge ESTREITA (só sob o trigger) + close-delay 300ms no JS.
   Antes era -50vw a +50vw e abria o menu ao passar o mouse embaixo de
   QUALQUER item do header. Agora cobre só a largura do trigger + folga. */
.nav-mega-trigger { position: relative; }
.nav-mega-trigger::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 18px;                           /* cobre o gap header->painel sob o trigger */
}

.nav-mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--surface-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 18, 53, .08);
  z-index: var(--z-header);
  animation: mega-fade-in 0.2s var(--ease-out);
}
.nav-mega.open .nav-mega-panel { display: block; }
@keyframes mega-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shell: grid sidebar (cats) + conteúdo (pane ativo) — mobile-first */
.nav-mega-shell {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 240px 1fr;     /* default = layout mais compacto */
  gap: var(--space-5);
  min-height: 380px;
}
@media (min-width: 1101px) {
  .nav-mega-shell {
    grid-template-columns: 280px 1fr;   /* desktop largo = sidebar mais espaçosa */
    gap: var(--space-7);
    padding: var(--space-6);
  }
}

/* Coluna esquerda: lista de categorias (tablist) */
.nav-mega-cats {
  list-style: none;
  padding: 0; margin: 0;
  border-right: 1px solid var(--border-subtle);
  padding-right: var(--space-3);
}
.nav-mega-cats li { margin: 0; }
.nav-mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.nav-mega-cat-item:hover,
.nav-mega-cat-item.active {
  background: var(--surface-soft);
  color: var(--brand-deep);
}
.nav-mega-cat-item .arrow {
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  color: var(--brand-teal-700);
  flex-shrink: 0;
}
.nav-mega-cat-item.active .arrow,
.nav-mega-cat-item:hover .arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Coluna direita: conteúdo da categoria ativa */
.nav-mega-content {
  padding-block: 4px;
  min-height: 320px;
}
.nav-mega-pane { display: none; }
.nav-mega-pane.active {
  display: block;
  animation: mega-pane-fade 0.25s var(--ease-out);
}
@keyframes mega-pane-fade {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}
.nav-mega-pane header {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mega-pane h4 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
  margin: 0 0 6px;
}
.nav-mega-pane p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}
.nav-mega-products {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;            /* mobile-first: 1 coluna */
  gap: 4px var(--space-5);
}
@media (min-width: 981px) {
  .nav-mega-products { grid-template-columns: 1fr 1fr; }
}
.nav-mega-products a {
  display: block;
  padding: 9px 12px;
  margin-inline: -12px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--ink-primary);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-mega-products a:hover {
  background: var(--surface-soft);
  color: var(--brand-teal-700);
}
.nav-mega-pane .see-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-teal-700);
  font-weight: 600;
}
.nav-mega-pane .see-cat:hover { color: var(--brand-deep); }

/* ============================================================
   MOBILE ACCORDION (Produtos no mobile-menu)
   ============================================================ */
.mobile-acc {
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--container-pad);
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.mobile-acc summary::-webkit-details-marker { display: none; }
.mobile-acc summary .chevron {
  transition: transform var(--t-fast) var(--ease-out);
}
.mobile-acc[open] > summary .chevron { transform: rotate(180deg); }
.mobile-acc[open] > summary { color: var(--brand-deep); }

.mobile-acc-list {
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
}
.mobile-acc-list li { border-bottom: 1px solid var(--border-subtle); }
.mobile-acc-list li:last-child { border-bottom: 0; }
.mobile-acc-list a {
  display: block;
  padding: var(--space-3) var(--container-pad);
  padding-left: calc(var(--container-pad) + var(--space-4));
  color: var(--ink-secondary);
  font-size: 0.92rem;
  border-bottom: 0 !important;
}

/* Hamburger = sibling visual da CTA "Fale conosco" do desktop.
   No mobile é a ÚNICA porta da navegação — merece peso de CTA, não de ícone secundário. */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 0;
  color: white;
  background: var(--brand-teal-700);                    /* white icon 5.6:1 ✓ AA */
  box-shadow: 0 6px 18px rgba(15, 110, 86, .35);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-base) var(--ease-out);
}
.nav-toggle:hover { background: #0a523f; transform: translateY(-1px); }
.nav-toggle:active { transform: translateY(0); }

@media (min-width: 880px) {
  .nav-primary { display: flex; }
  .nav-toggle { display: none; }
  .header-inner { padding-block: var(--space-4); }
}

/* Mobile menu (toggled via JS) */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-4);
  background: var(--surface-base);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: var(--space-3) var(--container-pad);
  color: var(--ink-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 880px) {
  .mobile-menu { display: none !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 90% 0%, rgba(14, 165, 165, .25), transparent 60%),
    radial-gradient(40% 40% at 10% 100%, rgba(61, 26, 143, .35), transparent 60%);
  pointer-events: none;
}

.contact-bar {
  position: relative;
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--border-dark);
}
.contact-bar h2 {
  font-size: 1.7rem;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-6);
  max-width: 580px;
}
.contact-bar h2 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--brand-teal-2), var(--brand-teal-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Linha horizontal: contatos + CTA orçamento */
.contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-list li {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.contact-list .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(14, 165, 165, .14);
  border: 1px solid rgba(14, 165, 165, .35);
  display: grid;
  place-items: center;
  color: var(--brand-teal-2);
  flex-shrink: 0;
}
.contact-list .label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
  display: block;
  margin-bottom: 2px;
}
.contact-list .value {
  font-family: var(--font-mono);     /* assinatura industrial */
  font-weight: 500;
  font-size: 0.9rem;
  color: white;
  white-space: nowrap;               /* phones nunca quebram */
  letter-spacing: -0.01em;
}
.contact-list .value:hover { color: var(--brand-teal-2); }
.quote-cta { align-self: flex-start; }

@media (min-width: 720px) {
  .contact-bar { padding-block: var(--space-8); }
  .contact-bar h2 { font-size: var(--fs-2xl); margin-bottom: var(--space-7); }
  .contact-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .contact-list {
    flex-direction: row;
    gap: var(--space-6);
    flex-wrap: wrap;
  }
  .quote-cta { align-self: auto; margin-left: auto; }
}
@media (min-width: 980px) {
  .contact-bar { padding-block: var(--space-9) var(--space-7); }
  .contact-bar h2 { font-size: var(--fs-3xl); }
  .contact-list { gap: var(--space-7); }
}

.footer-grid {
  position: relative;
  padding-block: var(--space-7);
  display: grid;
  gap: var(--space-6);
}
.footer-brand p {
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-sm);
  max-width: 320px;
  margin-top: var(--space-3);
}
.footer-brand .logo { color: white; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--brand-teal-2);
  margin: 0 0 var(--space-3);
  font-weight: 500;
}
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a {
  color: var(--ink-on-dark);
  font-size: var(--fs-sm);
  opacity: 0.82;
  transition: opacity var(--t-fast) var(--ease-out);
}
.footer-col a:hover { opacity: 1; }

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-7);
  }
}

.footer-bottom {
  position: relative;
  padding-block: var(--space-4);
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--ink-on-dark-muted);
}
.dev-credit {
  color: var(--brand-teal-2);                  /* AAA: 7.66:1 em surface-dark */
  text-decoration: none;
  border-bottom: 1px dotted rgba(20, 184, 166, .4);
  transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.dev-credit:hover {
  color: var(--brand-teal-3);
  border-bottom-color: var(--brand-teal-3);
}

/* ============================================================
   FOOTER — ícones sociais
   ============================================================ */
.footer-social-icon:hover {
  background: rgba(14, 165, 165, 0.30) !important;
  transform: translateY(-2px);
}

/* ==== assets/css/pages/home.css ==== */
/**
 * YES Elétrica — Home page (mobile-first)
 * Hero, trust strip, categorias, produtos, volume CTA, sobre.
 */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #11084d 0%, var(--brand-deep) 38%, var(--brand-violet) 100%);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(60% 50% at 80% 25%, rgba(14, 165, 165, .35), transparent 60%),
    radial-gradient(40% 40% at 12% 80%, rgba(251, 199, 46, .12), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 30%, black 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, black 30%, black 70%, transparent 100%);
  z-index: -1;
  opacity: .5;
}

/* ---- Slider de 2 banners (track horizontal + controles) ---- */
.hero-slider { position: relative; }
.hero-track {
  display: flex;
  transition: transform .6s var(--ease-out);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}

/* Setas (desktop/tablet) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background var(--t-fast) var(--ease-out);
}
.hero-arrow:hover { background: rgba(255, 255, 255, .22); }
.hero-arrow-prev { left: 14px; }
.hero-arrow-next { right: 14px; }
@media (min-width: 720px) { .hero-arrow { display: inline-flex; } }

/* Bolinhas */
.hero-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              width var(--t-fast) var(--ease-out);
}
.hero-dot:hover { background: rgba(255, 255, 255, .6); }
.hero-dot.is-active { width: 26px; background: var(--brand-teal-2); }

/* ---- Slide 2: Hastes de Terra + Rebar ---- */
.hero-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-4) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 540px;
}
.hero-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, .9);
}
.hero-bullets li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--brand-teal-2);
  font-weight: 800;
}

.hero-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-5);
  max-width: 540px;
}
.hero-prod {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  text-align: center;
}
.hero-prod-img {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  margin-bottom: var(--space-2);
}
.hero-prod-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-prod .label {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal-2);
  display: block;
}
.hero-prod .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  color: #fff;
  line-height: 1.2;
  margin-top: 2px;
}

.hero-inner {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-5) var(--space-6);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-teal-2);
  background: rgba(14, 165, 165, .12);
  border: 1px solid rgba(14, 165, 165, .35);
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal-2);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, .55);
  animation: hero-pulse 1.8s infinite;
}
@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20, 184, 166, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;        /* mobile */
  line-height: 0.98;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-2);
}
.hero h1 .accent {
  background: linear-gradient(95deg, var(--brand-teal-2) 0%, var(--brand-teal-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-snug);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 var(--space-3);
  max-width: 540px;
}

.hero p.lead {
  max-width: 540px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-on-dark-muted);
  margin: 0 0 var(--space-4);
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: 540px;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: white;
  line-height: 1;
}
.hero-meta .stat span {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
  margin-top: 5px;
  display: block;
  line-height: 1.3;
}

/* Hero visual escondido em mobile (peso de imagem); aparece desktop */
.hero-visual { display: none; }

@media (min-width: 720px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.32rem; }
  .hero p.lead { font-size: var(--fs-md); }
  .hero-meta .stat strong { font-size: 1.7rem; }
  .hero-meta .stat span { font-size: 0.62rem; }
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; padding: 7px 12px; }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: var(--space-7);
    padding-block: var(--space-7);
    align-items: center;
  }
  .hero h1 { font-size: 3.4rem; }
  .hero-subtitle { font-size: 1.45rem; }
  .hero-visual {
    display: block;
    position: relative;
    height: 480px;
  }
  /* Slide 2: grade de produtos maior, centralizada na coluna direita */
  .hero-products {
    max-width: none;
    margin-top: 0;
    gap: var(--space-3);
    align-self: center;
  }
  .hero-prod { padding: var(--space-3); }
  .hero-prod .label { font-size: 0.62rem; }
  .hero-prod .name { font-size: 0.92rem; margin-top: 4px; }
  .hero-card {
    position: absolute;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    padding: var(--space-4);
    box-shadow: var(--shadow-pop);
    width: 220px;
  }
  /* Cascata diagonal (esq -> dir -> esq) — cada card fica em camada própria,
     sem cobrir a imagem do outro. */
  .hero-card-1 { top: 0;     left: 0;    transform: rotate(-4deg); z-index: 1; }
  .hero-card-2 { top: 138px; right: 0;   transform: rotate(3deg);  z-index: 2; }
  .hero-card-3 { top: 270px; left: 38px; transform: rotate(-2deg); z-index: 3; }
  .hero-card:hover { z-index: 5; }
  .hero-card .label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-teal-2);
  }
  .hero-card .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.96rem;
    color: white;
    margin: var(--space-2) 0;
    line-height: 1.22;
  }
  .hero-card .spec {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-on-dark-muted);
  }
  .hero-card .hero-card-img {
    height: 124px;
    border-radius: var(--radius-sm);
    background: #fff;
    margin-bottom: var(--space-3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }
  .hero-card .hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .atom-rotor {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    z-index: 0;
    opacity: 0.25;
  }
  .atom-rotor .ring {
    fill: none;
    stroke: rgba(14, 165, 165, .8);
    stroke-width: 1;
    transform-origin: center;
    animation: atom-spin 18s linear infinite;
  }
  .atom-rotor .ring.r2 { animation-duration: 26s; animation-direction: reverse; }
  .atom-rotor .ring.r3 { animation-duration: 34s; }
  @keyframes atom-spin { to { transform: rotate(360deg); } }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border-subtle);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
}
.trust-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-left: var(--space-3);
  border-left: 2px solid var(--brand-teal);
}
.trust-item .ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--brand-deep);
  flex-shrink: 0;
}
.trust-item h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: var(--tracking-snug);
}
.trust-item p {
  font-size: var(--fs-sm);
  color: var(--ink-secondary);
  line-height: 1.45;
}
@media (min-width: 560px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    padding-block: var(--space-7);
  }
  .trust-item { padding-left: var(--space-4); gap: var(--space-4); }
  .trust-item .ico { width: 36px; height: 36px; }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.cat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand-teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease-out);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-pop);
}
.cat-card:hover::before { transform: scaleY(1); }

.cat-card-cover { position: absolute; inset: 0; z-index: 3; }
.cat-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(26, 17, 112, .10), rgba(14, 165, 165, .12));
  overflow: hidden;
}
.cat-card-media picture { display: block; width: 100%; height: 100%; }
.cat-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-base) var(--ease-out);
}
.cat-card:hover .cat-card-media img { transform: scale(1.04); }
.cat-card-body { padding: var(--space-5); }
.cat-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  letter-spacing: var(--tracking-snug);
}
.cat-card p {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.cat-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border-subtle);
}
.cat-card .meta .arrow {
  color: var(--brand-teal-700);                /* AA: 5.6:1 em white */
  transition: transform var(--t-fast) var(--ease-out);
}
.cat-card:hover .meta .arrow { transform: translateX(4px); }

@media (min-width: 560px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .cats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
  .cat-card-body { padding: var(--space-6); }
  .cat-card h3 { font-size: var(--fs-lg); }
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.products {
  background: var(--surface-soft);
  border-block: 1px solid var(--border-subtle);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.prod-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}
.prod-card .img {
  height: 110px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 30% 30%, rgba(14, 165, 165, .12), transparent 60%),
    var(--surface-soft);
  display: grid; place-items: center;
  margin-bottom: var(--space-3);
  color: var(--brand-deep);
  overflow: hidden;
}
.prod-card .img.has-img { background: #fff; padding: 8px; }
.prod-card .img picture { display: block; width: 100%; height: 100%; }
.prod-card .img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.prod-card .code {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.prod-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 var(--space-2);
  line-height: 1.25;
  letter-spacing: var(--tracking-snug);
}
.prod-card .mode-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: var(--space-3);
}
.prod-card .mode-tag.quote {
  background: rgba(26, 17, 112, .08);
  color: var(--brand-deep);
}
.prod-card .mode-tag.sale {
  background: rgba(15, 110, 86, .12);
  color: var(--brand-teal-700);                /* AA: 5.6:1 em white/soft */
}
.prod-card .cta {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-deep);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  text-decoration: none;
}
.prod-card:hover .cta { color: var(--brand-teal-700); }

@media (min-width: 720px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .prod-card { padding: var(--space-4); }
  .prod-card .img { height: 130px; }
}
@media (min-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   VOLUME CTA
   ============================================================ */
.volume {
  background: linear-gradient(95deg, var(--accent-yellow) 0%, var(--accent-yellow-2) 100%);
  position: relative;
  overflow: hidden;
}
.volume::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(15, 18, 53, .04) 0 16px,
    transparent 16px 32px
  );
  pointer-events: none;
}
.volume-inner {
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-6);
  text-align: left;
}
.volume .bolt {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-deep);
  display: grid; place-items: center;
  color: var(--accent-yellow);
  flex-shrink: 0;
}
.volume h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 4px;
  color: #1a1100;
  line-height: 1.15;
}
.volume p {
  margin: 0;
  color: rgba(15, 18, 53, .72);
  font-size: var(--fs-sm);
}
.volume .btn { width: 100%; justify-content: center; }

@media (min-width: 720px) {
  .volume-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-6);
    padding-block: var(--space-7);
  }
  .volume .btn { width: auto; }
  .volume .bolt { width: 56px; height: 56px; }
  .volume h2 { font-size: 1.55rem; }
  .volume p { font-size: var(--fs-base); }
}
@media (min-width: 980px) {
  .volume h2 { font-size: 1.85rem; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  gap: var(--space-6);
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-4);
}
.about-text h2 em {
  font-style: normal;
  color: var(--brand-teal-700);                /* AA mesmo em texto grande */
}
.about-text p {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0 0 var(--space-4);
  max-width: 540px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-5) 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.about-stats .stat strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--brand-deep);
  line-height: 1;
}
.about-stats .stat span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
  display: block;
  line-height: 1.3;
}
.about-visual {
  height: 280px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(14, 165, 165, .9), rgba(26, 17, 112, .92)); /* fallback enquanto a foto carrega */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
  order: -1; /* visual em cima no mobile */
}
.about-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 53, .80) 0%, rgba(15, 18, 53, .30) 45%, rgba(15, 18, 53, 0) 72%);
}
.about-visual .quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  padding: var(--space-5);
  max-width: 420px;
}
.about-visual .quote em {
  font-style: normal;
  color: var(--accent-yellow);
}

@media (min-width: 720px) {
  .about-text h2 { font-size: var(--fs-2xl); }
  .about-stats .stat strong { font-size: 1.9rem; }
  .about-visual { height: 360px; }
  .about-visual .quote { font-size: 1.7rem; }
}
@media (min-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
    align-items: center;
  }
  .about-text h2 { font-size: var(--fs-3xl); }
  .about-stats .stat strong { font-size: 2.2rem; }
  .about-visual { height: 460px; order: 0; }
  .about-visual .quote { font-size: 2rem; }
}

