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

:root {
  /* Superfícies claras */
  --paper: #F8FAFC;
  --surface: #EFF3F8;
  --surface-2: #E2E8F0;
  --line: #CBD5E1;

  /* Superfícies escuras */
  --dark-0: #070B14;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --dark-line: rgba(148, 163, 184, 0.18);

  /* Textos (WCAG AA/AAA) */
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --on-dark: #F8FAFC;
  --on-dark-muted: #94A3B8;

  /* Identidade Horizonte Play */
  --brand: #F97316;
  --brand-light: #FBBF24;
  --brand-dark: #C2410C;
  --accent: #06B6D4;
  --accent-light: #38BDF8;
  --cta-bg: #16A34A;
  --cta-hover: #15803D;
  --cta-glow: rgba(22, 163, 74, 0.35);

  /* Semânticas */
  --ok: #15803D;
  --ok-bg: #DCFCE7;
  --warn: #B45309;
  --warn-bg: #FEF3C7;

  /* Tipografia */
  --ff-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2rem, 1.35rem + 2.6vw, 3.35rem);
  --fs-h2: clamp(1.55rem, 1.15rem + 1.5vw, 2.3rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.5vw, 1.38rem);
  --fs-base: 1.03125rem;

  /* Layout e raios */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;
  --header-h: 72px;
  --container-max: 1200px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.12);
  --shadow-dark: 0 22px 54px rgba(2, 6, 23, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 0;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; margin-bottom: 0.75rem; }
