/* ============================================================
   RedFox Digital — Design System v2
   Fiel ao tema BrightSaaS (theme-s7):
   rosa framboesa #FF004E + fundos índigo-escuros #111126/#1c1c2e
   ============================================================ */

:root {
  --primary: #FF004E;
  --primary-light: #FF4D7E;
  --primary-dark: #C4003D;
  --bg-page: #111126;
  --bg-card: #1c1c2e;
  --bg-soft: #252538;
  --border: #434359;
  --title: #e1dff2;
  --content: #c0bcd6;
  --muted: #a8a5b8;

  /* Superfícies editoriais: a paleta RedFox ganha ritmo sem criar
     uma segunda identidade visual. */
  --surface-light: #efeff3;
  --surface-light-raised: #faf9fb;
  --surface-light-ink: #191824;
  --surface-light-copy: #504c5d;
  --surface-light-muted: #736f7e;
  --surface-graphite: #20202a;
  --surface-graphite-raised: #292936;

  --radius: 0.75rem;
  --container: 1240px; /* era 1140px — margens laterais menores (pedido do usuário) */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--content);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  color: var(--title);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(255, 0, 78, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Efeitos de fundo ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-mask {
  position: absolute;
  inset: 0;
}

.bg-glow-top {
  background: radial-gradient(55% 42% at 50% 0%,
    rgba(255, 0, 78, 0.26) 0%,
    rgba(255, 0, 78, 0.07) 48%,
    transparent 72%);
  mask-image: linear-gradient(180deg, #000 35%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 95%);
}

.bg-glow-q {
  background: radial-gradient(40% 36% at 88% 32%,
    rgba(255, 77, 126, 0.09) 0%,
    transparent 70%);
  mask-image: linear-gradient(200deg, transparent 20%, #000 70%);
  -webkit-mask-image: linear-gradient(200deg, transparent 20%, #000 70%);
}

.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
}

main {
  position: relative;
  z-index: 1;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(80deg, #FF004E 0%, #FF4D7E 50%, #FF004E 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 0, 78, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 78, 0.4);
  background-position: 100% 0%;
}

.btn-outline {
  background: rgba(17, 17, 38, 0.08);
  border-color: rgba(67, 67, 89, 0.8);
  color: var(--title);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-glow {
  background: rgba(255, 0, 78, 0.1);
  box-shadow: inset 0 -4px 6px rgba(255, 0, 78, 0.1);
  color: var(--primary-light);
  padding: 0.7rem 0.8rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 15px;
}

.btn-pill {
  border-radius: 99rem;
}

/* Feixe de luz (template: beam no CTA do header) */
.btn-beam {
  position: relative;
  overflow: hidden;
}

.btn-beam::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  left: -45%;
  background: linear-gradient(105deg, transparent, rgba(255, 77, 126, 0.55), transparent);
  transform: skewX(-18deg);
  animation: beam 3.6s ease-in-out infinite;
}

@keyframes beam {
  0% { left: -45%; }
  55%, 100% { left: 130%; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  transition: padding 0.25s ease;
}

.header.scrolled {
  padding: 0.5rem 1.5rem;
}

.menubar {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(17, 17, 38, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(67, 67, 89, 0.45);
  border-radius: 0.75rem;
  min-height: 5.875rem;
  display: flex;
  align-items: center;
  transition: background 0.25s ease;
}

.header.scrolled .menubar {
  background: rgba(17, 17, 38, 0.75);
}

.menubar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Logo oficial RedFox — variante branca do SVG (fundo escuro) */
.logo-img {
  display: block;
  height: 30px;
  width: auto;
}

.logo-img-footer {
  height: 40px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--title);
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--title);
}

.nav-link.active {
  color: var(--primary-light);
}

/* Dropdown "Segmentos" (2026-10-05): desktop abre por hover/focus,
   mobile vira acordeão via .open (JS). Itens apontam para âncoras de
   seção/cards já existentes — ver DESIGN.md §4.1. */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown-toggle .nav-chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: -0.75rem;
  min-width: 13.5rem;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  border-radius: 0.7rem;
  background: rgba(17, 17, 38, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(67, 67, 89, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 0, 78, 0.18);
}

.nav-cta {
  margin-left: 0.6rem;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 500;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 0.7rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(67, 67, 89, 0.55);
}

.lang-switch svg {
  color: var(--muted);
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.lang-switch a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.3rem 0.4rem;
  border-radius: 0.4rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch a:hover {
  color: var(--title);
}

.lang-switch a.active {
  color: #ffffff;
  background: var(--primary);
}

/* Menu compacto em tablet deitado / notebook pequeno (901–1199px): evita
   estourar a largura antes de virar o menu hambúrguer (≤900px). */
@media (min-width: 901px) and (max-width: 1199px) {
  .nav { gap: 0.8rem; }
  .nav-link, .nav-dropdown-toggle { font-size: 13px; }
  .nav-cta { margin-left: 0.2rem; padding: 10px 14px; font-size: 13px; }
  .lang-switch { margin-left: 0.3rem; padding-left: 0.4rem; }
  .lang-switch svg { display: none; }
  .lang-switch a { padding: 0.25rem 0.3rem; }
}
@media (min-width: 901px) and (max-width: 980px) {
  .nav { gap: 0.55rem; }
  .nav-link, .nav-dropdown-toggle { font-size: 12.5px; }
  .nav-cta { padding: 9px 11px; font-size: 12.5px; }
}

.menu-toggle {
  display: none;
  border-radius: 0.5rem;
}

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

.menu-toggle.open .icon-menu {
  display: none;
}

.menu-toggle.open .icon-close {
  display: block;
}

/* ==========================================================================
   HERO — VESPER.AI (spec exato, cores RedFox)
   Compartilhado entre index.html e hero-lab.html (Opção A)
   ========================================================================== */
.hv-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Vídeo de fundo — 100% de opacidade, sem overlay (spec) */
.hv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Camada rosa/vermelho da paleta sobre o vídeo (pedido do usuário):
   tinge os clarões brancos do vídeo com o rosa RedFox. O blend
   multiply preserva as sombras escuras e "pinta" só as áreas claras. */
.hv-tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 85% at 50% 35%, rgba(255, 77, 126, 0.22), rgba(17, 17, 38, 0.30) 78%),
    linear-gradient(180deg, rgba(196, 0, 61, 0.24), rgba(255, 0, 78, 0.32) 55%, rgba(17, 17, 38, 0.38));
  mix-blend-mode: multiply;
}

/* Copy centralizado no hero (vertical+horizontal — pedido do usuário;
   o spec Vesper usava flex-end, mas o usuário pediu o bloco no centro) */
.hv-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 24px 0;
}

/* Véu escuro atrás do bloco de texto (leitura do H1 sobre o vídeo):
   radial centrado no copy, some nas bordas — sem cobrir o vídeo inteiro */
.hv-copy::before {
  content: "";
  position: absolute;
  inset: -6% -18%;
  z-index: -1;
  background: radial-gradient(58% 52% at 50% 45%,
    rgba(17, 17, 38, 0.52),
    rgba(17, 17, 38, 0.26) 58%,
    transparent 80%);
}

/* Badge — gradiente metálico do spec em tons RedFox (#7d7d7d→#2a2a2a→#0a0a0a → #434359→#252538→#111126) */
.hv-copy .badge {
  border: 0;
  border-radius: 5px;
  padding: 9px 15px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #434359 0%, #252538 52%, #111126 100%);
  color: #e1dff2;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hv-copy .badge-star {
  width: 1.33em;
  height: 1.48em;
}

/* H1 — Inter 700 bold (sem serif; "Digital" com gradiente rosa, regra do DS) */
.hv-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 112px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #ffffff; /* branco puro (era var(--title) #e1dff2 — pedido do usuário) */
}

.hv-title em {
  font-size: 1.08em;
  letter-spacing: -0.03em;
}

/* aproxima a 2ª linha ("Digital") da 1ª; paddings internos das linhas
   continuam protegendo as letras da máscara overflow:hidden */
.hv-title .headline-line + .headline-line {
  margin-top: -0.28em;
}

.hv-lede {
  max-width: 940px;
  margin: 36px 0 0;
  color: #ffffff; /* teste de legibilidade (era var(--muted)) */
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.hv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.hv-actions .btn {
  height: auto;
  padding: 24px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Ghost com frost do spec (blur 16px) em tintas RedFox */
.hv-actions .btn-outline {
  background: linear-gradient(135deg, rgba(255, 77, 126, 0.12), rgba(17, 17, 38, 0.5) 46%, rgba(255, 0, 78, 0.1));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hv-actions .btn-outline:hover {
  box-shadow: 0 0 24px rgba(255, 0, 78, 0.28);
}

/* Stats em rodapé — ícones exatos do spec em cores RedFox.
   Limitados à largura do container do site (mesma margem lateral). */
.hv-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--hv-stats-x, 72px) max(var(--hv-stats-y, 20px), env(safe-area-inset-bottom));
}

/* Stats visualmente mais próximos dos CTAs, com respiro (pedido do
   usuário): desloca só a faixa, sem alterar o fluxo do hero */
@media (min-width: 901px) {
  .hv-stats {
    top: -70px;
    justify-content: center;
    gap: clamp(48px, 6vw, 104px);
  }
}

.hv-stats .stat {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: #c0bcd6;
}

.hv-stats .stat svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Marquee de logos de clientes (abaixo dos stats do hero).
   Track com 4 cópias do grupo = loop perfeito via translateX(-50%)
   mesmo em telas muito largas. Decorativo (aria-hidden no HTML). */
.hv-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 48px auto 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.hv-marquee-scroll {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hv-marquee-track {
  display: flex;
  width: max-content;
  animation: hv-marquee 48s linear infinite;
}

.hv-marquee-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.hv-marquee-group img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.hv-marquee:hover .hv-marquee-track {
  animation-play-state: paused;
}

@keyframes hv-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hv-marquee-track { animation: none; }
}

@media (max-width: 900px) {
  .hv-marquee { margin-top: 38px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .hv-marquee-group { gap: 48px; padding-right: 48px; }
  .hv-marquee-group img { height: 30px; }
}

/* ---------- Responsivo do hero (valores exatos do spec) ---------- */
@media (min-width: 1600px) {
  .hv-title { font-size: 110px; }
  .hv-copy .badge { font-size: 14.5px; margin-bottom: 26px; }
  .hv-actions { margin-top: 48px; gap: 12px; }
  .hv-actions .btn { height: auto; padding: 26px 22px; font-size: 15px; }
  .hv-stats { padding-left: 96px; padding-right: 96px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .hv-stats .stat { font-size: 15px; }
  .hv-stats .stat svg { width: 22px; height: 22px; }
}

@media (min-width: 1920px) {
  .hv-title { font-size: 120px; }
  .hv-copy .badge { font-size: 15px; padding: 10px 15px; }
  .hv-actions .btn { height: auto; padding: 28px 24px; font-size: 16px; }
  .hv-stats { padding-left: 120px; padding-right: 120px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .hv-stats .stat { font-size: 16px; }
}

@media (min-width: 2560px) {
  .hv-title { font-size: 135px; }
  .hv-stats { padding-left: 160px; padding-right: 160px; }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .hv-title { font-size: 100px; }
  .hv-stats { padding-left: 80px; padding-right: 80px; }
}

@media (max-width: 1279px) and (min-width: 901px) {
  .hv-title { font-size: 96px; }
  .hv-copy .badge { font-size: 12px; margin-bottom: 16px; }
  .hv-actions { margin-top: 32px; }
  .hv-actions .btn { height: auto; padding: 20px 16px; font-size: 13px; }
  .hv-stats { padding-left: 36px; padding-right: 36px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .hv-stats .stat { font-size: 12.5px; }
}

@media (min-width: 901px) and (max-height: 850px) {
  .hv-title { font-size: 72px; }
  .hv-copy .badge { margin-bottom: 12px; }
  .hv-lede { margin-top: 24px; }
  .hv-actions { margin-top: 28px; }
  .hv-stats { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hv-title { font-size: 60px; }
  .hv-copy .badge { margin-bottom: 8px; }
  .hv-actions .btn { height: auto; padding: 16px 18px; }
  .hv-stats { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) {
  .hv-hero {
    min-height: 100svh;
    padding-top: 5.25rem;
  }

  .hv-copy {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: clamp(1.75rem, 6vw, 3rem) 1.25rem 0;
  }

  .hv-copy::before {
    inset: -4% -12%;
  }

  .hv-copy .badge {
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 11.5px;
    line-height: 1.35;
    text-align: center;
  }

  .hv-title {
    font-size: clamp(2.75rem, 7.8vw, 3.625rem);
    line-height: 0.98;
  }

  .hv-title .headline-line + .headline-line {
    margin-top: -0.18em;
  }

  .hv-lede {
    max-width: 38rem;
    margin-top: 1.35rem;
    font-size: clamp(1rem, 2.7vw, 1.125rem);
    line-height: 1.5;
  }

  .hv-actions {
    margin-top: 1.5rem;
    gap: 0.65rem;
  }

  .hv-actions .btn {
    min-height: 3.1rem;
    height: auto;
    padding: 0.9rem 1.15rem;
    font-size: 14px;
  }

  .hv-stats {
    margin-top: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem max(18px, env(safe-area-inset-bottom));
  }

  .hv-stats .stat {
    white-space: normal;
    text-align: center;
    gap: 0.7rem;
    font-size: 13.5px;
    line-height: 1.35;
  }
}

@media (max-width: 560px) {
  .hv-hero { padding-top: 4.8rem; }

  .hv-copy {
    padding-top: 1.65rem;
  }

  .hv-copy .badge {
    margin-bottom: 0.9rem;
    font-size: 10.5px;
  }

  .hv-title { font-size: clamp(2.55rem, 12vw, 3rem); }
  .hv-lede { margin-top: 1.15rem; font-size: 16px; }
  .hv-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1.3rem;
  }
  .hv-actions .btn {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    font-size: 13.5px;
  }

  .hv-stats {
    margin-top: 1.6rem;
    gap: 0.65rem;
  }

  .hv-stats .stat {
    font-size: 12.5px;
  }

  .hv-stats .stat svg {
    width: 18px;
    height: 18px;
  }

  .hv-marquee {
    margin-top: 32px;
  }

  .hv-marquee-group {
    gap: 40px;
    padding-right: 40px;
  }

}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 9px 15px;
  border-radius: 5px;
  border: 1px solid rgba(67, 67, 89, 0.55);
  background: rgba(28, 28, 46, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--title);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.badge-star {
  flex-shrink: 0;
  color: #fff;
  filter: drop-shadow(0 0 3px rgba(255, 77, 126, 0.55));
}

.headline-line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.15em 0.14em;
}

.headline-line em {
  font-style: normal;
  font-weight: 700;
  color: #FF004E; /* vermelho da paleta RedFox indicado pelo usuário (#FF004E) */
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: #c0bcd6;
}

.stat svg {
  flex-shrink: 0;
  color: #cfcbe0;
}

/* Dots usados nos mini-mockups */
.di-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.d-rose { background: var(--primary); }

/* ---------- Seções ---------- */
.section {
  padding: 5rem 0;
}

/* ---------- Ritmo de superfícies ----------
   A homepage alterna claro, índigo e grafite. O rosa permanece como
   acento; a leitura deixa de depender de um único fundo escuro. */
.surface-light,
.surface-dark,
.surface-graphite {
  position: relative;
  isolation: isolate;
}

.surface-light {
  color: var(--surface-light-copy);
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(255, 0, 78, 0.055), transparent 58%),
    linear-gradient(180deg, #f5f4f7 0%, var(--surface-light) 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.85),
    inset 0 -1px rgba(25, 24, 36, 0.08);
}

.surface-dark {
  background:
    radial-gradient(65% 65% at 0% 50%, rgba(255, 0, 78, 0.045), transparent 62%),
    linear-gradient(180deg, #111126 0%, #151529 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.surface-graphite {
  background:
    radial-gradient(60% 75% at 100% 10%, rgba(255, 77, 126, 0.055), transparent 62%),
    linear-gradient(180deg, #23232d 0%, var(--surface-graphite) 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.055),
    inset 0 -1px rgba(0, 0, 0, 0.22);
}

.surface-light > .container,
.surface-dark > .container,
.surface-graphite > .container {
  position: relative;
  z-index: 1;
}

.surface-light h1,
.surface-light h2,
.surface-light h3,
.surface-light h4,
.surface-light .tree-value,
.surface-light .card-link,
.surface-light .post-title a,
.surface-light .about-ai p {
  color: var(--surface-light-ink);
}

.surface-light .lead,
.surface-light .card-desc,
.surface-light .institutional-text,
.surface-light .about-grid p,
.surface-light .post-excerpt,
.surface-light .global-card p {
  color: var(--surface-light-copy);
}

.surface-light .tree-item p,
.surface-light .card-url,
.surface-light .post-meta {
  color: var(--surface-light-muted);
}

.surface-light .eyebrow,
.surface-light .card-slogan,
.surface-light .post-read {
  color: var(--primary-dark);
}

.surface-light .card-blend {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 248, 251, 0.98)) padding-box,
    linear-gradient(180deg, rgba(25, 24, 36, 0.15), rgba(25, 24, 36, 0.055)) border-box;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(17, 17, 38, 0.055);
}

.surface-light .card-blend:hover {
  box-shadow: 0 18px 42px rgba(17, 17, 38, 0.11);
}

.surface-light .mock {
  background: #19192a;
  border-color: rgba(67, 67, 89, 0.65);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.surface-light .card-icon,
.surface-light .tree-icon {
  background: rgba(255, 0, 78, 0.085);
  color: var(--primary-dark);
}

.surface-light .about-ai {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 0, 78, 0.13);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
}

.surface-light .nav-pills {
  background: #e8e6ec;
  border-color: rgba(25, 24, 36, 0.09);
}

.surface-light .pill {
  color: var(--surface-light-muted);
}

.surface-light .pill.active {
  color: var(--surface-light-ink);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(17, 17, 38, 0.08);
}

.surface-light .btn-glow {
  color: var(--primary-dark);
  border-color: rgba(255, 0, 78, 0.18);
  background: rgba(255, 0, 78, 0.07);
  box-shadow: none;
}

.surface-light .btn-glow:hover {
  background: rgba(255, 0, 78, 0.12);
}

.surface-light .post-read:hover,
.surface-light .card-link:hover,
.surface-light .post-title a:hover {
  color: var(--primary-dark);
}

.surface-graphite .card-blend,
.surface-graphite .faq-item {
  background: var(--surface-graphite-raised);
  border: 1px solid rgba(225, 223, 242, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.surface-graphite .card-blend:hover,
.surface-graphite .faq-item:hover,
.surface-graphite .faq-item[open] {
  border-color: rgba(255, 77, 126, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.surface-graphite .tree-icon {
  background: rgba(255, 0, 78, 0.14);
  border: 1px solid rgba(255, 77, 126, 0.16);
}

.surface-graphite + .gradient-separator {
  display: none;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 0.9rem;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.lead {
  color: var(--content);
  margin-bottom: 0.6rem;
}

/* Link "Ver todos os artigos" no section-head do teaser do blog */
.section-head-link {
  margin-top: 1.2rem;
}


/* ---------- Ecossistema unificado ---------- */
.ecosystem-unified {
  position: relative;
  isolation: isolate;
}

.ecosystem-unified .section-head {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.ecosystem-unified .section-head h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ecosystem-unified .section-head .lead {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.6;
}

.ecosystem-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 980px;
  margin: 0 auto 2.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(225, 223, 242, 0.14);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.ecosystem-filter button {
  display: grid;
  gap: 0.16rem;
  min-height: 70px;
  padding: 0.65rem 1.15rem;
  color: rgba(225, 223, 242, 0.8);
  text-align: left;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecosystem-filter button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
}

.ecosystem-filter button.is-active {
  color: #ffffff;
  border-color: rgba(255, 77, 126, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 0, 78, 0.18), rgba(255, 77, 126, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.ecosystem-filter button:focus-visible {
  outline: 3px solid rgba(255, 77, 126, 0.28);
  outline-offset: 3px;
}

.ecosystem-filter span {
  font-size: clamp(calc(1.05rem - 1px), calc(1.4vw - 1px), calc(1.18rem - 1px));
  font-weight: 750;
  line-height: 1.25;
}

.ecosystem-filter small {
  color: inherit;
  font-size: clamp(0.84rem, 1.05vw, 0.92rem);
  line-height: 1.4;
  opacity: 0.86;
}

.ecosystem-panel[hidden] {
  display: none;
}

.ecosystem-panel:not([hidden]) {
  animation: ecosystem-panel-in 0.34s ease both;
}

.ecosystem-panel .cards-grid {
  align-items: stretch;
}

@keyframes ecosystem-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-panel:not([hidden]) {
    animation: none;
  }
}

@media (max-width: 640px) {
  .ecosystem-unified .section-head {
    margin-bottom: 1.75rem;
  }

  .ecosystem-unified .section-head h2 {
    font-size: clamp(1.75rem, 7.6vw, 2.15rem);
  }

  .ecosystem-unified .section-head .lead {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .ecosystem-filter {
    grid-template-columns: 1fr;
    margin-bottom: 1.75rem;
  }

  .ecosystem-filter button {
    min-height: 66px;
    padding: 0.6rem 0.85rem;
  }

  .ecosystem-filter span {
    font-size: calc(1.05rem - 1px);
  }

  .ecosystem-filter small {
    font-size: 0.86rem;
  }

}

@media (max-width: 440px) {
  .ecosystem-filter button {
    min-height: 64px;
  }
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem;
  border-radius: 1rem;
}

/* card-blend: borda em gradiente que desbota para o fundo da página */
.card-blend {
  background:
    linear-gradient(180deg, rgba(28, 28, 46, 1), rgba(28, 28, 46, 1)) padding-box,
    linear-gradient(180deg, rgba(67, 67, 89, 0.8) 0%, rgba(17, 17, 38, 0.8) 100%) border-box;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-blend:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Card em destaque: borda com gradiente rosa */
.card.featured {
  background:
    linear-gradient(180deg, rgba(28, 28, 46, 1), rgba(28, 28, 46, 1)) padding-box,
    linear-gradient(180deg, rgba(255, 0, 78, 0.8) 20%, transparent 100%) border-box;
  border: 2px solid transparent;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(255, 0, 78, 0.12);
  color: var(--primary-light);
  margin-bottom: 1.15rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

/* Logos oficiais nos cards de saúde (substituem o ícone).
   Caixa com a mesma altura do .card-icon: o ritmo vertical dos cards
   não muda. Altura uniforme + width:auto = proporção original
   preservada, sem estourar o card. */
.card-logo {
  display: flex;
  align-items: center;
  height: 46px;
  margin-bottom: 1.15rem;
}

.card-logo img {
  height: 30px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Ecossistema de saúde: logos com peso visual uniforme e uma área
   reservada comum para manter os textos na mesma linha. */
#ecossistema .card-logo {
  height: 40px;
  margin-bottom: 1rem;
}

#ecossistema .card-logo img {
  height: 26px;
}

#ecossistema .card-logo img[alt="HelloDoc"] {
  height: 24px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card-slogan {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.8rem;
}

.card-desc {
  font-size: 14px;
  color: var(--content);
  margin-bottom: 0.7rem;
}

.card-link {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--title);
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--primary-light);
}

.card-url {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ---------- Mini-mockups ---------- */
.mock {
  background: rgba(17, 17, 38, 0.45);
  border: 1px solid rgba(67, 67, 89, 0.35);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Ecossistema de saúde: previews mais compactos e com altura uniforme.
   A área visual menor deixa logos, textos e CTAs alinhados entre cards. */
#ecossistema .mock {
  height: 200px;
  justify-content: center;
  padding: 0.8rem;
  gap: 0.45rem;
  overflow: hidden;
}

#ecossistema .mock-cal span {
  aspect-ratio: auto;
  height: 18px;
}

#ecossistema .card-slogan {
  min-height: 2.7em;
}

/* Desktop: previews mais baixos para que o card inteiro permaneça visível
   dentro da seção. O conteúdo interno também é compactado, sem recorte. */
@media (min-width: 1025px) {
  #ecosystem-health-panel .mock {
    height: 142px;
    padding: 0.6rem;
    margin-bottom: 1rem;
    gap: 0.32rem;
  }

  #ecosystem-health-panel .mock-cal span {
    height: 10px;
  }

  #ecosystem-health-panel .mock-row {
    padding: 0.3rem 0.48rem;
  }

  #ecosystem-multisector-panel .mock {
    height: 160px;
    padding: 0.6rem;
    margin-bottom: 1rem;
    gap: 0.3rem;
  }

  #ecosystem-multisector-panel .mock-option,
  #ecosystem-multisector-panel .fm-row {
    padding: 0.27rem 0.5rem;
  }

  #ecosystem-multisector-panel .video-player {
    height: 108px;
    aspect-ratio: auto;
    flex: 0 0 auto;
  }

  #ecosystem-multisector-panel .mock-question {
    font-size: 11.5px;
    line-height: 1.25;
  }

  #ecosystem-multisector-panel .mock-option {
    font-size: 11px;
  }

  #ecosystem-multisector-panel .mock-caption {
    font-size: 10px;
  }

  #ecossistema .card {
    padding: 1.4rem 1.35rem;
  }
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(37, 37, 56, 0.6);
  font-size: 12px;
  color: var(--content);
}

.mock-chip {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border-radius: 99rem;
  background: rgba(255, 0, 78, 0.16);
  color: var(--primary-light);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-off {
  background: rgba(67, 67, 89, 0.28);
  color: var(--muted);
}

.chip-warn {
  background: rgba(255, 77, 126, 0.12);
  color: var(--primary-light);
}

.mock-progress {
  height: 6px;
  border-radius: 99rem;
  background: rgba(67, 67, 89, 0.3);
  overflow: hidden;
}

.mock-progress i {
  display: block;
  height: 100%;
  border-radius: 99rem;
  background: linear-gradient(90deg, #FF004E, #FF4D7E);
}

.mock-caption {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* HelloDoc — agenda */
.mock-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.mock-cal span {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(67, 67, 89, 0.22);
}

.mock-cal span.on {
  background: linear-gradient(135deg, #FF004E, #FF4D7E);
  box-shadow: 0 0 8px rgba(255, 0, 78, 0.4);
}

/* Konnecta — conexões */
.konn-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
}

.konn-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.konn-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.konn-avatar.a1,
.konn-avatar.a2 {
  background: linear-gradient(135deg, #FF004E, #FF4D7E);
}

.konn-avatar.a3,
.konn-avatar.a4 {
  background: rgba(67, 67, 89, 0.7);
}

.konn-label {
  font-size: 10.5px;
  color: var(--muted);
}

.konn-link {
  display: flex;
  align-items: center;
  width: 54px;
}

.konn-link::before {
  content: "";
  flex: 1;
  border-top: 1.5px dashed rgba(255, 0, 78, 0.55);
}

.konn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: konn-pulse 1.6s ease-in-out infinite;
}

@keyframes konn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 126, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 77, 126, 0); }
}

/* VideoRocket — player */
.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.55rem;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(255, 0, 78, 0.28), transparent 70%),
    rgba(17, 17, 38, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vp-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF004E, #FF4D7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(255, 0, 78, 0.55);
}

.vp-btn svg {
  margin-left: 3px;
}

.vp-bar {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.6rem;
  height: 4px;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.vp-bar i {
  display: block;
  height: 100%;
  border-radius: 99rem;
  background: #FF4D7E;
}

/* ForgeQuiz — quiz */
.mock-question {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--title);
}

.mock-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(37, 37, 56, 0.6);
  border: 1px solid rgba(67, 67, 89, 0.35);
  font-size: 12px;
  color: var(--content);
}

