/* =============================================================
   HBK Advogados Child - site-style.css
   CSS de identidade extraido de site/index.html (paleta REAL HBK).
   Usado por header.php / footer.php / single.php / archive.php.
   Paleta: navy #1F2E4D, teal #5E9A90, navy-deep #161E33, dourado #A87520.
   Tipografia: Manrope (headings) + Inter (body).
   ============================================================= */

:root {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface-2: #F5F5F5;
  --white: #FFFFFF;
  --ink: #1C1C1C;
  --muted: #828282;
  --muted-2: #525252;
  --accent: #1F2E4D;        /* navy primaria HBK */
  --accent-soft: #E5E9F0;   /* navy clareado */
  --accent-deep: #161E33;   /* navy escurecido (fundo dark) */
  --accent-2: #5E9A90;      /* teal assinatura HBK (cor de destaque) */
  --accent-2-soft: #E5F0EE; /* teal clareado */
  --gold: #A87520;          /* dourado HBK (pontual) */
  --border: rgba(28, 28, 28, 0.1);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-body: 'Inter', sans-serif;
  --font-headings: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-headings); font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* ============ BOTOES ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-size: 15px; font-weight: 500; font-family: var(--font-body); cursor: pointer; border: none; transition: transform .25s ease, opacity .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-navy { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-green { background: #25D366; color: #fff; }
.btn-arrow::after { content: '\2192'; font-size: 15px; transition: transform .25s ease; }
.btn:hover.btn-arrow::after { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--ink); }
.link-arrow::after { content: '\2192'; transition: transform .25s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow.light { color: #fff; }

/* ============ EYEBROW / BADGE ============ */
.eyebrow { display: inline-flex; padding: 7px 16px; border-radius: 999px; background: var(--accent-2-soft); color: var(--accent-2); font-size: 14px; font-weight: 600; letter-spacing: .01em; }

/* ============ HEADER ============ */
header.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
/* especificidade 0,2,1 + flex-wrap:nowrap pra vencer hello-elementor `.site-header .header-inner{flex-wrap:wrap}`.
   Valores espelham a home (max-width 1280, SEM gap) pra o nav ter a mesma largura e nao quebrar os itens. */
header.site-header .header-inner { max-width: 1280px; margin: 0 auto; padding: 16px 25px; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; }
header.site-header .logo { flex-shrink: 0; }
header.site-header .header-cta { flex-shrink: 0; }
header.site-header .nav-links { flex-wrap: nowrap; }
header.site-header .nav-links a { white-space: nowrap; }
.logo { font-family: var(--font-headings); font-size: 23px; font-weight: 700; color: var(--accent); letter-spacing: .01em; }
.logo span { color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink); transition: background .2s ease; }
.nav-links a:hover, .nav-links a.active { background: var(--surface); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s ease; }

/* ============ FOOTER ============ */
footer.site-footer { padding: 24px 25px 48px; background: var(--bg); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.footer-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; padding: 44px 0 36px; border-top: 1px solid var(--border); }
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 15px; color: var(--muted-2); max-width: 290px; margin-bottom: 14px; line-height: 1.6; }
.footer-online { font-size: 14px; color: var(--accent-2); font-weight: 600; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--accent-soft); border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; fill: var(--accent); }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; font-family: var(--font-headings); color: var(--accent); }
.footer-col a { display: block; font-size: 15px; color: var(--muted-2); margin-bottom: 12px; transition: color .2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--muted-2); margin-bottom: 14px; line-height: 1.45; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom a { color: var(--accent-2); font-weight: 600; }
.footer-disclaimer { max-width: 1200px; margin: 0 auto; padding: 18px 25px 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; text-align: center; }

/* ============ WHATSAPP FLUTUANTE (G-10) ============ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #25D366; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0,0,0,0.18), 0 2px 8px rgba(37,211,102,0.32); z-index: 9998; transition: transform 0.25s ease; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: rgba(37,211,102,0.32); animation: wa-pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes wa-pulse { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ============ MOBILE MENU CANONICO (G-12) ============ */
body.menu-open { overflow: hidden; }
.mobile-menu-overlay { display: none; position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; background: var(--bg) !important; z-index: 99999 !important; flex-direction: column; padding: 84px 32px 36px; }
.mobile-menu-overlay.open { display: flex !important; }
.mobile-menu-close { position: absolute !important; top: 20px; right: 20px; width: 44px; height: 44px; border: 1px solid var(--border); background: transparent; border-radius: 50%; font-size: 22px; cursor: pointer; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.mobile-menu-close:hover { background: var(--accent-soft); transform: rotate(90deg); }
.mobile-menu-overlay nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-overlay nav a { font-size: 24px; font-family: var(--font-headings); font-weight: 600; color: var(--accent); padding: 14px 0; border-bottom: 1px solid var(--border); transition: padding-left .2s, color .2s; }
.mobile-menu-overlay nav a:hover { color: var(--ink); padding-left: 6px; }
.mobile-menu-overlay .btn { margin-top: 26px; justify-content: center; }
.mobile-menu-meta { color: var(--muted); font-size: 13px; margin-top: 22px; max-width: 300px; line-height: 1.5; }

/* ============ RESPONSIVO HEADER/FOOTER ============ */
@media (max-width: 1024px) {
  .nav-links, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}
