﻿/* ═══════════════════════════════════════════════════
   AVANCCE — Design System CSS
   Fonte título/corpo: Archivo | Texto de apoio: Google Sans Code
   Paleta: Identidade Visual Avancce (PALETA.pdf)
   ═══════════════════════════════════════════════════ */

/* ── 1. Custom Properties ───────────────────────── */
:root {
  --accent-soft:    #E1D9FF;
  --accent:         #7638EA;
  --accent-hot:     #AC96FF;
  --accent-deep:    #2A0887;
  /* Laranja da identidade — substitui o queimado anterior */
  --brand-burnt-orange: #F5841A;

  /* degrade.pdf: #292552 → #11101C | degrade-1: #1D1A38 → #2A0887 | degrade-2: #EAECF0 → #AC96FF */
  --gradient-bg:    #11101C;
  --gradient-card:  #11101C;
  --gradient-main:  linear-gradient(135deg, #1D1A38 0%, #2A0887 100%);
  --gradient-light: linear-gradient(135deg, #EAECF0 0%, #AC96FF 100%);

  --surface-base:    #11101C;
  --surface-section: #11101C;
  --surface-card:    #11101C;

  --border:         rgba(118, 56, 234, 0.12);
  --border-accent:  rgba(172, 150, 255, 0.3);

  --text-primary:   #FFFFFF;
  --text-secondary: #C4B5D0;
  --text-muted:     #9B8AB5;
  --text-subtle:    #5B3F80;

  --font: 'Archivo', sans-serif;
  --font-heading: 'Archivo', sans-serif;
  --font-display: 'Archivo', sans-serif;
  --font-support: 'Google Sans Code', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 32px rgba(172, 150, 255, 0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Altura aproximada do header fixo (padding + logo) — âncoras e respiro do título */
  --nav-offset: 92px;

  /* Transição suave entre fundos de seção (evita “linha” dura) */
  --section-blend: 80px;
  --divider-line: linear-gradient(
    90deg,
    transparent 0%,
    rgba(172, 150, 255, 0.06) 18%,
    rgba(172, 150, 255, 0.32) 50%,
    rgba(172, 150, 255, 0.06) 82%,
    transparent 100%
  );
}

/* ── 2. Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--nav-offset);
  /* Recorta overflow horizontal na raiz — propaga para a viewport e contém
     elementos position:fixed (menu off-canvas), o que overflow-x no body não faz.
     'clip' não cria contêiner de rolagem, preservando o scroll suave das âncoras. */
  overflow-x: clip;
}
body {
  font-family: var(--font);
  /* Archivo desenha menor que Montserrat / Plus Jakarta / Clash Display
     no mesmo px. Ajusta a altura do x para o texto voltar ao tamanho visual original. */
  font-size-adjust: 0.53;
  background: var(--surface-base);
  background-image: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); font-size-adjust: 0.53; border: none; background: none; }

/* ── 3. Layout ──────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label,
.section-badge,
.contact-label,
.stat-label,
.bi-label,
.dd-card-label,
.dd-card-note,
.pa-step-num,
.pa-step-desc,
.pa-progress-label,
.lead-section__label,
.lead-form__label,
.lead-step__hint,
.lead-modal__brand,
.lead-modal__progress-meta,
.lead-trust li,
.lead-form__nota,
.lead-done__nota,
.footer-copy {
  font-family: var(--font-support);
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-size-adjust: 0.56;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title.benefits-title {
  font-size: clamp(22px, 3.2vw, 36px);
}
.section-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-support);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(118, 56, 234, 0.1);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.text-accent { color: var(--accent-hot); }

/* ── 4. Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn svg, .btn [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm  { font-size: 13px; padding: 9px 20px; }
.btn-lg  { font-size: 14px; padding: 14px 28px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(118, 56, 234, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(118, 56, 234, 0.5);
  filter: brightness(1.1);
}
.btn-hero-ai {
  font-size: 13px;
  padding: 11px 26px;
  gap: 8px;
  min-height: 44px;
  background: var(--accent-hot);
  box-shadow: 0 4px 18px rgba(172, 150, 255, 0.35);
}
.btn-hero-ai .nav-cta-wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-primary.btn-hero-ai:hover {
  background: var(--accent-hot);
  box-shadow: 0 6px 26px rgba(172, 150, 255, 0.48);
  filter: brightness(1.08);
}
.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border-accent);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(118, 56, 234, 0.08);
  color: #fff;
  border-color: var(--accent-hot);
}
.btn-outline {
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent-hot);
  color: var(--accent-hot);
  background: rgba(118, 56, 234, 0.06);
}

/* ── 5. NAVBAR ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.35s ease;
}
/* Mesma linha do topo da seção contato / rodapé (--divider-line) */
.navbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--divider-line);
  pointer-events: none;
  z-index: 1;
}
.navbar.navbar--hidden {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Fora do topo: barra leve (vidro) para não “tapar” títulos e abas por baixo */
.navbar.scrolled {
  background: rgba(17, 16, 28, 0.22);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  /* 1fr | auto | 1fr: links no centro real da página (alinha com o rodapé) */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-self: start;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 22px;
  font-size-adjust: 0.56;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  justify-self: center;
  grid-column: 2;
}
.nav-links > li {
  display: flex;
  align-items: center;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  height: 26px;
  color: var(--text-secondary);
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(118, 56, 234, 0.06);
}
/* ── Dropdown "Soluções" ─────────────────────────── */
.nav-dropdown {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
}
.nav-link--parent { gap: 5px; }
.nav-chevron {
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(33, 30, 61, 0.96);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 20;
}
/* Ponte invisível: mantém o hover ativo ao mover o mouse do link até o menu */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sublink {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-sublink:hover, .nav-sublink.active {
  color: #fff;
  background: rgba(118, 56, 234, 0.12);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-self: end;
  grid-column: 3;
}
.nav-cta {
  gap: 7px;
  padding: 7px 16px;
  font-size: 12px;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  box-shadow: none;
  filter: none;
  color: #fff;
  border-color: #fff;
}
.nav-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}
.nav-cta .nav-cta-wa-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% 55%,
      rgba(118, 56, 234, 0.28) 0%,
      rgba(42, 8, 135, 0.15) 30%,
      rgba(42, 8, 135, 0.06) 55%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 120% 50% at 50% 70%,
      rgba(42, 8, 135, 0.22) 0%,
      rgba(33, 30, 61, 0.08) 35%,
      transparent 60%
    ),
    var(--surface-base);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='50' fill='none' stroke='%237638EA' stroke-width='0.4' opacity='0.45'/%3E%3Ccircle cx='0' cy='0' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3Ccircle cx='50' cy='0' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3Ccircle cx='0' cy='50' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3Ccircle cx='50' cy='50' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.02) 0%,
    rgba(0,0,0,0.05) 15%,
    rgba(0,0,0,0.2) 30%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.7) 65%,
    rgba(0,0,0,0.4) 80%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.02) 0%,
    rgba(0,0,0,0.05) 15%,
    rgba(0,0,0,0.2) 30%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.7) 65%,
    rgba(0,0,0,0.4) 80%,
    rgba(0,0,0,0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-sphere-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  min-height: 100vh;
  justify-content: flex-start;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 76px);
  font-size-adjust: 0.56;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title .text-accent {
  font-weight: 800;
}
.hero-subtitle {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.35s both;
}
.break-md { display: none; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 0.8s 0.5s both;
}
/* ── 7. SOLUÇÕES ────────────────────────────────── */
.solutions {
  position: relative;
  margin-top: -2px;
  background: var(--surface-section);
}
.solutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='50' fill='none' stroke='%237638EA' stroke-width='0.4' opacity='0.45'/%3E%3Ccircle cx='0' cy='0' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3Ccircle cx='50' cy='0' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3Ccircle cx='0' cy='50' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3Ccircle cx='50' cy='50' r='1.3' fill='%23AC96FF' opacity='0.8'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.18) 35%,
    rgba(0,0,0,0.05) 70%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.18) 35%,
    rgba(0,0,0,0.05) 70%,
    rgba(0,0,0,0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.solutions .container {
  position: relative;
  z-index: 5;
  /* Largura maior só nesta seção: os 4 cards ocupam melhor a página */
  max-width: min(100%, 1560px);
}
.solutions-grid {
  display: grid;
  /* Uma linha com 4 colunas iguais em telas amplas */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.2vw, 18px);
  align-items: stretch;
}
.sol-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  min-width: 0;
  background: linear-gradient(
    145deg,
    rgba(33, 30, 61, 0.72) 0%,
    rgba(17, 16, 28, 0.82) 50%,
    rgba(17, 16, 28, 0.88) 100%
  );
  border: 1px solid rgba(245, 132, 26, 0.28);
  border-radius: 16px;
  padding: 32px 20px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.sol-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-hot), transparent);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}
