/* ==========================================================================
   QuantaViz — Design System
   Identidade preservada: tokens de cor, tipografia e gradiente de marca
   originais. Evolução de layout, hierarquia, componentes e interação.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light;
  --color-bg: 250 250 252;
  --color-bg-alt: 241 243 248;
  --color-surface: 255 255 255;
  --color-surface-2: 247 248 251;
  --color-text: 11 18 32;
  --color-text-muted: 82 91 112;
  --color-border: 226 229 237;
  --color-primary: 42 100 224;
  --color-navy: 8 20 51;
  --color-teal: 13 148 136;
  --color-amber: 217 119 6;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px -8px rgb(0 0 0 / .08);
  --shadow-lg: 0 4px 12px rgb(0 0 0 / .06), 0 24px 48px -16px rgb(0 0 0 / .16);
  --shadow-xl: 0 8px 20px rgb(0 0 0 / .07), 0 40px 80px -24px rgb(0 0 0 / .22);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --shell: 1440px;
  --nav-h: 76px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: 7 9 15;
  --color-bg-alt: 12 15 24;
  --color-surface: 16 20 31;
  --color-surface-2: 21 26 39;
  --color-text: 240 242 248;
  --color-text-muted: 149 158 179;
  --color-border: 32 38 55;
  --color-primary: 96 148 255;
  --color-navy: 8 20 51;
  --color-teal: 45 212 191;
  --color-amber: 251 191 36;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
  --shadow-lg: 0 4px 12px rgb(0 0 0 / .35), 0 24px 48px -16px rgb(0 0 0 / .6);
  --shadow-xl: 0 8px 20px rgb(0 0 0 / .4), 0 40px 80px -24px rgb(0 0 0 / .7);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid rgb(var(--color-border)); }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background-color: rgb(var(--color-bg));
  color: rgb(var(--color-text));
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol, menu { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
/* precisa vencer o `display:block` acima — vale para svg[hidden], painéis de aba etc. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 650; }
::selection { background-color: rgb(var(--color-primary) / .22); color: rgb(var(--color-text)); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: rgb(var(--color-primary)); color: #fff;
  padding: 12px 20px; border-radius: 8px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.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;
}

/* ---------- 3. Layout ---------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .shell { padding-inline: 40px; } }
@media (min-width: 1024px) { .shell { padding-inline: 64px; } }

.section { position: relative; padding-block: 88px; }
@media (min-width: 768px) { .section { padding-block: 120px; } }
.section--tight { padding-block: 64px; }
@media (min-width: 768px) { .section--tight { padding-block: 88px; } }
.section--alt { background-color: rgb(var(--color-bg-alt)); }

/* ---------- 4. Tipografia ------------------------------------------------ */
.display, h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; }

.h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.15rem, 1.25rem + 3.9vw, 3.65rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.028em;
}
.h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 1.02rem + .5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.015em;
}
.h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.lead { font-size: clamp(1rem, .95rem + .3vw, 1.135rem); line-height: 1.68; color: rgb(var(--color-text-muted)); }
.body { font-size: .935rem; line-height: 1.7; color: rgb(var(--color-text-muted)); }
.body-sm { font-size: .855rem; line-height: 1.65; color: rgb(var(--color-text-muted)); }
.mono-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 650; }

/* align-items:flex-start + margin no marcador mantém o traço/ponto alinhado à
   PRIMEIRA linha quando o rótulo quebra em duas (comum no mobile) */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 9px;
  font-size: .715rem; font-weight: 650; line-height: 1.5;
  text-transform: uppercase; letter-spacing: .15em;
  color: rgb(var(--color-primary));
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; flex: none; margin-top: .62em;
  background: linear-gradient(90deg, rgb(var(--color-primary)), rgb(var(--color-primary) / 0));
}
.eyebrow--dot::before {
  width: 6px; height: 6px; border-radius: 50%; margin-top: .48em;
  background: rgb(var(--color-primary));
}

