/*
  Grupo WG | Refinamento fiel V2 — 04/11/2026
  Somente acabamento visual, usabilidade e acessibilidade.
  MANTIDOS: estrutura HTML, ordem de seções, hero, imagem, grid 3 colunas,
  logo, paleta principal, textos e destinos de todos os CTAs.
  Este arquivo pode ser removido para voltar instantaneamente à aparência V1.
*/
:root {
  --wg-gold-legible: #84663f;
  --wg-shadow-soft: 0 8px 26px rgba(9, 35, 62, .065);
}

/* Tipografia: melhorar a leitura sem trocar fonte ou dimensões do layout. */
body { text-rendering: optimizeLegibility; }
.hero-lead,
.service-card > p,
.intelligence-inner p:not(.eyebrow),
.about-teaser p:not(.eyebrow),
.contact-band p { text-wrap: pretty; }
.section-head h2,
.process-section h2,
.contact-band h2 { text-wrap: balance; }

/* O dourado de texto pequeno passa a ter mais contraste com fundo branco.
   O dourado do título hero, marca e ícones permanece ORIGINAL. */
.eyebrow,
.contact-detail > span,
.item-number { color: var(--wg-gold-legible); }
.hero-copy .eyebrow span { background: var(--wg-gold-legible); }
.intelligence-inner .eyebrow { color: #d2b781; } /* sobre o fundo azul */

/* Cabeçalho: preservar a mesma disposição, com leitura e feedback refinados. */
.desktop-nav a,
.intelligence-link,
.mobile-nav a,
.footer-top a { transition: color .18s ease; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.intelligence-link:hover,
.intelligence-link:focus-visible { color: var(--wg-gold-legible); }
.header-contact,
.button { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.header-contact:hover,
.header-contact:focus-visible { box-shadow: 0 5px 16px rgba(9, 35, 62, .10); }

/* CTAs: manter estilos e locais, reforçando apenas o estado interativo. */
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 17px rgba(9, 35, 62, .11); }
.button:active { transform: translateY(0); box-shadow: none; }
.button.light:hover { box-shadow: 0 5px 18px rgba(0, 0, 0, .12); }
.text-link { transition: color .18s ease, border-color .18s ease; }
.text-link:hover,
.text-link:focus-visible { color: var(--wg-gold-legible); border-bottom-color: currentColor; }

/* Os três cartões CONTINUAM na mesma grade, sem alterar dimensões padrão. */
.service-card { transition: border-color .2s ease, box-shadow .2s ease; }
.service-card:hover,
.service-card:focus-within { border-color: #cfc2ad; box-shadow: var(--wg-shadow-soft); }
.service-card .button:focus-visible { outline-offset: 4px; }

/* Campos: destaque discreto do foco e leitura clara dos rótulos. */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--wg-gold-legible); outline-offset: 1px; }
.consent input:focus-visible { outline: 2px solid var(--wg-gold-legible); outline-offset: 3px; }

/* Rodapé secundário: pequena correção de legibilidade. */
.footer-top > div:not(.footer-brand) > a,
.footer-contact p { font-size: 12px; }
.footer-bottom p,
.footer-bottom a { font-size: 11px; }

@media (max-width: 1000px) {
  /* Preserva o menu original, mas melhora seu acabamento ao abrir. */
  .mobile-nav:not([hidden]) { background: #fff; box-shadow: 0 14px 25px rgba(9, 35, 62, .07); }
  .menu-toggle[aria-expanded="true"] { border-color: #cfc2ad; }
  .mobile-nav a:hover,
  .mobile-nav a:focus-visible { color: var(--wg-gold-legible); }
}

@media (max-width: 700px) {
  /* Mesma sequência hero → imagem → serviços, sem mudar componentes. */
  .hero-actions .button { max-width: 100%; }
  .hero-actions .text-link { min-height: 32px; }
  .service-card .button { min-height: 49px; }
  .service-card:hover { box-shadow: none; } /* economia visual no toque */
  .footer-top > div:not(.footer-brand) > a,
  .footer-contact p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .service-card,
  .header-contact,
  .desktop-nav a,
  .intelligence-link,
  .mobile-nav a,
  .footer-top a,
  .text-link { transition: none !important; transform: none !important; }
}