/* Hover dos sol-card desativado a pedido */
.sol-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(118, 56, 234,0.2), rgba(118, 56, 234,0.1));
  border: 1px solid rgba(245, 132, 26, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.sol-icon svg {
  width: 29px;
  height: 29px;
  color: var(--accent-hot);
}
.sol-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(14px, 0.25vw + 12.5px, 16.5px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 1.25em;
  display: flex;
  align-items: flex-start;
  text-wrap: balance;
}
.sol-card p {
  font-size: clamp(13.5px, 0.2vw + 12px, 14.5px);
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  text-wrap: pretty;
}

/* ── 8. BENEFÍCIOS / STATS ──────────────────────── */
.benefits, .agents, .about, .faq, .contact {
  position: relative;
  z-index: 2;
}
.benefits {
  /* Fundo unico para evitar diferenca visual com o asset */
  background: var(--surface-section);
  position: relative;
  overflow: visible;
  scroll-margin-top: var(--nav-offset);
  /* Topo: abaixo do header fixo; um pouco menos que antes para o título respirar sem descer demais */
  padding: calc(env(safe-area-inset-top, 0px) + clamp(76px, 9.5vh, 100px)) 0 clamp(18px, 3vh, 40px);
}
.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-line);
  pointer-events: none;
  z-index: 1;
}
.benefits .container {
  position: relative;
  z-index: 1;
}

