/* Brautigam Advocacia - páginas de atuação
   Cores e fontes extraídas da página inicial do site (tema Brautigam_Advocacia). */
:root {
  --bga-bg: #0d1116;           /* fundo do site */
  --bga-navy: #0f223e;         /* azul do cabeçalho rolado / blocos */
  --bga-card: #1e2a38;         /* cartões */
  --bga-accent: #d4af37;       /* dourado */
  --bga-accent-hover: #e2c04f;
  --bga-on-accent: #0f223e;    /* texto sobre o dourado */
  --bga-text: rgba(255,255,255,.82);
  --bga-muted: rgba(255,255,255,.55);
  --bga-line: rgba(255,255,255,.10);
  --bga-wa: #25d366;           /* botão flutuante do WhatsApp */
  --bga-radius: 12px;
  --bga-font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bga-serif: "Noto Serif", Georgia, "Times New Roman", serif;
}

.bga-body { margin: 0; background: var(--bga-bg); color: var(--bga-text); font-family: var(--bga-font); font-size: 16px; line-height: 1.65; -webkit-text-size-adjust: 100%; }
.bga-body *, .bga-body *::before, .bga-body *::after { box-sizing: border-box; }
.bga-body a { color: inherit; }
.bga-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 12px; }
.bga-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bga-skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 2000; }
.bga-skip:focus { left: 8px; top: 8px; }

/* ---------- Botões ---------- */
.bga-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none !important; border: 0; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.bga-btn-wa { background: var(--bga-accent); color: var(--bga-on-accent) !important; box-shadow: 0 0 22px rgba(212,175,55,.22); }
.bga-btn-wa:hover { background: var(--bga-accent-hover); box-shadow: 0 0 28px rgba(212,175,55,.38); }
.bga-btn-sm { padding: 8px 24px; white-space: nowrap; }
.bga-btn-block { display: flex; width: 100%; }
.bga-ico { flex: none; }
.bga-btn:focus-visible, .bga-fab:focus-visible, .bga-body a:focus-visible, .bga-body button:focus-visible, .bga-faq summary:focus-visible { outline: 3px solid var(--bga-accent); outline-offset: 2px; }