.mock-option b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background: rgba(67, 67, 89, 0.4);
  color: var(--muted);
  flex-shrink: 0;
}

.mock-option.on {
  border-color: rgba(255, 0, 78, 0.7);
  background: rgba(255, 0, 78, 0.12);
  color: var(--title);
}

.mock-option.on b {
  background: linear-gradient(135deg, #FF004E, #FF4D7E);
  color: #fff;
}

.mock-option.on svg {
  margin-left: auto;
}

/* FollowMap — checklist */
.fm-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(37, 37, 56, 0.6);
  font-size: 12px;
  color: var(--content);
}

.fm-check {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid rgba(67, 67, 89, 0.8);
  flex-shrink: 0;
}

.fm-check:not(.on)::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 2px;
  background: var(--primary);
}

.fm-check.on {
  border-color: var(--primary);
  background: rgba(255, 0, 78, 0.15);
}

.fm-tag {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border-radius: 99rem;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.fm-tag.done {
  background: rgba(67, 67, 89, 0.28);
  color: var(--muted);
}

.fm-tag.now {
  background: rgba(255, 0, 78, 0.16);
  color: var(--primary-light);
}

/* Radar.ai — radar */
.mock-radar {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.radar {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(17, 17, 38, 0.8);
  border: 1px solid rgba(67, 67, 89, 0.5);
  overflow: hidden;
  flex-shrink: 0;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 78, 0.3);
}

.r1 { inset: 30%; }
.r2 { inset: 15%; }
.r3 { inset: 0; border-color: rgba(67, 67, 89, 0.5); }

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(255, 77, 126, 0.4) 0deg,
    rgba(255, 0, 78, 0.12) 55deg,
    transparent 90deg);
  animation: radar-spin 3.2s linear infinite;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