/* Espaço título → blocos = mesmo ritmo do .section-header global (64px) nas outras seções */
.benefits .section-header {
  margin-bottom: clamp(48px, 8vh, 64px);
}
.benefits .bi-grid {
  gap: clamp(10px, 1.6vw, 16px);
  align-items: stretch;
}
.benefits .bi-card {
  padding: clamp(14px, 2vh, 24px) clamp(14px, 2.2vw, 20px) clamp(12px, 1.8vh, 20px);
}
.benefits .bi-funnel-inputs {
  margin-bottom: clamp(12px, 1.8vh, 22px);
  gap: clamp(20px, 3.2vw, 32px);
}
.benefits .bi-node {
  gap: 6px;
}
.benefits .bi-label {
  font-size: clamp(11px, 1.35vw, 13px);
  line-height: 1.35;
}
/* Funil centralizado no card: bloco com largura do SVG + glow alinhado ao centro */
.benefits .bi-card--funnel .bi-portal {
  position: relative;
  width: fit-content;
  max-width: min(360px, 100%);
  margin-inline: auto;
  margin-top: clamp(8px, 1.5vh, 16px);
  margin-bottom: 0;
  display: block;
}
.benefits .bi-card--funnel .bi-portal-svg {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin-inline: auto;
}
.benefits .bi-card--funnel .bi-portal-glow {
  left: 6%;
  right: 6%;
  width: auto;
}
.benefits .bi-card--funnel .bi-node--output {
  align-self: center;
  width: 100%;
}
.benefits .bi-node--output {
  margin-top: 0;
}
.benefits .bi-orbits {
  /* Um pouco mais largo e alto para o nó inferior respirar (tamanho original no card) */
  max-width: min(356px, 100%);
  aspect-ratio: 1 / 1.17;
}

/* Viewports baixos (ex.: laptop): mantém a seção visível sem scroll extra */
@media (max-height: 820px) and (min-width: 769px) {
  section.benefits {
    padding: calc(env(safe-area-inset-top, 0px) + clamp(72px, 9vh, 96px)) 0 clamp(14px, 2.2vh, 32px);
  }
  section.benefits .section-header {
    margin-bottom: clamp(36px, 5.5vh, 56px);
  }
  section.benefits .bi-card {
    padding: clamp(12px, 1.6vh, 20px) 14px clamp(10px, 1.5vh, 18px);
  }
  section.benefits .bi-card--funnel .bi-portal-svg {
    width: min(320px, 100%);
  }
  section.benefits .bi-card--funnel .bi-portal {
    max-width: min(320px, 100%);
  }
}