.gradient-text {
  background-image: linear-gradient(118deg, rgb(var(--color-primary)), rgb(var(--color-teal)) 56%, rgb(var(--color-amber)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 20px; }
@media (min-width: 768px) { .section-head { margin-bottom: 68px; } }

.section-head--split {
  max-width: none; display: grid; gap: 28px;
  grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
  .section-head--split .lead { margin-top: 0; }
}

/* ---------- 5. Botões ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; padding: 13px 24px;
  font-size: .875rem; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .3s ease, border-color .3s ease, color .3s ease;
}
.btn svg { flex: none; }
.btn:focus-visible { outline-offset: 4px; }

.btn-primary {
  color: #fff;
  background-image: linear-gradient(135deg, rgb(var(--color-primary)), rgb(var(--color-teal)));
  box-shadow: 0 0 0 1px rgb(var(--color-primary) / .2), 0 8px 30px -10px rgb(var(--color-primary) / .5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(var(--color-primary) / .3), 0 16px 40px -12px rgb(var(--color-primary) / .6); }
.btn-primary .arrow { transition: transform .35s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  border: 1px solid rgb(var(--color-border));
  color: rgb(var(--color-text));
  background-color: rgb(var(--color-surface) / .5);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgb(var(--color-primary) / .55); background-color: rgb(var(--color-surface)); }

.btn-onnavy { background-color: rgb(255 255 255 / .1); color: #fff; border: 1px solid rgb(255 255 255 / .22); }
.btn-onnavy:hover { background-color: rgb(255 255 255 / .18); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding-block: 8px; /* área de toque: ~38px sem alterar o ritmo visual */
  font-size: .84rem; font-weight: 600; color: rgb(var(--color-primary));
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Superfícies ----------------------------------------------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .35s ease, background-color .35s ease;
}
@media (min-width: 768px) { .card { padding: 34px; } }

.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgb(var(--color-primary) / .28); }

.glass {
  background-color: rgb(var(--color-surface) / .72);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgb(var(--color-border) / .8);
}

.badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  border-radius: 999px; border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface-2));
  padding: 4px 11px;
  font-size: .715rem; font-weight: 550; line-height: 1.5;
  white-space: nowrap;
  color: rgb(var(--color-text-muted));
}
.badge--accent { border-color: rgb(var(--color-primary) / .3); background-color: rgb(var(--color-primary) / .09); color: rgb(var(--color-primary)); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--color-teal)); animation: qv-pulse 2.2s ease-in-out infinite; }

@keyframes qv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.icon-tile {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--r-md);
  color: rgb(var(--color-primary));
  background-color: rgb(var(--color-primary) / .1);
  border: 1px solid rgb(var(--color-primary) / .16);
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--teal { color: rgb(var(--color-teal)); background-color: rgb(var(--color-teal) / .1); border-color: rgb(var(--color-teal) / .18); }
.icon-tile--amber { color: rgb(var(--color-amber)); background-color: rgb(var(--color-amber) / .1); border-color: rgb(var(--color-amber) / .18); }

.rule { height: 1px; background: rgb(var(--color-border)); border: 0; }

/* Backdrops decorativos */
.mesh {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    radial-gradient(58% 48% at 18% 12%, rgb(var(--color-primary) / .13) 0%, transparent 62%),
    radial-gradient(48% 40% at 88% 18%, rgb(var(--color-teal) / .11) 0%, transparent 62%);
}
[data-theme="dark"] .mesh {
  background-image:
    radial-gradient(58% 48% at 18% 10%, rgb(var(--color-primary) / .24) 0%, transparent 62%),
    radial-gradient(45% 40% at 90% 15%, rgb(var(--color-teal) / .17) 0%, transparent 62%),
    radial-gradient(40% 35% at 50% 100%, rgb(var(--color-amber) / .08) 0%, transparent 62%);
}
.grid-lines {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--color-border) / .55) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--color-border) / .55) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 50% 0%, #000 38%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 55% at 50% 0%, #000 38%, transparent 100%);
}

