/* Econusa Play — tema "Sinal" (broadcast scoreboard), dark.
   Paleta: quase-preto azulado + vermelho sinal (crimson) + azul cobalto.
   Linguagem de forma: canto único cortado (corner-cut) + brackets de mira
   nos botões/badges — distinta de todos os temas anteriores do usuário. */

:root {
  --bg: #0B0D12;
  --bg-panel: #12151D;
  --bg-panel-2: #171B26;
  --ink: #F4F5F7;
  --ink-soft: #AEB4C2;
  --ink-faint: #6D7585;
  --crimson: #E8384F;
  --crimson-ink: #FFFFFF;
  --cobalt: #2F80ED;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.3);
  --footer-bg: #080A0E;
  --footer-text: #C3C8D4;
  --cut: 18px; /* tamanho do corte de canto */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: "Red Hat Display", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crimson);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--crimson);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232,56,79,.6);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(232,56,79,.55); }
  70% { box-shadow: 0 0 0 9px rgba(232,56,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,56,79,0); }
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .18s ease, filter .18s ease;
}
.btn-primary { background: var(--crimson); color: var(--crimson-ink); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.btn::before, .btn::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-top: 2px solid var(--cobalt);
  border-left: 2px solid var(--cobalt);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  top: -4px; left: -4px;
  transform: translate(4px, 4px);
}
.btn::after {
  top: auto; left: auto; bottom: -4px; right: -4px;
  border-top: none; border-left: none;
  border-bottom: 2px solid var(--cobalt);
  border-right: 2px solid var(--cobalt);
  transform: translate(-4px, -4px);
}
.btn:hover::before, .btn:hover::after { opacity: 1; transform: translate(0, 0); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  header.site-header {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Red Hat Display", sans-serif; font-weight: 800; font-size: 19px; }
.brand img { border-radius: 6px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.btn-nav { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .btn-nav { align-self: flex-start; }
}

/* ---------- Hero "Placar" (scoreboard) ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); }
.hero-lead { font-size: 18px; max-width: 48ch; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 9px 14px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.trust-chip svg { width: 15px; height: 15px; stroke: var(--cobalt); flex-shrink: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.scoreboard {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  overflow: hidden;
}
.scoreboard-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--line);
  font-family: "Red Hat Display", sans-serif;
  font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.scoreboard-top .live { display: flex; align-items: center; gap: 8px; color: var(--crimson); }
.scoreboard-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); animation: pulseDot 1.6s infinite; }
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px; }
.channel-chip {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px 10px;
  text-align: center;
}
.channel-chip .num { font-family: "Red Hat Display", sans-serif; font-weight: 900; font-size: 22px; color: var(--cobalt); }
.channel-chip .lbl { font-size: 11px; color: var(--ink-faint); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }
.ticker-wrap {
  border-top: 1px solid var(--line);
  background: var(--bg-panel-2);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll 22s linear infinite;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .eyebrow::before, .scoreboard-top .dot { animation: none; }
}

/* ---------- Cards "corner-cut" ---------- */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 30px 26px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--crimson);
  margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }
.why-grid .card:nth-child(even) .icon { color: var(--cobalt); }

/* ---------- Planos ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 48px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 30px 24px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  display: flex; flex-direction: column;
}
.plan-card.featured { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson), var(--shadow-lg); }
.plan-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--crimson); color: #fff;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.plan-name { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; margin-bottom: 10px; }
.plan-price { font-family: "Red Hat Display", sans-serif; font-size: 40px; font-weight: 900; }
.plan-permonth { font-size: 13px; color: var(--cobalt); font-weight: 700; margin-bottom: 4px; }
.plan-economia { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 20px; min-height: 32px; }
.plan-bullets { margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.plan-bullets li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-soft); align-items: flex-start; }
.plan-bullets svg { width: 17px; height: 17px; stroke: var(--crimson); flex-shrink: 0; margin-top: 2px; }
.plan-card .btn { margin-top: auto; width: 100%; }

/* ---------- Device badge (páginas-satélite) ---------- */
.page-icon-badge {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--crimson) 14%, transparent);
  color: var(--crimson);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  margin-bottom: 18px;
}
.page-icon-badge svg { width: 24px; height: 24px; }
.device-icon { width: 30px; height: 30px; color: var(--cobalt); }
.steps-list { counter-reset: step; display: grid; gap: 18px; margin-top: 36px; }
.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  font-size: 15px; color: var(--ink-soft);
}
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: "Red Hat Display", sans-serif; font-weight: 800; color: var(--cobalt);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--crimson); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card img { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); margin-bottom: 16px; }
.post-body { max-width: 72ch; margin: 0 auto; }
.post-body h2 { margin-top: 1.4em; }
.post-body li { color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 64px 0 0; }
.site-footer p { color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { max-width: 32ch; font-size: 14px; }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--footer-text); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 0; font-size: 13px; color: var(--ink-faint); }
.footer-bottom p { margin: 0; color: var(--ink-faint); }

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px;
  background: var(--crimson);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.wa-icon svg { width: 27px; height: 27px; }

/* ---------- Genéricos de página institucional ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.breadcrumbs { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 14px;
  font-family: inherit; font-size: 14px;
}
.contact-form label { font-size: 13px; color: var(--ink-faint); margin-bottom: 4px; display: block; }
.legal-body h2 { margin-top: 1.6em; font-size: 21px; }
.legal-body p, .legal-body li { font-size: 15px; }
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: 96px; color: var(--crimson); }
