/* ==========================================================================
   RIGESA IPTV — Design System Editorial de Alta Conversão
   Domínio: https://rigesa.com.br/
   ========================================================================== */

:root {
  /* Superfícies claras */
  --paper: #F7F8FA;
  --surface: #EEF1F6;
  --surface-2: #E2E7F0;
  --white: #FFFFFF;
  --line: #D5DCE7;

  /* Superfícies escuras */
  --dark-0: #090D16;
  --dark: #101726;
  --dark-2: #192338;
  --dark-line: rgba(148, 163, 184, 0.18);

  /* Textos (WCAG AA/AAA) */
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #5B677B;
  --on-dark: #F8FAFC;
  --on-dark-muted: #A9B6CC;

  /* Identidade Rigesa IPTV */
  --brand: #2563EB;
  --brand-dark: #1D4ED8;
  --brand-light: #38BDF8;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --cta-bg: #16A34A;
  --cta-hover: #15803D;

  /* Semânticas */
  --ok: #15803D;
  --ok-bg: #E7F6EC;
  --warn: #B45309;
  --warn-bg: #FEF3C7;
  --err: #B91C1C;
  --err-bg: #FEE2E2;

  /* Tipografia */
  --ff-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.05rem, 1.35rem + 2.7vw, 3.35rem);
  --fs-h2: clamp(1.55rem, 1.15rem + 1.5vw, 2.3rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  --fs-base: 1.03rem;

  /* Layout & Raios */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;
  --header-h: 72px;
  --container-max: 1200px;
  --shadow-sm: 0 4px 16px rgba(9, 13, 22, 0.06);
  --shadow-md: 0 14px 36px rgba(9, 13, 22, 0.12);
  --shadow-lg: 0 24px 60px rgba(4, 7, 15, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-2); }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.35rem; color: var(--ink-2); }
li { margin-bottom: 0.45rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 860px; }

/* ==========================================================================
   HEADER STICKY & MOBILE DRAWER (Regra crítica anti-containing-block)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.page--home .site-header,
.page--landing .site-header {
  background: #090D16;
  border-bottom: 1px solid var(--dark-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-link img { height: 36px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav-link {
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.page--home .nav-link,
.page--landing .nav-link { color: var(--on-dark-muted); }
.page--home .nav-link:hover,
.page--home .nav-link[aria-current="page"],
.page--landing .nav-link:hover,
.page--landing .nav-link[aria-current="page"] { color: #FFFFFF; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.page--home .menu-toggle,
.page--landing .menu-toggle {
  border-color: var(--dark-line);
  color: #FFFFFF;
}

/* Mobile Drawer — movido para document.body via JS */
.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100dvh - var(--header-h));
  background: #090D16;
  color: var(--on-dark);
  z-index: 9999;
  padding: 1.5rem 1.25rem 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid var(--dark-line);
}
.mobile-drawer.is-open { display: flex; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--on-dark);
  border: 1px solid transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link[aria-current="page"] {
  background: var(--dark-2);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--brand-light);
}
.mobile-drawer-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.82rem 1.4rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.16s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 0.56rem 1.05rem; font-size: 0.86rem; }
.btn--lg { padding: 0.98rem 1.75rem; font-size: 1.02rem; }
.btn--full { width: 100%; }

.btn--wa {
  background: var(--cta-bg);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.28);
}
.btn--wa:hover { background: var(--cta-hover); color: #FFFFFF; }

.btn--brand {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.26);
}
.btn--brand:hover { background: var(--brand-dark); color: #FFFFFF; }

.btn--accent {
  background: var(--accent);
  color: #090D16;
}
.btn--accent:hover { background: var(--accent-dark); color: #090D16; }

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(148, 163, 184, 0.35);
}
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--brand-light);
  color: #FFFFFF;
}