/* ── Benefits Impact Panels (bi-*) ──────────────── */
.bi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
}
.bi-card {
  background: linear-gradient(145deg,
    rgba(33, 30, 61, 0.8) 0%,
    rgba(17, 16, 28, 0.7) 50%,
    rgba(17, 16, 28, 0.8) 100%
  );
  border: 1px solid rgba(245, 132, 26, 0.5);
  border-radius: 20px;
  padding: 44px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.bi-card::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 70%;
  height: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(172, 150, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Shared icon / label ── */
.bi-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.6s ease;
}
.bi-icon svg, .bi-icon [data-lucide] { width: 20px; height: 20px; }
.bi-icon--teal {
  background: rgba(20, 184, 166, 0.14);
  border: 1.5px solid rgba(20, 184, 166, 0.45);
  color: #2dd4bf;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.15);
}
.bi-icon--blue {
  background: rgba(96, 165, 250, 0.14);
  border: 1.5px solid rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.15);
}
.bi-icon--purple {
  background: rgba(172, 150, 255, 0.18);
  border: 1.5px solid rgba(172, 150, 255, 0.5);
  color: #E1D9FF;
  box-shadow: 0 0 24px rgba(172, 150, 255, 0.2);
}
.bi-icon--amber {
  background: rgba(251, 191, 36, 0.12);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  color: #fcd34d;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.12);
}
.bi-icon--cyan {
  background: rgba(34, 211, 238, 0.12);
  border: 1.5px solid rgba(34, 211, 238, 0.45);
  color: #67e8f9;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
}
.bi-icon--green {
  background: rgba(52, 211, 153, 0.12);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.12);
}
.bi-icon--accent-lg {
  width: 54px;
  height: 54px;
  background: rgba(172, 150, 255, 0.2);
  border: 1.5px solid rgba(172, 150, 255, 0.55);
  color: #E1D9FF;
  box-shadow: 0 0 32px rgba(172, 150, 255, 0.22);
  position: relative;
  z-index: 1;
}
.bi-icon--accent-lg svg, .bi-icon--accent-lg [data-lucide] { width: 24px; height: 24px; }

.bi-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.bi-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ── Funnel (left card) ── */
.bi-card--funnel {
  overflow: visible;
}
.bi-funnel-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}
.bi-funnel-connectors {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}
.bi-funnel-visual .bi-portal {
  z-index: 1;
}
.bi-funnel-visual .bi-funnel-inputs {
  position: relative;
  z-index: 3;
}
.bi-funnel-inputs {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-bottom: 28px;
}
.bi-funnel-inputs .bi-icon {
  animation: biFloat 6s ease-in-out infinite;
}
.bi-funnel-inputs .bi-node:nth-child(2) .bi-icon {
  animation-delay: -3s;
}

.bi-portal {
  position: relative;
  width: min(370px, 92%);
  margin: 0 auto 4px;
}
.bi-portal-svg {
  display: block;
  width: 100%;
  height: auto;
  animation: biPortalPulse 4.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 24px rgba(172, 150, 255, 0.25));
}
.bi-portal-glow {
  position: absolute;
  top: 8%;
  left: 4%;
  right: 4%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(172, 150, 255, 0.35) 0%, rgba(110, 55, 230, 0.14) 48%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  animation: biGlowPulse 4.5s ease-in-out infinite;
}

.bi-node--output .bi-icon {
  animation: biFloat 5.5s ease-in-out infinite -2s;
}

/* ── Orbits (right card) ── */
.bi-orbits {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1.08;
  margin: 0 auto;
}
.bi-orbits-svg {
  position: absolute;
  inset: 5% 0;
  width: 100%;
  height: 90%;
}
.bi-orbit-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
  animation: biOrbitDash 32s linear infinite;
}
.bi-orbit-path:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 38s;
  stroke: #ffffff;
}
.bi-orbit-path:nth-child(3) {
  animation-duration: 28s;
  stroke: #ffffff;
}

.bi-orbit-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  z-index: 2;
}
.bi-orbit-hub-glow {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 150, 255, 0.22) 0%, rgba(172, 150, 255, 0.06) 50%, transparent 72%);
  animation: biGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