.radar-point {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 6px rgba(255, 77, 126, 0.8);
}

.p1 { top: 26%; left: 38%; }
.p2 { top: 48%; left: 66%; }
.p3 { top: 66%; left: 30%; }
.p4 { top: 34%; left: 56%; }

/* ---------- Separador em gradiente ---------- */
.gradient-separator {
  height: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 0, 78, 0.55),
    rgba(255, 77, 126, 0.55),
    rgba(255, 0, 78, 0.55),
    transparent);
}

.gradient-separator-large {
  max-width: 100%;
  margin-bottom: 3.5rem;
}

/* ---------- Institucional / stats ---------- */
.stats-card {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.25rem;
  margin-bottom: 3rem;
}

.tree-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 78, 0.1);
}

.tree-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  flex: 1;
}

.tree-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tree-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--title);
  line-height: 1.1;
}

.tree-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.institutional-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.institutional-grid h3 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
}

.institutional-text {
  margin-bottom: 0.7rem;
}

.global-card {
  padding: 1.75rem 1.6rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.global-card .eyebrow {
  margin-bottom: 0.2rem;
}

.global-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.global-card p {
  font-size: 14px;
}

/* nav-pills do template */
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.1rem;
  padding: 0.5rem;
  border-radius: 1.875rem;
  background: var(--bg-card);
  border: 1px solid rgba(67, 67, 89, 0.35);
}

.pill {
  padding: 0.5rem 1rem;
  border-radius: 99rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: default;
  transition: background 0.2s ease, color 0.2s ease;
}

.pill.active {
  background: rgba(67, 67, 89, 0.4);
  color: var(--title);
}

/* ---------- Experiência: base de conhecimento institucional ---------- */
.experience-bridge {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 510px;
  margin-bottom: 4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 126, 0.2);
  border-radius: 1.5rem;
  background:
    radial-gradient(65% 115% at 91% 100%, rgba(255, 0, 78, 0.18), transparent 58%),
    radial-gradient(55% 90% at 0% 0%, rgba(109, 78, 255, 0.12), transparent 62%),
    linear-gradient(145deg, #151522 0%, #1c1b2a 52%, #211824 100%);
  box-shadow: 0 28px 70px rgba(17, 17, 38, 0.22);
}

.experience-bridge::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(225, 223, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 223, 242, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 58%);
  pointer-events: none;
}

.experience-bridge::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -130px;
  right: 6%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 77, 126, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 77, 126, 0.025), 0 0 0 108px rgba(255, 77, 126, 0.016);
  pointer-events: none;
}

.experience-bridge-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.surface-light .experience-bridge-copy > .eyebrow {
  margin: 0 0 1rem;
  color: var(--primary-light);
  font-size: 11px;
}

.surface-light .experience-bridge-copy > h3 {
  max-width: 520px;
  margin: 0 0 1.4rem;
  color: #f4f2fb;
  font-size: clamp(1.85rem, 3.15vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.surface-light .experience-bridge-copy > p {
  max-width: 570px;
  margin: 0 0 0.85rem;
  color: rgba(225, 223, 242, 0.72);
  font-size: 15px;
  line-height: 1.68;
}

.experience-bridge-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(225, 223, 242, 0.1);
}

.experience-note-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 126, 0.28);
  border-radius: 0.75rem;
  background: rgba(255, 0, 78, 0.1);
  color: var(--primary-light);
}

