/*
Theme Name: 7xx Guia Editorial
Theme URI: https://7xx.cam/
Author: 7xx.cam
Description: Tema editorial independente em português do Brasil.
Version: 1.0.0
Text Domain: sevenxx-guide
*/

:root {
  --bg: #071915;
  --surface: #0b211c;
  --surface-2: #102a24;
  --gold: #f3b33d;
  --mint: #19c6a5;
  --text: #f4f8f6;
  --muted: #afc2ba;
  --border: #29483e;
  --info: #15372f;
  --focus: #79e0be;
  --danger: #e08b7b;
  --max: 1180px;
  --article: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.78; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 55%); }
a { color: var(--focus); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--gold); color: #071915; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 68px; background: rgba(7,25,21,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.custom-logo-link { display: flex; min-width: 88px; min-height: 44px; align-items: center; }
.custom-logo { width: auto; height: 44px; max-width: 150px; object-fit: contain; }
.brand-fallback { font-size: 1.8rem; font-weight: 900; color: var(--text); text-decoration: none; letter-spacing: -.04em; }
.desktop-nav ul, .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.desktop-nav ul { display: flex; align-items: center; gap: 4px; }
.desktop-nav a, .mobile-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 13px; color: var(--text); text-decoration: none; border-radius: 8px; font-size: .92rem; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav .current-menu-item > a, .mobile-nav a:hover { background: var(--info); color: var(--gold); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { min-width: 48px; min-height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-weight: 800; }
.mobile-nav summary::marker { content: ""; }
.mobile-nav[open] ul { position: absolute; right: 0; top: 56px; width: min(310px, calc(100vw - 32px)); padding: 12px; background: #0b211c; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 42px rgba(0,0,0,.35); }

.site-main { min-height: 60vh; }
.article { width: min(calc(100% - 40px), var(--article)); margin: 0 auto; padding: 72px 0 96px; }
.home-article { width: min(calc(100% - 40px), 940px); }
.article-header { padding-bottom: 38px; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
h1, h2, h3 { color: var(--text); line-height: 1.16; letter-spacing: -.025em; }
h1 { margin: 0; max-width: 900px; font-size: clamp(2.4rem, 6vw, 4.35rem); }
.dek { max-width: 760px; margin: 22px 0 0; font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 10px 18px; border: 1px solid var(--gold); border-radius: 8px; background: var(--gold); color: #081b17; font-weight: 900; text-decoration: none; }
.button.secondary { background: transparent; color: var(--text); border-color: var(--border); }
.button:hover { background: var(--mint); border-color: var(--mint); color: #061512; }
.article > h2, .article section > h2 { margin: 86px 0 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: clamp(1.7rem, 4vw, 2.55rem); }
.article h2::before { content: ""; display: block; width: 52px; height: 4px; margin: -18px 0 20px; background: var(--gold); border-radius: 3px; }
.article h3 { margin: 38px 0 14px; font-size: 1.35rem; color: #d6f6ed; }
.article p, .article li { color: #e2ece8; }
.article strong { color: #fff; }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin: .52em 0; }
.article figure { margin: 36px 0 10px; }
.article figure img { display: block; width: 100%; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.2); background: var(--surface); }
.article figcaption { padding: 9px 4px 0; color: var(--muted); font-size: .83rem; }
.note, .snapshot { padding: 20px 22px; margin: 28px 0; border: 1px solid var(--border); border-left: 4px solid var(--mint); border-radius: 8px; background: var(--info); }
.snapshot { border-left-color: var(--gold); }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 13px 15px 13px 48px; margin: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.checklist li::before { content: "✓"; position: absolute; left: 16px; color: var(--mint); font-weight: 900; }
.faq { margin-top: 20px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 900; color: var(--text); }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0; padding-bottom: 18px; }

.site-footer { border-top: 1px solid var(--border); background: #05130f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 58px 0 38px; }
.footer-grid h2 { margin: 0 0 13px; font-size: 1rem; color: var(--gold); letter-spacing: .03em; }
.footer-grid p { margin: 0 0 13px; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom { padding: 22px 0 34px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }

.not-found { min-height: 60vh; padding: 90px 0; text-align: center; }
.not-found h1 { margin-inline: auto; }
@media (max-width: 920px) { .desktop-nav { display: none; } .mobile-nav { display: block; } .article { padding-top: 54px; } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-intro { grid-column: 1 / -1; } }
@media (max-width: 600px) { body { font-size: 16px; } .wrap, .article, .home-article { width: min(calc(100% - 32px), var(--max)); } .article { padding: 42px 0 64px; } h1 { font-size: clamp(2.15rem, 11vw, 3.1rem); } .article > h2, .article section > h2 { margin-top: 58px; } .hero-actions .button { width: 100%; justify-content: center; } .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-intro { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

