/* =====================================================================
   VecView — Design System das Landing Pages (lp.vecview.com.br)
   Extraído do <style> inline de vecview.com.br/index.html para um arquivo
   externo: as 17 landing pages compartilham o mesmo padrão visual e o
   navegador baixa a folha uma única vez para todas elas (o inline seria
   ~35 KB repetidos em cada página).
   Tokens, tipografia, nav, hero, cards e footer são os mesmos do site
   principal — trocar a cor aqui muda site e landings juntos.
   ===================================================================== */

/* =====================================================================
   FONTES — auto-hospedadas
   Antes vinham de fonts.googleapis.com + fonts.gstatic.com: dois domínios
   externos, cada um com DNS + TLS antes do primeiro byte, mais uma folha
   de estilo de terceiro no caminho crítico. Como o cache do gstatic é
   particionado por site, lp.vecview.com.br não aproveitava nada do que o
   visitante já tivesse baixado em vecview.com.br.
   Agora os arquivos saem da mesma origem, com cache de um ano (.htaccess),
   e nenhum dado do visitante é enviado ao Google só para pintar texto.

   São 14 declarações para 6 arquivos: o Google serve fonte variável, então
   os quatro pesos da Inter compartilham o mesmo woff2. O unicode-range faz
   o navegador baixar apenas o subconjunto de que a página precisa — numa
   página em português, só os três "latin" (90 KB no total).
   ===================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg: #020B18;
  --bg-alt: #040E1F;
  --card: #071525;
  --card-hover: #0C1F38;
  --toggle-ball: #FFFFFF;

  --blue: #0055FF;
  --cyan: #00c2ff;

  --cyan-dim: rgba(0, 194, 255, 0.12);
  --blue-dim: rgba(0, 85, 255, 0.10);

  --text: #F0F4FF;
  --text-muted: #6B8BB5;
  --text-dim: #3A5577;

  --border: rgba(0, 194, 255, 0.15);
  --border-strong: rgba(0, 194, 255, 0.30);

  --nav-h: 68px;
}

[data-theme="light"] {
  --bg: #F7FAFC;
  --bg-alt: #EDF2F7;
  --toggle-ball: #0055FF;

  --card: #FFFFFF;
  --card-hover: #F8FAFC;

  --cyan-dim: rgba(0, 157, 255, 0.08);
  --blue-dim: rgba(0, 85, 255, 0.08);

  --text: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);
}

html {
  scroll-behavior: smooth;
  /* O nav é fixo com 68px. Sem isto, todo link de âncora parava com o
     título da seção escondido atrás da barra. */
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--text);
  /* Fallbacks de sistema enquanto a Inter (que vem de outro domínio) não
     chega — o texto pinta no primeiro frame em vez de ficar invisível. */
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── ACESSIBILIDADE ──
   Só :focus-visible, para o anel não aparecer no clique de mouse. */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--cyan);
  color: #020B18;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* Quem marcou "reduzir movimento" no sistema (enjoo, vertigem, epilepsia
   vestibular) recebe a página sem reveal, sem aurora e sem scroll suave. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── NAV ──
   Seletor preso ao <header>: o rodapé também usa <nav> (a lista de todas as
   soluções) e, com o seletor de elemento solto, ele herdava position:fixed
   e ia parar em cima do hero. */
header nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: block;
  text-decoration: none;
}

.nav-logo img {
  height: 120px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  /* A barra tem altura fixa de 68px: um rótulo que quebre em duas linhas
     vaza para fora dela. */
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* ── NAV: faixa intermediária (tablet / notebook pequeno) ──
   Entre 901px e 1150px os links continuavam em tamanho cheio e a soma
   passava da largura da barra, empurrando o seletor de tema para fora
   da tela. Aqui o nav encolhe em vez de vazar. */
@media (max-width: 1150px) and (min-width: 901px) {
  header nav {
    padding: 0 3%;
  }

  .nav-logo img {
    height: 80px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }

  /* O switch já tem aria-label; as palavras eram redundância cara. */
  .theme-switch > span {
    display: none;
  }
}

/* ── NAV MOBILE ── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--cyan);
  /* 44px é o alvo mínimo de toque recomendado (WCAG 2.5.5) */
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 6% 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    /* 14+14+altura da linha ≈ 46px de alvo de toque (WCAG 2.5.5) */
    padding: 14px 4px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-logo img {
    height: 80px;
  }

  .theme-switch > span {
    display: none;
  }
}

/* ===== THEME SWITCH ===== */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.switch {
  position: relative;
  width: 56px;
  height: 30px;
  flex: none;
}

.switch input {
  /* opacity em vez de display:none — o input precisa continuar focável
     por teclado; escondido com display ele sai da ordem de tabulação. */
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
}

.slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: var(--toggle-ball);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .3s ease;
}

.switch input:checked + .slider::before {
  transform: translateX(26px);
}

.switch input:focus-visible + .slider {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 6% 72px;
}

.hero-wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/wave-bg.webp') no-repeat bottom center;
  background-size: 100% auto;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

