/* ==========================================================================
   Virtù Intelligence — Agência de IA
   Design system + layout (dark theme)
   Paleta oficial: #0b0d23 (navy) · #38f3ac (verde) · #000460 (azul profundo)
   ========================================================================== */

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

/* ---------- Tokens ---------- */
:root {
  /* cores base */
  --navy: #0b0d23;
  --green: #38f3ac;
  --blue: #000460;

  /* superfícies derivadas */
  --bg: #0b0d23;
  --bg-deep: #070917;
  --bg-alt: #0d1029;
  --surface: rgba(255, 255, 255, .034);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  /* texto */
  --text: #f2f4fb;
  --text-muted: #a9b0cd;
  --text-dim: #7b83a6;

  /* marca */
  --grad-brand: linear-gradient(135deg, var(--green) 0%, #17c9a6 45%, var(--blue) 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #d8fff0 35%, var(--green) 100%);
  --glow-green: 0 0 0 1px rgba(56, 243, 172, .28), 0 12px 40px -12px rgba(56, 243, 172, .45);

  /* forma */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* ritmo */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;

  /* tipografia */
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(2.15rem, 6.2vw, 4.25rem);
  --fs-h2: clamp(1.7rem, 3.9vw, 2.85rem);
  --fs-h3: clamp(1.08rem, 1.6vw, 1.28rem);
  --fs-lead: clamp(1rem, 1.35vw, 1.175rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .78rem;

  --ease: cubic-bezier(.22, .68, 0, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:where(:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(56, 243, 172, .28); color: #fff; }

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--green); color: #04231a; font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 22%, var(--bg-alt) 78%, transparent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-brand); flex: none;
}
.section__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section__title { font-size: var(--fs-h2); }
.section__lead {
  margin-top: 1.1rem; font-size: var(--fs-lead);
  color: var(--text-muted); max-width: 42rem;
}
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-full);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em;
  border: 1px solid var(--line);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --btn-fg: #032118;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 30px -14px rgba(56, 243, 172, .8);
}
.btn--primary:hover { box-shadow: 0 16px 40px -14px rgba(56, 243, 172, .95); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--line-strong); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--green); font-weight: 600; font-size: var(--fs-sm);
}
.link-arrow .icon { transition: transform var(--t-fast); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(9, 11, 30, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.header__nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list a {
  display: block; padding: .5rem .8rem; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--text); background: var(--surface-2); }

.header__social { display: flex; align-items: center; gap: .15rem; }
.social-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--r-full); color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.social-btn:hover { color: var(--green); background: var(--surface-2); transform: translateY(-2px); }
.header__divider { width: 1px; height: 22px; background: var(--line); flex: none; }
.header__cta { flex: none; }

.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  border-radius: var(--r-sm); color: var(--text);
  place-items: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; position: relative;
  transition: transform var(--t), background var(--t-fast);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  border-radius: 2px; background: currentColor;
  transition: transform var(--t), top var(--t);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* brilhos de fundo (0 requisições) */
.hero__bg::before {
  content: ''; position: absolute; inset: -20% -10% auto -25%;
  height: 130%;
  background:
    radial-gradient(58% 52% at 22% 8%, rgba(0, 4, 96, .95) 0%, rgba(0, 4, 96, 0) 62%),
    radial-gradient(46% 46% at 88% 22%, rgba(56, 243, 172, .16) 0%, rgba(56, 243, 172, 0) 65%),
    radial-gradient(70% 60% at 55% 118%, rgba(56, 243, 172, .13) 0%, rgba(11, 13, 35, 0) 60%);
}
/* malha de pontos */
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(72% 62% at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 62% at 50% 40%, #000 0%, transparent 78%);
  opacity: .5;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
#hero-canvas.is-on { opacity: 1; }
.hero__video {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__video.is-on { opacity: .42; }
/* com vídeo ativo, a animação em canvas recua para um segundo plano */
.hero.has-video #hero-canvas.is-on { opacity: .32; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 13, 35, .62) 0%, rgba(11, 13, 35, .25) 32%, rgba(11, 13, 35, .82) 82%, var(--bg) 100%);
}

.hero__inner { position: relative; width: 100%; }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.hero__copy { max-width: 62rem; }

.badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .42rem .95rem .42rem .6rem; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(56, 243, 172, .16);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56, 243, 172, .18); }
  50% { box-shadow: 0 0 0 7px rgba(56, 243, 172, .05); }
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -.035em;
  margin-top: 1.5rem;
}
.hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* frases de efeito rotativas */
/* A altura é reservada para o pior caso (2 linhas, 3 no mobile estreito) para
   que a troca de frases não gere deslocamento de layout — CLS zero. */
