/* =============================================
   PLATAFORMA BÔNUS CADASTRO — style.css
   Brutalist Industrial: #0A0A0A / #F5F5F0 / #E8FF00
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  line-height: 1.6;
  background: #F5F5F0;
  color: #0A0A0A;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #0A0A0A; text-decoration: underline; }
a:hover { color: #5a5a00; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 0.25rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

/* Body copy links */
.body-copy a {
  color: #0A0A0A;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* --- Layout Wrapper --- */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: #0A0A0A;
  color: #F5F5F0;
  border-bottom: 3px solid #E8FF00;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 60px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.brand {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #E8FF00;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand:hover { color: #fff; }

/* Nav */
.main-nav {
  flex: 1;
  overflow: hidden;
}

.main-nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.main-nav ol li { flex-shrink: 0; }

.main-nav ol li a {
  display: block;
  color: #F5F5F0;
  text-decoration: none;
  font-size: 0.78rem;
  font-family: monospace;
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav ol li a:hover {
  border-color: #E8FF00;
  color: #E8FF00;
}

/* CTA buttons */
.header-cta {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.7rem;
  height: 44px;
  min-width: 60px;
  white-space: nowrap;
  border: 2px solid #E8FF00;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}
.cta-signup {
  background: #E8FF00;
  color: #0A0A0A;
}
.cta-signup:hover { background: #d4e800; color: #0A0A0A; }
.cta-login {
  background: transparent;
  color: #E8FF00;
}
.cta-login:hover { background: #E8FF00; color: #0A0A0A; }

/* Menu toggle — hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 2px solid #E8FF00;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E8FF00;
}

/* =============================================
   MAIN CONTENT AREA
   ============================================= */
main {
  flex: 1;
  width: 100%;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Content grid: aside LEFT, main-content RIGHT */
.content-grid {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  width: 100%;
}

/* Sidebar */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  order: -1;
}

.sidebar-inner {
  border: 3px solid #0A0A0A;
  padding: 1rem;
  position: sticky;
  top: 70px;
}

.sidebar-label {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: #0A0A0A;
  border-bottom: 2px solid #E8FF00;
  padding-bottom: 0.25rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.sidebar-nav li a {
  display: block;
  font-size: 0.82rem;
  color: #0A0A0A;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid #ddd;
  line-height: 1.3;
}
.sidebar-nav li a:hover { color: #5a5a00; text-decoration: underline; }

/* Main content column */
.main-content {
  flex: 1;
  min-width: 0;
  max-width: 780px;
}

/* =============================================
   BYLINE & EYEBROW
   ============================================= */
.byline {
  font-family: monospace;
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 1.5rem;
  border-left: 3px solid #E8FF00;
  padding-left: 0.75rem;
}

.eyebrow {
  display: inline-block;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: #E8FF00;
  color: #0A0A0A;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.stage-label {
  display: inline-block;
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
  border: 2px solid #0A0A0A;
}
.stage-awareness { background: #F5F5F0; }
.stage-consideration { background: #0A0A0A; color: #F5F5F0; }
.stage-decision { background: #E8FF00; color: #0A0A0A; }

/* =============================================
   SUBTITLE (h2 + p.subtitle pattern)
   ============================================= */
p.subtitle, p.subhead, p.desc, p.lead {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* =============================================
   BODY COPY
   ============================================= */
.body-copy {
  line-height: 1.7;
}
.body-copy h2 { margin-top: 2rem; margin-bottom: 0.25rem; }
.body-copy h3 { margin-top: 1.5rem; }
.body-copy ul, .body-copy ol { margin-bottom: 1rem; }
.body-copy table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.body-copy table th,
.body-copy table td {
  border: 2px solid #0A0A0A;
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.body-copy table th {
  background: #0A0A0A;
  color: #E8FF00;
  font-family: monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.body-copy table tr:nth-child(even) { background: #eee; }

/* =============================================
   HOME LAYOUT
   ============================================= */
.hero-banner {
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  border-bottom: 3px solid #E8FF00;
}
.hero-img { width: 100%; max-height: 420px; object-fit: cover; }

.home-section { padding: 0; }
.home-article { }

/* Child cards */
.child-cards { margin-top: 2.5rem; }
.child-cards h2 { margin-bottom: 0.25rem; }

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.child-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 3px solid #0A0A0A;
  padding: 1rem;
  text-decoration: none;
  color: #0A0A0A;
  background: #F5F5F0;
  flex: 1 1 200px;
  min-width: 0;
  transition: background 0.15s;
}
.child-card:hover { background: #E8FF00; }
.child-card strong { font-size: 0.9rem; line-height: 1.3; }
.child-card span { font-size: 0.8rem; color: #555; }

/* =============================================
   RANKING LAYOUT
   ============================================= */
.ranking-section { }
.ranking-article { }

/* =============================================
   COMPARE LAYOUT
   ============================================= */
.compare-header { margin-bottom: 1.5rem; }

.sibling-links-block { margin-top: 2.5rem; }
.sibling-links-block h2 { margin-bottom: 0.25rem; }

.sibling-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.sibling-card {
  display: inline-flex;
  align-items: center;
  border: 3px solid #0A0A0A;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #0A0A0A;
  background: #F5F5F0;
  min-height: 44px;
  transition: background 0.15s;
}
.sibling-card:hover { background: #E8FF00; }
.sibling-card strong { font-family: monospace; font-size: 0.85rem; font-weight: 700; }

/* =============================================
   FAQ LAYOUT
   ============================================= */
.faq-section { }
.faq-article { }

.faq-list { margin-top: 1.5rem; }

details.faq-item {
  border: 3px solid #0A0A0A;
  margin-bottom: 0.75rem;
}
details.faq-item summary {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  flex-shrink: 0;
}
details.faq-item[open] summary::after { content: '−'; }
.faq-item-body {
  padding: 0.75rem 1rem 1rem;
  border-top: 2px solid #0A0A0A;
}

/* =============================================
   REVIEW LAYOUT
   ============================================= */
.review-hero { margin-bottom: 1rem; border: 3px solid #0A0A0A; overflow: hidden; }
.review-hero-img { width: 100%; max-height: 320px; object-fit: cover; }

/* Review score box */
.review-score {
  background: #0A0A0A;
  color: #E8FF00;
  font-family: monospace;
  font-size: 2rem;
  font-weight: 900;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1rem;
  border: 3px solid #E8FF00;
}

/* =============================================
   ABOUT LAYOUT
   ============================================= */
.about-section { }
.about-article { }

.author-block {
  background: #0A0A0A;
  color: #F5F5F0;
  border: 3px solid #E8FF00;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.author-block h2 { color: #E8FF00; margin-bottom: 0.25rem; }
.author-block .author-credentials {
  font-family: monospace;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}
.author-block p { color: #F5F5F0; margin-bottom: 0; }

/* =============================================
   PRIVACY / INNER LAYOUT
   ============================================= */
.privacy-section { }
.privacy-article { }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0A0A0A;
  color: #F5F5F0;
  border-top: 3px solid #E8FF00;
  padding: 1.5rem 1rem;
  width: 100%;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.footer-brand {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #E8FF00;
  text-decoration: none;
}
.footer-brand:hover { color: #fff; }

.footer-nav a {
  color: #ccc;
  font-size: 0.82rem;
  text-decoration: none;
  font-family: monospace;
  padding: 0.35rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: #E8FF00; text-decoration: underline; }

.footer-meta { text-align: right; }
.responsible-gambling {
  font-size: 0.78rem;
  color: #aaa;
  font-family: monospace;
  margin-bottom: 0.25rem;
  max-width: 400px;
}
.copyright {
  font-size: 0.75rem;
  color: #666;
  font-family: monospace;
}

/* =============================================
   MOBILE — ≤768px
   ============================================= */
@media (max-width: 768px) {
  /* Header: single row brand + toggle + CTAs */
  .header-inner {
    height: auto;
    min-height: 60px;
    padding: 0 0.75rem;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .brand {
    max-width: 100px;
    font-size: 0.78rem;
  }

  /* Show toggle, hide nav links */
  .menu-toggle {
    display: flex;
    order: 2;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0A0A0A;
    border-bottom: 3px solid #E8FF00;
    z-index: 99;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ol {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
  }

  .main-nav ol li { flex-shrink: 1; width: 100%; }

  .main-nav ol li a {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    min-height: 44px;
    white-space: normal;
    border-bottom: 1px solid #333;
  }

  /* CTA stays visible */
  .header-cta {
    order: 3;
    flex-shrink: 0;
  }

  .cta {
    font-size: 0.68rem;
    padding: 0 0.5rem;
    height: 44px;
    min-width: 52px;
  }

  /* Content grid: stack sidebar below content */
  .content-grid {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .sidebar-inner {
    position: static;
  }

  .main-content {
    order: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Wrap tables */
  .body-copy table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  /* Child cards */
  .card-row { flex-direction: column; }
  .child-card { flex: none; width: 100%; }

  /* Sibling links */
  .sibling-links { flex-direction: column; }
  .sibling-card { width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  /* Wrap */
  .wrap { padding: 0 0.75rem; }
}

/* =============================================
   SMALL MOBILE — ≤480px
   ============================================= */
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }

  .brand { max-width: 80px; font-size: 0.72rem; }

  .cta {
    font-size: 0.65rem;
    padding: 0 0.4rem;
    min-width: 48px;
  }

  .body-copy table {
    font-size: 0.8rem;
  }

  .body-copy table th,
  .body-copy table td {
    padding: 0.4rem 0.5rem;
  }
}

/* =============================================
   DESKTOP NAV — >768px
   ============================================= */
@media (min-width: 769px) {
  .menu-toggle { display: none; }
  .main-nav { display: block !important; }
  .main-nav ol { flex-wrap: wrap; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}