/*
Theme Name: 2288bet Guia Brasil
Theme URI: https://2288bet.bond/
Author: Equipe editorial 2288bet Guia
Description: Tema editorial independente em português brasileiro.
Version: 1.0.3
Text Domain: bet2288-guide
*/

:root {
  --bg: #f4f8f6;
  --surface: #fff;
  --hero: #0f7a5a;
  --hero-deep: #0a5c45;
  --accent: #18a879;
  --accent-soft: #7bc9a9;
  --gold: #f1c75b;
  --ink: #102a22;
  --muted: #60736b;
  --border: #d8e8e0;
  --info: #eaf6f1;
  --warning: #fff5d9;
  --warning-ink: #946316;
  --danger: #b84b4b;
  --focus: #064e3b;
  --shadow: 0 14px 36px rgba(17,84,63,.10);
  --radius: 18px;
  --wrap: 1160px;
  --reading: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--hero-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); margin-inline: auto; }
.site-main { min-height: 55vh; }
.site-header { background: var(--hero); color: #fff; position: relative; z-index: 30; }
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { color: #fff; font-size: 1.45rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; flex: 0 0 auto; display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { width: 180px; height: auto; max-height: 40px; object-fit: contain; }
.brand:hover { color: #fff; opacity: .9; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 5px; list-style: none; padding: 0; margin: 0; }
.site-nav a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .94rem; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { background: rgba(255,255,255,.13); }
.site-nav li:last-child a { margin-left: 4px; background: #fff; color: var(--hero-deep); padding-inline: 18px; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.6); border-radius: 12px; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.page-intro { padding: 68px 0 42px; }
.page-intro .eyebrow, .hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--hero-deep); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 99px; background: var(--accent); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin: 0 0 22px; font-size: clamp(2.15rem, 5.4vw, 4.7rem); max-width: 920px; }
h2 { margin: 0 0 22px; font-size: clamp(1.72rem, 3.2vw, 2.65rem); }
h3 { margin: 30px 0 12px; font-size: clamp(1.22rem, 2vw, 1.55rem); }
p { margin: 0 0 1.15em; }
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; color: #314b42; max-width: 840px; }
.updated { margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.hero { background: linear-gradient(135deg, var(--hero-deep), var(--hero)); color: #fff; overflow: hidden; }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 55fr 45fr; align-items: center; gap: 44px; padding-block: 70px; }
.hero .eyebrow, .hero .lede { color: #e4fff3; }
.hero .updated { color: #cceee0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 26px; box-shadow: 0 26px 60px rgba(3,43,31,.35); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home .quick-access h2 { margin-bottom: 24px; }
.home .quick-access-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home .quick-access-grid a { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
.home .quick-access-grid a:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.home .quick-access-grid strong { color: var(--hero-deep); font-size: 1.04rem; line-height: 1.3; }
.home .quick-access-grid span { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 12px; background: var(--hero); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 7px 18px rgba(15,122,90,.18); }
.button:hover { color: #fff; background: var(--hero-deep); transform: translateY(-1px); }
.hero .button { background: #fff; color: var(--hero-deep); }
.hero .button:hover { color: var(--hero-deep); background: #effff7; }
.button.secondary { background: transparent; color: var(--hero-deep); border: 1px solid var(--hero); box-shadow: none; }
.content-section { padding: 72px 0; scroll-margin-top: 84px; }
.content-section:nth-child(even) { background: var(--surface); }
.content-section.compact { padding-block: 48px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); gap: 52px; align-items: center; }
.section-grid.reverse .section-copy { order: 2; }
.section-media { min-width: 0; }
.section-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.section-media.landscape img { aspect-ratio: 16/10; }
.section-media.square img { aspect-ratio: 1; }
.prose { width: min(100%, var(--reading)); margin-inline: auto; }
.prose > *:first-child { margin-top: 0; }
.inline-link { font-weight: 800; }
.table-wrap { margin: 28px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 680px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--info); color: var(--hero-deep); font-size: .88rem; letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
.steps { counter-reset: step; list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 68px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--hero); color: #fff; font-weight: 850; }
.decision { margin: 28px 0; padding: 24px; background: var(--info); border: 1px solid var(--border); border-radius: var(--radius); }
.decision ol { margin: 0; padding-left: 22px; }
.decision li + li { margin-top: 14px; }
.notice { margin: 26px 0; padding: 20px 22px; background: var(--warning); color: #67450f; border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; }
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq details[open] { border-left: 5px solid var(--accent); }
.faq summary { min-height: 54px; padding: 16px 52px 16px 18px; cursor: pointer; list-style: none; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--hero); }
.faq details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 18px; color: #314b42; }
.editorial-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
.site-footer { background: var(--ink); color: #dceae4; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .85fr; gap: 50px; }
.footer-title { margin: 0 0 12px; color: #fff; font-size: 1.4rem; font-weight: 850; }
.site-footer a { color: #e8fff5; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: 8px; }
.footer-small { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #aac1b7; font-size: .84rem; }
.not-found { padding-block: 100px; text-align: center; }

@media (max-width: 900px) {
  .header-inner { min-height: 58px; }
  .brand-logo { width: 150px; max-height: 34px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 58px; padding: 14px 20px 22px; background: var(--hero-deep); box-shadow: 0 20px 28px rgba(0,0,0,.18); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 2px; }
  .site-nav a { width: 100%; }
  .site-nav li:last-child a { margin: 8px 0 0; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 52px; }
  .hero-media { order: 2; }
  .section-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-grid.reverse .section-copy { order: initial; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home .quick-access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--wrap)); }
  .page-intro { padding: 44px 0 28px; }
  .content-section { padding: 44px 0; }
  .hero-grid { gap: 30px; padding-block: 44px; }
  .hero-media img { aspect-ratio: 4/5; border-radius: 16px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .home .quick-access-grid { grid-template-columns: 1fr; }
  .home .quick-access-grid a { min-height: 112px; border-radius: 14px; }
  .table-wrap { margin-inline: -16px; border-radius: 0; border-inline: 0; }
  table { min-width: 0; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  td { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 8px 0; border: 0; }
  td::before { content: attr(data-label); color: var(--hero-deep); font-weight: 800; }
  .steps li { padding-left: 62px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-media img { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.bottom-enter-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
}

.bottom-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .3);
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.bottom-enter-btn.login-btn { background: #102a22; }
.bottom-enter-btn.register-btn {
  min-width: 132px;
  background: #b91c1c;
  box-shadow: 0 7px 20px rgba(127, 29, 29, .42);
}

.bottom-enter-btn:hover {
  color: #fff;
  opacity: .92;
  transform: translateY(-2px);
}

.bottom-enter-btn:focus-visible {
  color: #fff;
  outline: 3px solid #f1c75b;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .bottom-enter-wrap {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }

  .bottom-enter-btn {
    min-width: 105px;
    height: 42px;
    padding: 0 18px;
    font-size: 15px;
  }

  .bottom-enter-btn.register-btn { min-width: 118px; }
}