.experience-note-mark svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
}

.experience-bridge-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f4f2fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.surface-light .experience-bridge-note p {
  margin: 0;
  color: rgba(225, 223, 242, 0.56);
  font-size: 12.5px;
  line-height: 1.55;
}

.experience-bridge-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin: 1.25rem;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(225, 223, 242, 0.1);
  border-radius: 1.15rem;
  background: rgba(11, 11, 29, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.experience-bridge-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(225, 223, 242, 0.08);
  color: rgba(225, 223, 242, 0.42);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.experience-bridge-status > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.experience-bridge-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55e6b6;
  box-shadow: 0 0 0 5px rgba(85, 230, 182, 0.07), 0 0 14px rgba(85, 230, 182, 0.55);
  animation: experience-status-pulse 2.4s ease-in-out infinite;
}

.experience-origin {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  margin: 1.15rem 0 1.7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 77, 126, 0.17);
  border-radius: 0.9rem;
  background: linear-gradient(110deg, rgba(255, 0, 78, 0.11), rgba(255, 255, 255, 0.025));
}

.experience-origin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.75rem;
  width: 1px;
  height: 1.75rem;
  background: linear-gradient(var(--primary-light), rgba(255, 77, 126, 0.12));
  box-shadow: 0 10px 18px rgba(255, 0, 78, 0.22);
}

.experience-origin-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 0, 78, 0.22);
}

.experience-origin-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-origin small,
.experience-origin strong {
  display: block;
}

.experience-origin small {
  margin-bottom: 0.25rem;
  color: rgba(225, 223, 242, 0.42);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.experience-origin strong {
  color: #f4f2fb;
  font-size: 14px;
  line-height: 1.35;
}

.experience-capability-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.experience-capability-grid::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 25%;
  right: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 126, 0.35), transparent);
}

.experience-capability-node {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 62px;
  padding: 0.75rem;
  border: 1px solid rgba(225, 223, 242, 0.085);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.experience-capability-node:hover {
  border-color: rgba(255, 77, 126, 0.28);
  background: rgba(255, 77, 126, 0.065);
  box-shadow: 0 12px 28px rgba(7, 7, 20, 0.22);
  transform: translateY(-3px);
}

.experience-capability-node > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 126, 0.18);
  border-radius: 0.7rem;
  background: rgba(255, 0, 78, 0.07);
  color: var(--primary-light);
}

.experience-capability-node svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-capability-node strong {
  color: rgba(244, 242, 251, 0.86);
  font-size: 12.5px;
  line-height: 1.25;
}

.experience-bridge-output {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 77, 126, 0.15);
  border-radius: 0.85rem;
  background: linear-gradient(90deg, rgba(255, 0, 78, 0.09), rgba(255, 255, 255, 0.02));
}