/* ---------- 7. Header / Navegação ---------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background-color: rgb(var(--color-bg) / .78);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: rgb(var(--color-border) / .75);
  box-shadow: 0 1px 24px -8px rgb(0 0 0 / .12);
}
[data-theme="dark"] .site-header.is-stuck { box-shadow: 0 1px 24px -6px rgb(0 0 0 / .5); }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--nav-h);
}
.nav-brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.nav-brand img { height: 30px; width: auto; }
@media (min-width: 768px) { .nav-brand img { height: 34px; } }
[data-theme="dark"] .brand-logo { filter: brightness(0) invert(1); }

.nav-menu { display: none; align-items: center; gap: 4px; }
@media (min-width: 1080px) { .nav-menu { display: flex; } }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 9px;
  font-size: .855rem; font-weight: 500;
  color: rgb(var(--color-text-muted));
  transition: color .25s ease, background-color .25s ease;
}
.nav-link:hover { color: rgb(var(--color-text)); background-color: rgb(var(--color-primary) / .07); }
.nav-link.is-active { color: rgb(var(--color-text)); font-weight: 600; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, rgb(var(--color-primary)), rgb(var(--color-teal)));
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgb(var(--color-border));
  color: rgb(var(--color-text));
  background-color: rgb(var(--color-surface) / .5);
  transition: border-color .25s ease, background-color .25s ease, transform .25s var(--ease);
}
.icon-btn:hover { border-color: rgb(var(--color-primary) / .5); }
.icon-btn svg { width: 18px; height: 18px; }

.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* Dropdown de soluções */
.dd { position: relative; display: none; }
@media (min-width: 1080px) { .dd { display: block; } }
.dd-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgb(var(--color-border));
  font-size: .8rem; font-weight: 600;
  transition: border-color .25s ease, background-color .25s ease;
}
.dd-trigger:hover { border-color: rgb(var(--color-primary) / .5); }
.dd-chev { transition: transform .25s var(--ease); }
.dd.is-open .dd-chev { transform: rotate(180deg); }

.dd-panel {
  position: absolute; top: calc(100% + 12px); right: 0; width: 312px;
  padding: 8px;
  border-radius: var(--r-lg);
  background-color: rgb(var(--color-surface));
  border: 1px solid rgb(var(--color-border));
  box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985);
  transform-origin: top right;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 110;
}
.dd-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.dd-head {
  padding: 8px 12px 10px;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 650; color: rgb(var(--color-text-muted));
}
.sol-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px;
  transition: background-color .2s ease;
}
.sol-item:hover { background-color: rgb(var(--color-primary) / .09); }
.sol-item .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.sol-item .icon-tile svg { width: 17px; height: 17px; }
.sol-item__t { display: block; font-size: .855rem; font-weight: 600; color: rgb(var(--color-text)); line-height: 1.35; }
.sol-item__u { display: block; font-size: .715rem; color: rgb(var(--color-text-muted)); }

/* Menu mobile */
.nav-toggle { display: grid; }
@media (min-width: 1080px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  margin: 0 16px 16px;
  padding: 22px;
  border-radius: var(--r-xl);
  background-color: rgb(var(--color-surface) / .92);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgb(var(--color-border));
  box-shadow: var(--shadow-xl);
  max-height: calc(100dvh - var(--nav-h) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { display: block; animation: qv-drop .3s var(--ease) both; }
@media (min-width: 1080px) { .mobile-menu, .mobile-menu.is-open { display: none; } }

@keyframes qv-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px;
  font-size: 1.02rem; font-weight: 550;
  border-bottom: 1px solid rgb(var(--color-border) / .7);
}
.mobile-link:last-of-type { border-bottom: 0; }
.mobile-link.is-active { color: rgb(var(--color-primary)); }

.mobile-sol {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background-color: rgb(var(--color-primary) / .07);
  border: 1px solid rgb(var(--color-primary) / .12);
}
.mobile-sol + .mobile-sol { margin-top: 8px; }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 76px;
}
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--nav-h) + 92px); padding-bottom: 108px; }
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .62; }

.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 68px; } }

