/*
Theme Name: AA45 Guia Cinematic zKBvBfNG
Theme URI: https://aa45.buzz/
Author: AA45 Guia Brasil
Description: Tema editorial independente criado para o AA45 Guia Brasil.
Version: 1.0.0
Text Domain: aa45-guia
*/

:root {
  --bg: #090a0c;
  --surface: #12151a;
  --surface-2: #181c22;
  --text: #f2f2ef;
  --muted: #b4b6b9;
  --accent: #d8a64a;
  --accent-2: #70b8b2;
  --border: #30343a;
  --focus: #f3ce7b;
  --content: 820px;
  --wide: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.74; }
a { color: #f2c46d; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #fff0c7; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--focus); color: #111; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(9,10,12,.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; max-width: var(--wide); margin: auto; padding: .65rem 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.custom-logo { width: auto; height: 52px; max-width: 250px; object-fit: contain; }
.site-name-fallback { font-size: 1.2rem; font-weight: 800; color: #fff; text-decoration: none; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--text); font: inherit; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1rem; }
.primary-menu a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text); text-decoration: none; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.primary-menu a:hover { color: var(--accent); }
main { overflow: hidden; }
.article-shell { padding: clamp(3.5rem, 7vw, 7rem) 1.25rem; }
.article-content { max-width: var(--content); margin: 0 auto; }
.article-content > h1 { max-width: 960px; margin: 0 auto 2rem; text-align: center; font-size: clamp(2.45rem, 6.2vw, 5rem); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.article-content > h1 + p, .article-content > h1 + p + p { font-size: 1.12rem; color: #d7d8d5; }
.article-content h2 { margin: clamp(4rem, 8vw, 6.5rem) 0 1.25rem; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; scroll-margin-top: 95px; }
.article-content h3 { margin: 2.4rem 0 .8rem; font-size: 1.35rem; line-height: 1.25; }
.article-content p { margin: 0 0 1.35rem; }
.article-content ul, .article-content ol { padding-left: 1.4rem; margin: 1.4rem 0 2rem; }
.article-content li { margin: .6rem 0; }
.article-content strong { color: #fff2d6; }
.editorial-figure { width: min(var(--wide), calc(100vw - 2.5rem)); margin: 3rem 50%; transform: translateX(-50%); }
.editorial-figure img { display: block; width: 100%; border-radius: 22px; box-shadow: 0 28px 72px rgba(0,0,0,.38); aspect-ratio: 3 / 2; object-fit: cover; }
.editorial-figure.hero img { aspect-ratio: 16 / 9; }
.editorial-figure.square { max-width: 920px; }
.editorial-figure.square img { aspect-ratio: 1 / 1; }
figcaption { color: var(--muted); font-size: .84rem; margin-top: .8rem; }
.table-wrap { width: min(1120px, calc(100vw - 2.5rem)); margin: 2.2rem 50%; transform: translateX(-50%); overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
table { width: 100%; min-width: 720px; border-collapse: collapse; }
th, td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: #1d2228; color: #fff2d6; font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.asset-list { width: min(960px, calc(100vw - 2.5rem)); margin: 2rem 50%; transform: translateX(-50%); padding: 1.2rem 1.2rem 1.2rem 3.2rem !important; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.asset-list li { padding: .6rem .35rem; }
.faq-section { margin-top: 6rem; }
.faq-section details { border-top: 1px solid var(--border); background: var(--surface); }
.faq-section details:last-child { border-bottom: 1px solid var(--border); }
.faq-section summary { cursor: pointer; min-height: 58px; display: flex; align-items: center; padding: 1rem 1.15rem; font-weight: 800; }
.faq-section details p { padding: 0 1.15rem 1.15rem; margin: 0; color: #d4d5d2; }
.trust-links { margin-top: 2.5rem !important; padding: 1.2rem 1.4rem; border-left: 4px solid var(--accent); background: var(--surface); }
.site-footer { border-top: 1px solid var(--border); background: #07080a; }
.footer-inner { max-width: var(--wide); margin: auto; padding: 3.5rem 1.35rem; display: grid; grid-template-columns: minmax(260px, 1fr) 1.5fr; gap: 3rem; align-items: start; }
.footer-brand { font-size: 1.05rem; font-weight: 800; margin: 0 0 .6rem; }
.footer-note, .footer-contact { color: var(--muted); margin: 0 0 .7rem; font-size: .9rem; }
.email-at::before { content: "@"; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.2rem; }
.footer-links a { color: #e5e5e1; font-size: .88rem; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; background: #0d0f12; border-bottom: 1px solid var(--border); padding: .8rem 1.25rem 1.25rem; }
  .main-navigation.is-open { display: block; }
  .primary-menu { display: grid; gap: .15rem; }
  .primary-menu a { padding: .55rem .7rem; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; padding: .55rem 1rem; }
  .custom-logo { max-width: 205px; height: 45px; }
  .article-shell { padding: 3.2rem 1rem; }
  .article-content > h1 { font-size: clamp(2.3rem, 12vw, 3.3rem); }
  .article-content h2 { margin-top: 3.4rem; }
  .editorial-figure, .table-wrap, .asset-list { width: calc(100vw - 2rem); }
  .editorial-figure img { border-radius: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