.experience-bridge-output span {
  color: var(--primary-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.experience-bridge-output strong {
  color: rgba(244, 242, 251, 0.9);
  font-size: 11.5px;
  line-height: 1.35;
}

.experience-bridge-output i {
  color: var(--primary-light);
  font-style: normal;
  animation: experience-arrow 1.8s ease-in-out infinite;
}

@keyframes experience-status-pulse {
  50% { opacity: 0.58; transform: scale(0.86); }
}

@keyframes experience-arrow {
  50% { transform: translateX(4px); }
}

@media (max-width: 900px) {
  .experience-bridge {
    grid-template-columns: 1fr;
  }

  .experience-bridge-copy {
    padding-bottom: 1rem;
  }

  .experience-bridge-visual {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .experience-bridge {
    margin-inline: -0.15rem;
    border-radius: 1.2rem;
  }

  .experience-bridge-copy {
    padding: 1.55rem 1.3rem 1rem;
  }

  .surface-light .experience-bridge-copy > h3 {
    font-size: 1.75rem;
  }

  .surface-light .experience-bridge-copy > p {
    font-size: 14px;
  }

  .experience-bridge-visual {
    margin: 0.55rem;
    padding: 1rem;
  }

  .experience-bridge-status > span:first-child {
    max-width: 130px;
  }

  .experience-origin {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 0.8rem;
  }

  .experience-origin-icon {
    width: 38px;
    height: 38px;
  }

  .experience-origin strong {
    font-size: 12px;
  }

  .experience-capability-node {
    min-height: 78px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .experience-capability-node strong {
    font-size: 11.5px;
  }

  .experience-bridge-output {
    grid-template-columns: 1fr auto;
    margin-top: 0.75rem;
  }

  .experience-bridge-output span {
    grid-column: 1 / -1;
  }
}

/* ---------- Sobre ---------- */
.about-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.about-block .eyebrow {
  margin-bottom: 0.9rem;
}

.about-block h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 1.75rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.about-grid p {
  font-size: 14.5px;
  color: var(--content);
}

.about-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Conteúdos ---------- */
.post-badge {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.3rem 0.8rem;
  border-radius: 99rem;
  background: rgba(255, 0, 78, 0.12);
  border: 1px solid rgba(255, 0, 78, 0.35);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
}

.card-title-link {
  color: inherit;
  transition: color 0.2s ease;
}

.card-title-link:hover,
.card-title-link:focus-visible {
  color: var(--primary-light);
}

.cards-3 .card .post-read {
  margin-top: auto;
}

/* ---------- CTA final ---------- */
.closing {
  padding: 6rem 0;
}

.closing-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.eyebrow-light {
  color: var(--primary-light);
}

.closing h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.closing-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.5rem;
}

.closing-lead {
  max-width: 640px;
  margin: 0 auto 0.9rem;
  color: var(--content);
  line-height: 1.6;
}

.closing-desc {
  color: var(--content);
  margin-bottom: 2.25rem;
}

.closing-note {
  margin-top: 1.75rem;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */
.footer {
  background: rgba(17, 17, 38, 0.5);
  border-top: 1px solid rgba(67, 67, 89, 0.5);
  padding: 0 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--title);
}

.footer-tagline-pt {
  font-size: 13px;
  color: var(--muted);
}

.footer-lead {
  max-width: 340px;
  margin-top: 0.35rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--content);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--title);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(67, 67, 89, 0.3);
  padding-top: 1.5rem;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Entrada do hero (sistema appear) ---------- */
.appear {
  opacity: 1;
  animation-duration: 1.05s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: var(--d, 0.08s);
}

.appear.is-in {
  animation: none;
  opacity: 1;
  transform: none;
  clip-path: none;
  filter: none;
}

.appear--scale { animation-name: in-scale; }
.appear--soft { animation-name: in-soft; }
.appear--mask { animation-name: in-mask; }
.appear--pop { animation-name: in-pop; }
.appear--btn { animation-name: in-btn; }
.appear--side { animation-name: in-side; }
.appear--stat { animation-name: in-stat; }

.badge-star {
  animation: in-star 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.headline-line em {
  animation: in-em 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
}

@keyframes in-scale {
  from { opacity: 0; transform: scale(0.84); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes in-soft {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes in-mask {
  from { opacity: 0; transform: translateY(40%); }
  to { opacity: 1; transform: none; }
}

@keyframes in-pop {
  0% { opacity: 0; transform: scale(0.9); }
  70% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes in-btn {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes in-side {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes in-stat {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes in-star {
  0% { opacity: 0; transform: scale(0.2) rotate(-50deg); }
  65% { opacity: 1; transform: scale(1.2) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes in-em {
  from { opacity: 0.35; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards-3,
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .institutional-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 900px) {
  /* Header mobile compacto: não herda a altura generosa do desktop e
     não clareia quando passa sobre as novas superfícies cinza-claro. */
  .header,
  .header.scrolled {
    padding: 0.5rem 1rem;
  }

  .menubar,
  .header.scrolled .menubar {
    min-height: 4.25rem;
    background: rgba(17, 17, 38, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(8, 8, 18, 0.2);
  }

  .menubar-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo-img {
    height: 28px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 2.875rem;
    height: 2.875rem;
    padding: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    border-radius: 1rem;
    background:
      radial-gradient(90% 85% at 100% 100%, rgba(255, 0, 78, 0.08), transparent 62%),
      linear-gradient(155deg, #111126 0%, #17172d 100%);
    border: 1px solid rgba(116, 112, 145, 0.42);
    box-shadow: 0 30px 80px rgba(5, 5, 16, 0.68), inset 0 1px rgba(255, 255, 255, 0.035);
    scrollbar-color: rgba(255, 77, 126, 0.55) transparent;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    min-height: 3.15rem;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    font-size: 15px;
    font-weight: 600;
    color: rgba(248, 246, 255, 0.82);
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(225, 223, 242, 0.1);
  }

  .nav-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(255, 0, 78, 0.16), rgba(255, 77, 126, 0.055));
    border-color: rgba(255, 77, 126, 0.24);
    box-shadow: inset 3px 0 var(--primary-light);
  }

  /* Dropdown "Segmentos" vira acordeão no painel mobile */
  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    margin-top: 0.25rem;
    padding: 0.25rem;
    background: rgba(67, 67, 89, 0.12);
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown.open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-link {
    font-size: 14px;
    padding: 0.6rem 0.9rem;
  }

  .nav-cta {
    min-height: 3.2rem;
    margin: 0.65rem 0 0;
    justify-content: center;
    font-weight: 700;
  }

  .lang-switch {
    margin: 0.45rem 0 0;
    padding: 0.85rem 0.2rem 0.15rem;
    border-left: none;
    border-top: 1px solid rgba(225, 223, 242, 0.13);
  }

  .lang-switch svg {
    color: rgba(248, 246, 255, 0.7);
  }

  .lang-switch a {
    font-size: 12px;
    padding: 0.48rem 0.62rem;
    color: rgba(248, 246, 255, 0.7);
  }

  .lang-switch a:hover,
  .lang-switch a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
  }

}

@media (max-width: 640px) {
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .tree-items {
    grid-template-columns: 1fr;
  }

  .stats-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .nav-pills {
    flex-direction: column;
    border-radius: 1rem;
  }

  .pill {
    text-align: center;
  }
}

/* ============ Blog (2026-10-05) ============ */

/* Card de post na listagem (reusa .card/.card-blend; padding 0 para
   a capa encostar na borda) */
.post-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.post-cover {
  display: block;
  position: relative;
  height: 170px;
  overflow: hidden;
}

.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 82% 10%, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.post-cover--saude {
  background: linear-gradient(135deg, rgba(255, 0, 78, 0.92), rgba(196, 0, 61, 0.92));
}

.post-cover--ia {
  background: linear-gradient(135deg, rgba(255, 77, 126, 0.9) 0%, rgba(255, 0, 78, 0.55) 45%, rgba(28, 28, 46, 0.96) 100%);
}

.post-cover--global {
  background: linear-gradient(135deg, rgba(37, 37, 56, 0.96), rgba(17, 17, 38, 0.96) 70%, rgba(255, 0, 78, 0.35) 160%);
}

.post-cover-label {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 99rem;
  background: rgba(17, 17, 38, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
  padding: 1.4rem 1.6rem 1.6rem;
}

.post-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.post-title a {
  color: var(--title);
  transition: color 0.2s ease;
}

.post-title a:hover {
  color: var(--primary-light);
}

.post-excerpt {
  font-size: 14px;
  color: var(--content);
  flex: 1;
}

.post-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 12.5px;
  color: var(--muted);
}

.post-read {
  align-self: flex-start;
  margin-top: 0.3rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  transition: color 0.2s ease;
}

.post-read:hover {
  color: #ffffff;
}

/* ---------- Insights da homepage ----------
   No desktop, editorial e artigos formam uma única composição compacta:
   o cabeçalho deixa de consumir uma dobra inteira e os cards preservam
   conteúdo, metadados e CTA sem exigir scroll para compreender o bloco. */
@media (min-width: 1025px) {
  .insights-section {
    padding: clamp(2.75rem, 4.2vw, 4rem) 0;
  }

  .insights-section .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.72fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title copy"
      "title action";
    column-gap: clamp(3rem, 6vw, 6.5rem);
    row-gap: 0.65rem;
    align-items: start;
    max-width: none;
    margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
    text-align: left;
  }

  .insights-section .section-head .eyebrow {
    grid-area: eyebrow;
    margin: 0 0 0.15rem;
  }

  .insights-section .section-head h2 {
    grid-area: title;
    max-width: 700px;
    margin: 0;
    font-size: clamp(2.15rem, 3vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .insights-section .section-head .lead {
    grid-area: copy;
    max-width: 520px;
    margin: 0;
    padding-top: 0.15rem;
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
    line-height: 1.55;
  }

  .insights-section .section-head-link {
    grid-area: action;
    justify-self: start;
    margin-top: 0.45rem;
    padding: 0.78rem 1.15rem;
  }

  .insights-section .cards-grid {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    gap: clamp(1rem, 1.6vw, 1.5rem);
  }

  .insights-section .post-card {
    min-height: 360px;
    border-radius: 1.15rem;
  }

  .insights-section .post-cover {
    height: clamp(150px, 10vw, 175px);
  }

  .insights-section .post-cover-label {
    top: 0.75rem;
    left: 0.8rem;
  }

  .insights-section .post-body {
    gap: 0.6rem;
    padding: 1.3rem 1.4rem 1.4rem;
  }

  .insights-section .post-title {
    font-size: clamp(1rem, 1.12vw, 1.12rem);
    line-height: 1.28;
  }

  .insights-section .post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 13.5px;
    line-height: 1.48;
  }

  .insights-section .post-meta {
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    font-size: 11.5px;
    line-height: 1.3;
  }

  .insights-section .post-read {
    margin-top: 0.12rem;
    font-size: 13px;
  }
}

@media (min-width: 1025px) and (max-height: 800px) {
  .insights-section {
    padding-block: 2rem;
  }

  .insights-section .section-head {
    margin-bottom: 1.5rem;
  }

  .insights-section .post-cover {
    height: 105px;
  }

  .insights-section .post-body {
    padding: 0.85rem 1.15rem 0.95rem;
  }

  .insights-section .post-excerpt {
    -webkit-line-clamp: 1;
  }
}

/* Em notebooks com altura intermediária há espaço para devolver presença
   editorial aos cards sem fazer a seção ultrapassar a dobra. */
@media (min-width: 1025px) and (min-height: 680px) and (max-height: 800px) {
  .insights-section {
    padding-block: 2.4rem;
  }

  .insights-section .section-head {
    margin-bottom: 1.75rem;
  }

  .insights-section .post-cover {
    height: 125px;
  }

  .insights-section .post-body {
    gap: 0.52rem;
    padding: 1rem 1.2rem 1.1rem;
  }

  .insights-section .post-excerpt {
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .insights-section {
    padding-block: 3.75rem;
  }

  .insights-section .section-head {
    margin-bottom: 2.25rem;
  }

  .insights-section .post-cover {
    height: 150px;
  }
}

/* ---------- Página de artigo ---------- */

.article-section {
  padding: 7.5rem 0 4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--title);
}

.breadcrumb .sep {
  opacity: 0.55;
}

.article-header {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.article-header .post-badge {
  margin-bottom: 1.2rem;
}

.article-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-header .lead {
  font-size: 17px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 13.5px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--content);
}

.article-body h2 {
  margin: 2.6rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--title);
}

.article-body h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--title);
}

.article-body p {
  margin-bottom: 1.2rem;
}

.article-body ul {
  margin: 0 0 1.4rem 1.4rem;
  display: grid;
  gap: 0.55rem;
}

.article-body li::marker {
  color: var(--primary);
}

.article-body strong {
  color: #ffffff;
  font-weight: 600;
}

.article-body blockquote {
  margin: 1.8rem 0;
  padding: 0.3rem 0 0.3rem 1.4rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 0.6rem 0.6rem 0;
  background: rgba(255, 0, 78, 0.07);
  color: var(--title);
}

.article-cta {
  max-width: 720px;
  margin: 3.4rem auto 0;
  padding: 2rem 2.2rem;
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.article-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.article-cta p {
  font-size: 14px;
  color: var(--content);
  max-width: 420px;
}

.article-author {
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.4rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(67, 67, 89, 0.15);
  border: 1px solid rgba(67, 67, 89, 0.35);
}

.article-author img {
  height: 30px;
  width: auto;
}

.article-author .author-name {
  font-size: 14px;
  font-weight: 700;
}

.article-author .author-role {
  font-size: 12.5px;
  color: var(--muted);
}

/* Responsivo do blog */
@media (max-width: 900px) {
  .article-section {
    padding-top: 6.5rem;
  }

  .article-body {
    font-size: 15.5px;
  }
}

@media (max-width: 640px) {
  .post-cover {
    height: 128px;
  }

  .article-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ Blog — modo leitura light (2026-10-05) ============ */
/* As páginas do blog usam <body class="blog-reading">: header e rodapé
   continuam dark (identidade do site); só a área de leitura fica clara. */

body.blog-reading {
  background: #faf9fd;
  color: #4a4a63;
}

body.blog-reading .article-section {
  background:
    radial-gradient(50% 30% at 50% 0%, rgba(255, 0, 78, 0.05), transparent 70%),
    #faf9fd;
}

/* Faixa rosa de transição entre o header dark e a área clara */
body.blog-reading .article-section::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 2.5rem;
  border-radius: 99rem;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 0, 78, 0.6) 50%, rgba(255, 77, 126, 0.45) 95%, transparent);
}

/* Header fixo continua dark; mais opaco para não "lavar" sobre o fundo claro */
body.blog-reading .menubar,
body.blog-reading .header.scrolled .menubar {
  background: rgba(17, 17, 38, 0.92);
}

body.blog-reading .footer {
  background: #111126;
}

/* Tipografia clara */
body.blog-reading h1,
body.blog-reading h2,
body.blog-reading h3,
body.blog-reading h4 {
  color: #111126;
}

body.blog-reading .lead,
body.blog-reading .article-body,
body.blog-reading .post-excerpt,
body.blog-reading .card-desc,
body.blog-reading .article-cta p {
  color: #4a4a63;
}

body.blog-reading .breadcrumb,
body.blog-reading .breadcrumb a,
body.blog-reading .article-meta,
body.blog-reading .post-meta {
  color: #6b6b82;
}

body.blog-reading .breadcrumb a:hover {
  color: #111126;
}

body.blog-reading .article-body strong {
  color: #111126;
}

body.blog-reading .article-body blockquote {
  background: rgba(255, 0, 78, 0.06);
  color: #111126;
}

body.blog-reading .article-body li::marker {
  color: #FF004E;
}

/* Cards brancos com borda clara */
body.blog-reading .card-blend,
body.blog-reading .article-cta,
body.blog-reading .article-author {
  background: #ffffff;
  border: 1px solid #e4e2ef;
  box-shadow: 0 10px 30px rgba(17, 17, 38, 0.06);
}

body.blog-reading .card-blend:hover {
  box-shadow: 0 18px 44px rgba(17, 17, 38, 0.12);
}

body.blog-reading .post-badge {
  background: rgba(255, 0, 78, 0.08);
  border-color: rgba(255, 0, 78, 0.3);
  color: #C4003D;
}

body.blog-reading .post-title a {
  color: #111126;
}

body.blog-reading .post-title a:hover,
body.blog-reading .post-read:hover {
  color: #C4003D;
}

body.blog-reading .post-read {
  color: #FF004E;
}

/* Grid de 2 colunas para "Continue lendo" */
.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Capa dos cards com imagem IA */
.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.post-card:hover .post-cover img {
  transform: scale(1.06);
}

/* ---------- Capa do artigo (imagem IA) ---------- */
.article-cover {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.article-cover img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid #e4e2ef;
  box-shadow: 0 18px 50px rgba(17, 17, 38, 0.12);
}

/* ---------- Sumário "Neste artigo" ---------- */
.article-toc {
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border: 1px solid #e4e2ef;
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(17, 17, 38, 0.05);
}

.article-toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C4003D;
  margin-bottom: 0.7rem;
}

.article-toc ul {
  display: grid;
  gap: 0.45rem;
}

.article-toc a {
  font-size: 14.5px;
  font-weight: 600;
  color: #4a4a63;
  transition: color 0.2s ease;
}

.article-toc a:hover {
  color: #FF004E;
}

/* ---------- Figuras internas do artigo ---------- */
.article-figure {
  margin: 2.4rem 0;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid #e4e2ef;
  box-shadow: 0 14px 40px rgba(17, 17, 38, 0.08);
}

.article-figure figcaption {
  margin-top: 0.7rem;
  font-size: 13px;
  color: #6b6b82;
  text-align: center;
}

/* ---------- Página de detalhe estilo WordPress (v3) ----------
   Grid artigo + sidebar sticky; tags clicáveis; navegação
   anterior/próximo; barra de filtros na listagem. */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.5rem;
  align-items: start;
}

/* ---- Sidebar ---- */
.article-sidebar {
  position: sticky;
  top: 96px;
  /* Sidebar mais alta que a janela: rola por dentro, sem esperar o fim do artigo */
  max-height: calc(100vh - 96px - 1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.4rem;
  margin-right: -0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 78, 0.35) transparent;
}

.article-sidebar::-webkit-scrollbar {
  width: 6px;
}

.article-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 78, 0.35);
  border-radius: 99px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e4e2ef;
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(17, 17, 38, 0.05);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C4003D;
  margin-bottom: 0.9rem;
}

.widget-list {
  display: grid;
  gap: 0.55rem;
}

.widget-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: #4a4a63;
  transition: color 0.2s ease;
}

.widget-list a:hover {
  color: #FF004E;
}

.widget-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #6b6b82;
  background: rgba(17, 17, 38, 0.05);
  border-radius: 99rem;
  padding: 0.15rem 0.55rem;
}

.widget-mini-list {
  display: grid;
  gap: 0.9rem;
}

.widget-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.widget-mini img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid #e4e2ef;
}

.widget-mini span {
  font-size: 13.5px;
  font-weight: 600;
  color: #111126;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.widget-mini:hover span {
  color: #C4003D;
}

.sidebar-cta p:not(.widget-title) {
  font-size: 13.5px;
  color: #4a4a63;
  margin-bottom: 1rem;
}

.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---- Tags do artigo ---- */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid #e4e2ef;
}

