/**
 * YES Elétrica — Components (mobile-first)
 * Buttons, header, footer, cards e demais componentes reusáveis.
 */

/* ============================================================
   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 AMPLO (-50vw a +50vw) + close-delay 300ms no JS:
   combinação dupla que resolve traversal diagonal sem perder hover. */
.nav-mega-trigger { position: relative; }
.nav-mega-trigger::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -50vw;
  right: -50vw;
  height: 28px;                           /* cobre header bottom-pad + overlap com painel */
}

.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 h6 {
  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);
}
