:root {
  /* Mesma paleta da marca Nesva, aplicada num tema claro/editorial —
     de proposito bem diferente do tema escuro do Nesvaflow. */
  --bg: #fbfbfa;
  --bg-alt: #f3f4f2;
  --paper: #ffffff;
  --ink: #10151f;
  --ink-dim: #565f6d;
  --ink-dimmer: #8b93a0;
  --border: #e4e5e1;
  --border-strong: #d5d6d1;

  --navy: #004593;
  --mid: #0078ab;
  --cyan: #00cad1;
  --grad: linear-gradient(135deg, var(--cyan), var(--mid) 55%, var(--navy));

  --shadow-sm: 0 2px 10px rgba(16, 21, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 21, 31, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

/* SEM scroll-behavior:smooth aqui de proposito — o Lenis (js/main.js) ja'
   controla o scroll suave. Os dois juntos brigam entre si (o smooth nativo
   do CSS tenta animar o scroll real enquanto o Lenis virtualiza por cima),
   e o resultado e' um scroll com solavancos/travadinhas. */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

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

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

/* Estado inicial dos elementos animados agora e' controlado via GSAP
   (js/main.js) pra evitar flash de conteudo sem estilo — nao usar
   opacity:0 aqui direto, senao quem tiver JS desabilitado nunca ve nada. */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mid);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--mid);
}

/* ================= BOTOES / LINKS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover { background: var(--mid); }

.btn--outline {
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn--outline:hover { border-color: var(--navy); color: var(--navy); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow:hover { border-color: var(--navy); gap: 10px; }

/* ================= NAV ================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  flex-shrink: 0;
}

.nav__brand em { font-style: normal; color: var(--mid); }
.nav__mark { width: 24px; height: 24px; object-fit: contain; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dim);
  flex: 1;
  justify-content: center;
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.15s var(--ease);
}
.nav__links a:hover { color: var(--ink); }

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); background: var(--cyan); }

.nav__cta { flex-shrink: 0; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ================= HERO ================= */

.hero { padding: 88px 0 96px; }

/* .hero__inner era grade de 2 colunas (texto + imagem) da versao antiga
   do hero — a versao atual (centralizada, sem foto) so' usa
   .hero__inner--center, que cuida do centro sozinha. Deixar o grid aqui
   fazia o unico filho (.hero__content) ocupar so' a 1a coluna, empurrando
   o texto pra esquerda em vez de centralizar de verdade. */

.hero h1, .hero__title-lg {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero .grad-ink { color: var(--navy); }

.hero__sub {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 460px;
  margin-bottom: 30px;
}

.hero__sub a { color: var(--navy); font-weight: 600; }
.hero__sub a:hover { text-decoration: underline; }

.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* --- Hero escuro com fundo Aurora (WebGL) --- */

.hero--dark {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  /* Gradiente estatico de fallback — se o WebGL da Aurora nao montar
     (prefers-reduced-motion, ou falha de qualquer tipo), isso sozinho
     ja' segura o visual do hero em vez de ficar um preto chapado. */
  background: radial-gradient(ellipse 70% 60% at 20% 20%, rgba(0, 202, 209, 0.16), transparent 60%),
              radial-gradient(ellipse 60% 70% at 80% 80%, rgba(0, 69, 147, 0.35), transparent 65%),
              #05070a;
  overflow: hidden;
  color: #fff;
}

.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__aurora canvas { width: 100%; height: 100%; display: block; }

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(5, 7, 10, 0.35) 65%, #05070a 100%);
  pointer-events: none;
}

.hero__inner--center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.75); }
.eyebrow--light::before { background: var(--cyan); }

.hero__title-lg { color: #fff; font-size: 74px; perspective: 800px; }
.hero--dark .grad-ink {
  background: linear-gradient(120deg, var(--cyan), #7fe9ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* SplitText quebra em .word/.char — cada um precisa ficar visivel fora do
   fluxo pra animar rotacao 3D sem cortar (overflow controlado por linha). */
.hero__title-lg .split-line { overflow: hidden; padding-bottom: 0.1em; }
.hero__title-lg .word { transform-origin: 50% 100%; will-change: transform, opacity; }

.hero__sub--center { max-width: 560px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.72); }
.hero__sub--center a { color: var(--cyan); }

.hero__actions--center { justify-content: center; }

.link-arrow--light { color: #fff; }
.link-arrow--light:hover { border-color: #fff; }

/* Botao magnetico: o proprio botao se desloca levemente em direcao ao
   cursor quando o mouse esta por perto (controlado via JS, isso so' da' o
   "amortecimento" visual do movimento). */
.btn--magnetic { transition: transform 0.25s var(--ease); will-change: transform; }

/* Brilho que segue o cursor dentro do hero escuro */
.hero__cursor-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 202, 209, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

/* ================= FORMAS FLUTUANTES DO HERO ================= */
/* Preenche o vazio dos lados do hero sem depender de foto/video — cartoes
   de vidro (glassmorphism) e formas geometricas flutuando, sugerindo
   "interface digital" de forma abstrata. Flutuam sozinhas (ambient) e
   reagem de leve ao mouse (parallax, controlado via JS por data-depth). */

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  will-change: transform;
}

.hero__shape--card {
  width: 148px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__shape--wide { width: 190px; }

.hero__shape-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero__shape-dot--cyan { background: var(--cyan); box-shadow: 0 0 12px rgba(0, 202, 209, 0.7); }

.hero__shape-line {
  height: 6px;
  border-radius: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.16);
}

.hero__shape-line--sm { width: 60%; }

.hero__shape--ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 202, 209, 0.4);
  box-shadow: inset 0 0 40px rgba(0, 202, 209, 0.08);
}

.hero__shape--orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 202, 209, 0.55), rgba(0, 69, 147, 0.25) 60%, transparent 80%);
  filter: blur(1px);
}