.hero__rotator {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-top: 1.35rem;
  font-size: clamp(1.02rem, 1.9vw, 1.35rem);
  line-height: 1.45;
  min-height: calc(2 * 1.45em);
  font-weight: 500; color: var(--green);
}
@media (max-width: 30rem) { .hero__rotator { min-height: calc(3 * 1.45em); } }
.hero__rotator .icon { margin-top: .28em; width: 1.05em; height: 1.05em; opacity: .9; }
.hero__phrase { display: block; }
.hero__phrase.is-swapping { animation: phraseOut .34s var(--ease) forwards; }
@keyframes phraseOut {
  to { opacity: 0; transform: translateY(-8px); }
}
.hero__phrase.is-in { animation: phraseIn .42s var(--ease) forwards; }
@keyframes phraseIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

.hero__lead {
  margin-top: 1.5rem; max-width: 40rem;
  font-size: var(--fs-lead); color: var(--text-muted);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-top: clamp(1.85rem, 3vw, 2.5rem);
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2.15rem; font-size: var(--fs-sm); color: var(--text-dim);
}
.hero__trust li { display: flex; align-items: center; gap: .5rem; }
.hero__trust .icon { width: 1.05em; height: 1.05em; color: var(--green); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: grid; place-items: center; gap: .4rem;
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll span {
  display: block; width: 1px; height: 30px;
  background: linear-gradient(var(--green), transparent);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   Clientes (carrossel)
   ========================================================================== */
.clients { padding-block: clamp(2.5rem, 5vw, 3.75rem); border-block: 1px solid var(--line); background: var(--bg-deep); }
.clients__label {
  text-align: center; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 2rem;
}
.marquee {
  position: relative;
  overflow: hidden; /* contém a faixa duplicada: sem isso o documento rola na horizontal */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: grid; place-items: center; flex: none;
  height: 38px;
}
.marquee__item img {
  max-height: 36px; width: auto; max-width: 150px;
  object-fit: contain;
  opacity: .8;
  transition: opacity var(--t), transform var(--t), filter var(--t);
}
.marquee__item:hover img, .marquee__item:focus-visible img { opacity: 1; transform: scale(1.05); }

/* ==========================================================================
   Cards / grids genéricos
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 1.6vw, 1.35rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }

.card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 100% at 0% 0%, rgba(56, 243, 172, .1), transparent 55%);
  opacity: 0; transition: opacity var(--t);
}
.card:hover { transform: translateY(-4px); border-color: rgba(56, 243, 172, .3); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1.15rem;
  border-radius: var(--r-md);
  background: rgba(56, 243, 172, .11);
  border: 1px solid rgba(56, 243, 172, .22);
  color: var(--green);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: var(--fs-h3); margin-bottom: .6rem; }
.card__text { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.7; }
.card__list { margin-top: 1.1rem; display: grid; gap: .5rem; }
.card__list li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--text-dim);
}
.card__list .icon { width: 1em; height: 1em; margin-top: .35em; color: var(--green); flex: none; }

/* ==========================================================================
   Automações
   ========================================================================== */
/* 4 grupos: 1 coluna no mobile, 2x2 no tablet, 4 colunas no desktop
   (auto-fit deixaria o quarto card órfão numa linha de 3) */
.autom__groups { display: grid; gap: clamp(1rem, 1.6vw, 1.35rem); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .autom__groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .autom__groups { grid-template-columns: repeat(4, 1fr); } }
.autom-group {
  padding: clamp(1.4rem, 2.2vw, 1.75rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.autom-group__head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.15rem; }
.autom-group__head .icon { width: 20px; height: 20px; color: var(--green); }
.autom-group__head h3 { font-size: 1.02rem; letter-spacing: -.01em; }
.autom-group ul { display: grid; gap: .7rem; }
.autom-group li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6;
}
.autom-group li::before {
  content: ''; flex: none; width: 5px; height: 5px; margin-top: .62em;
  border-radius: 50%; background: var(--grad-brand);
}
.autom__note {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: var(--r-lg);
  border: 1px dashed rgba(56, 243, 172, .28);
  background: rgba(56, 243, 172, .05);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  color: var(--text-muted); font-size: var(--fs-sm);
}
.autom__note p { flex: 1 1 22rem; }
.autom__note strong { color: var(--text); }

/* canais */
.channels { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted);
}
.chip .icon { width: 1em; height: 1em; color: var(--green); }

/* ==========================================================================
   Método
   ========================================================================== */
.steps { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); counter-reset: step; }
@media (min-width: 62rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; counter-increment: step;
  padding: clamp(1.6rem, 2.4vw, 2.15rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--grad-brand); opacity: .6;
}
.step__num {
  display: flex; align-items: center; gap: .85rem; margin-bottom: 1.35rem;
}
.step__num b {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; font-size: 1.05rem; font-weight: 700;
  color: var(--green);
  background: radial-gradient(circle at 30% 25%, rgba(56, 243, 172, .22), rgba(0, 4, 96, .55));
  border: 1px solid rgba(56, 243, 172, .35);
}
.step__num span {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .7rem; }
.step p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }
.step ul { margin-top: 1.15rem; display: grid; gap: .55rem; }
.step li { display: flex; gap: .55rem; font-size: var(--fs-sm); color: var(--text-dim); }
.step li .icon { width: 1em; height: 1em; margin-top: .35em; color: var(--green); flex: none; }