/* ---------- Cabeçalho (igual à home) ---------- */
.bga-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 16px 0; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, padding .3s, box-shadow .3s, border-color .3s; }
.admin-bar .bga-nav { top: 32px; }
.bga-nav.is-scrolled, .bga-nav.is-open { background: rgba(15,34,62,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--bga-line); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.bga-nav.is-scrolled { padding: 8px 0; }
.bga-nav-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.bga-logo { display: block; flex: none; line-height: 0; }
.bga-logo img { display: block; width: 150px; height: auto; max-width: 100%; transition: width .3s; }
.bga-toggler { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-radius: 6px; color: var(--bga-accent); cursor: pointer; }
.bga-menu { display: none; flex-basis: 100%; padding: 8px 0 12px; }
.bga-nav.is-open .bga-menu { display: block; }
.bga-menu-list { list-style: none; margin: 0 0 12px; padding: 0; }
.bga-menu-list > li { position: relative; }
.bga-link { display: block; padding: 10px 8px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: rgba(255,255,255,.8) !important; text-decoration: none !important; transition: color .15s; }
.bga-link:hover, .bga-link:focus-visible, .bga-link.is-current { color: var(--bga-accent) !important; }
.bga-sub-toggle { display: none; }
.bga-sub { list-style: none; margin: 0 0 6px 8px; padding: 0 0 0 12px; border-left: 2px solid rgba(212,175,55,.45); }
.bga-sub a { display: block; padding: 8px 6px; font-size: 14px; color: rgba(255,255,255,.8) !important; text-decoration: none !important; }
.bga-sub a:hover, .bga-sub a:focus-visible, .bga-sub a[aria-current="page"] { color: var(--bga-accent) !important; }
.bga-sub a[aria-current="page"] { font-weight: 700; }

@media (min-width: 768px) {
  .bga-nav-in { flex-wrap: nowrap; }
  .bga-logo img { width: 200px; }
  .bga-toggler { display: none; }
  .bga-menu { display: flex !important; flex: 0 1 auto; align-items: center; gap: 24px; padding: 0; }
  .bga-menu-list { display: flex; align-items: center; gap: 8px; margin: 0; }
  .bga-link { padding: 8px; }
  .bga-has-sub { display: flex; align-items: center; }
  .bga-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; margin-left: -6px; padding: 0; background: transparent; border: 0; color: rgba(255,255,255,.8); cursor: pointer; }
  .bga-sub-toggle:hover { color: var(--bga-accent); }
  .bga-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; margin: 8px 0 0; padding: 8px; background: rgba(15,34,62,.98); border: 1px solid var(--bga-line); border-radius: 10px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.35); }
  .bga-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .bga-sub a { padding: 10px 12px; border-radius: 6px; }
  .bga-sub a:hover { background: rgba(255,255,255,.06); }
  .bga-has-sub:hover > .bga-sub, .bga-has-sub:focus-within > .bga-sub, .bga-has-sub.is-open > .bga-sub { display: block; }
  .bga-menu > .bga-btn { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.bga-hero { background: radial-gradient(900px 420px at 85% 10%, rgba(15,34,62,.9), transparent 70%), linear-gradient(120deg, #111a28 0%, var(--bga-bg) 62%); color: #fff; padding: 136px 0 44px; }
.bga-eyebrow { margin: 0 0 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--bga-accent); font-weight: 500; }
.bga-hero h1 { margin: 0 0 16px; font-family: var(--bga-serif); font-weight: 700; font-size: clamp(28px, 5.4vw, 46px); line-height: 1.22; max-width: 20em; color: #fff; }
.bga-hero-sub { margin: 0 0 26px; color: rgba(255,255,255,.62); font-size: 18px; max-width: 34em; }
.bga-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bga-hero.has-img { position: relative; isolation: isolate; overflow: hidden; background: var(--bga-bg); }
.bga-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.bga-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,17,22,.60) 0%, rgba(13,17,22,.90) 100%); }
.bga-hero.has-img .bga-hero-in { text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.admin-bar .bga-hero { padding-top: 168px; }
@media (min-width: 720px) { 
/* ---------- Conteúdo ---------- */
.bga-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-top: 28px; padding-bottom: 56px; }
.bga-article { background: var(--bga-card); border: 1px solid rgba(255,255,255,.05); border-radius: var(--bga-radius); padding: 24px 20px; min-width: 0; box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); }
.bga-article > :first-child { margin-top: 0; }
.bga-article h2 { font-family: var(--bga-serif); font-size: 24px; line-height: 1.3; color: #fff; margin: 34px 0 10px; padding-top: 6px; }
.bga-article p { margin: 0 0 14px; }
.bga-article a { color: var(--bga-accent); }
.bga-article .bga-lead { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.94); padding-bottom: 8px; border-bottom: 1px solid var(--bga-line); margin-bottom: 8px; }
.bga-article ul { margin: 0 0 16px; padding: 0; list-style: none; }
.bga-article ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.bga-article ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--bga-accent); transform: rotate(45deg); }
.bga-article img { max-width: 100%; height: auto; border-radius: 10px; }
.bga-article figure { margin: 22px 0; }
.bga-article figcaption { margin-top: 6px; font-size: 13px; color: var(--bga-muted); }

/* FAQ */
.bga-faq { margin: 8px 0; border-top: 1px solid var(--bga-line); }
.bga-faq details { border-bottom: 1px solid var(--bga-line); }
.bga-faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; color: #fff; position: relative; }
.bga-faq summary::-webkit-details-marker { display: none; }
.bga-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--bga-accent); font-weight: 400; }
.bga-faq details[open] summary::after { content: "\2212"; }
.bga-faq-a { padding: 0 0 8px; }

/* Veja também */
.bga-related { margin-top: 30px; }
.bga-related ul { display: flex; flex-wrap: wrap; gap: 10px; }
.bga-related li { padding: 0 !important; margin: 0 !important; }
.bga-related li::before { display: none !important; }
.bga-related a { display: inline-block; padding: 10px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 15px; transition: border-color .15s, color .15s; }
.bga-related a:hover { border-color: var(--bga-accent); color: var(--bga-accent) !important; }