.hero-h1 { margin-top: 22px; }
.hero-lead { margin-top: 24px; max-width: 34rem; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
/* no celular os dois CTAs ocupam a largura toda — evita botões de tamanhos
   diferentes empilhados, que lêem como hierarquia acidental */
@media (max-width: 519px) {
  .hero-actions .btn, .cta__actions .btn { width: 100%; }
}

.hero-pills { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }

.hero-stats {
  margin-top: 42px; padding-top: 30px;
  border-top: 1px solid rgb(var(--color-border));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.hero-stats__n { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.hero-stats__l { font-size: .76rem; color: rgb(var(--color-text-muted)); margin-top: 5px; line-height: 1.45; }

/* Painel visual do hero — o padding reserva a faixa dos cards flutuantes,
   para que eles nunca cubram o conteúdo do painel */
.hero-visual { position: relative; }
@media (min-width: 1024px) { .hero-visual { padding-block: 46px; } }
.panel {
  position: relative; z-index: 2;
  border-radius: var(--r-xl);
  padding: 22px;
  background-color: rgb(var(--color-surface) / .82);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgb(var(--color-border) / .9);
  box-shadow: var(--shadow-xl);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.panel-title { font-size: .82rem; font-weight: 650; }
.panel-sub { font-size: .7rem; color: rgb(var(--color-text-muted)); margin-top: 2px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi {
  border-radius: var(--r-md); border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface-2)); padding: 13px 12px;
}
.kpi__l { font-size: .66rem; color: rgb(var(--color-text-muted)); letter-spacing: .04em; }
.kpi__v { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; font-weight: 650; margin-top: 4px; letter-spacing: -.01em; }
.kpi__d { font-size: .64rem; font-weight: 600; color: rgb(var(--color-teal)); margin-top: 2px; }

.chart-wrap { position: relative; border-radius: var(--r-md); background-color: rgb(var(--color-surface-2)); border: 1px solid rgb(var(--color-border)); padding: 14px 12px 10px; }
.chart-wrap svg { width: 100%; height: auto; }

.bars { display: flex; align-items: flex-end; gap: 7px; height: 58px; margin-top: 16px; }
.bars span {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background-image: linear-gradient(180deg, rgb(var(--color-primary)), rgb(var(--color-teal)));
  transform-origin: bottom;
  transform: scaleY(0);
  animation: qv-bar .9s var(--ease) forwards;
}
@keyframes qv-bar { to { transform: scaleY(1); } }

/* Cards flutuantes do hero */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-radius: var(--r-md);
  background-color: rgb(var(--color-surface) / .9);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgb(var(--color-border));
  box-shadow: var(--shadow-lg);
}
.float-card__l { font-size: .66rem; color: rgb(var(--color-text-muted)); }
.float-card__v { font-size: .82rem; font-weight: 650; line-height: 1.3; }
.float-card--a { left: -20px; bottom: 0; animation: qv-float 7s ease-in-out infinite; }
.float-card--b { right: -20px; top: 0; animation: qv-float 8.5s ease-in-out .8s infinite; }
@media (max-width: 1023px) { .float-card { display: none; } }

@keyframes qv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 9. Faixa de logos (marquee) ---------------------------------- */
.trust-strip { padding-block: 34px; border-block: 1px solid rgb(var(--color-border)); background-color: rgb(var(--color-bg-alt)); }
.trust-strip__label { text-align: center; color: rgb(var(--color-text-muted)); margin-bottom: 22px; }

.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: qv-marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: grid; place-items: center; padding-inline: 30px; flex: none; }
.marquee__item img { max-height: 34px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .3s ease, filter .3s ease; }
.marquee__item:hover img { opacity: 1; filter: none; }
[data-theme="dark"] .marquee__item img { filter: grayscale(1) brightness(0) invert(1); opacity: .5; }
[data-theme="dark"] .marquee__item:hover img { filter: brightness(0) invert(1); opacity: .9; }
@keyframes qv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 10. Cadeia de valor (ecossistema) ---------------------------- */
.chain { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: chain; }
@media (min-width: 640px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .chain { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; } }

.chain-step {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s var(--ease);
}
.chain-step:hover { transform: translateY(-3px); border-color: rgb(var(--color-primary) / .35); box-shadow: var(--shadow-sm); }
.chain-step__i { color: rgb(var(--color-primary)); margin-bottom: 14px; }
.chain-step__i svg { width: 20px; height: 20px; }
.chain-step__n {
  font-family: "Space Grotesk", sans-serif; font-size: .68rem; font-weight: 650;
  letter-spacing: .1em; color: rgb(var(--color-primary) / .7); display: block; margin-bottom: 6px;
}
.chain-step__t { font-family: "Space Grotesk", sans-serif; font-size: .92rem; font-weight: 650; letter-spacing: -.01em; }
.chain-step__d { font-size: .775rem; line-height: 1.55; color: rgb(var(--color-text-muted)); margin-top: 7px; }

/* conector */
@media (min-width: 1100px) {
  .chain-step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -10px; width: 10px; height: 1px;
    background: linear-gradient(90deg, rgb(var(--color-primary) / .5), rgb(var(--color-primary) / .12));
  }
}

