/* ==========================================================================
   AFGHAN — Design System Editorial de Alta Conversão
   Domínio: https://afghan.com.br/
   Paleta: Obsidian Cobalt (#0B1020) + Âmbar Cinematográfico (#F59E0B) + Ciano (#38BDF8)
   ========================================================================== */

:root {
  /* Superfícies claras */
  --paper: #F7F8FA;
  --surface: #EDF0F5;
  --surface-2: #E2E6EF;
  --card: #FFFFFF;
  --line: #D7DCE7;

  /* Superfícies escuras */
  --dark-0: #0B1020;
  --dark: #11182C;
  --dark-2: #1A2440;
  --dark-line: rgba(148, 163, 184, 0.18);

  /* Textos WCAG AA/AAA */
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #5A677D;
  --on-dark: #F8FAFC;
  --on-dark-2: #CBD5E1;
  --on-dark-muted: #94A3B8;

  /* Marca e Conversão */
  --brand: #F59E0B;
  --brand-soft: #FEF3C7;
  --brand-ink: #B45309;
  --accent: #38BDF8;
  --accent-deep: #0284C7;
  --accent-soft: #E0F2FE;

  /* CTA WhatsApp */
  --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;
  --err: #B91C1C;
  --err-bg: #FEE2E2;

  /* 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.25rem);
  --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 2px 8px rgba(11, 16, 32, 0.05);
  --shadow: 0 12px 32px rgba(11, 16, 32, 0.08);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Reset & Base */
*, *::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.68;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: inherit;
}
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; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.45rem; }

/* Acessibilidade */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--dark-0);
  color: var(--on-dark);
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Container */
.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}

/* ==========================================================================
   HEADER STICKY & NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 16, 32, 0.98);
  border-bottom: 1px solid var(--dark-line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img { height: 36px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: var(--on-dark-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.nav-link[aria-current="page"] {
  color: var(--brand);
}

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

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-line);
  color: var(--on-dark);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100dvh - var(--header-h));
  background: var(--dark-0);
  padding: 1.25rem 1.25rem 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
  border-top: 1px solid var(--dark-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}
.mobile-drawer.is-open { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--on-dark);
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 10px;
  border: 1px solid transparent;
}
.mobile-nav-link:hover, .mobile-nav-link[aria-current="page"] {
  background: var(--dark);
  border-color: var(--dark-line);
  color: var(--brand);
}
.mobile-drawer-cta {
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-line);
}

/* ==========================================================================
   BOTÕES (CTAs)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.9rem 1.45rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.88rem; }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

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

.btn--brand {
  background: var(--brand);
  color: #0B1020;
}
.btn--brand:hover { background: #FBBF24; color: #0B1020; }

.btn--outline-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
}
.btn--outline-dark:hover { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }

.btn--outline-light {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline-light:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-2); }

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb {
  padding: 0.85rem 0;
  font-size: 0.88rem;
}
.breadcrumb--dark { background: var(--dark-0); color: var(--on-dark-muted); border-bottom: 1px solid var(--dark-line); }
.breadcrumb--light { background: var(--paper); color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.breadcrumb--dark a { color: var(--on-dark-2); }
.breadcrumb--dark a:hover { color: var(--brand); }
.breadcrumb--light a { color: var(--ink-2); }
.breadcrumb--light a:hover { color: var(--accent-deep); }

/* ==========================================================================
   HEROES (DARK HOME, DARK LANDING, LIGHT HUB/ARTICLE/PAGE)
   ========================================================================== */
.hero--dark {
  position: relative;
  background:
    radial-gradient(600px 420px at 82% 24%, rgba(56, 189, 248, 0.16), transparent 65%),
    radial-gradient(520px 380px at 14% 78%, rgba(245, 158, 11, 0.14), transparent 65%),
    var(--dark-0);
  color: var(--on-dark);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.hero--landing { padding: 2.8rem 0 3.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  border-radius: var(--pill);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}
.eyebrow--dark {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FCD34D;
}
.eyebrow--light {
  background: var(--accent-soft);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: var(--accent-deep);
}
.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, #FBBF24 0%, #F59E0B 48%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--on-dark-2);
  max-width: 58ch;
  margin-bottom: 1.65rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-trust li {
  margin: 0;
  font-size: 0.86rem;
  color: var(--on-dark-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  padding: 0.35rem 0.78rem;
  border-radius: var(--pill);
}

/* Composição Visual Elaborada do Hero Afghan (Coluna Direita) */
.hero-stage {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}
.stage-glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle at 55% 45%, rgba(56, 189, 248, 0.25), rgba(245, 158, 11, 0.12) 48%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}
.tv-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: linear-gradient(160deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid rgba(148, 163, 184, 0.28);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-dark);
  z-index: 2;
}
.tv-screen {
  background: linear-gradient(145deg, #0D1428 0%, #15213F 55%, #0B1224 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  overflow: hidden;
}
.tv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 14px;
  font-size: 0.76rem;
  color: var(--on-dark-muted);
}
.tv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-head);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}
.tv-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--pill);
  background: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
  font-weight: 700;
  font-size: 0.72rem;
}
.tv-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F59E0B;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}

