/* ==========================================================================
   FuteMax — Blog de streaming esportivo
   Design system: dark + primary #d2ff00
   ========================================================================== */

:root {
  --color-primary: #d2ff00;
  --color-primary-dark: #a8cc00;
  --color-bg: #0c0d0a;
  --color-bg-alt: #131511;
  --color-surface: #1a1c16;
  --color-surface-2: #21241c;
  --color-border: #2c2f25;
  --color-text: #f2f4ea;
  --color-text-dim: #b7bcae;
  --color-text-faint: #7d8274;
  --shadow-glow: 0 0 0 1px rgba(210, 255, 0, .15), 0 8px 30px rgba(210, 255, 0, .08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container-w: 1120px;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
html {
  margin: 0;
  padding: 0;
  min-width: 280px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background-image: url(./bg-black.png);
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background: var(--color-primary);
  color: #0c0d0a;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #101204;
  box-shadow: 0 6px 24px rgba(210, 255, 0, .25);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(210, 255, 0, .35);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 10, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto 0 32px;
}

.nav a {
  color: var(--color-text-dim);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}

.nav a:hover,
.nav a.active {
  color: var(--color-text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--color-text);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(210, 255, 0, .18), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 22px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, .6);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -.01em;
}

.hero h1 strong,
.hero h1 .accent {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 17px;
  color: var(--color-text-dim);
  margin: 0 auto 32px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats strong {
  font-size: 26px;
  color: var(--color-primary);
}

.hero-stats span {
  font-size: 13px;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Layout ---------- */

main {
  padding: 56px 0 0;
}

.content {
  max-width: 820px;
}

/* ---------- Article typography ---------- */

.content h2 {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-text);
  margin: 52px 0 18px;
  padding-top: 8px;
  scroll-margin-top: 90px;
  position: relative;
}

.content h2::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-primary);
  margin-right: 12px;
  vertical-align: middle;
}

.content h3 {
  font-size: 19px;
  color: var(--color-primary);
  margin: 28px 0 10px;
  scroll-margin-top: 90px;
}

.content p {
  color: var(--color-text-dim);
  font-size: 16px;
  margin: 0 0 18px;
}

.content strong {
  color: var(--color-text);
}

.content ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.content ul li {
  position: relative;
  padding: 4px 0 4px 30px;
  color: var(--color-text-dim);
  margin-bottom: 8px;
}

.content ul li::before {
  content: "⚽";
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 14px;
  filter: grayscale(1) brightness(2);
}

.content ul li strong {
  color: var(--color-text);
}

.content > p:first-of-type {
  font-size: 18px;
  color: var(--color-text);
}

/* ---------- Table ---------- */

.table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--color-surface);
}

.content caption {
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-surface-2);
  caption-side: top;
}

.content th,
.content td {
  padding: 13px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--color-border);
}

.content th {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .04em;
  background: rgba(210, 255, 0, .05);
}

.content td {
  color: var(--color-text-dim);
}

.content tbody tr:last-child td {
  border-bottom: none;
}

.content tbody tr:hover td {
  background: rgba(210, 255, 0, .04);
}

/* ---------- Blockquote (depoimentos) ---------- */

.content blockquote {
  position: relative;
  margin: 22px 0;
  padding: 20px 24px 20px 56px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: 8px;
  font-size: 40px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: .7;
}

.content blockquote p {
  margin: 0;
  color: var(--color-text);
  font-style: italic;
  font-size: 15.5px;
}

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-primary);
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--color-border);
}

.faq-item p {
  margin: 0;
  padding: 16px 20px 20px;
  color: var(--color-text-dim);
  font-size: 15px;
}

/* ---------- CTA banner (mid-article) ---------- */

.cta-banner {
  margin: 44px 0;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(210, 255, 0, .12), rgba(210, 255, 0, .02));
  border: 1px solid rgba(210, 255, 0, .3);
  box-shadow: var(--shadow-glow);
  text-align: center;
}

.cta-banner h3 {
  color: var(--color-text);
  font-size: 22px;
  margin: 0 0 8px;
}

.cta-banner p {
  color: var(--color-text-dim);
  margin: 0 0 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 80px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.footer-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.footer-logo {
  height: 44px;
  margin: 0 auto 18px;
}

.footer-inner p {
  color: var(--color-text-dim);
  font-size: 15px;
  margin: 0 0 24px;
}

.footer-inner small {
  display: block;
  margin-top: 28px;
  color: var(--color-text-faint);
  font-size: 12.5px;
}

.footer-disclaimer {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.6;
}

/* ---------- Sticky bottom CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid rgba(210, 255, 0, .35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  max-width: var(--container-w);
  margin: 0 auto;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta p {
  margin: 0;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-text);
}

.sticky-cta p span {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--color-text-faint);
}

.sticky-cta-close {
  background: transparent;
  border: none;
  color: var(--color-text-faint);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: var(--color-bg-alt);
    transform: translateX(100%);
    transition: transform .25s ease;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 18px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero-stats {
    gap: 24px;
  }

  .cta-banner {
    padding: 26px 20px;
  }
}
