/*
Theme Name: Guia 7zbet Run vm7PxaMQ
Theme URI: https://7zbet.buzz/
Author: Guia 7zbet Brasil
Description: Tema editorial independente, criado exclusivamente para a reconstrução vm7PxaMQ.
Version: 1.0.0
Text Domain: guia-7zbet
*/

:root {
  --bg: #071915;
  --surface: #0b211c;
  --surface-2: #102a24;
  --ink: #f4f8f6;
  --muted: #afc2ba;
  --gold: #e8c45b;
  --mint: #3bc29a;
  --line: #29483e;
  --focus: #79e0be;
  --max: 1180px;
  --article: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans", "DejaVu Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
body.menu-open { overflow: hidden; }
a { color: #8ce5c8; text-decoration-thickness: .08em; text-underline-offset: .18em; }
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; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 68px; background: rgba(7,25,21,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - 40px), var(--max)); min-height: 68px; margin: auto; display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 50px; text-decoration: none; }
.brand img { width: auto; height: 42px; max-width: 230px; object-fit: contain; }
.brand-text { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: flex; min-height: 44px; align-items: center; padding: 8px 10px; border-radius: 7px; color: var(--ink); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--surface-2); color: var(--gold); }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }

.site-main { min-height: 60vh; }
.article-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.entry-content { width: min(100%, var(--article)); margin: 0 auto; padding: 74px 0 88px; }
.entry-content > h1 { margin: 0 0 28px; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.06; letter-spacing: -.045em; }
.entry-content > h1::before { content: ""; display: block; width: 72px; height: 4px; margin-bottom: 24px; border-radius: 99px; background: var(--gold); }
.entry-content > p:first-of-type { color: #e8f0ed; font-size: 1.12rem; line-height: 1.72; }
.entry-content section { margin-top: 76px; scroll-margin-top: 94px; }
.entry-content h2 { position: relative; margin: 72px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(1.75rem, 3.8vw, 2.45rem); line-height: 1.18; letter-spacing: -.025em; }
.entry-content section > h2:first-child { margin-top: 0; }
.entry-content h2::after { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--gold); }
.entry-content h3 { margin: 44px 0 16px; color: #78dcba; font-size: 1.35rem; line-height: 1.25; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin: .42em 0; }
.entry-content strong { color: #fff8dc; }

.editorial-image { width: min(1040px, calc(100vw - 40px)); margin: 42px 50% 48px; transform: translateX(-50%); }
.editorial-image img { width: 100%; max-height: 680px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.26); object-fit: cover; }
.editorial-image figcaption { max-width: var(--article); margin: 12px auto 0; color: var(--muted); font-size: .88rem; }

.table-wrap { width: min(1040px, calc(100vw - 40px)); margin: 34px 50% 42px; transform: translateX(-50%); overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; min-width: 720px; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { background: var(--surface-2); color: var(--gold); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }

.faq-list { margin-top: 26px; }
.faq-item { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.faq-item summary { display: flex; min-height: 54px; align-items: center; padding: 14px 46px 14px 18px; color: var(--ink); font-weight: 750; cursor: pointer; }
.faq-answer { padding: 0 18px 18px; color: #d7e4df; }
.faq-answer p { margin: 0; }

.site-footer { border-top: 1px solid var(--line); background: #05120f; }
.footer-inner { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 50px 0; display: grid; grid-template-columns: minmax(250px, 1.2fr) minmax(280px, 1fr); gap: 54px; }
.footer-title { margin: 0 0 8px; color: var(--gold); font-size: 1.15rem; font-weight: 800; }
.footer-note, .footer-contact { margin: 0 0 10px; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
.footer-links a { min-height: 44px; display: flex; align-items: center; color: var(--ink); }

@media (max-width: 1160px) {
  .main-nav a { font-size: .78rem; padding-inline: 7px; }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { position: fixed; inset: 69px 0 auto; display: none; max-height: calc(100vh - 69px); overflow: auto; padding: 16px 20px 26px; background: #071915; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; gap: 4px; }
  .main-nav a { min-height: 48px; padding: 10px 14px; font-size: 1rem; white-space: normal; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner, .article-shell, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
  .brand img { height: 36px; max-width: 205px; }
  .entry-content { padding: 48px 0 62px; }
  .entry-content > h1 { font-size: clamp(2.1rem, 11.5vw, 2.65rem); }
  .entry-content section { margin-top: 50px; }
  .entry-content h2 { margin-top: 52px; font-size: 1.75rem; }
  .editorial-image, .table-wrap { width: calc(100vw - 32px); }
  .editorial-image img { max-height: 520px; border-radius: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