h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 0.5rem; }
p { margin-top: 0; margin-bottom: 1rem; }

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}
.sr-only {
  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 {
  position: absolute; left: -9999px; top: 8px;
  background: var(--brand); color: #fff; padding: 0.65rem 1rem;
  border-radius: var(--r-sm); font-weight: 700; z-index: 10000;
}
.skip-link:focus { left: 12px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.45rem;
  border-radius: var(--pill);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn--wa {
  background: var(--cta-bg);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--cta-glow);
}
.btn--wa:hover { background: var(--cta-hover); color: #FFFFFF; }

.btn--brand {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #070B14;
}
.btn--brand:hover { filter: brightness(1.06); color: #070B14; }

.btn--ghost-dark {
  background: rgba(248, 250, 252, 0.06);
  color: var(--on-dark);
  border-color: rgba(148, 163, 184, 0.35);
}
.btn--ghost-dark:hover {
  background: rgba(248, 250, 252, 0.13);
  border-color: var(--accent-light);
  color: #FFFFFF;
}

.btn--ghost-light {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost-light:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.btn--sm { padding: 0.62rem 1.05rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header Sticky & Mobile Drawer (sem backdrop-filter no header!)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark-0);
  border-bottom: 1px solid var(--dark-line);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.62rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(248, 250, 252, 0.08);
}
.nav-link[aria-current="page"] {
  color: var(--brand-light);
}
.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: var(--dark);
  color: #FFFFFF;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  height: calc(100dvh - var(--header-h));
  background: var(--dark-0);
  z-index: 9999;
  padding: 1.25rem 1.25rem 2rem;
  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: block;
  padding: 0.82rem 0.9rem;
  border-radius: 10px;
  color: #E2E8F0;
  text-decoration: none;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.mobile-nav-link:hover, .mobile-nav-link[aria-current="page"] {
  background: var(--dark);
  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;
}

@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-logo img { height: 32px; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb {
  font-size: 0.86rem;
  padding: 0.9rem 0;
}
.breadcrumb--dark {
  background: var(--dark-0);
  color: var(--on-dark-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.breadcrumb--dark a { color: #CBD5E1; text-decoration: none; }
.breadcrumb--dark a:hover { color: var(--brand-light); }
.breadcrumb--light {
  background: var(--paper);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.breadcrumb--light a { color: var(--ink-2); text-decoration: none; }
.breadcrumb--light a:hover { color: var(--brand-dark); }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
}
.breadcrumb li + li::before { content: "/"; opacity: 0.5; margin-right: 0.45rem; }

/* ==========================================================================
   Heroes (Dark & Light)
   ========================================================================== */
.hero--dark {
  position: relative;
  background:
    radial-gradient(680px 420px at 82% 24%, rgba(249, 115, 22, 0.18), transparent 65%),
    radial-gradient(520px 360px at 14% 80%, rgba(6, 182, 212, 0.14), transparent 65%),
    linear-gradient(180deg, var(--dark-0) 0%, var(--dark) 100%);
  color: var(--on-dark);
  padding: clamp(2.5rem, 4vw, 4.25rem) 0 clamp(2.8rem, 4.5vw, 4.5rem);
  overflow: hidden;
}
.hero--landing {
  padding: clamp(2.2rem, 3.5vw, 3.5rem) 0;
}
.hero--light {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(2.2rem, 3.5vw, 3.6rem) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero--light::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand), var(--accent));
}
.hero--light::after {
  content: "";
  position: absolute;
  right: -120px; top: -80px;
  width: 440px; height: 440px;
  background: repeating-radial-gradient(circle, rgba(6, 182, 212, 0.09) 0 1px, transparent 1px 28px);
  pointer-events: none;
}
.hero--light .container, .hero--light .container--narrow { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow--dark {
  background: rgba(249, 115, 22, 0.14);
  color: var(--brand-light);
  border: 1px solid rgba(249, 115, 22, 0.32);
}
.eyebrow--light {
  background: rgba(6, 182, 212, 0.12);
  color: #0E7490;
  border: 1px solid rgba(6, 182, 212, 0.25);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}
.text-gradient {
  background: linear-gradient(95deg, var(--brand-light) 0%, var(--brand) 55%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Home Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 3.5vw, 3.25rem);
  align-items: center;
}
.hero-lead {
  font-size: clamp(1.03rem, 0.96rem + 0.35vw, 1.18rem);
  color: #CBD5E1;
  max-width: 58ch;
  margin-bottom: 1.5rem;
}
.hero--light .hero-lead { color: var(--ink-2); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.88rem;
  color: #CBD5E1;
}
.hero-proofs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-proofs li::before {
  content: "✓";
  color: var(--accent-light);
  font-weight: 800;
}

/* ==========================================================================
   Hero Right Composition — Composição Visual Exclusiva Horizonte Play
   ========================================================================== */
.hero-stage {
  position: relative;
  padding: 1.5rem 0.5rem 2.25rem 1.25rem;
  min-width: 0;
}
.stage-backdrop {
  position: absolute;
  inset: -10% -6% -8% -4%;
  pointer-events: none;
  z-index: 0;
}
.stage-backdrop svg { width: 100%; height: 100%; }

/* Main Smart TV 4K Frame in Perspective */
.stage-tv {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, #1E293B 0%, #0B1120 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  border-radius: 20px;
  padding: 10px;
  box-shadow:
    0 28px 65px rgba(2, 6, 23, 0.72),
    0 0 0 1px rgba(249, 115, 22, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.35s ease;
}
.stage-tv:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.tv-screen {
  background: linear-gradient(160deg, #0B1120 0%, #111C33 55%, #090E1A 100%);
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.tv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: rgba(7, 11, 20, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.72rem;
}
.tv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-head);
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: 0.04em;
}
.tv-brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}
.tv-meta-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tv-chip {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.66rem;
  background: rgba(6, 182, 212, 0.18);
  color: #67E8F9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.tv-chip--live {
  background: rgba(249, 115, 22, 0.2);
  color: #FDBA74;
  border-color: rgba(249, 115, 22, 0.38);
}

.tv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem 0;
}
.tv-tab {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.6);
  color: #CBD5E1;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.62rem;
  border-radius: var(--pill);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tv-tab:hover { color: #FFFFFF; border-color: rgba(249, 115, 22, 0.5); }
.tv-tab.is-active {
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  color: #070B14;
  border-color: transparent;
  font-weight: 700;
}

.tv-body {
  padding: 0.75rem 0.85rem 0.9rem;
}
.tv-featured {
  position: relative;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.32), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.28), transparent 50%),
    linear-gradient(135deg, #172554 0%, #0F172A 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin-bottom: 0.7rem;
}
.tv-feat-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-light);
  margin-bottom: 0.25rem;
}
.tv-feat-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}
.tv-feat-desc {
  font-size: 0.76rem;
  color: #CBD5E1;
  margin-bottom: 0.65rem;
}
.tv-progress-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  color: #94A3B8;
}
.tv-progress {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.24);
  overflow: hidden;
}
.tv-progress-fill {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.tv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.tv-mini-card {
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
}
.tv-mini-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 0.18rem;
}
.tv-mini-name {
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
}
.tv-stand {
  width: 34%;
  height: 7px;
  margin: 7px auto 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, #1E293B, #475569, #1E293B);
}