.bi-orbit-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.bi-orbit-item--tl {
  left: 4%;
  top: 1%;
  animation: biFloat 7s ease-in-out infinite;
}
.bi-orbit-item--tr {
  right: 4%;
  top: 4%;
  animation: biFloat 7s ease-in-out infinite -2.3s;
}
.bi-orbit-item--b {
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  width: fit-content;
  gap: 12px;
  animation: biFloat 7s ease-in-out infinite -4.6s;
  z-index: 2;
}
/* Recorte para o tracejado não aparecer sobre o ícone inferior */
.bi-orbit-item--b::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 1, 34, 0.92) 0%, rgba(12, 1, 28, 0.84) 70%, rgba(12, 1, 28, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
/* Nó produtividade: círculo e ícone maiores que os satélites tl/tr (44px / 20px) */
.bi-orbit-item--b .bi-icon {
  width: 58px;
  height: 58px;
  position: relative;
  z-index: 1;
}
.bi-orbit-item--b .bi-icon svg,
.bi-orbit-item--b .bi-icon [data-lucide] {
  width: 31px;
  height: 31px;
}

/* ── bi-* keyframes ── */
@keyframes biFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes biPortalPulse {
  0%, 100% { opacity: 1;   filter: brightness(1); }
  50%      { opacity: 0.85; filter: brightness(1.15); }
}
@keyframes biOrbitDash {
  to { stroke-dashoffset: -140; }
}
@keyframes biGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* bi-* responsive */
@media (max-width: 768px) {
  .bi-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .bi-funnel-inputs { gap: 32px; }
  .bi-orbits { max-width: 300px; }
  .bi-label { font-size: 11px; }
}
@media (max-width: 480px) {
  .bi-card { padding: 36px 18px 32px; }
  .bi-funnel-inputs { gap: 24px; }
  .bi-portal { width: min(290px, 84%); }
  .bi-orbits { max-width: 260px; }
  .bi-icon { width: 38px; height: 38px; }
  .bi-icon svg, .bi-icon [data-lucide] { width: 17px; height: 17px; }
  .bi-orbit-item--b .bi-icon {
    width: 48px;
    height: 48px;
  }
  .bi-orbit-item--b .bi-icon svg,
  .bi-orbit-item--b .bi-icon [data-lucide] { width: 26px; height: 26px; }
  .bi-icon--accent-lg { width: 46px; height: 46px; }
  .bi-icon--accent-lg svg, .bi-icon--accent-lg [data-lucide] { width: 20px; height: 20px; }
  .bi-orbit-hub { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.stat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(118, 56, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon [data-lucide] { width: 22px; height: 22px; color: var(--accent-hot); }
.stat-value {
  font-size: clamp(36px, 4vw, 52px);
  font-size-adjust: 0.56;
  font-weight: 900;
  color: var(--accent-hot);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}

/* ── 10. AGENTES IA ─────────────────────────────── */
.agents {
  background:
    linear-gradient(180deg, var(--surface-section) 0%, var(--surface-base) 100%) 0 0 / 100% var(--section-blend) no-repeat,
    var(--surface-base);
  overflow: visible;
}
.agents-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
.agents-content .section-label { display: block; margin-bottom: 12px; }
.agents-content .section-title {
  text-align: left;
  margin-bottom: 16px;
  font-size: clamp(22px, 3.15vw, 36px);
}
.agents-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.agents-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}
.agents-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.check-icon [data-lucide],
.check-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-hot);
  flex-shrink: 0;
  margin-top: 2px;
}
.agents-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ── 11. QUEM SOMOS ─────────────────────────────── */

.about {
  background:
    linear-gradient(180deg, var(--surface-base) 0%, var(--surface-section) 100%) 0 0 / 100% var(--section-blend) no-repeat,
    var(--surface-section);
}
.about-grid {
  --about-title-offset: 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: stretch;
}
.about-visual {
  justify-self: start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(370px, 35vw);
  margin-top: var(--about-title-offset);
  min-height: 0;
}
.about-img-frame {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: calc(100% - var(--about-title-offset));
  max-width: 370px;
}
.about-img-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid rgba(245, 132, 26, 0.28);
  display: block;
  position: relative;
  overflow: hidden;
}
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  display: block;
}
.about-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(118, 56, 234,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 1025px) {
  .about-content {
    padding-left: clamp(36px, 6vw, 80px);
  }
}
.about-content .section-title {
  margin-bottom: 24px;
  font-size: clamp(24px, 3.35vw, 36px);
}
.about-content .section-title.about-headline {
  font-size: clamp(22px, 3.05vw, 34px);
  line-height: 1.2;
}
.about-headline-line2 {
  white-space: nowrap;
}
.about-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── 12. FAQ ────────────────────────────────────── */
.faq {
  background:
    linear-gradient(180deg, var(--surface-section) 0%, var(--surface-base) 100%) 0 0 / 100% var(--section-blend) no-repeat,
    var(--surface-base);
}
/* Divisória Sobre nós → FAQ (mesma --divider-line do contato; brilho ecoa os separadores internos) */
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-line);
  box-shadow:
    0 0 12px rgba(118, 56, 234, 0.22),
    0 0 26px rgba(118, 56, 234, 0.1);
  pointer-events: none;
  z-index: 1;
}
.faq-container { max-width: 760px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid rgba(245, 132, 26, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 24px rgba(118, 56, 234, 0.06);
}
.faq-item {
  position: relative;
  border-bottom: none;
  background: var(--gradient-card);
  transition: var(--transition);
}
.faq-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(118, 56, 234, 0.1) 12%,
    rgba(172, 150, 255, 0.35) 50%,
    rgba(118, 56, 234, 0.1) 88%,
    transparent 100%);
  box-shadow:
    0 0 10px rgba(118, 56, 234, 0.22),
    0 0 22px rgba(118, 56, 234, 0.1);
  pointer-events: none;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}