/* ---------- 11. Grid de capacidades -------------------------------------- */
.cap-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cap { display: flex; flex-direction: column; overflow: hidden; }
.cap::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 0%, rgb(var(--color-primary) / .07), transparent 55%);
  opacity: 0; transition: opacity .45s ease;
}
.cap:hover::before { opacity: 1; }
.cap__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.cap__n { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 600; color: rgb(var(--color-text) / .09); line-height: 1; letter-spacing: -.02em; }
[data-theme="dark"] .cap__n { color: rgb(var(--color-text) / .13); }
.cap__t { margin-bottom: 11px; }
.cap__d { flex: 1; }
.cap__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }

/* ---------- 12. RPA — fluxo ---------------------------------------------- */
.rpa-layout { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .rpa-layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; } }

.rpa-points { display: grid; gap: 14px; margin-top: 34px; }
.rpa-point { display: flex; gap: 14px; align-items: flex-start; }
.rpa-point__i {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  background-color: rgb(var(--color-teal) / .12); color: rgb(var(--color-teal));
}
.rpa-point__i svg { width: 14px; height: 14px; }

/* container-type: o fluxo vive dentro de uma coluna estreita em telas médias,
   então ele responde à PRÓPRIA largura, não à da viewport. Sem isso, em 1024px
   os cinco nós ficam com 70px de largura. */
.flow {
  position: relative;
  container-type: inline-size;
  border-radius: var(--r-xl);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  box-shadow: var(--shadow-lg);
  padding: 26px 22px;
  overflow: hidden;
}
@media (min-width: 768px) { .flow { padding: 32px 28px; } }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }

.flow-track { display: grid; gap: 10px; position: relative; grid-template-columns: 1fr; }
@container (min-width: 540px) { .flow-track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } }

.flow-node {
  position: relative;
  border-radius: var(--r-md);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface-2));
  padding: 16px 14px;
  text-align: center;
  transition: border-color .4s ease, background-color .4s ease, transform .4s var(--ease);
}
.flow-node__i { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 10px; background-color: rgb(var(--color-text) / .05); color: rgb(var(--color-text-muted)); transition: background-color .4s ease, color .4s ease; }
.flow-node__i svg { width: 17px; height: 17px; }
.flow-node__t { font-family: "Space Grotesk", sans-serif; font-size: .8rem; font-weight: 650; letter-spacing: -.01em; }
.flow-node__d { font-size: .7rem; color: rgb(var(--color-text-muted)); margin-top: 4px; line-height: 1.45; }

.flow-node.is-on { border-color: rgb(var(--color-primary) / .5); background-color: rgb(var(--color-primary) / .06); transform: translateY(-3px); }
.flow-node.is-on .flow-node__i { background-color: rgb(var(--color-primary) / .14); color: rgb(var(--color-primary)); }

/* conectores entre nós — verticais empilhado, horizontais em linha */
.flow-node:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1;
  background: rgb(var(--color-border));
  left: 50%; bottom: -10px; width: 1px; height: 10px;
}
@container (min-width: 540px) {
  .flow-node:not(:last-child)::after { top: 50%; left: auto; bottom: auto; right: -8px; width: 8px; height: 1px; }
}