[data-theme="dark"] .hero-wave-bg {
  filter: invert(1) hue-rotate(180deg) brightness(0.7);
  mix-blend-mode: screen;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .hero-wave-bg {
    /* Versão de 960 px: o celular não tem pixels para os 1920 px e baixava
       3x mais bytes no elemento mais pesado da dobra. */
    background-image: url('../assets/wave-bg-960.webp');
    background-size: 200% auto;
    background-position: bottom center;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 36px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-h1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.04;
  margin-bottom: 24px;
}

.accent {
  background: linear-gradient(135deg, #00c2ff, #0055ff, #00c2ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: aurora 4s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BOTÕES ── */
.btn-primary {
  background: linear-gradient(135deg, #00c2ff, #0055ff, #00c2ff);
  background-size: 200% auto;
  animation: aurora 4s ease-in-out infinite alternate;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #fff;
  color: var(--cyan);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: var(--blue-dim);
  border-color: rgba(0, 194, 255, 0.5);
}

/* ── SEÇÕES ── */
section {
  padding: 96px 6%;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  font-weight: 300;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ── ARTIGO ──
   O corpo de cada landing page é HTML redigido fora do template (arquivos
   *-texto.html). Em vez de exigir classe em cada tag, o estilo desce por
   descendência a partir de .article. */
#conteudo-artigo {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 52px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-muted);
  /* O conteúdo herdado traz tabelas e URLs longas do DAEE que estouravam
     a caixa no celular. */
  overflow-wrap: break-word;
}

.article > *:first-child {
  margin-top: 0;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin: 40px 0 16px;
}

.article h2 {
  font-size: 30px;
}

.article h3 {
  font-size: 25px;
}

.article h4 {
  font-size: 21px;
}

/* O conteúdo legado usa <h5> como título de bloco. Sem isto ele ficava
   menor que o corpo do texto e a hierarquia visual invertia. */
.article h5,
.article h6 {
  font-size: 19px;
}

.article p {
  margin: 0 0 18px;
}

/* Os textos herdados usam <p><br/></p> como espaçador de parágrafo, o que
   gera linhas vazias no meio da leitura. */
.article p:empty,
.article p > br:only-child {
  display: none;
}

.article ul,
.article ol {
  margin: 0 0 22px;
  padding-left: 4px;
  list-style: none;
  counter-reset: art-item;
}

.article li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.article li p {
  margin: 0;
}

.article ul > li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.article ol > li::before {
  counter-increment: art-item;
  content: counter(art-item);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  min-width: 24px;
  text-align: right;
}

.article strong,
.article b {
  color: var(--text);
  font-weight: 600;
}

/* Vários títulos do conteúdo herdado são um <a> inteiro ("DAEE", "VecView").
   Com o estilo de link genérico eles ficavam ciano e sublinhados, parecendo
   um link solto no meio do texto em vez de um título de bloco. */
.article h2 a,
.article h3 a,
.article h4 a,
.article h5 a,
.article h6 a {
  color: inherit;
  border-bottom-color: var(--border-strong);
}

.article h2 a:hover,
.article h3 a:hover,
.article h4 a:hover {
  color: var(--cyan);
}

.article a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.2s;
}

.article a:hover {
  border-bottom-color: var(--cyan);
}

.article img {
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 28px auto;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}

.article th,
.article td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.article th {
  color: var(--text);
  font-weight: 600;
  background: var(--bg-alt);
}

/* ── ASIDE / CTA LATERAL ── */
.article-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aside-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.aside-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 194, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.aside-card h2,
.aside-card h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  position: relative;
}

.aside-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}

.aside-card .btn-primary,
.aside-card .btn-outline {
  width: 100%;
  justify-content: center;
  position: relative;
}

.aside-card .btn-outline {
  margin-top: 10px;
}

.aside-figure {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}

.aside-figure img {
  display: block;
  width: 100%;
}

.aside-figure figcaption {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

/* ── OUTRAS SOLUÇÕES (link building interno) ── */
#solucoes {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.solucoes-grid {
  display: grid;
  /* 3 colunas fixas: são 6 cards nas landing pages e 18 na vitrine, os dois
     múltiplos de 3. Com auto-fit o desktop abria 4 colunas e a última linha
     ficava com duas células vazias. */
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.solucao-card {
  background: var(--card);
  padding: 28px 26px;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.solucao-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 194, 255, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.solucao-card:hover {
  background: var(--card-hover);
}

.solucao-card:hover::after {
  opacity: 1;
}

.solucao-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: block;
  position: relative;
}

.solucao-card h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
}

.solucao-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
}

/* ── CTA FINAL ── */
#cta {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ── FOOTER ── */
footer {
  padding: 60px 6%;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
  background: var(--bg);
}

.footer-brand-logo img {
  height: 110px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 24px;
}

.footer-contact-info {
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 4px 0 8px;
}

.footer-contact-info strong {
  color: var(--text);
}

.footer-contact-info a {
  color: var(--cyan);
  text-decoration: none;
}

.footer-contact-info a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-social a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 6px 14px;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--cyan-dim);
}

.footer-nav-title {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
  display: block;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.copyright {
  padding: 22px 6%;
  border-top: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-aside {
    position: static;
  }

  .solucoes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solucoes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 6%;
  }

  .article {
    padding: 32px 22px;
    font-size: 16px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.2s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.4s;
}