/* Secondary Smartphone Overlay */
.stage-phone {
  position: absolute;
  left: -6px;
  bottom: 0;
  width: 158px;
  z-index: 4;
  background: linear-gradient(160deg, #1E293B, #070B14);
  border: 1.5px solid rgba(249, 115, 22, 0.45);
  border-radius: 20px;
  padding: 7px;
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.78);
  transform: perspective(900px) rotateY(10deg) rotateZ(-2deg);
}
.phone-screen {
  background: #0B1120;
  border-radius: 14px;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.phone-notch {
  width: 38px; height: 4px; border-radius: 99px;
  background: #334155; margin: 0 auto 0.45rem;
}
.phone-badge {
  font-size: 0.6rem; font-weight: 700; color: var(--brand-light);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.phone-title {
  font-family: var(--ff-head);
  font-size: 0.78rem; font-weight: 700; color: #FFFFFF;
  margin: 0.15rem 0 0.4rem;
}
.phone-bars {
  display: flex; gap: 3px; align-items: flex-end; height: 22px; margin-bottom: 0.35rem;
}
.phone-bars span {
  flex: 1; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-light), var(--brand));
}
.phone-bars span:nth-child(1) { height: 55%; }
.phone-bars span:nth-child(2) { height: 90%; }
.phone-bars span:nth-child(3) { height: 70%; }
.phone-bars span:nth-child(4) { height: 100%; }
.phone-bars span:nth-child(5) { height: 60%; }
.phone-foot {
  font-size: 0.62rem; color: #94A3B8;
  display: flex; justify-content: space-between;
}

/* Floating Depth Cards */
.stage-float {
  position: absolute;
  z-index: 5;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.6);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.stage-float--top {
  top: 0;
  right: 8px;
}
.stage-float--bottom {
  bottom: 10px;
  right: 12px;
  border-color: rgba(249, 115, 22, 0.42);
}
.float-icon {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.78rem;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #070B14;
  flex-shrink: 0;
}
.float-icon--cyan {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}
.float-label { font-size: 0.64rem; color: #94A3B8; line-height: 1.2; }
.float-val { font-family: var(--ff-head); font-size: 0.82rem; font-weight: 700; color: #FFFFFF; line-height: 1.2; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { padding: 1.2rem 0 2.4rem 0; }
  .stage-tv { transform: none; }
  .stage-tv:hover { transform: none; }
  .stage-phone { left: 6px; bottom: -6px; width: 142px; transform: none; }
  .stage-float--top { top: -8px; right: 4px; }
  .stage-float--bottom { bottom: -6px; right: 4px; }
}
@media (max-width: 520px) {
  .tv-cards { grid-template-columns: minmax(0, 1fr); }
  .stage-phone { position: static; width: 100%; margin-top: 0.75rem; }
  .stage-float--top, .stage-float--bottom {
    position: static;
    margin-top: 0.65rem;
    width: 100%;
  }
  .hero-stage { padding: 0.5rem 0 0; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
  background: var(--dark-2);
  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.2rem;
  animation: ticker-scroll 34s 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: #E2E8F0;
  white-space: nowrap;
}
.ticker-item::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Sections & Rhythmic Alternating Surfaces
   ========================================================================== */
.section {
  padding: clamp(3rem, 5vw, 4.75rem) 0;
  background: var(--paper);
}
.section--alt { background: var(--surface); }
.section--dark {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-0) 100%);
  color: var(--on-dark);
}
.section-head {
  max-width: 740px;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.section-kicker {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.45rem;
}
.section--dark .section-kicker { color: var(--brand-light); }
.section-sub {
  color: var(--ink-2);
  font-size: 1.04rem;
  margin-bottom: 0;
}
.section--dark .section-sub { color: var(--on-dark-muted); }

/* Grids */
.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; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Cards */
.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.card--dark {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  color: var(--on-dark);
  box-shadow: none;
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(6, 182, 212, 0.14));
  color: var(--brand-dark);
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.card--dark .card-icon {
  background: rgba(249, 115, 22, 0.18);
  color: var(--brand-light);
}
.card p:last-child { margin-bottom: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.93rem;
  margin-top: 0.85rem; text-decoration: none;
}
.card-link::after { content: "→"; }

/* Chips */
.chip-list {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  list-style: none; margin: 1.25rem 0 0; padding: 0;
}
.chip {
  padding: 0.42rem 0.85rem;
  border-radius: var(--pill);
  font-size: 0.86rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* Step Cards */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--dark); color: var(--brand-light);
  font-family: var(--ff-head); font-weight: 800; font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.card--highlight {
  border-color: var(--brand);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.14);
}