/* Antes / Depois — comparação qualitativa, sem métrica atribuída */
.flow-ba { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgb(var(--color-border)); display: grid; gap: 10px; }
.flow-ba__row {
  display: grid; gap: 4px;
  grid-template-columns: 1fr;
  padding: 13px 15px; border-radius: var(--r-md);
  background-color: rgb(var(--color-text) / .04);
  border-left: 3px solid rgb(var(--color-border));
}
@media (min-width: 480px) { .flow-ba__row { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: baseline; } }
.flow-ba__k { font-size: .655rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--color-text-muted)); }
.flow-ba__v { font-size: .8rem; line-height: 1.55; color: rgb(var(--color-text-muted)); }
.flow-ba__row--after { background-color: rgb(var(--color-teal) / .08); border-left-color: rgb(var(--color-teal)); }
.flow-ba__row--after .flow-ba__k { color: rgb(var(--color-teal)); }
.flow-ba__row--after .flow-ba__v { color: rgb(var(--color-text)); }

/* ---------- 13. BI / Analytics ------------------------------------------- */
.bi-layout { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .bi-layout { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 64px; } }

.dash {
  container-type: inline-size; /* mesmo motivo do .flow — coluna estreita em telas médias */
  border-radius: var(--r-xl);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  box-shadow: var(--shadow-lg);
  padding: 20px;
  overflow: hidden;
}
@media (min-width: 768px) { .dash { padding: 24px; } }
.dash__bar { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgb(var(--color-border)); }
.dash__dots { display: flex; gap: 5px; }
.dash__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--color-border)); }
.dash__name { font-size: .76rem; font-weight: 600; color: rgb(var(--color-text-muted)); margin-left: 4px; }

.dash__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@container (min-width: 470px) { .dash__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.dash__main { display: grid; gap: 12px; }
@container (min-width: 530px) { .dash__main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

.dash__panel { border-radius: var(--r-md); border: 1px solid rgb(var(--color-border)); background-color: rgb(var(--color-surface-2)); padding: 14px; }
.dash__panel h4 { font-size: .72rem; font-weight: 650; color: rgb(var(--color-text-muted)); margin-bottom: 12px; letter-spacing: .02em; }

.donut { display: grid; place-items: center; }
.donut svg { width: 110px; height: 110px; }
.donut__ring { stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.6s var(--ease); }
.donut__c { font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; font-weight: 650; }

.legend { display: grid; gap: 7px; margin-top: 12px; }
.legend div { display: flex; align-items: center; gap: 8px; font-size: .715rem; color: rgb(var(--color-text-muted)); }
.legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }

.bi-list { display: grid; gap: 12px; margin-top: 30px; }
.bi-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .89rem; line-height: 1.6; }
.bi-list svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: rgb(var(--color-primary)); }

/* ---------- 14. Soluções (produtos) -------------------------------------- */
.sol-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sol-card { display: flex; flex-direction: column; }
.sol-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sol-card__url { font-size: .71rem; color: rgb(var(--color-text-muted)); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.sol-card__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgb(var(--color-border)); }

/* ---------- 15. Tecnologias ---------------------------------------------- */
.tech-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tech-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  font-size: .82rem; font-weight: 600;
  color: rgb(var(--color-text-muted));
  transition: all .3s var(--ease);
}
.tech-tab:hover { border-color: rgb(var(--color-primary) / .45); color: rgb(var(--color-text)); }
.tech-tab[aria-selected="true"] {
  color: #fff; border-color: transparent;
  background-image: linear-gradient(135deg, rgb(var(--color-primary)), rgb(var(--color-teal)));
  box-shadow: 0 6px 20px -8px rgb(var(--color-primary) / .6);
}
.tech-tab__c { font-size: .7rem; opacity: .72; font-variant-numeric: tabular-nums; }

.tech-panel[hidden] { display: none; }
.tech-panel { animation: qv-fade .4s var(--ease) both; }
@keyframes qv-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tech-panel__note { font-size: .84rem; color: rgb(var(--color-text-muted)); margin-bottom: 22px; max-width: 46rem; }