.faq-q:hover { color: var(--accent-hot); }
.faq-q[aria-expanded="true"] { color: var(--accent-hot); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-icon [data-lucide] { width: 18px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-a.open { max-height: 300px; }
.faq-a p {
  padding: 0 28px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-footer {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.faq-link {
  color: var(--accent-hot);
  font-weight: 600;
  border-bottom: 1px solid rgba(118, 56, 234,0.3);
  transition: var(--transition);
}
.faq-link:hover { border-color: var(--accent-hot); }

/* ── 13. CONTATO ────────────────────────────────── */
.contact {
  position: relative;
  padding: 120px 0;
  /* Mesmo tom que o FAQ (surface-base); divisória FAQ → contato = --divider-line (eco do footer::before) */
  background: var(--surface-base);
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-line);
  pointer-events: none;
  z-index: 1;
}
.contact-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* Textura + brilho orgânico (complementa os deco-ring) */
.contact-noise {
  position: absolute;
  inset: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.contact-sweep {
  position: absolute;
  inset: -15% -25% -20% -25%;
  background:
    radial-gradient(ellipse 95% 75% at 12% 42%,
      rgba(118, 56, 234, 0.09) 0%,
      transparent 58%),
    radial-gradient(ellipse 85% 55% at 52% 108%,
      rgba(172, 150, 255, 0.055) 0%,
      transparent 52%),
    radial-gradient(ellipse 70% 45% at 92% 28%,
      rgba(42, 8, 135, 0.065) 0%,
      transparent 55%);
  filter: blur(48px);
  animation: contactSweepDrift 18s ease-in-out infinite;
}
.contact-arcs {
  position: absolute;
  pointer-events: none;
}
.contact-arcs--headline {
  width: min(92vw, 720px);
  height: auto;
  aspect-ratio: 640 / 400;
  top: -6%;
  left: -8%;
  max-height: 55vh;
  opacity: 0.42;
  animation: contactArcsFloat 22s ease-in-out infinite;
}
.contact-arcs--balance {
  width: min(55vw, 420px);
  height: auto;
  aspect-ratio: 400 / 360;
  bottom: -12%;
  left: -6%;
  opacity: 0.32;
  animation: contactArcsFloat 26s ease-in-out infinite reverse;
}
@keyframes contactSweepDrift {
  0%, 100% { opacity: 0.55; transform: scale(1) translate(0, 0); }
  40% { opacity: 0.68; transform: scale(1.03) translate(1.5%, -1%); }
  70% { opacity: 0.58; transform: scale(1.015) translate(-1%, 0.5%); }
}
@keyframes contactArcsFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -4px); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-sweep,
  .contact-arcs--headline,
  .contact-arcs--balance,
  .bi-funnel-inputs .bi-icon,
  .bi-portal-svg,
  .bi-portal-glow,
  .bi-node--output .bi-icon,
  .bi-orbit-path,
  .bi-orbit-hub-glow,
  .bi-orbit-item {
    animation: none !important;
  }
}
@media (max-width: 1024px) {
  .contact-arcs--headline {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: -3%;
    width: min(94vw, 580px);
    opacity: 0.36;
  }
  .contact-arcs--balance {
    opacity: 0.22;
    left: -14%;
    bottom: -16%;
  }
  .contact-sweep {
    filter: blur(42px);
  }
}
@media (max-width: 600px) {
  .contact-arcs--headline {
    opacity: 0.3;
    max-height: 42vh;
  }
  .contact-noise {
    opacity: 0.018;
  }
}
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
/* Arco no canto esquerdo (eco do dr-1) na borda com FAQ */
.dr-faq-seam {
  width: 520px;
  height: 520px;
  top: 0;
  left: -130px;
  transform: translateY(-50%);
  border-color: rgba(118, 56, 234, 0.12);
  box-shadow:
    0 0 28px rgba(118, 56, 234, 0.1),
    0 0 56px rgba(42, 8, 135, 0.05);
}
.dr-1 {
  width: 500px; height: 500px;
  top: -200px; left: -150px;
  border-color: rgba(118, 56, 234,0.12);
}
.dr-2 {
  width: 700px; height: 700px;
  top: -300px; left: -280px;
  border-color: rgba(118, 56, 234,0.07);
}
.dr-3 {
  width: 300px; height: 300px;
  bottom: -100px; right: -100px;
  border-color: rgba(118, 56, 234,0.12);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-size-adjust: 0.56;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.contact-title .text-accent {
  font-weight: 900;
}
.contact-title .dot { color: var(--accent-hot); }
.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
/* CTA contato: texto escuro + círculo branco com seta (fecha no fim do círculo) */
.btn-contact-cta {
  gap: 10px;
  padding: 4px 6px 4px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(118, 56, 234, 0.32);
  transition: box-shadow 0.3s var(--transition), transform 0.3s var(--transition), filter 0.3s var(--transition);
}
.btn-contact-cta:hover {
  box-shadow: 0 6px 26px rgba(118, 56, 234, 0.45);
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.btn-contact-cta__text {
  padding: 4px 0;
}
.btn-contact-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  color: #2a2633;
}
.btn-contact-cta__icon svg {
  width: 16px;
  height: 16px;
  /* Início: diagonal cima-direita (Lucide arrow-up-right) */
  transform: rotate(0deg);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Fim: apontando para a direita (→). De ↗ para horizontal: +45° no sentido horário */
.btn-contact-cta:hover .btn-contact-cta__icon svg {
  transform: rotate(45deg);
}
.contact-label {
  font-family: var(--font-support);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}
.contact-phone {
  font-size: clamp(22px, 3vw, 34px);
  font-size-adjust: 0.56;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.contact-phone:hover { color: var(--accent-hot); }
.contact-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.contact-sub strong { color: var(--text-primary); }

/* ── 14. FOOTER ─────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  background: var(--surface-base);
  border-top: none;
  padding: 60px 0 36px;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-line);
  pointer-events: none;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
/* Mesmo grid do .nav-container (1fr | auto | 1fr): logo | links | redes.
   Colunas laterais iguais mantêm os links no centro real, alinhados ao header. */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-bottom: 36px;
}
.footer-top .nav-logo {
  justify-self: start;
  grid-column: 1;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  grid-column: 2;
  justify-self: center;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  height: 26px;
  color: var(--text-secondary);
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
}
.footer-link:hover {
  color: #fff;
  background: rgba(118, 56, 234, 0.06);
}
.footer-dropdown { position: relative; }
.footer-link--parent { display: inline-flex; align-items: center; gap: 5px; }
.footer-dropdown:hover .nav-chevron,
.footer-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.footer-submenu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(33, 30, 61, 0.96);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 -18px 40px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 20;
}
.footer-submenu::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.footer-dropdown:hover .footer-submenu,
.footer-dropdown:focus-within .footer-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.footer-sublink {
  display: block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition);
}
.footer-sublink:hover {
  color: #fff;
  background: rgba(118, 56, 234, 0.12);
}
.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  grid-column: 3;
  justify-self: end;
  min-width: 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--accent-hot); }
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-subtle);
  text-align: center;
}

