/*
Theme Name: GGBB Guia Editorial 2495wHcP
Theme URI: https://ggbb.cam/
Author: GGBB Guia
Description: Tema editorial independente em verde-esmeralda para conteúdo aprofundado sobre GGBB.
Version: 1.0.0
Text Domain: ggbb-guia
*/

:root {
  --bg: #061713;
  --surface: #0b211c;
  --surface-2: #102c25;
  --text: #f4f8f6;
  --muted: #b5c8c0;
  --line: #2b4c41;
  --gold: #efc968;
  --mint: #56d2aa;
  --focus: #9df0d4;
  --max: 1180px;
  --article: 780px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.78 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.menu-open { overflow: hidden; }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.site-header { position: sticky; top: 0; z-index: 30; min-height: 68px; background: rgba(6,23,19,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 68px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.custom-logo { width: 196px; height: auto; max-height: 52px; object-fit: contain; }
.brand-fallback { color: var(--text); font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 25px; cursor: pointer; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: flex; min-height: 44px; align-items: center; padding: 8px 10px; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 6px; }
.main-nav a:hover, .main-nav .current-menu-item a { background: var(--surface-2); color: var(--gold); }
.site-main { min-height: 60vh; }
.article-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.article-header { max-width: 920px; padding: 88px 0 44px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; max-width: 900px; font-size: clamp(2.5rem, 5.3vw, 4.3rem); line-height: 1.04; letter-spacing: -.045em; }
.dek { max-width: 800px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.28rem); line-height: 1.58; }
.article-body { max-width: var(--article); padding: 56px 0 96px; }
.article-body > p:first-child { color: var(--text); font-size: 1.15rem; }
.article-body h2 { scroll-margin-top: 92px; margin: 78px 0 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(1.75rem, 3.1vw, 2.55rem); line-height: 1.15; letter-spacing: -.03em; }
.article-body h2::before { content: ""; display: block; width: 58px; height: 4px; margin: -18px 0 20px; background: var(--gold); }
.article-body h3 { margin: 42px 0 16px; color: var(--mint); font-size: 1.35rem; line-height: 1.3; }
.article-body p, .article-body li { color: #e4eeea; }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li + li { margin-top: 10px; }
.article-body figure { margin: 48px 0; }
.article-body figure img { width: 100%; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.article-body figcaption { margin-top: 10px; color: var(--muted); font-size: .86rem; }
.hero-figure { max-width: 1040px; margin: 42px 0 0; }
.hero-figure img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 58px rgba(0,0,0,.3); }
.callout, .verdict, .source-note { margin: 34px 0; padding: 24px 26px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; }
.source-note { border-left-color: var(--mint); }
.table-wrap { width: 100%; margin: 36px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface); }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--gold); background: var(--surface-2); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.checklist { margin: 34px 0; padding: 22px 26px 22px 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.faq-block { margin-top: 78px; }
.faq-block details { margin: 12px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.faq-block summary { min-height: 52px; padding: 16px 48px 16px 18px; cursor: pointer; color: var(--text); font-weight: 750; }
.faq-answer { padding: 0 18px 18px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #04110e; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: auto; padding: 56px 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.footer-title { margin: 0 0 8px; font-size: 1.15rem; font-weight: 850; }
.footer-note { max-width: 560px; margin: 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 18px; }
.footer-links a { color: var(--text); }
.footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
@media (max-width: 980px) {
  .header-inner { width: min(100% - 32px, var(--max)); }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav { position: fixed; inset: 68px 0 0; display: none; padding: 22px 16px 50px; background: #061713; overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; }
  .main-nav li + li { margin-top: 6px; }
  .main-nav a { min-height: 50px; padding: 10px 14px; font-size: 16px; background: var(--surface); border: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .article-shell, .footer-inner { width: min(100% - 32px, var(--max)); }
  .article-header { padding: 54px 0 34px; }
  .article-body { padding: 38px 0 72px; }
  .article-body h2 { margin-top: 56px; }
  .custom-logo { width: 168px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-meta { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