.btn--ghost-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost-light:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb {
  padding: 0.85rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumb--dark {
  background: var(--dark-0);
  border-bottom-color: var(--dark-line);
  color: var(--on-dark-muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.breadcrumb li + li::before { content: "/"; opacity: 0.55; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb--dark a { color: var(--on-dark-muted); }
.breadcrumb--dark a:hover { color: var(--brand-light); }
.breadcrumb [aria-current="page"] { font-weight: 600; color: var(--ink); }
.breadcrumb--dark [aria-current="page"] { color: #FFFFFF; }

/* ==========================================================================
   HEROES (Dark Home, Dark Landing, Light Hub/Article/Page)
   ========================================================================== */
.hero--dark {
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(37, 99, 235, 0.22), transparent 65%),
    radial-gradient(640px 420px at 15% 85%, rgba(245, 158, 11, 0.10), transparent 65%),
    var(--dark-0);
  color: var(--on-dark);
  padding: 3.4rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero--dark h1, .hero--dark h2, .hero--dark h3 { color: var(--on-dark); }
.hero--dark p { color: var(--on-dark-muted); }

.hero--landing { padding: 2.75rem 0 3.25rem; }

.hero--light {
  background:
    repeating-radial-gradient(circle at 92% 45%, rgba(37, 99, 235, 0.045) 0 2px, transparent 2px 34px),
    var(--paper);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent)) 1;
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.36rem 0.85rem;
  border-radius: var(--pill);
  margin-bottom: 1.1rem;
  background: rgba(37, 99, 235, 0.18);
  color: var(--brand-light);
  border: 1px solid rgba(56, 189, 248, 0.32);
}
.hero--light .eyebrow {
  background: rgba(37, 99, 235, 0.09);
  color: var(--brand-dark);
  border-color: rgba(37, 99, 235, 0.22);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.text-gradient {
  background: linear-gradient(95deg, #38BDF8 0%, #60A5FA 52%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 2.75rem;
  align-items: center;
}
.hero-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.45rem;
}
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--on-dark);
  font-size: 0.95rem;
  margin: 0;
}
.hero-bullets li::before {
  content: "✓";
  color: #4ADE80;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.78rem;
  border-radius: var(--pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark-muted);
  border: 1px solid var(--dark-line);
}
.pill--light {
  background: var(--white);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* ==========================================================================
   COMPOSIÇÃO VISUAL AUTORAL DO HERO: RIGESA MULTI-SCREEN STAGE
   ========================================================================== */
.rigesa-stage {
  position: relative;
  padding: 1.4rem 0.75rem 2.2rem 1.2rem;
  min-width: 0;
}
.rigesa-stage::before {
  content: "";
  position: absolute;
  inset: 6% 4% 8% 8%;
  background:
    radial-gradient(circle at 75% 25%, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 25% 80%, rgba(245, 158, 11, 0.20), transparent 55%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

/* Tela Principal: Smart TV 4K Rigesa OS em perspectiva */
.stage-tv {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, #131D33 0%, #0B1120 100%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.35s ease;
}
.rigesa-stage:hover .stage-tv {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.stage-tv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.stage-tv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.03em;
}
.stage-tv-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--pill);
  background: rgba(22, 163, 74, 0.2);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.stage-tab {
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--pill);
  padding: 0.32rem 0.72rem;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.stage-tab:hover { color: #FFFFFF; border-color: var(--brand-light); }
.stage-tab.is-active {
  background: linear-gradient(90deg, var(--brand), #3B82F6);
  color: #FFFFFF;
  border-color: transparent;
}

.stage-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.stage-tile {
  border-radius: 12px;
  padding: 0.72rem 0.65rem;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
}
.stage-tile--cobalt { background: linear-gradient(145deg, rgba(37, 99, 235, 0.42), rgba(15, 23, 42, 0.92)); }
.stage-tile--amber  { background: linear-gradient(145deg, rgba(245, 158, 11, 0.34), rgba(15, 23, 42, 0.92)); }
.stage-tile--cyan   { background: linear-gradient(145deg, rgba(56, 189, 248, 0.34), rgba(15, 23, 42, 0.92)); }
.stage-tile-tag {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-light);
}
.stage-tile--amber .stage-tile-tag { color: #FCD34D; }
.stage-tile-title {
  font-family: var(--ff-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}
.stage-tile-sub {
  font-size: 0.7rem;
  color: var(--on-dark-muted);
}

.stage-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(9, 13, 22, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 0.58rem 0.78rem;
}
.stage-player-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.stage-play-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.stage-player-text {
  font-size: 0.78rem;
  color: #FFFFFF;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-quality-badges {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}
.q-badge {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.16rem 0.42rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--brand-light);
}

/* Tela Secundária Flutuante: Smartphone sincronizado */
.stage-phone {
  position: absolute;
  left: -0.25rem;
  bottom: 0;
  z-index: 4;
  width: 172px;
  background: #0A101E;
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 18px;
  padding: 0.68rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.stage-phone-notch {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.35);
  margin: 0 auto 0.5rem;
}
.stage-phone-screen {
  background: linear-gradient(155deg, #1E2E52, #0F172A);
  border-radius: 11px;
  padding: 0.6rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.stage-phone-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  color: #FCD34D;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stage-phone-title {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0.18rem 0 0.35rem;
}
.stage-phone-bar {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.stage-phone-bar span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-light), var(--accent));
}

/* Card Flutuante Superior Direito: Sinal & Teste 6h */
.stage-signal-card {
  position: absolute;
  top: -0.15rem;
  right: 0;
  z-index: 4;
  background: rgba(16, 23, 38, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 14px;
  padding: 0.58rem 0.82rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}
.signal-bars span {
  width: 4px;
  border-radius: 2px;
  background: var(--brand-light);
  animation: rigesaPulse 1.8s ease-in-out infinite;
}
.signal-bars span:nth-child(1) { height: 7px; animation-delay: 0s; }
.signal-bars span:nth-child(2) { height: 11px; animation-delay: 0.2s; }
.signal-bars span:nth-child(3) { height: 15px; animation-delay: 0.4s; }
.signal-bars span:nth-child(4) { height: 20px; background: var(--accent); animation-delay: 0.6s; }
@keyframes rigesaPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.stage-signal-label {
  font-size: 0.68rem;
  color: var(--on-dark-muted);
  line-height: 1.25;
}
.stage-signal-label strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.8rem;
  color: #FFFFFF;
}

/* ==========================================================================
   TICKER HORIZONTAL
   ========================================================================== */
.ticker {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  overflow: hidden;
  padding: 0.72rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.25rem;
  animation: tickerScroll 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  white-space: nowrap;
}
.ticker-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes tickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   SEÇÕES E RITMO EDITORIAL
   ========================================================================== */
.section { padding: 4.2rem 0; background: var(--paper); }
.section--alt { background: var(--surface); }
.section--white { background: var(--white); }
.section--dark {
  background: var(--dark-0);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark p, .section--dark li { color: var(--on-dark-muted); }

.section-head {
  max-width: 720px;
  margin-bottom: 2.25rem;
}
.section-num {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.45rem;
}
.section--dark .section-num { color: var(--brand-light); }

/* Grids e Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card--dark {
  background: var(--dark);
  border-color: var(--dark-line);
  color: var(--on-dark);
}
.card--dark p { color: var(--on-dark-muted); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.card--dark .card-icon {
  background: rgba(56, 189, 248, 0.14);
  color: var(--brand-light);
}

/* Passos numerados */
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem;
}
.step-card--highlight {
  border-color: var(--brand);
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
}
.step-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.65rem;
}

/* Chips */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.44rem 0.9rem;
  border-radius: var(--pill);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.section--dark .chip {
  background: var(--dark-2);
  border-color: var(--dark-line);
  color: var(--on-dark);
}

/* ==========================================================================
   PLANOS E PREÇOS (Trimestral destacado como Mais popular)
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.plan-card {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-width: 0;
}
.plan-card--popular {
  background: linear-gradient(180deg, #162442 0%, #0F172A 100%);
  border: 2px solid var(--accent);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.16);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #090D16;
  font-family: var(--ff-head);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.85rem;
  border-radius: var(--pill);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}
.plan-cycle {
  font-size: 0.88rem;
  color: var(--on-dark-muted);
  margin-bottom: 1.1rem;
}
.plan-price {
  font-family: var(--ff-head);
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}
.plan-price small {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  margin: 0;
}
.plan-list li::before {
  content: "✓";
  color: #4ADE80;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   TABELAS COMPARATIVAS
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}
.data-table th, .data-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.data-table thead th {
  background: var(--dark);
  color: #FFFFFF;
  font-family: var(--ff-head);
  font-weight: 700;
  border-bottom: 3px solid var(--brand);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: #F9FAFC; }
.badge-ok {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   CTA BAND (Faixas de Conversão)
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(600px 280px at 90% 50%, rgba(37, 99, 235, 0.28), transparent 70%),
    linear-gradient(135deg, #090D16 0%, #111C33 100%);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(56, 189, 248, 0.24);
}
.cta-band h2, .cta-band h3 { color: #FFFFFF; margin-bottom: 0.5rem; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 58ch; }
.cta-band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  flex-shrink: 0;
}
.cta-micro {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}

/* ==========================================================================
   FAQ COM ABAS E ACORDEÕES
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr);
  gap: 2rem;
  align-items: start;
}
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.faq-tab {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0.48rem 1rem;
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.faq-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.faq-item[hidden] { display: none; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.1rem 1.25rem;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-q::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-q[aria-expanded="true"]::after { content: "−"; }
.faq-a {
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.faq-a[hidden] { display: none; }

/* ==========================================================================
   ARTIGOS, BLOG, RESUMO RÁPIDO E LEIA TAMBÉM
   ========================================================================== */
.summary-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--brand);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 2rem;
}
.summary-box-title {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
  margin-bottom: 0.45rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.9rem;
}
.article-cover {
  margin: 0 0 2rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-body h2 { margin-top: 2.2rem; }
.article-body h3 { margin-top: 1.4rem; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-cat {
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
  margin-bottom: 0.4rem;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: 0.94rem; flex: 1; }
.blog-card-link {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  margin-top: 0.5rem;
}

.blog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.blog-search {
  padding: 0.68rem 1rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--ff-body);
  font-size: 0.94rem;
  min-width: 250px;
  max-width: 100%;
}

.related-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-top: 2.5rem;
}
.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.related-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--ink);
}
.related-links a:hover { border-color: var(--brand); color: var(--brand); }

.notice-box {
  background: var(--warn-bg);
  border: 1px solid #FDE68A;
  border-radius: var(--r-sm);
  padding: 1.15rem 1.3rem;
  color: #78350F;
  margin: 1.5rem 0;
}
.notice-box strong { color: #78350F; }

.expand-content[hidden] { display: none; }

/* ==========================================================================
   RODAPÉ MULTI-COLUNAS
   ========================================================================== */
.site-footer {
  background: var(--dark-0);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--dark-line);
  padding: 4rem 0 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--dark-line);
}
.footer-brand p {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  margin: 0.9rem 0 1.15rem;
  max-width: 34ch;
}
.footer-col h3 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 0.9rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--brand-light); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.84rem;
}
.footer-disclaimer {
  font-size: 0.82rem;
  color: #8A97B0;
  margin-top: 1rem;
  line-height: 1.55;
}

/* ==========================================================================
   RESPONSIVIDADE (Desktop -> Tablet -> Mobile 375px)
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card--popular { transform: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .grid-2, .grid-3, .grid-4, .plans-grid, .related-links, .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section { padding: 3.1rem 0; }
  .hero--dark { padding: 2.4rem 0 3rem; }
  .rigesa-stage { padding: 0.5rem 0 0; }
  .stage-tv { transform: none; }
  .stage-phone, .stage-signal-card {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }
  .stage-screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 1.75rem 1.35rem; }
}

@media (max-width: 640px) {
  .header-actions .btn--sm { display: none; }
  .btn { white-space: normal; text-align: center; }
  .hero-ctas .btn { width: 100%; }
  .stage-screen-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .signal-bars span { animation: none; }
  .stage-tv, .btn { transition: none; transform: none; }
}