.logo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.logo-card {
  display: grid; place-items: center; gap: 10px;
  min-height: 104px; padding: 18px 14px;
  border-radius: var(--r-lg);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s var(--ease);
}
.logo-card:hover { transform: translateY(-3px); border-color: rgb(var(--color-primary) / .3); box-shadow: var(--shadow-lg); }
.logo-card img { max-height: 34px; width: auto; opacity: .85; transition: opacity .3s ease; }
.logo-card:hover img { opacity: 1; }
.logo-card__n { font-size: .68rem; color: rgb(var(--color-text-muted)); text-align: center; }
/* logos são PNG de tinta escura — mantém fundo claro no dark mode */
[data-theme="dark"] .logo-card { background-color: #eef1f7; border-color: rgb(238 241 247 / .15); }
[data-theme="dark"] .logo-card .logo-card__n { color: #52586b; }

/* ---------- 16. Processo (timeline) -------------------------------------- */
.timeline { position: relative; display: grid; gap: 18px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }

.tl-step { position: relative; padding-top: 30px; }
.tl-step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgb(var(--color-border)); border-radius: 2px;
}
.tl-step::after {
  content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px;
  border-radius: 50%; background: rgb(var(--color-bg));
  border: 2px solid rgb(var(--color-primary));
  transition: box-shadow .4s ease;
}
.tl-step:hover::after { box-shadow: 0 0 0 5px rgb(var(--color-primary) / .14); }
.section--alt .tl-step::after { background: rgb(var(--color-bg-alt)); }
.tl-step__n { font-family: "Space Grotesk", sans-serif; font-size: .7rem; font-weight: 650; letter-spacing: .12em; color: rgb(var(--color-primary)); }
.tl-step__t { margin: 10px 0 8px; }

/* ---------- 17. Time ----------------------------------------------------- */
.team-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.member { display: grid; gap: 22px; align-content: start; }
@media (min-width: 520px) { .member { grid-template-columns: auto minmax(0, 1fr); gap: 24px; } }

.member__photo { position: relative; flex: none; }
.member__photo img {
  width: 96px; height: 96px; border-radius: 20px; object-fit: cover;
  border: 1px solid rgb(var(--color-border));
}
.member__photo::after {
  content: ""; position: absolute; inset: -4px; border-radius: 24px; z-index: -1;
  background-image: linear-gradient(135deg, rgb(var(--color-primary) / .35), rgb(var(--color-teal) / .2));
  opacity: 0; transition: opacity .4s ease;
}
.member:hover .member__photo::after { opacity: 1; }
.member__role { font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--color-primary)); margin-top: 6px; }
.member__yrs { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.member__yrs b { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; font-weight: 650; }
.member__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

/* ---------- 18. Cases ---------------------------------------------------- */
.case-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.case { display: flex; flex-direction: column; }
.case__rows { display: grid; gap: 14px; margin-top: 20px; flex: 1; }
.case__row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; }
.case__k { font-size: .655rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--color-primary) / .85); padding-top: 2px; }
.case__v { font-size: .84rem; line-height: 1.6; color: rgb(var(--color-text-muted)); }
.case__note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgb(var(--color-border)); font-size: .74rem; font-style: italic; color: rgb(var(--color-text-muted)); }