@media (max-width: 1100px) {
  .hero__shape { display: none; }
  .hero__title-lg { font-size: 54px; }
}

/* ================= INDICADOR DE SCROLL ================= */

.hero__scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.hero__scroll-cue span:first-child {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-cue-flow 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-flow {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 760px) {
  .hero__scroll-cue { display: none; }
}

@media (max-width: 760px) {
  .hero__title-lg { font-size: 42px; }
  .hero--dark { min-height: auto; padding: 100px 0 80px; }
  .hero__cursor-glow { display: none; }
}

/* ================= SECOES GERAIS ================= */

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--paper { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section__title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.section__note {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* ================= PROBLEMAS ================= */

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.problem-item {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--border);
}

.problem-item:last-child { border-right: none; }

.problem-item__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-dimmer);
  margin-bottom: 12px;
  display: block;
}

.problem-item p { font-size: 15px; color: var(--ink); line-height: 1.6; }

/* ================= SERVICOS ================= */

.service-list { border-top: 1px solid var(--border); }

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 82px 52px 1fr 1.35fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 20px;
  margin: 0 -20px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: padding 0.45s var(--ease);
}

.service-row:hover { padding-left: 32px; padding-right: 32px; }

/* Brilho que segue o cursor dentro da linha, no mesmo espirito do
   hero__cursor-glow — mantem a linguagem visual coerente com o hero. */
.service-row__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 120, 171, 0.09), transparent 70%);
  transition: opacity 0.45s ease;
}

.service-row:hover .service-row__glow { opacity: 1; }

.service-row__num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--border);
  transition: -webkit-text-stroke 0.4s ease;
}

.service-row:hover .service-row__num {
  -webkit-text-stroke: 1.2px transparent;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.service-row__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink-dim);
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease, transform 0.4s var(--ease);
}

.service-row__icon svg { width: 20px; height: 20px; }

.service-row:hover .service-row__icon {
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}

.service-row__title { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; transition: transform 0.45s var(--ease); }
.service-row:hover .service-row__title { transform: translateX(6px); }
.service-row__desc { font-size: 14.5px; color: var(--ink-dim); line-height: 1.65; }

@media (max-width: 760px) {
  .service-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; padding: 28px 0; }
  .service-row:hover { padding-left: 0; padding-right: 0; }
  .service-row__icon { order: 1; width: 38px; height: 38px; }
  .service-row__num { order: 2; margin-left: auto; font-size: 22px; }
  .service-row__title,
  .service-row__desc,
  .service-row > .link-arrow { flex-basis: 100%; }
  .service-row__title { order: 3; }
  .service-row__desc { order: 4; }
  .service-row > .link-arrow { order: 5; }
}

/* ================= NESVAFLOW (vitrine de produto) ================= */

.nesvaflow__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.nesvaflow__desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 28px;
}

.nesvaflow__desc strong { color: var(--ink); }

.nesvaflow__stats {
  list-style: none;
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.nesvaflow__stats strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.nesvaflow__stats span { font-size: 12.5px; color: var(--ink-dimmer); }

/* O arredondamento e o clip precisam ficar num elemento SEM
   transform-style:preserve-3d — os dois juntos no mesmo elemento fazem
   o overflow:hidden falhar em alguns navegadores (a borda de baixo ficava
   quadrada). Por isso o raio/sombra moraram no wrap (plano, sem 3D) e so'
   o miolo (.nesvaflow__shot) e' quem realmente inclina. */
.nesvaflow__shot-wrap {
  perspective: 1200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.nesvaflow__shot-wrap:hover { box-shadow: 0 30px 60px rgba(0, 69, 147, 0.22); }

.nesvaflow__shot {
  transform-style: preserve-3d;
  will-change: transform;
}

.nesvaflow__shot img { width: 100%; display: block; pointer-events: none; }

@media (max-width: 860px) {
  .nesvaflow__inner { grid-template-columns: 1fr; }
  .nesvaflow__stats { flex-wrap: wrap; gap: 24px; }
}

/* ================= QUEM SOMOS ================= */

.about__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.about__photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}

/* Com o texto mais longo (Quem Somos aprofundado), a foto acompanha o
   scroll em vez de ficar "presa" no topo com uma sobra grande de espaco
   vazio ao lado do texto — so' em desktop, onde as colunas existem. */
@media (min-width: 761px) {
  .about__photo { position: sticky; top: 104px; }
}

/* object-position enviesado pro topo — a foto e' um retrato bem vertical
   (9:16), com o rosto no terco superior; centralizar cortaria o rosto. */
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.about__text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 16px;
}

