/*
Theme Name: 5500bet Midnight
Theme URI: https://5500bet.bond/
Author: Equipe editorial 5500bet
Description: Tema editorial independente em português do Brasil para o guia 5500bet.
Version: 1.0.0
Text Domain: b550
*/

:root {
  --bg: #090f1f;
  --header: #121a2c;
  --surface: #0d1527;
  --surface-2: #111d33;
  --gold: #f3bf37;
  --green: #16b35c;
  --text: #fff;
  --muted: #d2d5dd;
  --border: #26334c;
  --focus: #ffe47a;
  --content: 1150px;
  --reading: 920px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #ffe08b; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; width: auto; height: auto; clip: auto; top: 8px; left: 8px; z-index: 9999; background: #fff; color: #000; padding: 10px 14px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  min-height: 66px; background: rgba(18,26,44,.97); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1440px; min-height: 66px; margin: 0 auto; padding: 0 34px;
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(24px,4vw,70px);
}
.brand {
  color: #fff; font-weight: 900; font-size: 24px; letter-spacing: -.04em; text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: #fff; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.primary-nav { min-width: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: clamp(14px,2vw,34px); }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: #fff; }
.header-cta, .button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius); background: var(--green); color: #fff;
  font-size: 14px; font-weight: 900; text-decoration: none; line-height: 1.2;
}
.header-cta:hover, .button:hover { background: #12994e; color: #fff; }
.button.secondary { background: transparent; color: var(--gold); border-color: var(--gold); }
.button.secondary:hover { background: rgba(243,191,55,.1); color: #ffe08b; }

main { min-height: 60vh; }
.hero { padding: 54px 24px 36px; text-align: center; }
.hero-inner { max-width: var(--content); margin: 0 auto; }
.hero h1, .article-header h1 { margin: 0 auto; max-width: 940px; font-size: clamp(42px,5vw,64px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hero .lede { max-width: 880px; margin: 24px auto 0; color: var(--muted); font-size: 19px; }
.hero-visual { width: min(570px,100%); margin: 34px auto 0; }
.hero-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 26px 80px rgba(0,0,0,.38); }
.article-header { max-width: var(--reading); margin: 0 auto; padding: 54px 24px 28px; }
.article-header h1 { max-width: 880px; margin: 0; font-size: clamp(36px,4.5vw,56px); }
.article-header .intro { color: var(--muted); font-size: 19px; margin: 22px 0 0; }
.breadcrumbs { margin: 0 0 18px; color: #aeb6c6; font-size: 14px; }
.breadcrumbs a { color: #fff; }

.content-shell { max-width: var(--reading); margin: 0 auto; padding: 0 24px 64px; }
.content-shell > section, .entry-content > section { margin-top: 52px; scroll-margin-top: 90px; }
.content-shell h2, .entry-content h2 { margin: 0 0 20px; font-size: clamp(29px,3.4vw,40px); line-height: 1.18; letter-spacing: -.03em; text-wrap: balance; }
.content-shell h3, .entry-content h3 { margin: 30px 0 10px; font-size: 22px; line-height: 1.3; }
.content-shell p, .entry-content p { margin: 0 0 18px; }
.content-shell ul, .content-shell ol, .entry-content ul, .entry-content ol { padding-left: 24px; }
.content-shell li + li, .entry-content li + li { margin-top: 10px; }
.section-image { margin: 28px auto; }
.section-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.section-image figcaption { color: #aeb6c6; font-size: 14px; margin-top: 8px; }
.pull-link { margin-top: 24px; }
.note { margin: 26px 0; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--surface-2); color: var(--muted); }
.meta-strip { margin-top: 48px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: #b8c0cf; font-size: 14px; }

.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--surface); }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--gold); font-size: 14px; background: #111b30; }
tr:last-child td { border-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; margin: 28px 0; }
.steps li { position: relative; padding: 4px 0 20px 54px; min-height: 48px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-weight: 900; }
.steps li + li { margin-top: 12px; }
.task-flow { border-left: 1px solid var(--border); margin: 26px 0 0 18px; padding-left: 28px; }
.task-flow h3 { position: relative; }
.task-flow h3::before { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--green); left: -35px; top: 8px; box-shadow: 0 0 0 5px var(--bg); }

.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

.contact-form { max-width: 680px; margin-top: 24px; }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
label { font-weight: 800; }
input, textarea { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius); background: #080e1c; color: #fff; padding: 12px 14px; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.form-message { padding: 14px 16px; margin-bottom: 20px; border: 1px solid var(--green); background: rgba(22,179,92,.1); }
.form-message.error { border-color: #ff8a8a; background: rgba(255,70,70,.08); }

.site-footer { border-top: 1px solid var(--border); background: #070c18; }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 42px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 36px; align-items: flex-start; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.footer-copy { max-width: 700px; color: #aeb6c6; font-size: 14px; }
.footer-copy p { margin: 10px 0 0; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #8490a3; font-size: 13px; }

.not-found { max-width: var(--reading); margin: 0 auto; padding: 90px 24px; text-align: center; }

@media (max-width: 1020px) {
  .header-inner { gap: 20px; padding-inline: 24px; }
  .primary-nav ul { gap: 14px; }
  .primary-nav a { font-size: 12px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  body.admin-bar .site-header { top: 46px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 18px; }
  .brand { font-size: 22px; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .primary-nav { display: none; grid-column: 1 / -1; padding: 0 0 16px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .primary-nav a { min-height: 46px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }
  .hero { padding: 38px 18px 28px; }
  .hero h1, .article-header h1 { font-size: clamp(30px,9vw,36px); }
  .hero .lede, .article-header .intro { font-size: 17px; }
  .hero-visual { margin-top: 28px; }
  .article-header { padding: 38px 18px 22px; }
  .content-shell { padding: 0 18px 48px; }
  .content-shell > section, .entry-content > section { margin-top: 34px; }
  .content-shell h2, .entry-content h2 { font-size: clamp(27px,8vw,34px); }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-nav a { border-bottom: 1px solid var(--border); }
}
@media (max-width: 390px) {
  .primary-nav ul, .footer-nav ul { grid-template-columns: 1fr 1fr; }
  .content-shell, .article-header { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