.tv-featured {
  position: relative;
  border-radius: 10px;
  padding: 16px;
  background: linear-gradient(125deg, rgba(245, 158, 11, 0.22) 0%, rgba(17, 24, 44, 0.92) 55%, rgba(56, 189, 248, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}
.tv-featured-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38BDF8;
  font-weight: 700;
  margin-bottom: 4px;
}
.tv-featured-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.tv-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
}
.tv-progress span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.tv-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.tv-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.74rem;
  color: var(--on-dark-2);
  font-weight: 600;
}
.tv-tile strong { display: block; color: #FFFFFF; font-size: 0.8rem; margin-bottom: 2px; }

.tv-stand {
  width: 120px;
  height: 8px;
  background: linear-gradient(90deg, #334155, #64748B, #334155);
  margin: 8px auto 0;
  border-radius: 0 0 8px 8px;
}

/* Smartphone flutuante integrado à composição */
.stage-phone {
  position: absolute;
  left: -14px;
  bottom: 8px;
  width: 132px;
  background: #0F172A;
  border: 2px solid rgba(56, 189, 248, 0.45);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
  z-index: 3;
}
.phone-notch {
  width: 38px;
  height: 4px;
  background: #334155;
  border-radius: 99px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: linear-gradient(160deg, #162244, #0B1020);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.phone-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #0B1020;
  background: var(--brand);
  padding: 2px 7px;
  border-radius: var(--pill);
  margin-bottom: 6px;
}
.phone-title { font-family: var(--ff-head); font-size: 0.76rem; color: #FFFFFF; font-weight: 700; line-height: 1.25; }
.phone-sub { font-size: 0.64rem; color: var(--on-dark-muted); margin-top: 4px; }

/* Card flutuante superior direito */
.stage-chip {
  position: absolute;
  right: -8px;
  top: 6px;
  background: rgba(17, 24, 44, 0.94);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.stage-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.stage-chip strong { display: block; font-size: 0.82rem; color: #FFFFFF; line-height: 1.2; }
.stage-chip span { font-size: 0.72rem; color: var(--on-dark-muted); }

/* Hero Claro (Hubs, Artigos, Institucionais, Legais) */
.hero--light {
  position: relative;
  background:
    repeating-radial-gradient(circle at 92% 35%, rgba(2, 132, 199, 0.05) 0 1px, transparent 1px 28px),
    var(--paper);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--brand), var(--accent)) 1;
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0 2.9rem;
}
.hero--light .hero-lead { color: var(--ink-2); margin-bottom: 1.25rem; }

/* ==========================================================================
   TICKER / FAIXA DE DESTAQUES
   ========================================================================== */
.ticker {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  overflow: hidden;
  padding: 0.8rem 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;
  color: var(--on-dark-2);
  font-size: 0.9rem;
  font-weight: 600;
  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); }
}

/* ==========================================================================
   SEÇÕES & RITMO CLARO/ESCURO
   ========================================================================== */
.section { padding: 4.25rem 0; background: var(--paper); }
.section--alt { padding: 4.25rem 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark {
  padding: 4.5rem 0;
  background: var(--dark-0);
  color: var(--on-dark);
}
.section--dark p { color: var(--on-dark-2); }

.section-head {
  max-width: 720px;
  margin-bottom: 2.4rem;
}
.section-head--center { text-align: center; margin-inline: auto; }
.section-kicker {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
  margin-bottom: 0.5rem;
}
.section--dark .section-kicker { color: var(--brand); }
.section-desc { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-desc { color: var(--on-dark-2); }

/* ==========================================================================
   GRIDS & CARDS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.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(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(2, 132, 199, 0.35); }
.card p:last-child { margin-bottom: 0; }

.card--dark {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  color: var(--on-dark);
}
.card--dark p { color: var(--on-dark-2); }
.card--dark:hover { border-color: rgba(245, 158, 11, 0.45); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(56, 189, 248, 0.14));
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.card--dark .card-icon { color: var(--brand); }

/* Passo a passo */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--dark-0);
  color: var(--brand);
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.card--step-accent {
  background: linear-gradient(160deg, var(--dark-0), var(--dark-2));
  color: var(--on-dark);
  border-color: rgba(245, 158, 11, 0.4);
}
.card--step-accent p { color: var(--on-dark-2); }
.card--step-accent .step-num { background: var(--brand); color: var(--dark-0); }

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

/* ==========================================================================
   PLANOS E PREÇOS (4 PLANOS COM TRIMESTRAL EM DESTAQUE)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  color: var(--on-dark);
  min-width: 0;
}
.plan-card--popular {
  background: linear-gradient(180deg, #182342 0%, #10172B 100%);
  border: 2px solid var(--brand);
  box-shadow: 0 20px 44px rgba(245, 158, 11, 0.16);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #0B1020;
  font-family: var(--ff-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: var(--pill);
  white-space: nowrap;
}
.plan-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.25rem; }
.plan-period { font-size: 0.88rem; color: var(--on-dark-muted); margin-bottom: 1.15rem; }
.plan-price {
  font-family: var(--ff-head);
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.plan-note { font-size: 0.84rem; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}
.plan-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--on-dark-2);
  margin-bottom: 0.55rem;
}
.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ==========================================================================
   CTA BAND (FAIXA DE CONVERSÃO)
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(480px 260px at 90% 50%, rgba(56, 189, 248, 0.18), transparent 70%),
    linear-gradient(125deg, #0B1020 0%, #15213F 100%);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid rgba(245, 158, 11, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: #FFFFFF; margin-bottom: 0.45rem; }
.cta-band p { color: var(--on-dark-2); max-width: 56ch; margin-bottom: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ==========================================================================
   TABELAS COMPARATIVAS
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.95rem;
}
thead th {
  background: var(--dark-0);
  color: #FFFFFF;
  font-family: var(--ff-head);
  font-weight: 700;
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 3px solid var(--brand);
}
tbody td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(237, 240, 245, 0.5); }

.badge-ok {
  display: inline-block;
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
}
.badge-warn {
  display: inline-block;
  background: var(--warn-bg);
  color: var(--warn);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
}

/* ==========================================================================
   FAQ (ABAS + ACORDEÕES)
   ========================================================================== */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.faq-tab {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  border-radius: var(--pill);
  cursor: pointer;
  transition: all 0.16s ease;
}
.faq-tab[aria-selected="true"] {
  background: var(--dark-0);
  border-color: var(--dark-0);
  color: var(--brand);
}

.accordion-list { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.15rem 1.25rem;
  font-family: var(--ff-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.accordion-trigger::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.accordion-trigger[aria-expanded="true"]::after { content: "−"; color: var(--brand-ink); }
.accordion-panel {
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-2);
  border-top: 1px solid rgba(215, 220, 231, 0.6);
}
.accordion-panel[hidden] { display: none; }
.accordion-panel p:first-child { margin-top: 0.9rem; }
.accordion-panel p:last-child { margin-bottom: 0; }

/* ==========================================================================
   ARTIGOS, RESUMO RÁPIDO, BLOG & LEIA TAMBÉM
   ========================================================================== */
.summary-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-sm);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.summary-box-title {
  font-family: var(--ff-head);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-ink);
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.article-cover {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 1.5rem 0 2rem;
  background: var(--dark-0);
}
.article-cover img { width: 100%; height: auto; }
.article-body h2 { margin-top: 2.2rem; }
.article-body h3 { margin-top: 1.5rem; color: var(--ink); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.checklist li {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 2.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 0.6rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  top: 0.7rem;
  color: var(--ok);
  font-weight: 800;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-thumb { background: var(--dark-0); aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.35rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-cat {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-deep);
  margin-bottom: 0.45rem;
}
.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(--accent-deep); }
.blog-card p { font-size: 0.94rem; color: var(--ink-2); flex-grow: 1; }
.blog-readmore { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--brand-ink); margin-top: 0.5rem; }

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

.related-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.65rem;
  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.85rem 0 0;
}
.related-links a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  color: var(--ink);
}
.related-links a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* Expandível Continuar lendo */
.expandable-content[hidden] { display: none; }

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

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

/* ==========================================================================
   ANIMAÇÕES SUAVES & RESPONSIVIDADE
   ========================================================================== */
.reveal { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
.js-enabled .reveal { opacity: 0; transform: translateY(14px); }
.js-enabled .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card--popular { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero-stage { min-height: auto; padding-top: 1.5rem; }
  .stage-phone { left: 4px; bottom: -12px; width: 118px; }
  .stage-chip { right: 4px; top: -8px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header-actions .btn--header { display: none; }
  .section, .section--alt, .section--dark { padding: 3rem 0; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .related-links, .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-band { padding: 1.65rem; }
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .stage-phone, .stage-chip { position: static; width: 100%; margin-top: 0.75rem; }
  .hero-stage { flex-direction: column; }
  .tv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .tv-live-dot { animation: none; }
  .js-enabled .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