/* ── 15. SCROLL ANIMATIONS ──────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.animate-up:nth-child(2) { transition-delay: 0.1s; }
.animate-up:nth-child(3) { transition-delay: 0.2s; }
.animate-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Section divider lines (injected by animations.js) ── */
.section-divider-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-line);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ── 15.1 Section title ── */
.section-title {
  position: relative;
}

/* ── 15.2 SOLUÇÕES — mouse-follow gradient + idle do ícone ── */
.sol-card {
  /* Highlight radial que segue o cursor (premium hover) */
  --sol-mx: 50%;
  --sol-my: 50%;
}
.sol-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--sol-mx) var(--sol-my),
    rgba(172, 150, 255, 0.16),
    rgba(245, 132, 26, 0.07) 28%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
/* hover radial desativado */

/* Idle suave do ícone — leve respiração premium */
@keyframes solIconPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(172, 150, 255, 0.0),
      inset 0 0 0 0 rgba(255, 255, 255, 0.0);
  }
  50% {
    box-shadow:
      0 0 22px 2px rgba(172, 150, 255, 0.18),
      inset 0 0 10px 0 rgba(255, 255, 255, 0.04);
  }
}
.sol-icon {
  animation: solIconPulse 4.8s cubic-bezier(0.4, 0, 0.4, 1) infinite;
  will-change: box-shadow, transform;
}
.sol-icon svg {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
/* hover do ícone/svg desativado */

/* ── 15.3 ABOUT — micro hover lift na imagem ── */
.about-img-frame {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-img-frame:hover {
  transform: translateY(-4px);
}
.about-img-inner {
  transition: box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-img-frame:hover .about-img-inner {
  box-shadow: 0 18px 60px -18px rgba(172, 150, 255, 0.35);
}
.about-hero-img {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.about-img-frame:hover .about-hero-img {
  transform: scale(1.04);
}

/* ── 15.4 SECTION BADGE — pop sutil quando visível ── */
.animate-up .section-badge {
  transform: scale(0.92);
  opacity: 0;
  transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.animate-up.visible .section-badge {
  transform: scale(1);
  opacity: 1;
}

/* ── 15.5 HERO — pulse suave no destaque (premium) ── */
@keyframes heroAccentGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(172, 150, 255, 0); }
  50%      { text-shadow: 0 0 22px rgba(172, 150, 255, 0.28); }
}
.hero-title .text-accent {
  animation: heroAccentGlow 6s ease-in-out infinite;
}

/* ── 15.6 FAQ — micro animação do botão ── */
.faq-item {
  transition: background 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item:hover {
  background: linear-gradient(
    180deg,
    rgba(118, 56, 234, 0.04),
    rgba(118, 56, 234, 0.02)
  );
}
.faq-q {
  position: relative;
  overflow: hidden;
}
.faq-q::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent-hot), transparent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-q:hover::before,
.faq-q[aria-expanded="true"]::before {
  transform: scaleY(1);
}
.faq-icon {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}
.faq-q:hover .faq-icon {
  transform: scale(1.18) rotate(90deg);
  color: var(--accent-hot);
}
.faq-q[aria-expanded="true"]:hover .faq-icon {
  transform: scale(1.12) rotate(45deg);
}

/* ── 15.7 Reduced motion: desliga animações decorativas ── */
@media (prefers-reduced-motion: reduce) {
  .sol-icon { animation: none; }
  .hero-title .text-accent { animation: none; }
  .about-scanline      { display: none; }
  .animate-up {
    transform: none;
    opacity: 1;
  }
}

/* ── 16. RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .agents-content .section-title { text-align: center; }
  .agents-content .section-label { text-align: center; display: block; }
  .agents-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .agents-list li { justify-content: flex-start; }
  .agents-visual { justify-content: center; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-visual {
    align-self: center;
    max-width: 100%;
    flex: none;
    margin-top: 0;
  }
  .about-img-frame {
    flex: none;
    height: auto;
    aspect-ratio: 1;
    max-width: min(360px, 88vw);
    margin: 0 auto;
  }
  .about-content { align-items: center; text-align: center; }
  .about-content .section-title { text-align: center; }
  .about-content p { text-align: center; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    align-items: center;
  }
  .contact-right { align-items: center; }
}

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

/* Nav colapsa em menu hambúrguer já em telas médias, pois os itens do menu
   horizontal (8 links) não cabem confortavelmente abaixo de ~1024px. */
@media (max-width: 1024px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
  .nav-logo {
    justify-self: auto;
  }
  .nav-links {
    grid-column: auto;
    justify-self: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(17, 16, 28,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 112px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 15px; padding: 10px 0; width: 100%; height: auto; }
  /* No drawer mobile o submenu fica sempre visível e indentado (sem hover) */
  .nav-dropdown { width: 100%; }
  .nav-link--parent { width: 100%; }
  .nav-chevron { display: none; }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100%;
    min-width: 0;
    padding: 0 0 4px;
    gap: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-left: 1px solid var(--border);
    margin-left: 4px;
  }
  .nav-submenu::before { display: none; }
  .nav-sublink {
    font-size: 14px;
    color: var(--text-subtle);
    padding: 9px 0 9px 16px;
  }
  .nav-actions {
    grid-column: auto;
    justify-self: auto;
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  section.benefits {
    padding: calc(env(safe-area-inset-top, 0px) + clamp(72px, 10vh, 96px)) 0 clamp(20px, 3.5vh, 40px);
  }
  section.benefits .section-header {
    margin-bottom: clamp(40px, 7.5vh, 56px);
  }
  .solutions-grid { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-top .nav-logo {
    grid-column: 1;
    justify-self: center;
    justify-content: center;
  }
  .footer-links {
    grid-column: 1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
  }
  .footer-dropdown .nav-chevron { display: none; }
  .footer-submenu { display: none; }
  .footer-social {
    grid-column: 1;
    justify-self: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .contact-title { font-size: 32px; }
  .contact-phone { font-size: 22px; }
  .btn-hero-ai {
    font-size: 12px;
    padding: 12px 18px;
    min-height: 42px;
    white-space: normal;
    text-align: center;
    max-width: min(100%, 340px);
  }
}

@media (min-width: 1200px) {
  .break-md { display: inline; }
}