/* CTA final */
.bga-cta { margin-top: 32px; background: var(--bga-navy); border: 1px solid var(--bga-line); border-top: 3px solid var(--bga-accent); border-radius: var(--bga-radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bga-cta p { margin: 0; font-family: var(--bga-serif); font-size: 21px; line-height: 1.4; color: #fff; }
.bga-disclaimer { margin: 20px 0 0 !important; font-size: 13px; color: var(--bga-muted); }

/* Lateral */
.bga-card { background: var(--bga-card); border: 1px solid rgba(255,255,255,.05); border-radius: var(--bga-radius); padding: 24px 22px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); }
.bga-card h2 { font-family: var(--bga-serif); font-size: 20px; margin: 0; color: #fff; }
.bga-card-oab { margin: 2px 0 16px; font-size: 13px; letter-spacing: .04em; color: var(--bga-accent); }
.bga-contact { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; }
.bga-contact li { padding: 10px 0; border-top: 1px solid var(--bga-line); }
.bga-contact span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bga-muted); }
.bga-contact a { color: #fff; word-break: break-word; }

/* Rodapé */
.bga-footer { background: #0a0d12; border-top: 1px solid var(--bga-line); color: var(--bga-muted); padding-top: 40px; font-size: 15px; }
.bga-footer a { color: rgba(255,255,255,.85); }
.bga-footer a:hover { color: var(--bga-accent); }
.bga-footer p { margin: 0 0 6px; }
.bga-footer ul { list-style: none; margin: 0; padding: 0; }
.bga-footer li { margin-bottom: 6px; }
.bga-footer-in { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
.bga-footer-brand { font-family: var(--bga-serif); font-size: 19px; color: #fff; }
.bga-footer-h { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bga-accent); }
.bga-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--bga-line); padding-top: 16px; padding-bottom: 96px; font-size: 13px; }

/* Botão flutuante do WhatsApp (igual à home) */
.bga-fab { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bga-wa); color: #fff !important; text-decoration: none !important; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); transition: transform .15s; }
.bga-fab:hover { transform: scale(1.06); }
.bga-fab .bga-ico { width: 30px; height: 30px; }

@media (min-width: 720px) {
  .bga-hero { padding: 168px 0 72px; }
  .bga-article { padding: 36px 40px; }
  .bga-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .bga-cta .bga-btn { flex: none; white-space: nowrap; }
  .bga-footer-in { grid-template-columns: 1.4fr 1fr; }
  .bga-fab { right: 32px; bottom: 32px; width: 64px; height: 64px; }
  .bga-fab .bga-ico { width: 34px; height: 34px; }
}
@media (min-width: 900px) {
  .bga-hero.has-img { min-height: 480px; display: flex; align-items: center; }
  .bga-hero.has-img::before { background: linear-gradient(90deg, rgba(13,17,22,.95) 0%, rgba(13,17,22,.84) 42%, rgba(13,17,22,.30) 100%); }
  .bga-hero.has-img .bga-hero-in { width: 100%; }
  .bga-hero.has-img h1, .bga-hero.has-img .bga-hero-sub { max-width: 600px; }
  .bga-hero.has-img.is-right::before { background: linear-gradient(270deg, rgba(13,17,22,.95) 0%, rgba(13,17,22,.84) 42%, rgba(13,17,22,.25) 100%); }
  .bga-hero.is-right .bga-hero-in { padding-left: calc(12px + 50%); }
  .bga-hero.is-right h1, .bga-hero.is-right .bga-hero-sub { max-width: 560px; }
}
@media (min-width: 980px) {
  .bga-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 32px; padding-top: 48px; }
  .bga-aside { position: sticky; top: 112px; }
}
@media (max-width: 782px) { .admin-bar .bga-nav { top: 46px; } .admin-bar .bga-hero { padding-top: 182px; } }
@media (prefers-reduced-motion: reduce) { .bga-btn, .bga-nav, .bga-fab, .bga-logo img { transition: none; } }
@media print { .bga-fab, .bga-nav { display: none !important; } }
