/*
Theme Name: 5bbet Atlas U9WtP3bV
Theme URI: https://5bbet.buzz/
Author: 5bbet Guia Brasil
Description: Tema editorial independente em estilo Midnight Modular Brand Atlas.
Version: 1.0.0
Text Domain: 5bbet-atlas
*/

:root {
  --bg: #071321;
  --bg-soft: #0d1d30;
  --surface: #122941;
  --surface-hi: #173653;
  --cyan: #57d7ec;
  --violet: #9a8cff;
  --coral: #ff9278;
  --amber: #f2bd68;
  --text: #f7f9fc;
  --muted: #b9c8d9;
  --line: #315577;
  --focus: #b5f3ff;
  --max: 1220px;
  --read: 790px;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  background:
    radial-gradient(circle at 85% 8%, rgba(87,215,236,.09), transparent 28rem),
    radial-gradient(circle at 8% 35%, rgba(154,140,255,.07), transparent 26rem),
    var(--bg);
  color: var(--text);
  font: 400 18px/1.72 "Noto Sans", "DejaVu Sans", system-ui, -apple-system, sans-serif;
}
a { color: var(--cyan); text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: #a8f3ff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 99; padding: .8rem 1rem; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 1rem; }
.site-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 40; min-height: 74px; background: rgba(7,19,33,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 1.5rem; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.custom-logo { width: auto; max-width: 260px; height: 52px; object-fit: contain; }
.brand-fallback { color: var(--text); font-weight: 800; text-decoration: none; font-size: 1.15rem; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: flex; align-items: center; min-height: 48px; padding: .55rem .72rem; color: var(--text); font-size: .84rem; font-weight: 700; line-height: 1.25; text-decoration: none; border-radius: 9px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--surface-hi); color: var(--cyan); }

main { display: block; }
.hero { padding: clamp(3.3rem, 7vw, 6rem) 0 2.4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--cyan); font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .62rem; height: .62rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,146,120,.12); }
h1 { margin: 0; max-width: 920px; font-size: clamp(2.35rem, 5.2vw, 4.3rem); line-height: 1.06; letter-spacing: -.035em; }
.hero-note { align-self: stretch; display: grid; align-content: end; min-height: 210px; padding: 1.8rem; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(23,54,83,.96), rgba(13,29,48,.88)); box-shadow: var(--shadow); }
.hero-note span { color: var(--muted); font-size: .9rem; }
.hero-note strong { display: block; margin-top: .4rem; font-size: 1.35rem; line-height: 1.3; }

.entry-content { padding-bottom: clamp(5rem, 9vw, 8rem); }
.entry-content > p, .entry-content > h2, .entry-content > h3, .entry-content > ol, .entry-content > ul, .entry-content > blockquote, .entry-content > .faq-block { width: min(100%, var(--read)); margin-left: auto; margin-right: auto; }
.entry-content > h2 { margin-top: clamp(4rem, 8vw, 7rem); margin-bottom: 1.1rem; padding-top: .35rem; font-size: clamp(1.8rem, 3.6vw, 2.85rem); line-height: 1.15; letter-spacing: -.025em; }
.entry-content > h2::before { content: ""; display: block; width: 72px; height: 4px; margin-bottom: 1.15rem; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--coral)); }
.entry-content > h3 { margin-top: 2.35rem; margin-bottom: .7rem; color: #dfeaff; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.3; }
.entry-content p { margin-top: 0; margin-bottom: 1.25rem; }
.entry-content strong { color: #fff; }
.entry-content ol, .entry-content ul { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .65rem; }
.entry-content blockquote { margin-top: 2rem; margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--coral); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }

.editorial-figure { width: min(100%, 1100px); margin: clamp(2.3rem, 6vw, 4.5rem) auto; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.editorial-figure img { width: 100%; aspect-ratio: var(--ratio, 14 / 9); object-fit: cover; }
.editorial-figure figcaption { padding: .9rem 1.15rem 1.05rem; color: var(--muted); font-size: .86rem; }

.data-table { width: min(100%, 1080px); margin: 2rem auto 2.5rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: rgba(13,29,48,.92); }
th, td { padding: .95rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-hi); color: #fff; font-size: .92rem; }
tr:last-child td { border-bottom: 0; }

.asset-panel { width: min(100%, 1000px); margin: 2rem auto 3rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--surface), rgba(23,54,83,.7)); }
.asset-panel > :last-child { margin-bottom: 0; }

.faq-block { margin-top: 2rem; }
.faq-item { margin: .8rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq-item summary { min-height: 54px; padding: .9rem 3rem .9rem 1.1rem; cursor: pointer; color: #fff; font-weight: 700; }
.faq-answer { padding: 0 1.1rem 1.1rem; color: var(--muted); }

.site-footer { padding: 3.4rem 0 2rem; border-top: 1px solid var(--line); background: #050e19; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.footer-title { margin: 0 0 .5rem; font-size: 1.2rem; }
.footer-copy { max-width: 660px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: .65rem 1rem; }
.footer-links a { color: var(--text); font-size: .9rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(49,85,119,.7); color: var(--muted); font-size: .84rem; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { position: absolute; inset: 74px 0 auto; display: none; padding: 1rem 24px 1.4rem; background: #071321; border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { width: min(100%, var(--max)); margin-inline: auto; flex-direction: column; align-items: stretch; }
  .primary-nav a { font-size: 1rem; }
}
@media (max-width: 839px) {
  body { font-size: 17px; }
  .site-shell { width: min(calc(100% - 40px), var(--max)); }
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-note { min-height: 0; }
  .editorial-figure { border-radius: 16px; }
}
@media (max-width: 599px) {
  body { font-size: 16px; line-height: 1.68; }
  .site-shell { width: min(calc(100% - 32px), var(--max)); }
  .custom-logo { max-width: 205px; height: 44px; }
  .site-header, .header-inner { min-height: 66px; }
  .primary-nav { top: 66px; padding-inline: 16px; }
  .hero { padding-top: 2.8rem; }
  h1 { font-size: clamp(2.05rem, 11vw, 2.75rem); }
  .entry-content > h2 { margin-top: 3.6rem; }
  .editorial-figure img { aspect-ratio: 5 / 4; }
  th, td { padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