.about__text strong { color: var(--ink); }

.about__name {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.about__role { font-size: 13px; color: var(--ink-dimmer); }

@media (max-width: 760px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { max-width: 280px; }
}

/* ================= CTA FINAL ================= */
/* Mesmo tom escuro do hero/rodape (nao mais um azul solido destoando do
   resto) — assim CTA + rodape formam uma unica "zona escura" continua no
   final do site, em vez de dois blocos desencontrados. */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  text-align: center;
  background: #05070a;
  color: #fff;
}

.cta-final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(0, 202, 209, 0.14), transparent 70%);
  pointer-events: none;
}

.cta-final__shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-final__shape { position: absolute; opacity: 0.8; }

.cta-final__inner { position: relative; z-index: 2; }

.cta-final h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 14px; }
.cta-final__sub { opacity: 0.62; margin-bottom: 34px; font-size: 15.5px; }
.cta-final .btn--primary { background: #fff; color: var(--navy); }
.cta-final .btn--primary:hover { background: var(--bg-alt); }

/* ================= FOOTER ================= */
/* Escuro de proposito — faz par com o hero (mesmo tom), fechando o site
   com o mesmo peso visual que ele abriu. */

.footer {
  position: relative;
  overflow: hidden;
  background: #05070a;
  color: rgba(255, 255, 255, 0.85);
  padding: 76px 0 0;
}

.footer__aurora {
  position: absolute;
  inset: auto 0 0 0;
  height: 320px;
  background: radial-gradient(ellipse 60% 100% at 15% 100%, rgba(0, 202, 209, 0.16), transparent 70%),
              radial-gradient(ellipse 50% 100% at 85% 100%, rgba(0, 69, 147, 0.28), transparent 70%);
  pointer-events: none;
}

.footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin-bottom: 14px;
}

.footer__brand em { font-style: normal; color: var(--cyan); }
.footer__mark { width: 24px; height: 24px; object-fit: contain; }

.footer__tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer__col { display: flex; flex-direction: column; gap: 12px; }

.footer__col a { font-size: 14px; color: rgba(255, 255, 255, 0.75); transition: color 0.15s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0 26px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__top-link { color: rgba(255, 255, 255, 0.55); transition: color 0.15s var(--ease); }
.footer__top-link:hover { color: var(--cyan); }

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* ================= TEXTURA DE GRAO ================= */

/* Camada de ruido bem sutil sobre a pagina inteira — e' o que separa um
   site "chapado" de um com profundidade/textura, sem pesar (SVG puro,
   sem imagem baixada). */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================= CURSOR CUSTOMIZADO ================= */

/* So' em telas com mouse de verdade (pointer:fine) — em touch isso so'
   atrapalharia, entao fica escondido por padrao e so' o JS liga quando
   detecta que da' pra usar. */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--navy);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--navy);
  transition: opacity 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cursor-ring.is-hovering { width: 56px; height: 56px; border-color: var(--cyan); }
.cursor-ring.is-dark { border-color: rgba(255, 255, 255, 0.8); }
.cursor-dot.is-dark { background: #fff; }

body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: none; }

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ================= MARQUEE ================= */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 0;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
  will-change: transform;
}

.marquee__track span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--ink-dimmer);
  padding: 0 14px;
}

.marquee__dot { color: var(--cyan) !important; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= RESPONSIVO ================= */

@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-item { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  /* .cta-final e .footer nao herdam .section (paddings proprios, calcados
     no tamanho de desktop) — sem isso o vao entre o botao de contato e o
     rodape ficava desproporcional numa tela de 390px de largura. */
  .hero { padding: 72px 0 64px; }
  .cta-final { padding: 72px 0 64px; }
  .footer { padding: 56px 0 0; }
  .footer__top { padding-bottom: 36px; }
  .footer__bottom { padding: 18px 0 22px; }
}

/* ================= PREFERS-REDUCED-MOTION ================= */
/* As animacoes controladas por JS (GSAP) ja' checam isso e se desligam
   sozinhas — essas aqui sao as poucas que rodam so' via CSS puro. */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__scroll-cue-line { animation: none; }
  .grain-overlay { display: none; }
}