.article-tags-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b82;
  margin-right: 0.25rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #C4003D;
  background: rgba(255, 0, 78, 0.07);
  border: 1px solid rgba(255, 0, 78, 0.25);
  border-radius: 99rem;
  padding: 0.35rem 0.8rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag-chip:hover {
  background: #FF004E;
  border-color: #FF004E;
  color: #ffffff;
}

/* Nuvem de tags da sidebar */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-cloud .tag-chip {
  font-size: 12px;
  padding: 0.3rem 0.7rem;
}

/* ---- Anterior / próximo ---- */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #e4e2ef;
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(17, 17, 38, 0.05);
  padding: 1.1rem 1.3rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-nav-link:hover {
  box-shadow: 0 18px 44px rgba(17, 17, 38, 0.12);
  border-color: rgba(255, 0, 78, 0.35);
}

.post-nav--next {
  text-align: right;
}

/* Posts das pontas mostram só 1 direção (coluna correspondente) */
.post-nav--prev:only-child {
  grid-column: 1;
}

.post-nav--next:only-child {
  grid-column: 2;
}

.post-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b82;
}

.post-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: #111126;
  transition: color 0.2s ease;
}

.post-nav-link:hover .post-nav-title {
  color: #C4003D;
}

/* ---- Barra de filtros da listagem ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a63;
  background: #ffffff;
  border: 1px solid #e4e2ef;
  border-radius: 99rem;
  padding: 0.4rem 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover {
  border-color: rgba(255, 0, 78, 0.45);
  color: #C4003D;
}

.filter-chip.active {
  background: #FF004E;
  border-color: #FF004E;
  color: #ffffff;
}

.filter-active {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 600;
  color: #C4003D;
  background: rgba(255, 0, 78, 0.07);
  border: 1px solid rgba(255, 0, 78, 0.3);
  border-radius: 99rem;
  padding: 0.4rem 0.5rem 0.4rem 0.9rem;
}

.filter-active button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 0, 78, 0.15);
  color: #C4003D;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-active button:hover {
  background: #FF004E;
  color: #ffffff;
}

.filter-empty {
  font-size: 14px;
  color: #6b6b82;
  margin-top: 2rem;
}

.filter-empty a {
  font-weight: 600;
  color: #FF004E;
}

.filter-empty a:hover {
  color: #C4003D;
}

[hidden] {
  display: none !important;
}

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

  .article-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Acessibilidade ---------- */
@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;
  }

  .reveal,
  .appear,
  .badge-star,
  .headline-line em {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }
}


/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.faq-item[open],
.faq-item:hover {
  border-color: rgba(255, 0, 78, 0.45);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.faq-chevron {
  flex: none;
  color: var(--primary-light);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--content);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: #ffffff;
}


/* ---------- AI First (Sobre) ---------- */
.about-ai {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0 auto 1.75rem;
  max-width: 880px;
}

.about-ai-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 99rem;
  background: linear-gradient(80deg, #FF004E, #FF4D7E);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-ai p {
  margin: 0;
  font-size: 15px;
  color: var(--title);
  text-align: center;
}

/* ---------- O grupo: mapa visual do ecossistema ---------- */
.group-story {
  max-width: 1040px;
}

.group-story-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 2.25rem;
  align-items: stretch;
  text-align: left;
}