/* ==========================================================================
   Planos (Pricing Grid — Trimestral "Mais popular")
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  padding: 1.65rem 1.4rem;
  color: var(--on-dark);
}
.plan-card--popular {
  background: linear-gradient(170deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid var(--brand);
  box-shadow: 0 22px 48px rgba(249, 115, 22, 0.22);
  transform: translateY(-6px);
}
@media (max-width: 1080px) {
  .plan-card--popular { transform: none; }
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  color: #070B14;
  font-family: var(--ff-head);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.28rem 0.85rem;
  border-radius: var(--pill);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--ff-head);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.plan-period {
  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;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
}
.plan-price small { font-size: 0.95rem; font-weight: 600; color: var(--on-dark-muted); }
.plan-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #CBD5E1;
  flex: 1;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.plan-list li::before {
  content: "✓";
  color: var(--accent-light);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   CTA Band
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(520px 300px at 90% 20%, rgba(249, 115, 22, 0.2), transparent 65%),
    linear-gradient(135deg, var(--dark-0) 0%, #111C33 100%);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2, .cta-band h3 { color: #FFFFFF; margin-bottom: 0.4rem; }
.cta-band p { color: #CBD5E1; margin-bottom: 0; max-width: 56ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.94rem;
}
thead th {
  background: var(--dark);
  color: #FFFFFF;
  text-align: left;
  padding: 0.95rem 1.05rem;
  font-family: var(--ff-head);
  font-weight: 700;
  border-bottom: 3px solid var(--brand);
}
tbody td {
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #F8FAFC; }
.pill-ok {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--ok-bg);
  color: var(--ok);
}

/* ==========================================================================
   Editorial Boxes (Resumo Rápido, Callout, Expandable, Blog Cards)
   ========================================================================== */
.summary-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r);
  padding: 1.35rem 1.45rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.summary-box h2 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.summary-box ul { margin: 0; padding-left: 1.2rem; }
.summary-box li { margin-bottom: 0.35rem; }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem;
  font-size: 0.88rem; color: var(--muted);
  margin-top: 0.85rem;
}
.article-cover {
  margin: 0 0 2rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.article-cover figcaption {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0.65rem 1rem;
  background: var(--surface);
}
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.5rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }

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

/* Blog Cards */
.post-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-img { aspect-ratio: 16 / 9; background: var(--dark); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  display: inline-block; width: fit-content;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: #0E7490; background: rgba(6, 182, 212, 0.12);
  padding: 0.22rem 0.62rem; border-radius: var(--pill);
  margin-bottom: 0.65rem;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand-dark); }
.post-card p { font-size: 0.94rem; color: var(--ink-2); flex: 1; }

/* Filter Bar (Blog / FAQ) */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tab-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink-2);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.52rem 1rem;
  border-radius: var(--pill);
  cursor: pointer;
}
.tab-btn.is-active, .tab-btn[aria-selected="true"] {
  background: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
}
.search-input {
  width: 100%;
  max-width: 420px;
  padding: 0.72rem 1rem;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  font-family: var(--ff-body);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}
.search-input:focus { outline: none; border-color: var(--brand); }

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.1rem 1.25rem;
  font-family: var(--ff-head);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--brand-dark);
  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; }

/* Related & Sources */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.related-card {
  display: block;
  padding: 1.05rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--ff-head);
  font-weight: 700;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.related-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--brand-dark); }
.related-card span {
  display: block; font-family: var(--ff-body); font-weight: 400;
  font-size: 0.86rem; color: var(--muted); margin-top: 0.25rem;
}

.sources-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark-0);
  color: var(--on-dark-muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--dark-line);
}
.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);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
.footer-col h3 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.48rem; }
.footer-col a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--brand-light); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

/* Mobile Narrow Button Safety */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn { width: 100%; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