/* ==========================================================================
   Por que a Virtù
   ========================================================================== */
.why { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 64rem) { .why { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.why__list { display: grid; gap: clamp(.85rem, 1.4vw, 1.15rem); }
@media (min-width: 40rem) { .why__list { grid-template-columns: 1fr 1fr; } }
.why-item {
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--t), transform var(--t);
}
.why-item:hover { border-color: rgba(56, 243, 172, .3); transform: translateY(-3px); }
.why-item h3 { font-size: .99rem; margin-bottom: .45rem; display: flex; gap: .55rem; align-items: center; }
.why-item h3 .icon { width: 1.05em; height: 1.05em; color: var(--green); flex: none; }
.why-item p { font-size: var(--fs-sm); color: var(--text-dim); line-height: 1.65; }

.why__aside {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(0, 4, 96, .5), var(--surface));
  border: 1px solid var(--line);
}
.why__aside .symbol { width: 54px; height: 54px; margin-bottom: 1.35rem; }
.why__aside blockquote { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 500; line-height: 1.5; letter-spacing: -.015em; }
.why__aside blockquote::before { content: '“'; color: var(--green); }
.why__aside blockquote::after { content: '”'; color: var(--green); }
.why__aside p { margin-top: 1.15rem; font-size: var(--fs-sm); color: var(--text-muted); }
.why__stats { display: grid; gap: .9rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.why__stats div { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.why__stats .icon { width: 1.05em; height: 1.05em; margin-top: .35em; color: var(--green); flex: none; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(0, 4, 96, .85), rgba(11, 13, 35, .9));
  border: 1px solid var(--line-strong);
}
.cta-band::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%;
  background: radial-gradient(circle at 70% 40%, rgba(56, 243, 172, .22), transparent 62%);
  pointer-events: none;
}
.cta-band::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad-brand);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: var(--fs-h2); max-width: 34rem; }
.cta-band p { margin-top: 1.15rem; max-width: 34rem; color: var(--text-muted); font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.15rem; }
.cta-band__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.85rem;
  font-size: var(--fs-sm); color: var(--text-dim);
}
.cta-band__meta a { display: inline-flex; align-items: center; gap: .5rem; transition: color var(--t-fast); }
.cta-band__meta a:hover { color: var(--green); }
.cta-band__meta .icon { width: 1.05em; height: 1.05em; color: var(--green); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 64rem) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.faq__list { display: grid; gap: .75rem; }
.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}
.faq-item[open] { border-color: rgba(56, 243, 172, .3); background: var(--surface-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; cursor: pointer;
  font-weight: 600; font-size: .99rem; line-height: 1.45;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-item__sign {
  position: relative; flex: none; width: 22px; height: 22px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.faq-item__sign::before, .faq-item__sign::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 1.5px;
  background: var(--green); transform: translate(-50%, -50%); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.faq-item__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__sign { background: rgba(56, 243, 172, .14); border-color: rgba(56, 243, 172, .4); transform: rotate(180deg); }
.faq-item[open] .faq-item__sign::after { opacity: 0; }
.faq-item__body { padding: 0 1.3rem 1.25rem; }
.faq-item__body p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75; }
.faq-item__body p + p { margin-top: .8rem; }
.faq-item[open] .faq-item__body { animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

.faq__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq__aside .card__text { margin-bottom: 1.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: var(--section-y);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-deep), #05060f);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 68rem) { .footer__grid { grid-template-columns: 1.6fr .8fr .8fr 1.2fr; } }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p { margin-top: 1.25rem; color: var(--text-dim); max-width: 24rem; line-height: 1.7; }
.footer__social { display: flex; gap: .4rem; margin-top: 1.5rem; }
.footer__social .social-btn {
  border: 1px solid var(--line); width: 40px; height: 40px;
}
.footer h3 {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text); margin-bottom: 1.15rem;
}
.footer ul { display: grid; gap: .7rem; }
.footer a:not(.social-btn):not(.btn) { color: var(--text-dim); transition: color var(--t-fast); }
.footer a:not(.social-btn):not(.btn):hover { color: var(--green); }
.footer__contact li { display: flex; gap: .6rem; color: var(--text-dim); line-height: 1.6; }
.footer__contact .icon { width: 1.05em; height: 1.05em; margin-top: .3em; color: var(--green); flex: none; }
.footer__contact address { font-style: normal; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  color: var(--text-dim); font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ==========================================================================
   WhatsApp flutuante + consentimento
   ========================================================================== */
/* Verde oficial do WhatsApp com texto escuro: 7.8:1 de contraste.
   Branco sobre o verde fica em 3:1 e reprova no WCAG AA. */
.wa-float {
  position: fixed; z-index: 90;
  right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .8rem 1.15rem; border-radius: var(--r-full);
  background: #25d366; color: #052b16; font-weight: 600; font-size: var(--fs-sm);
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .85);
  transform: translateY(140%);
  transition: transform .45s var(--ease), box-shadow var(--t);
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { box-shadow: 0 18px 44px -12px rgba(37, 211, 102, 1); }
.wa-float .icon { width: 22px; height: 22px; }
.wa-float__label { display: none; }
@media (min-width: 40rem) { .wa-float__label { display: inline; } }
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: waPing 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes waPing {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

.consent {
  position: fixed; z-index: 95; inset: auto 0 0 0;
  padding: clamp(.9rem, 2vw, 1.15rem) var(--gutter);
  background: rgba(7, 9, 23, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
}
.consent.is-open { display: block; }
.consent__inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  justify-content: space-between;
}
.consent p { font-size: var(--fs-xs); color: var(--text-muted); flex: 1 1 22rem; line-height: 1.6; }
.consent p a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.consent .btn { padding: .6rem 1.15rem; font-size: var(--fs-xs); }
body.consent-open .wa-float { transform: translateY(-4.5rem); }

/* ==========================================================================
   Páginas de conteúdo (legal)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: -60% 40% auto -20%; height: 200%;
  background: radial-gradient(circle at 40% 40%, rgba(0, 4, 96, .8), transparent 60%);
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
.page-hero p { margin-top: 1.15rem; color: var(--text-muted); max-width: 42rem; }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-xs); color: var(--text-dim); margin-bottom: 1.5rem; }
.breadcrumbs a:hover { color: var(--green); }

.prose {
  max-width: 52rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  color: var(--text-muted);
  line-height: 1.8;
  font-size: .96rem;
}
.prose h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--text);
  margin-top: 2.75rem; margin-bottom: .9rem;
  padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; color: var(--text); margin-top: 1.85rem; margin-bottom: .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose ul li { list-style: none; position: relative; margin-bottom: .55rem; }
.prose ul li::before {
  content: ''; position: absolute; left: -1.15rem; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: .55rem; }
.prose ol li::marker { color: var(--green); font-weight: 600; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--text-dim); margin-bottom: 2.5rem;
}
.prose__meta .icon { width: 1em; height: 1em; color: var(--green); }
.prose__box {
  padding: 1.35rem 1.5rem; border-radius: var(--r-md);
  background: rgba(56, 243, 172, .06);
  border: 1px solid rgba(56, 243, 172, .22);
  margin-bottom: 2rem;
}
.prose__box p:last-child { margin-bottom: 0; }
.toc {
  padding: 1.35rem 1.5rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.toc h2 { font-size: var(--fs-xs) !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem !important; padding: 0 !important; border: 0 !important; }
.toc ol { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.2rem; }
.toc li { break-inside: avoid; margin-bottom: .45rem; font-size: var(--fs-sm); }
@media (max-width: 40rem) { .toc ol { columns: 1; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsivo — navegação mobile
   ========================================================================== */
@media (max-width: 62rem) {
  :root { --header-h: 64px; }
  .nav-toggle { display: grid; }
  .header__nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    margin: 0; padding: 1.5rem var(--gutter) 2.5rem;
    background: rgba(7, 9, 23, .98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    display: grid; align-content: start;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
    overflow-y: auto;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { background: rgba(7, 9, 23, .98); border-bottom-color: var(--line); }
  body.nav-open .header__nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { display: grid; gap: .15rem; }
  .nav-list a {
    padding: .95rem .25rem; font-size: 1.1rem; font-weight: 500; color: var(--text);
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav-list a:hover, .nav-list a.is-active { background: none; color: var(--green); }
  .header__social, .header__divider, .header__cta { display: none; }
  .nav-mobile-extra { display: grid; gap: 1.25rem; margin-top: 2rem; }
  .nav-mobile-extra .header__social { display: flex; justify-content: center; gap: .5rem; }
  .nav-mobile-extra .social-btn { border: 1px solid var(--line); }
}
@media (min-width: 62.0625rem) { .nav-mobile-extra { display: none; } }

@media (max-width: 40rem) {
  .hero { min-height: auto; }
  .hero__scroll { display: none; }
  .btn { padding: .8rem 1.25rem; }
  .card__icon { width: 42px; height: 42px; }
}

/* ==========================================================================
   Preferências do usuário
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; row-gap: 2rem; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__group--clone { display: none; }
  .wa-float { transform: none; }
  #hero-canvas { display: none; }
}

@media print {
  .header, .wa-float, .consent, .hero__bg, #hero-canvas, .footer__social { display: none !important; }
  body { background: #fff; color: #000; }
  .prose, .prose h2, .prose strong { color: #000; }
}