.group-system-map {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 77, 126, 0.24);
  border-radius: 1.35rem;
  background:
    linear-gradient(rgba(225, 223, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 223, 242, 0.035) 1px, transparent 1px),
    radial-gradient(70% 62% at 50% 49%, rgba(255, 0, 78, 0.16), transparent 72%),
    linear-gradient(150deg, #14131f 0%, #1b1a29 58%, #292030 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow:
    0 24px 56px rgba(17, 17, 38, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.group-system-map::before,
.group-system-map::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
}

.group-system-map::before {
  width: 190px;
  height: 190px;
  top: -90px;
  right: -40px;
  background: rgba(120, 75, 255, 0.13);
}

.group-system-map::after {
  width: 270px;
  height: 220px;
  right: -20px;
  bottom: -120px;
  background: rgba(255, 0, 78, 0.18);
}

.group-map-header {
  position: absolute;
  z-index: 7;
  top: 1.15rem;
  left: 1.2rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.group-map-kicker {
  color: var(--primary-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.group-map-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(225, 223, 242, 0.52);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.group-map-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #55e6b6;
  box-shadow: 0 0 0 4px rgba(85, 230, 182, 0.08), 0 0 12px rgba(85, 230, 182, 0.65);
  animation: group-status-pulse 2.4s ease-in-out infinite;
}

.group-map-lines {
  position: absolute;
  z-index: 1;
  inset: 2.15rem 0.25rem 0.35rem;
  width: calc(100% - 0.5rem);
  height: calc(100% - 2.5rem);
  pointer-events: none;
}

.group-map-route {
  fill: none;
  stroke: url(#groupMapLine);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 4 8;
  opacity: 0.38;
  transition: opacity 240ms ease, stroke-width 240ms ease, filter 240ms ease;
  animation: group-route-flow 2.8s linear infinite;
}

.group-map-signal {
  fill: #ff4d7e;
  opacity: 0.62;
  transform-box: fill-box;
  transform-origin: center;
  animation: group-signal-pulse 2.4s ease-in-out infinite;
  transition: opacity 240ms ease, filter 240ms ease;
}

.group-map-signal--software {
  fill: #b8b5c9;
  animation-delay: -0.8s;
}

.group-map-signal--products {
  animation-delay: -1.6s;
}

.group-map-orbit {
  position: absolute;
  z-index: 0;
  top: 52%;
  left: 50%;
  border: 1px solid rgba(255, 77, 126, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.group-map-orbit::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 16px rgba(255, 77, 126, 0.8);
}

.group-map-orbit--outer {
  width: 230px;
  height: 230px;
  animation: group-orbit-spin 16s linear infinite;
}

.group-map-orbit--inner {
  width: 174px;
  height: 174px;
  border-style: dashed;
  border-color: rgba(225, 223, 242, 0.075);
  animation: group-orbit-spin 22s linear infinite reverse;
}

.group-agent-hub {
  position: absolute;
  z-index: 7;
  top: 29.5%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.62rem 0.42rem 0.42rem;
  border: 1px solid rgba(255, 77, 126, 0.38);
  border-radius: 99rem;
  background: rgba(27, 24, 43, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), 0 0 24px rgba(255, 0, 78, 0.08);
  color: #fff;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.group-agent-hub:hover,
.group-agent-hub:focus-visible {
  border-color: rgba(255, 77, 126, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 34px rgba(255, 0, 78, 0.2);
  transform: translate(-50%, -58%);
}

.group-agent-hub:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.group-agent-hub-icon {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  box-shadow: 0 0 18px rgba(255, 0, 78, 0.34);
}

.group-agent-hub-icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 1.5;
}

.group-agent-hub > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.group-agent-hub small {
  color: rgba(225, 223, 242, 0.42);
  font-size: 5.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
}

.group-agent-hub strong {
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.group-agent-flight {
  position: absolute;
  z-index: 3;
  top: 52%;
  left: 50%;
  width: 218px;
  height: 218px;
  border: 1px solid rgba(255, 77, 126, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: group-agent-flight 13s linear infinite;
}

.group-agent-flight::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 77, 126, 0.13);
  border-radius: 50%;
}

.group-agent-satellite {
  position: absolute;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 126, 0.5);
  border-radius: 50%;
  background: #24182d;
  box-shadow: 0 0 0 4px rgba(255, 0, 78, 0.055), 0 0 18px rgba(255, 0, 78, 0.28);
}

.group-agent-satellite i {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
}

.group-agent-satellite i::before,
.group-agent-satellite i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--primary-light);
  transform: translate(-50%, -50%);
}

.group-agent-satellite i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.group-agent-satellite--one {
  top: -9px;
  left: calc(50% - 9px);
}

.group-agent-satellite--two {
  right: 8px;
  bottom: 26px;
}

.group-agent-satellite--three {
  bottom: 26px;
  left: 8px;
}

.group-agent-hub:hover + .group-agent-flight .group-agent-satellite,
.group-agent-hub:focus-visible + .group-agent-flight .group-agent-satellite {
  border-color: rgba(255, 77, 126, 0.9);
  box-shadow: 0 0 0 5px rgba(255, 0, 78, 0.08), 0 0 24px rgba(255, 0, 78, 0.48);
}

.group-map-node {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 5;
  min-width: 124px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(225, 223, 242, 0.13);
  border-radius: 0.9rem;
  background: rgba(35, 34, 52, 0.86);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: var(--content);
  font: inherit;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 240ms ease, opacity 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.group-map-node:hover,
.group-map-node:focus-visible,
.group-map-node[aria-pressed="true"] {
  z-index: 8;
  transform: translateY(-3px);
  border-color: rgba(255, 77, 126, 0.58);
  background: rgba(50, 37, 58, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.27), 0 0 0 3px rgba(255, 0, 78, 0.07);
}

.group-map-node:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.group-map-node > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.group-map-node small {
  margin-bottom: 0.12rem;
  color: rgba(225, 223, 242, 0.42);
  font-size: 6.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.13em;
}

.group-map-node strong {
  color: #f6f4fb;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}

.group-map-icon {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 126, 0.16);
  border-radius: 0.65rem;
  background: rgba(255, 0, 78, 0.075);
  color: var(--primary-light);
}

.group-map-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.group-map-node--software {
  top: 18%;
  left: 5%;
}

.group-map-node--ai {
  top: 18%;
  right: 5%;
}

.group-map-node--products {
  bottom: 8.5%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 146px;
}

.group-map-node--products:hover,
.group-map-node--products:focus-visible,
.group-map-node--products[aria-pressed="true"] {
  transform: translate(-50%, -3px);
}

.group-map-core {
  position: absolute;
  z-index: 4;
  top: 52%;
  left: 50%;
  width: 126px;
  height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 77, 126, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(46, 38, 57, 0.98), rgba(15, 15, 31, 0.98) 70%);
  box-shadow:
    0 0 0 9px rgba(255, 0, 78, 0.045),
    0 0 52px rgba(255, 0, 78, 0.12),
    0 20px 42px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transition: box-shadow 280ms ease, border-color 280ms ease, transform 280ms ease;
}

.group-map-core::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 77, 126, 0.2);
  border-radius: 50%;
  animation: group-orbit-spin 18s linear infinite;
}

.group-map-core-glow {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: rgba(255, 0, 78, 0.2);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.group-map-core img {
  position: relative;
  width: auto;
  height: 34px;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 0 14px rgba(255, 0, 78, 0.28));
}

.group-map-core strong {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.group-map-core-state {
  position: relative;
  margin-top: 0.3rem;
  max-width: 90px;
  color: rgba(225, 223, 242, 0.54);
  font-size: 5.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-align: center;
}

.group-map-hint {
  position: absolute;
  z-index: 6;
  left: 1.2rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: rgba(225, 223, 242, 0.36);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.group-map-hint span {
  color: var(--primary-light);
}

.group-system-map[data-active]:not([data-active="ecosystem"]) .group-map-node:not([aria-pressed="true"]) {
  opacity: 0.5;
}

.group-system-map[data-active="software"] .group-map-node--software,
.group-system-map[data-active="ai"] .group-map-node--ai,
.group-system-map[data-active="products"] .group-map-node--products {
  opacity: 1;
  border-color: rgba(255, 77, 126, 0.58);
  background: rgba(50, 37, 58, 0.96);
}

.group-system-map[data-active="software"] .group-map-route--software,
.group-system-map[data-active="ai"] .group-map-route--ai,
.group-system-map[data-active="products"] .group-map-route--products {
  stroke-width: 2.2;
  opacity: 1;
  filter: url(#groupMapGlow);
}

.group-system-map[data-active="software"] .group-map-signal--software,
.group-system-map[data-active="ai"] .group-map-signal--ai,
.group-system-map[data-active="products"] .group-map-signal--products {
  opacity: 1;
  filter: url(#groupMapGlow);
}

.group-system-map[data-active]:not([data-active="ecosystem"]) .group-map-core {
  border-color: rgba(255, 77, 126, 0.8);
  box-shadow:
    0 0 0 10px rgba(255, 0, 78, 0.055),
    0 0 64px rgba(255, 0, 78, 0.22),
    0 20px 42px rgba(0, 0, 0, 0.34);
}

.group-system-map[data-active]:not([data-active="ecosystem"]) .group-map-core-glow {
  opacity: 1;
}

@keyframes group-route-flow {
  to { stroke-dashoffset: -36; }
}

@keyframes group-orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes group-signal-pulse {
  0%, 100% { opacity: 0.42; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes group-status-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes group-agent-flight {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.group-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.group-story-narrative {
  position: relative;
  padding: 0.3rem 0 0.3rem 2rem;
}

.group-story-narrative::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 0, 78, 0.55) 18%, rgba(25, 24, 36, 0.12) 78%, transparent);
}

.group-story-narrative p {
  position: relative;
  margin: 0;
  padding: 1.15rem 0;
  color: var(--surface-light-copy);
  font-size: 15px;
  line-height: 1.72;
  text-align: left;
}

.group-story-narrative p + p {
  border-top: 1px solid rgba(25, 24, 36, 0.09);
}

.group-story-narrative .group-story-intro {
  padding-top: 0;
  color: var(--surface-light-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 620;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.group-story-narrative p::before {
  content: "";
  position: absolute;
  top: 1.62rem;
  left: calc(-2rem - 3px);
  width: 7px;
  height: 7px;
  border: 2px solid var(--surface-light-bg);
  border-radius: 50%;
  background: rgba(25, 24, 36, 0.2);
}

.group-story-narrative .group-story-intro::before {
  top: 0.48rem;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(255, 0, 78, 0.08);
}

.group-principles {
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.group-principle {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(25, 24, 36, 0.1);
}

.group-principle:last-child {
  border-bottom: 1px solid rgba(25, 24, 36, 0.1);
}

.group-principle > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: rgba(255, 0, 78, 0.08);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.group-principle p {
  margin: 0;
  color: var(--surface-light-copy);
  font-size: 14.5px;
  line-height: 1.65;
}

.surface-light .group-outcome {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: none;
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border: 0;
  border-left: 3px solid var(--primary);
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(255, 255, 255, 0.58);
  text-align: left;
}

.group-outcome .about-ai-pill {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--primary-dark);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.surface-light .group-outcome p {
  color: var(--surface-light-ink);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;
}

@media (max-width: 820px) {
  .group-story-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .group-system-map {
    min-height: 360px;
  }

}

@media (max-width: 480px) {
  .group-system-map {
    min-height: 320px;
    border-radius: 1rem;
  }

  .group-map-node {
    min-width: 108px;
    gap: 0.42rem;
    padding: 0.48rem 0.52rem;
    border-radius: 0.75rem;
  }

  .group-map-node strong {
    font-size: 9px;
  }

  .group-map-node small {
    font-size: 5.5px;
  }

  .group-map-icon {
    width: 25px;
    height: 25px;
    border-radius: 0.5rem;
  }

  .group-map-icon svg {
    width: 13px;
    height: 13px;
  }

  .group-map-node--software {
    left: 4%;
  }

  .group-map-node--ai {
    right: 4%;
  }

  .group-map-node--products {
    min-width: 130px;
  }

  .group-map-core {
    width: 104px;
    height: 104px;
  }

  .group-map-core img {
    height: 28px;
  }

  .group-map-core strong {
    font-size: 12px;
  }

  .group-map-orbit--outer {
    width: 194px;
    height: 194px;
  }

  .group-map-orbit--inner {
    width: 146px;
    height: 146px;
  }

  .group-agent-hub {
    top: 30.5%;
    gap: 0.35rem;
    padding: 0.32rem 0.5rem 0.32rem 0.32rem;
  }

  .group-agent-hub-icon {
    width: 22px;
    height: 22px;
  }

  .group-agent-hub-icon svg {
    width: 12px;
    height: 12px;
  }

  .group-agent-hub small {
    display: none;
  }

  .group-agent-hub strong {
    font-size: 7.5px;
  }

  .group-agent-flight {
    width: 178px;
    height: 178px;
  }

  .group-agent-satellite {
    width: 15px;
    height: 15px;
  }

  .group-agent-satellite--one {
    top: -7.5px;
    left: calc(50% - 7.5px);
  }

  .group-map-status,
  .group-map-hint {
    display: none;
  }

  .group-story-narrative {
    padding-left: 1.4rem;
  }

  .group-story-narrative p::before {
    left: calc(-1.4rem - 3px);
  }

  .group-principle {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .surface-light .group-outcome {
    padding: 0.95rem 1rem;
  }
}

/* ---------- AI Agents: teaser de produto ---------- */
.agents-teaser {
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 7.5rem);
  background:
    radial-gradient(55% 80% at 88% 48%, rgba(255, 0, 78, 0.13), transparent 65%),
    radial-gradient(30% 42% at 8% 18%, rgba(111, 82, 190, 0.11), transparent 70%),
    linear-gradient(145deg, #171720 0%, #20202b 52%, #191821 100%);
}

.agents-teaser--ecosystem {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding: clamp(2rem, 4vw, 3.75rem);
  border: 1px solid rgba(255, 77, 126, 0.22);
  border-radius: 1.5rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

.agents-teaser--ecosystem .agents-teaser-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
}

.agents-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image: radial-gradient(rgba(225, 223, 242, 0.22) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 38%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%, #000 82%, transparent);
}

.agents-teaser-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.25rem);
}

.agents-teaser-copy {
  min-width: 0;
}

.agents-teaser-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  color: #f8f6ff;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.08);
}

.agents-teaser-copy .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 30px;
  border-radius: 99rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  box-shadow: 0 0 14px rgba(255, 0, 78, 0.5);
}

.agents-teaser-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--title);
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.agents-teaser-copy .lead {
  max-width: 560px;
  margin: 1.5rem 0 0;
  color: rgba(225, 223, 242, 0.7);
  font-size: 16px;
  line-height: 1.68;
}

.agents-teaser-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.agents-teaser-fields span {
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(225, 223, 242, 0.1);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(225, 223, 242, 0.62);
  font-size: 11px;
  font-weight: 650;
}

.agents-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.8rem;
}

.agents-teaser-actions .btn {
  min-height: 52px;
  padding-inline: 1.35rem;
}

.agents-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e6e3ef;
  font-size: 13px;
  font-weight: 700;
  transition: color 200ms ease, transform 200ms ease;
}

.agents-teaser-link:hover {
  color: var(--primary-light);
  transform: translateX(2px);
}

.agents-teaser-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: rgba(192, 188, 214, 0.45);
  font-size: 11px;
  line-height: 1.5;
}

.agents-teaser-note i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #55e6b6;
  box-shadow: 0 0 12px rgba(85, 230, 182, 0.6);
}

.agents-teaser-product {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(104, 101, 132, 0.5);
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(150deg, rgba(30, 29, 47, 0.98), rgba(14, 14, 31, 0.98));
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: 0 38px 90px rgba(4, 4, 15, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.018) inset;
}

.agents-teaser-product::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: -20%;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 77, 126, 0.055), transparent);
  animation: agents-teaser-scan 6s ease-in-out infinite;
}

.agents-teaser-window,
.agents-teaser-command,
.agents-teaser-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(104, 101, 132, 0.36);
}

.agents-teaser-window {
  min-height: 42px;
  padding: 0.65rem 1rem;
}

.agents-teaser-window > span {
  display: flex;
  gap: 6px;
}

.agents-teaser-window i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(225, 223, 242, 0.2);
}

.agents-teaser-window i:first-child {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 0, 78, 0.45);
}

.agents-teaser-window small,
.agents-teaser-command span,
.agents-teaser-impact > span {
  color: rgba(225, 223, 242, 0.4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.agents-teaser-command {
  min-height: 76px;
  padding: 1rem 1.2rem;
}

.agents-teaser-command > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.agents-teaser-command strong {
  color: #f1effb;
  font-size: 14px;
}

.agents-teaser-command > b {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(80, 230, 164, 0.24);
  border-radius: 99rem;
  color: #67e8ad;
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.agents-teaser-command > b i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  animation: agents-teaser-pulse 2s ease-in-out infinite;
}

.agents-teaser-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(104, 101, 132, 0.36);
  background: rgba(8, 8, 22, 0.18);
}

.agents-teaser-tabs button {
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(225, 223, 242, 0.48);
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.agents-teaser-tabs button:hover,
.agents-teaser-tabs button[aria-selected="true"] {
  border-color: rgba(255, 77, 126, 0.24);
  background: rgba(255, 0, 78, 0.085);
  color: #fff;
}

.agents-teaser-tabs button:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.agents-teaser-console {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.55fr);
  min-height: 270px;
}

.agents-teaser-run,
.agents-teaser-impact {
  padding: 1.15rem;
}

.agents-teaser-impact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-left: 1px solid rgba(104, 101, 132, 0.36);
  background: rgba(7, 7, 20, 0.2);
}

.agents-teaser-run-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: #e7e5f4;
  font-size: 12px;
  font-weight: 700;
}

.agents-teaser-run-head small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agents-teaser-run-head small i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.agents-teaser-steps {
  display: grid;
  gap: 0.6rem;
}

.agents-teaser-steps > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.022);
}

.agents-teaser-steps > div > i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 223, 242, 0.12);
  border-radius: 0.5rem;
  color: #55e6b6;
  font-size: 10px;
  font-style: normal;
}

.agents-teaser-steps > div > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

.agents-teaser-steps strong {
  color: #e6e3ef;
  font-size: 11.5px;
  line-height: 1.3;
}