/* ---------- 19. Números -------------------------------------------------- */
.stats { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { text-align: center; padding: 20px 8px; }
.stat__n { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.stat__l { font-size: .82rem; color: rgb(var(--color-text-muted)); margin-top: 12px; }

/* ---------- 20. Clientes ------------------------------------------------- */
.client-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 21. Depoimentos ---------------------------------------------- */
.tst-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .tst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

.tst { display: flex; flex-direction: column; }
.tst__mark { color: rgb(var(--color-primary) / .28); margin-bottom: 16px; }
.tst__mark svg { width: 30px; height: 30px; }

.tst__quote { font-size: .93rem; line-height: 1.72; color: rgb(var(--color-text)); }
@media (min-width: 768px) { .tst__quote { font-size: .975rem; } }
.tst__quote p + p { margin-top: 12px; }

/* clamp progressivo com "Leia mais" */
.tst__body { position: relative; }
.tst__body[data-clamped="true"] .tst__quote {
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical;
  line-clamp: 7; overflow: hidden;
}
.tst__body[data-clamped="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62px;
  background: linear-gradient(180deg, rgb(var(--color-surface) / 0), rgb(var(--color-surface)));
  pointer-events: none;
}
.tst__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 10px 2px; /* área de toque confortável */
  font-size: .8rem; font-weight: 650; color: rgb(var(--color-primary));
}
.tst__more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.tst__more[aria-expanded="true"] svg { transform: rotate(180deg); }

.tst__foot {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgb(var(--color-border));
  display: flex; align-items: center; gap: 13px;
}
.tst__av {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 13px;
  font-family: "Space Grotesk", sans-serif; font-size: .82rem; font-weight: 650;
  color: rgb(var(--color-primary));
  background-color: rgb(var(--color-primary) / .1);
  border: 1px solid rgb(var(--color-primary) / .16);
}
.tst__who { min-width: 0; }
.tst__name { font-size: .89rem; font-weight: 650; line-height: 1.3; }
.tst__role { font-size: .765rem; color: rgb(var(--color-text-muted)); margin-top: 2px; }
.tst__org { font-weight: 600; color: rgb(var(--color-text-muted)); }

/* ---------- 22. FAQ ------------------------------------------------------ */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq-item {
  border-radius: var(--r-md);
  border: 1px solid rgb(var(--color-border));
  background-color: rgb(var(--color-surface));
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .4s var(--ease);
}
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgb(var(--color-primary) / .35); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; text-align: left;
  padding: 19px 22px;
  font-family: "Space Grotesk", sans-serif; font-size: .95rem; font-weight: 600;
  letter-spacing: -.01em;
}
.faq-chev { flex: none; width: 17px; height: 17px; color: rgb(var(--color-text-muted)); transition: transform .3s var(--ease), color .3s ease; }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); color: rgb(var(--color-primary)); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; font-size: .885rem; line-height: 1.68; color: rgb(var(--color-text-muted)); }
.faq-a a { color: rgb(var(--color-primary)); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 23. CTA final ------------------------------------------------ */
.cta {
  position: relative; overflow: hidden;
  background-color: rgb(var(--color-navy));
  color: #fff;
  padding-block: 92px;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(58% 52% at 20% 8%, rgb(var(--color-primary) / .35) 0%, transparent 62%),
    radial-gradient(45% 40% at 88% 20%, rgb(var(--color-teal) / .24) 0%, transparent 62%),
    radial-gradient(40% 38% at 50% 105%, rgb(var(--color-amber) / .12) 0%, transparent 62%);
}
.cta > * { position: relative; }
.cta .eyebrow { color: rgb(var(--color-teal)); }
.cta .eyebrow::before { background: linear-gradient(90deg, rgb(var(--color-teal)), transparent); }
.cta__sub { color: rgb(255 255 255 / .72); margin-top: 20px; font-size: 1.05rem; }
.cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- 24. Contato -------------------------------------------------- */
.contact-layout { display: grid; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; } }

.contact-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.contact-card { display: flex; gap: 15px; align-items: flex-start; }
.contact-card__t { font-size: .89rem; font-weight: 650; }
.contact-card__v { font-size: .8rem; color: rgb(var(--color-text-muted)); margin-top: 3px; word-break: break-word; }

/* ---------- 25. Footer --------------------------------------------------- */
.site-footer { border-top: 1px solid rgb(var(--color-border)); padding-block: 60px 30px; background-color: rgb(var(--color-bg-alt)); }
.footer-top { display: grid; gap: 42px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 52px; } }
.footer-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer-col h3 { font-size: .7rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: rgb(var(--color-text-muted)); margin-bottom: 16px; font-family: Inter, sans-serif; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a {
  display: inline-block; padding-block: 8px; /* área de toque no mobile */
  font-size: .855rem; color: rgb(var(--color-text-muted)); transition: color .25s ease;
}
.footer-col a:hover { color: rgb(var(--color-text)); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid rgb(var(--color-border));
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .765rem; color: rgb(var(--color-text-muted));
}

/* ---------- 26. Reveal --------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- 27. Movimento reduzido --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .float-card { animation: none; }
  .bars span { transform: scaleY(1); animation: none; }
}