.agents-teaser-steps small {
  overflow: hidden;
  color: rgba(192, 188, 214, 0.54);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agents-teaser-steps .is-active {
  border-color: rgba(255, 77, 126, 0.32);
  background: rgba(255, 0, 78, 0.06);
}

.agents-teaser-steps .is-active > i {
  position: relative;
  border-color: rgba(255, 77, 126, 0.34);
}

.agents-teaser-steps .is-active > i::before,
.agents-teaser-steps .is-active > i::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 7px 0 var(--primary-light), -7px 0 var(--primary-light);
  animation: agents-teaser-dots 1.2s ease-in-out infinite;
}

.agents-teaser-steps .is-active > i::after {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0.28;
  filter: blur(4px);
}

.agents-teaser-impact > strong {
  margin-top: 1.2rem;
  color: #fff;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.agents-teaser-impact > small {
  margin-top: auto;
  color: rgba(192, 188, 214, 0.4);
  font-size: 8.5px;
  line-height: 1.45;
}

.agents-teaser-bars {
  display: flex;
  height: 90px;
  align-items: end;
  gap: 0.35rem;
  margin: 1.2rem 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agents-teaser-bars i {
  width: 100%;
  height: 36%;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, var(--primary-light), rgba(255, 0, 78, 0.18));
  transform-origin: bottom;
  animation: agents-teaser-bars 3.2s ease-in-out infinite alternate;
}

.agents-teaser-bars i:nth-child(2) { height: 55%; animation-delay: -0.4s; }
.agents-teaser-bars i:nth-child(3) { height: 46%; animation-delay: -0.8s; }
.agents-teaser-bars i:nth-child(4) { height: 72%; animation-delay: -1.2s; }
.agents-teaser-bars i:nth-child(5) { height: 88%; animation-delay: -1.6s; }

.agents-teaser-footer {
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(104, 101, 132, 0.36);
  border-bottom: 0;
  background: rgba(8, 8, 22, 0.18);
}

.agents-teaser-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(225, 223, 242, 0.5);
  font-size: 8px;
  font-weight: 700;
}

.agents-teaser-footer > span i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #55e6b6;
}

.agents-teaser-footer a {
  color: var(--primary-light);
  font-size: 9px;
  font-weight: 800;
}

.agents-teaser-product.is-switching .agents-teaser-console {
  animation: agents-teaser-switch 320ms ease;
}

@keyframes agents-teaser-scan {
  0%, 12% { transform: translateY(-20%); opacity: 0; }
  35%, 70% { opacity: 1; }
  88%, 100% { transform: translateY(440%); opacity: 0; }
}

@keyframes agents-teaser-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes agents-teaser-dots {
  0%, 100% { opacity: 0.35; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes agents-teaser-bars {
  from { transform: scaleY(0.72); filter: saturate(0.8); }
  to { transform: scaleY(1); filter: saturate(1.15); }
}

@keyframes agents-teaser-switch {
  from { opacity: 0.55; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .agents-teaser-grid {
    grid-template-columns: 1fr;
  }

  .agents-teaser-copy {
    max-width: 720px;
  }

  .agents-teaser-copy h2 {
    max-width: 700px;
  }

  .agents-teaser-product {
    max-width: 760px;
  }

  .agents-teaser--ecosystem .agents-teaser-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .agents-teaser--ecosystem {
    padding: 1.15rem;
    border-radius: 1.15rem;
  }

  .agents-teaser-copy h2 {
    font-size: clamp(1.95rem, 9vw, 2.3rem);
  }

  .agents-teaser-copy .lead {
    font-size: 15px;
  }

  .agents-teaser-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .agents-teaser-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .agents-teaser-link {
    justify-content: center;
    min-height: 40px;
  }

  .agents-teaser-product {
    border-radius: 1rem;
  }

  .agents-teaser-command {
    padding: 0.85rem;
  }

  .agents-teaser-command > b {
    padding: 0.35rem 0.45rem;
    font-size: 6.5px;
  }

  .agents-teaser-tabs {
    padding: 0.55rem;
  }

  .agents-teaser-tabs button {
    padding-inline: 0.25rem;
    font-size: 9px;
  }

  .agents-teaser-console {
    grid-template-columns: 1fr;
  }

  .agents-teaser-impact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    gap: 0.3rem 1rem;
    border-top: 1px solid rgba(104, 101, 132, 0.36);
    border-left: 0;
  }

  .agents-teaser-impact > strong {
    margin-top: 0.45rem;
  }

  .agents-teaser-bars {
    grid-column: 2;
    grid-row: 1 / span 3;
    height: 58px;
    margin: 0;
  }

  .agents-teaser-impact > small {
    margin-top: 0.25rem;
  }

  .agents-teaser-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.55rem 0.9rem;
  }

  .agents-teaser-footer a {
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* ---------- Experiência aplicada: painel de capacidades ---------- */
.experience-capabilities {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 77, 126, 0.18);
  border-radius: 1.15rem;
  background:
    radial-gradient(70% 160% at 100% 0%, rgba(255, 0, 78, 0.16), transparent 54%),
    linear-gradient(145deg, #191824, #252434);
  box-shadow: 0 22px 52px rgba(17, 17, 38, 0.17);
}

.experience-capabilities::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 35%);
}

.experience-capabilities-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  border-bottom: 1px solid rgba(225, 223, 242, 0.1);
}

.surface-light .experience-capabilities .tree-icon {
  width: 54px;
  height: 54px;
  margin: 0;
  border: 1px solid rgba(255, 77, 126, 0.22);
  background: rgba(255, 0, 78, 0.11);
}

.experience-capabilities-head .eyebrow {
  margin: 0 0 0.25rem;
  color: var(--primary-light);
  font-size: 10.5px;
}

.surface-light .experience-capabilities-head h3 {
  margin: 0;
  color: var(--title);
  font-size: 1.25rem;
  line-height: 1.3;
}

.experience-capabilities .tree-items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.experience-capabilities .tree-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.45rem 1.6rem;
  transition: background 220ms ease;
}

.experience-capabilities .tree-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 2px;
  border-radius: 99rem;
  background: linear-gradient(var(--primary-light), var(--primary));
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 220ms ease, transform 220ms ease;
}

.experience-capabilities .tree-item:hover {
  background: rgba(255, 255, 255, 0.025);
}

.experience-capabilities .tree-item:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.experience-capabilities .tree-item:nth-child(odd) {
  border-right: 1px solid rgba(225, 223, 242, 0.1);
}

.experience-capabilities .tree-item:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(225, 223, 242, 0.1);
}

.surface-light .experience-capabilities .capability-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 78, 0.16), rgba(255, 0, 78, 0.045) 66%, transparent 68%);
  color: var(--primary-light);
  transition: color 220ms ease, transform 220ms ease, filter 220ms ease;
}

.surface-light .experience-capabilities .capability-symbol::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 77, 126, 0.18);
  border-radius: 50%;
}

.experience-capabilities .capability-symbol svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-capabilities .tree-item:hover .capability-symbol {
  color: #ff7a9f;
  filter: drop-shadow(0 0 9px rgba(255, 0, 78, 0.34));
  transform: translateY(-2px);
}

.experience-capabilities .tree-copy {
  min-width: 0;
}

.surface-light .experience-capabilities .tree-copy h4 {
  margin: 0 0 0.35rem;
  color: var(--title);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.surface-light .experience-capabilities .tree-copy p {
  margin: 0;
  color: var(--content);
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .experience-capabilities-head {
    align-items: flex-start;
    padding: 1.25rem;
  }

  .surface-light .experience-capabilities .tree-icon {
    width: 48px;
    height: 48px;
  }

  .surface-light .experience-capabilities-head h3 {
    font-size: 1.08rem;
  }

  .experience-capabilities .tree-items {
    grid-template-columns: 1fr;
  }

  .experience-capabilities .tree-item {
    padding: 1.15rem 1.25rem;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(225, 223, 242, 0.1);
  }

  .experience-capabilities .tree-item:last-child {
    border-bottom: 0;
  }
}

/* ---------- Trajetória: experiência → especialização → produto ---------- */
.trajectory-block {
  max-width: 940px;
}

.trajectory-block h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.trajectory-grid {
  position: relative;
  gap: 1.25rem;
  margin-top: 2.8rem;
  margin-bottom: 2.6rem;
}

.trajectory-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 27px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(25, 24, 36, 0.16),
    rgba(255, 0, 78, 0.42) 54%,
    var(--primary));
}

.trajectory-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 4.7rem 1rem 0.5rem;
}

.trajectory-step::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 78, 0.22);
  background: var(--surface-light-raised);
  box-shadow:
    0 10px 24px rgba(17, 17, 38, 0.09),
    0 0 0 7px rgba(239, 239, 243, 0.92);
  color: var(--surface-light-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.trajectory-step:last-child::before {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow:
    0 12px 28px rgba(255, 0, 78, 0.25),
    0 0 0 7px rgba(239, 239, 243, 0.94);
  color: #ffffff;
}

.trajectory-step p {
  margin: 0;
  color: var(--surface-light-copy);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.surface-light .trajectory-outcome {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  max-width: none;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-color: rgba(255, 77, 126, 0.2);
  background:
    radial-gradient(80% 160% at 100% 0%, rgba(255, 0, 78, 0.16), transparent 56%),
    linear-gradient(135deg, #191824, #252434);
  box-shadow: 0 18px 42px rgba(17, 17, 38, 0.16);
  text-align: left;
}

.trajectory-result-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  border: 1px solid rgba(255, 77, 126, 0.28);
  background: rgba(255, 0, 78, 0.1);
  color: var(--primary-light);
}

.trajectory-result-mark svg {
  width: 34px;
  height: 34px;
}

.trajectory-outcome-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.trajectory-outcome .about-ai-pill {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--primary-light);
  letter-spacing: 0.11em;
}

.surface-light .trajectory-outcome p {
  color: var(--title);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

@media (min-width: 769px) {
  .trajectory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .trajectory-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 2.25rem;
  }

  .trajectory-grid::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(25, 24, 36, 0.16),
      rgba(255, 0, 78, 0.42) 54%,
      var(--primary));
  }

  .trajectory-step {
    min-height: 68px;
    padding: 0.25rem 0 0.25rem 4.65rem;
    display: flex;
    align-items: center;
  }

  .trajectory-step::before {
    left: 0;
    transform: none;
  }

  .trajectory-step p {
    font-size: 14.5px;
    text-align: left;
  }

  .surface-light .trajectory-outcome {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.9rem;
    padding: 1.4rem 1.25rem;
    text-align: center;
  }

  .trajectory-outcome-copy {
    align-items: center;
  }

  .surface-light .trajectory-outcome p {
    text-align: center;
  }
}

/* ---------- Telas largas: o container acompanha a tela (wide / ultrawide) ---------- */
@media (min-width: 1600px) { :root { --container: 1400px; } }
@media (min-width: 1920px) { :root { --container: 1560px; } }
@media (min-width: 2560px) { :root { --container: 1840px; } }
@media (min-width: 3200px) { :root { --container: 2200px; } }
