/* ===== Fontes (servidas pelo próprio site, só latin e latin-ext) =====
   Inter variável (300–900). O nome do arquivo leva a versão: cache pra sempre. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/inter-v20-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/inter-v20-latin.woff2') format('woff2'); 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; }

/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Identidade NovaTech: preto/grafite + gradiente azul→roxo.
     Os nomes --gold-* vieram da base do site da IGM e foram mantidos pra não
     reescrever o CSS inteiro: aqui eles carregam os tons da NovaTech. */
  --bg: #050608;
  --bg-soft: #0a0b0e;
  --card: rgba(255,255,255,0.035);
  --card-hover: rgba(255,255,255,0.065);
  --border: rgba(255,255,255,0.08);
  --border-gold: rgba(101,148,240,0.45);
  --text: #f2f3f5;
  --text-muted: #a3a8b0;
  --text-faint: #6b7078;

  --gold-100: #c8d6ff;
  --gold-300: #8fb8ff;
  --gold-500: #5b93ef;
  --gold-700: #9b7cf0;
  --gold-glow: rgba(101,148,240,0.35);
  --gold-gradient: linear-gradient(135deg, #8fb8ff 0%, #7ea4f6 45%, #9b7cf0 100%);

  --container: 1160px;
  --ease: cubic-bezier(.16,.8,.24,1);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4,
.brand-word, .hero-title, .section-title, .cta-title,
.impact-col h3, .timeline-step h3, .person h3, .card h3, .step-num {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
#preloader-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.preloader-logo {
  position: relative;
  width: 92px; height: 92px;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease);
}
.preloader-logo.show { opacity: 1; filter: blur(0); }
#preloader.hide {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
body.no-scroll { overflow: hidden; height: 100vh; }

/* subtle film grain, keeps the black from looking flat/digital */
/* Texto real, só invisível visualmente — lido por buscadores e leitores de
   tela. Usado pra enriquecer H1/H2 com contexto sem alterar o design. */
.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;
}

.grain {
  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 (só desktop com mouse de verdade) ===== */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border: 1px solid rgba(101,148,240,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-50%,-50%,0);
  transition: width .25s var(--ease), height .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
  opacity: 0;
}
.cursor-ring.show { opacity: 1; }
.cursor-ring.active {
  width: 36px; height: 36px;
  background: rgba(101,148,240,0.1);
  border-color: rgba(101,148,240,0.85);
}
@media (pointer: coarse) {
  .cursor-ring { display: none; }
  /* sem hover no toque: o selo "Ampliar" fica sempre visível */
  .portfolio-img::after { opacity: 1; transform: none; }
  /* :hover pode "colar" no primeiro toque em navegadores mobile — sem
     isso, o card ficaria subindo 6px e parado ali, parecendo que se
     move verticalmente */
  .portfolio-card:hover { transform: none; }
}

/* ===== Botões magnéticos: deslocam sutilmente na direção do cursor ===== */
[data-magnetic] {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 18px;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 640px;
}

.body-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  margin-top: 18px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* CTA dourado: fundo escuro + borda com luz que percorre sozinha, sempre +
   glow vazando por baixo sempre visível — mesma família de efeito do
   novatechig.com.br, adaptada pra nossa paleta preto/dourado. */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.btn-gold {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(#0a0c14, #0a0c14) padding-box,
    conic-gradient(from var(--gradient-angle), transparent, var(--gold-500) 15%, var(--gold-100) 25%, var(--gold-500) 35%, transparent 50%) border-box;
  animation: btn-gradient-angle 3s linear infinite;
  transition: transform .35s var(--ease);
}
.btn-gold:hover, .btn-gold:focus-visible {
  transform: translateY(-2px);
}
.btn-gold:active { transform: translateY(1px); }
@keyframes btn-gradient-angle { to { --gradient-angle: 360deg; } }

.btn-gold::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%; inset-block-start: 50%;
  translate: -50% -50%;
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--gold-500), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, #000);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, #000);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.btn-gold:hover::before { opacity: 0.9; }

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.4) 0.6px, transparent 0);
  background-size: 6px 6px;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), #000, transparent 12% 88%, #000);
  -webkit-mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), #000, transparent 12% 88%, #000);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn-gold { animation: none; }
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: var(--border-gold);
  background: rgba(101,148,240,0.06);
}

.btn-small { padding: 10px 20px; font-size: 13.5px; }
.btn-large { padding: 17px 34px; font-size: 15.5px; }

/* ===== Header: full-width, colado no topo, com onda de partículas no fundo ===== */
/* O fundo com blur mora num ::before (não no .header em si) de propósito:
   backdrop-filter num ancestral vira o "containing block" de qualquer
   descendente position:fixed (spec CSS) — e o painel do menu mobile é
   fixed. Com o blur direto no .header, o menu ficava preso dentro da
   altura do próprio header (~70px) em vez de cobrir a tela inteira. */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .4s var(--ease);
  pointer-events: none;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,0.6);
}
.header.scrolled::before {
  background: rgba(0,0,0,0.82);
}
.header-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,184,255,0.3), transparent);
  pointer-events: none;
}
.header-inner {
  position: relative;
  z-index: 1;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: padding .4s var(--ease);
}
.header.scrolled .header-inner { padding: 13px 28px; }
.brand { display: flex; align-items: center; gap: 10px; justify-self: start; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; }
.brand-word {
  font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--text);
}

.nav { display: flex; gap: 34px; justify-self: center; }

.header-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold-gradient); transition: width .3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  position: relative; z-index: 101;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.55;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(101,148,240,0.14) 0%, rgba(101,148,240,0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-inner .eyebrow { text-align: center; }

.hero-title {
  font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 980px;
}

/* cada linha entra deslizando de dentro de uma máscara (efeito "cortina") */
.hero-title .line-mask { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero-title .line-inner {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease);
}
.hero-title .line-mask.in-view .line-inner { transform: translateY(0); }

.hero-title .strike { position: relative; }
.hero-title .strike::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 54%;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transform: translateY(-50%) rotate(-2deg);
  box-shadow: 0 0 14px var(--gold-glow);
}

.hero-sub {
  margin-top: 26px;
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* .scroll-hint só centraliza (via transform) — a classe .reveal (que também
   mexe em transform) fica no .scroll-hint-inner pra não entrar em conflito */
.scroll-hint {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-dot {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold-300), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-dot::after {
  content: '';
  position: absolute; top: -34px; left: 0; width: 100%; height: 34px;
  background: linear-gradient(var(--gold-100), transparent);
  animation: scrollFall 2.2s ease-in-out infinite;
}
@keyframes scrollFall {
  0% { transform: translateY(0); }
  100% { transform: translateY(68px); }
}

/* ===== Marquee ===== */
.marquee-section {
  position: relative;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-fade {
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}
.marquee-group span:not(.marquee-sep) {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-sep { color: var(--gold-300); font-size: 13px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Sections ===== */
.section { padding: 130px 0; }
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid { display: grid; gap: 22px; margin-top: 56px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Portfólio ===== */
.portfolio-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px;
}
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.carousel-btn {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);
}
.carousel-btn:hover:not(:disabled) {
  border-color: var(--border-gold);
  color: var(--gold-300);
  background: var(--card-hover);
}
.carousel-btn:disabled { opacity: 0.28; cursor: default; }

/* o trilho rola na horizontal; o padding vertical dá espaço pro card
   subir no hover sem ser cortado pelo overflow */
.portfolio-track {
  display: flex;
  gap: 22px;
  margin-top: 56px;
  padding: 10px 0;
  overflow-x: auto;
  /* sem isso, o eixo vertical vira "auto" também (regra do spec de
     overflow) e rolagem de mouse/trackpad ou o dedo no toque acabam
     rolando o trilho por alguns pixels em vez de passar pra página.
     Não usar touch-action: pan-x aqui — ele impede a página de rolar
     quando o dedo começa em cima do carrossel */
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.portfolio-track::-webkit-scrollbar { display: none; }

.portfolio-card {
  flex: 0 0 clamp(300px, 34vw, 430px);
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
  border-color: var(--border-gold);
}
.portfolio-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-img::after {
  content: 'Ampliar';
  position: absolute; right: 14px; bottom: 14px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(8,9,12,0.78);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.portfolio-card:hover .portfolio-img::after,
.portfolio-card:focus-visible .portfolio-img::after { opacity: 1; transform: none; }
.portfolio-card:focus-visible { outline: 1px solid var(--border-gold); outline-offset: 3px; }

/* ===== Visualizador ampliado ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 88px 88px 56px;
  background: rgba(3,4,6,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: min(1120px, 100%);
}
.lightbox-figure {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  width: 100%;
  transform: scale(.97);
  transition: transform .35s var(--ease);
}
.lightbox.open .lightbox-figure { transform: none; }
/* width/height auto faz a caixa do <img> ficar do tamanho exato da imagem
   renderizada — sem a sobra lateral que o object-fit deixava, e é dessa
   medida que as setas se penduram */
.lightbox-figure img {
  max-width: 100%; max-height: 68vh;
  width: auto; height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}
/* o arrasto horizontal é do visualizador (troca de foto); o vertical continua
   livre. Sem isso o navegador poderia tratar o gesto como "voltar página". */
.lightbox { touch-action: pan-y; }
/* a foto nova entra deslizando do lado de onde o dedo veio */
.lightbox-figure.swipe-next { animation: swipe-in-next .3s var(--ease); }
.lightbox-figure.swipe-prev { animation: swipe-in-prev .3s var(--ease); }
@keyframes swipe-in-next { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes swipe-in-prev { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.lightbox-caption { text-align: center; }
.lightbox-caption h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lightbox-caption p { font-size: 14px; color: var(--text-muted); }

.lightbox-close { position: absolute; top: 28px; right: 28px; }
/* --lb-img-w/h chegam do JS com a medida real da imagem aberta; o fallback
   vale só no instante antes dela carregar */
.lightbox-nav {
  position: absolute;
  top: calc(var(--lb-img-h, 100%) / 2);
  transform: translateY(-50%);
}
.lightbox-prev { left: calc(50% - var(--lb-img-w, 100%) / 2 - 62px); }
.lightbox-next { right: calc(50% - var(--lb-img-w, 100%) / 2 - 62px); }
.portfolio-meta { padding: 24px 26px 28px; }
.portfolio-meta h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.portfolio-meta p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
}

/* borda que acende seguindo o cursor, em vez de acender toda de uma vez */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), var(--gold-300), transparent 72%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(101,148,240,0.08);
  color: var(--gold-300);
  margin-bottom: 22px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* ===== Impact ===== */
.impact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: center;
}
/* card único com feixe de luz girando sozinho ao redor da borda inteira,
   sem depender de hover — só um retângulo maior (300% da largura do card)
   girando atrás, cortado pelo overflow:hidden do card em si */
.impact-card {
  position: relative;
  border-radius: 18px;
  padding: 1.5px;
  overflow: hidden;
}
.impact-card::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 300%;
  aspect-ratio: 1;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 268deg,
    rgba(143,184,255,0.8) 312deg,
    rgba(200,214,255,1) 328deg,
    rgba(143,184,255,0.8) 344deg,
    transparent 360deg
  );
  animation: impact-spin 10s linear infinite;
}
@keyframes impact-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.impact-card-inner {
  position: relative;
  display: flex;
  background: var(--bg-soft);
  border-radius: 16.5px;
  overflow: hidden;
}
.impact-col {
  flex: 1 1 auto;
  min-width: 0;
  padding: 32px 18px;
  border-right: 1px solid var(--border);
}
.impact-col:last-child { border-right: none; }
.impact-col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; min-width: 0; }
.impact-col-head h3 { min-width: 0; }
.impact-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(101,148,240,0.1);
  color: var(--gold-300);
}
.impact-icon svg { width: 17px; height: 17px; }
.impact-col h3 { font-size: 15.5px; font-weight: 700; }
.impact-col p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .impact-card::before { animation: none; }
}

/* ===== Timeline (Processo): pin + scroll horizontal ===== */
.timeline-section { padding-bottom: 0; }

.timeline-pin-wrap {
  position: relative;
}
.timeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  overflow: hidden;
}

.timeline-heading { text-align: center; }
.timeline-heading .eyebrow { display: flex; justify-content: center; }
.timeline-heading .section-title { max-width: 620px; margin: 0 auto; }

/* clip só na horizontal: com overflow:hidden o brilho (box-shadow) do card
   ativo era cortado rente à borda de cima e de baixo */
.timeline-track-wrap { width: 100%; overflow: hidden; overflow-x: clip; overflow-y: visible; }
.timeline-track {
  display: flex;
  gap: 26px;
  width: max-content;
  will-change: transform;
}

.timeline-step {
  position: relative;
  flex: 0 0 min(78vw, 380px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 34px;
  opacity: 0.4;
  /* sem transform: o card ativo só muda de destaque (opacidade, borda, brilho),
     nunca de tamanho ou posição */
  transition: opacity .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.timeline-step.active {
  opacity: 1;
  border-color: var(--border-gold);
  box-shadow: 0 0 46px -14px var(--gold-glow);
}
.timeline-step .step-num {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--gold-300);
  margin-bottom: 20px;
}
.timeline-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.timeline-step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; max-width: 280px; }

.timeline-progress {
  width: min(100%, 360px);
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 48px;
}
.timeline-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
}

/* fallback mobile/reduced-motion: sem pin, vira faixa de swipe horizontal nativa */
.timeline-pin-wrap.native-scroll { height: auto !important; }
.timeline-pin-wrap.native-scroll .timeline-sticky { position: static; height: auto; }
.timeline-pin-wrap.native-scroll .timeline-track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 24px 20px;
  -webkit-overflow-scrolling: touch;
}
.timeline-pin-wrap.native-scroll .timeline-track { transform: none !important; padding: 0 !important; }
.timeline-pin-wrap.native-scroll .timeline-step {
  opacity: 1;
  transform: none;
  scroll-snap-align: center;
  flex-basis: min(78vw, 340px);
}
.timeline-pin-wrap.native-scroll .timeline-progress { display: none; }

/* ===== About =====
   O grid pontilhado e o glow cobrem a seção inteira (não só a coluna do
   círculo) e se diluem gradualmente pras bordas — sem isso, mesmo sem
   borda visível, a área onde o grid "corta" ainda parecia um quadrado. */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.about-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.3;
  /* fade horizontal (sem problema de proporção do radial em containers
     bem mais largos que altos, que cortava reto no topo/base) */
  mask-image: linear-gradient(to left, black 38%, transparent 88%);
  -webkit-mask-image: linear-gradient(to left, black 38%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}
.about-grid::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle 240px at 78% 50%, rgba(101,148,240,0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.about-text { position: relative; z-index: 1; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px;
  font-size: 14.5px; font-weight: 600;
  color: var(--gold-300);
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

.about-visual {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
}

/* Globo dourado que "respira": imagem com mix-blend-mode screen (o preto do
   JPG some no fundo preto), anel base, duas órbitas achatadas, texto central
   e etiquetas flutuantes. */
.globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.globe::after {
  content: '';
  position: absolute; inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(101,148,240,0.3);
  box-shadow: inset 0 0 60px rgba(101,148,240,0.12), 0 0 46px rgba(101,148,240,0.08);
  pointer-events: none;
}
.globe-orbit {
  position: absolute;
  width: 85%; aspect-ratio: 1;
  border: 1px solid rgba(101,148,240,0.22);
  border-radius: 50%;
  pointer-events: none;
}
.globe-orbit-one { transform: rotate(55deg) scaleY(0.45); }
.globe-orbit-two { transform: rotate(-38deg) scaleY(0.6); }
/* A imagem já tem o preto transparente (o mesmo resultado do blend "screen" sobre
   fundo preto), então não precisa de mix-blend-mode: misturar cores a cada
   quadro era o que fazia o pulsar travar. Só opacidade + transform, numa
   camada própria da GPU. */
.globe img {
  width: 96%; height: 96%;
  object-fit: contain;
  opacity: 0.78;
  animation: globe-breathe 6s ease-in-out infinite;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
@keyframes globe-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.98); }
  50%      { opacity: 0.85; transform: scale(1.02); }
}
.globe-chip {
  position: absolute; right: 0; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(101,148,240,0.5);
  border-radius: 999px;
  background: rgba(8,9,12,0.88);
  box-shadow: 0 0 20px rgba(101,148,240,0.08);
  font-size: 11px; font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.globe-chip svg { width: 14px; height: 14px; color: var(--gold-300); }
.globe-chip-1 { top: 23%; }
.globe-chip-2 { top: 45%; right: -14px; }
.globe-chip-3 { top: 67%; }
@media (prefers-reduced-motion: reduce) {
  .globe img { animation: none; }
}
@media (max-width: 560px) {
  .globe-chip { padding: 6px 10px; font-size: 10px; gap: 6px; }
  .globe-chip svg { width: 12px; height: 12px; }
  .globe-chip-2 { right: -6px; }
}

/* ===== Team ===== */
.person { text-align: center; }
.person-avatar {
  width: 176px; height: 176px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
  color: var(--gold-100);
  background: var(--bg-soft);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 30px -8px var(--gold-glow) inset;
}
.person-avatar--photo { overflow: hidden; }
.person-avatar--photo img {
  width: 118%; height: 118%;
  object-fit: cover;
  object-position: 50% 10%;
}
.person-avatar--photo img.avatar-isaac { width: 150%; max-width: none; height: 150%; flex-shrink: 0; object-position: 50% 20%; }
.person-avatar--photo img.avatar-matheus { width: 156%; max-width: none; height: 156%; flex-shrink: 0; object-position: -6px 22px; }
.person h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.person-role { font-size: 13.5px; color: var(--text-muted); }

/* ===== CTA final ===== */
.cta-final {
  position: relative;
  padding: 150px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(101,148,240,0.16) 0%, rgba(101,148,240,0) 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 640px;
}
.cta-sub {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 440px;
  line-height: 1.7;
}
.cta-inner .btn { margin-top: 38px; }

/* ===== Footer ===== */
.footer { padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand .brand-mark { width: 42px; height: 42px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-title {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  /* o .nav vira position:fixed (some do fluxo), então a coluna do meio do
     grid desktop fica vazia e empurra o resto pro centro — em mobile o
     header só precisa de logo à esquerda e ações à direita */
  .header-inner { display: flex; justify-content: space-between; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: rgba(8,9,12,0.72);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 0 44px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 100;
  }
  .nav.nav-open { transform: translateX(0); }
  .nav a { font-size: 20px; color: var(--text); }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .portfolio-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .portfolio-track { margin-top: 32px; }
  .portfolio-card { flex-basis: min(82vw, 380px); }
  /* sobra no fim do trilho: sem ela o último card não consegue encostar à
     esquerda como os outros e fica deslocado, com a ponta do anterior à mostra */
  .portfolio-track::after { content: ''; flex: 0 0 max(0px, calc(100% - min(82vw, 380px) - 22px)); }

  .lightbox { padding: 76px 18px 24px; }
  .lightbox-close { top: 18px; right: 18px; }
  /* no mobile as setas voltam a se posicionar pela tela toda, embaixo da
     imagem — por isso o stage sai de cena como referência */
  .lightbox-stage { position: static; }
  .lightbox-nav { top: auto; bottom: 18px; transform: none; }
  .lightbox-prev { left: 50%; margin-left: -56px; }
  .lightbox-next { right: 50%; margin-right: -56px; }
  .lightbox-figure img { max-height: 56vh; }

  .impact-grid, .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .about-grid::before { mask-image: linear-gradient(to top, black 38%, transparent 88%); -webkit-mask-image: linear-gradient(to top, black 38%, transparent 88%); }
  .about-grid::after { background: radial-gradient(circle 200px at 50% 80%, rgba(101,148,240,0.16), transparent 70%); }

  .impact-card-inner { flex-direction: column; }
  .impact-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .impact-col:last-child { border-bottom: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .header-inner, .header.scrolled .header-inner { padding: 14px 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 130px; }
  .section { padding: 90px 0; }
}

/* celulares "Pro"/"Ultra" (iPhone 14 Pro Max, Galaxy S23 Ultra, Pixel
   7/8...) têm mais altura de tela que o iPhone 13/14 (844px), que é a
   referência que já ficou bem espalhada. Jogar toda a diferença de
   altura só no padding do topo/base ainda deixa o bloco de texto
   "flutuando" isolado no meio — porque nesses aparelhos (mais largos) o
   título quebra em menos linhas e o conteúdo em si já é mais baixo. Em
   vez disso, a diferença é repartida entre padding, os respiros
   internos (título → subtítulo → botões) e um leve aumento da fonte do
   título — assim o conteúdo ocupa mais altura por si só, em vez de
   sobrar espaço vazio nas pontas. */
@media (max-width: 560px) and (min-height: 880px) {
  .hero {
    padding-top: calc(70px + (100vh - 844px) * 0.15);
    padding-bottom: calc(130px + (100vh - 844px) * 0.15);
  }
  .hero-title { font-size: calc(34px + (100vh - 844px) * 0.06); }
  .hero-sub { margin-top: calc(26px + (100vh - 844px) * 0.25); }
  .hero-actions { margin-top: calc(40px + (100vh - 844px) * 0.25); }
}

/* ===== Telas baixas (celular em paisagem, janelas curtas) =====
   .hero e .timeline-sticky são pensados pra 100vh de altura "normal"
   (retrato). Em paisagem de celular essa altura despenca (~350-430px) e o
   conteúdo (título+subtítulo+botões / heading+card+barra de progresso) não
   cabe mais — como ambos têm overflow:hidden, o excesso simplesmente
   some cortado em vez de aparecer. Aqui a gente enxuga os espaçamentos
   verticais pra tudo voltar a caber dentro da tela. */
@media (max-height: 500px) {
  .hero {
    padding: 54px 0 14px;
  }
  .hero-title { font-size: clamp(22px, 4.4vw, 34px); line-height: 1.1; }
  .hero-sub { margin-top: 8px; font-size: 14px; }
  .hero-actions { margin-top: 10px; }
  .hero-actions .btn { padding: 10px 20px; }
  .scroll-hint { display: none; }

  .timeline-sticky { gap: 18px; }
  .timeline-heading .eyebrow { margin-bottom: 6px; }
  .timeline-heading .section-title { font-size: clamp(20px, 4vw, 28px); }
  .timeline-step { padding: 20px 24px; }
  .timeline-step .step-num { margin-bottom: 8px; }
  .timeline-step h3 { margin-bottom: 6px; }
  .timeline-progress { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .line-inner { transform: none; transition: none; }
  .scroll-dot::after { animation: none; }
  #preloader { display: none; }
  .cursor-ring { display: none; }
}


/* =====================================================================
   Soluções: lista na home + páginas individuais (/solucoes/<slug>/)
   Só classes novas (prefixo sol-), sempre com os tokens do :root.
   As páginas geradas por site/solucoes/build.mjs usam também .card,
   .btn, .eyebrow, .section-title e .cta-final, que já existem acima.
   ===================================================================== */

/* ----- Home: linhas clicáveis ----- */
.sol-rows { margin-top: 56px; border-bottom: 1px solid var(--border); }
.sol-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 112px minmax(0, 1fr) 190px 140px;
  align-items: center;
  column-gap: 28px;
  padding: 34px 20px;
  border-top: 1px solid var(--border);
  transition: background .4s var(--ease), opacity .8s var(--ease), transform .8s var(--ease);
}
.sol-row::before {
  content: '';
  position: absolute; left: 0; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--gold-gradient);
  transform: scaleY(0);
  transition: transform .45s var(--ease);
}
/* .is-active: no toque não há hover — quem acende é a linha que passa pelo
   meio da tela ao rolar (ver "Linhas que acendem no scroll" em js/main.js) */
.sol-row:focus-visible, .sol-row.is-active { background: var(--card); }
.sol-row:focus-visible::before, .sol-row.is-active::before { transform: scaleY(1); }
.sol-row:focus-visible { outline: 1px solid var(--border-gold); outline-offset: -1px; }
@media (hover: hover) {
  .sol-row:hover { background: var(--card); }
  .sol-row:hover::before { transform: scaleY(1); }
}

.sol-row-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--gold-300);
}
.sol-row-cat {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
}
.sol-row-main h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  margin-bottom: 8px;
  transition: color .3s var(--ease);
}
@media (hover: hover) { .sol-row:hover .sol-row-main h3 { color: var(--gold-300); } }
.sol-row.is-active .sol-row-main h3 { color: var(--gold-300); }
.sol-row-main p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; max-width: 520px; }
.sol-row-price { font-size: 14px; font-weight: 600; color: var(--text); }
.sol-row-cta {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--gold-300);
  white-space: nowrap;
}
.sol-row-cta .arrow { transition: transform .3s var(--ease); }
@media (hover: hover) { .sol-row:hover .sol-row-cta .arrow { transform: translateX(4px); } }
.sol-row.is-active .sol-row-cta .arrow { transform: translateX(4px); }
/* o traço entra de cima pra baixo e sai por baixo: ao rolar, parece que o
   dourado é passado de uma linha pra seguinte */
@media (hover: none) {
  .sol-row::before { transform-origin: bottom; }
  .sol-row.is-active::before { transform-origin: top; }
}

/* ----- Página da solução: hero ----- */
.sol-hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}
.sol-hero .hero-glow { top: 42%; }
.sol-hero-inner { position: relative; z-index: 2; }
.sol-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  margin-bottom: 34px;
  font-size: 12.5px;
  color: var(--text-faint);
}
.sol-crumb a { transition: color .25s var(--ease); }
.sol-crumb a:hover { color: var(--gold-300); }
.sol-crumb [aria-current] { color: var(--text-muted); }
.sol-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 980px;
}
.sol-lead {
  margin-top: 28px;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}
.sol-desc {
  margin-top: 22px;
  max-width: 600px;
  font-size: 16px; line-height: 1.7;
  color: var(--text-muted);
}
.sol-hero-foot {
  margin-top: 46px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 22px 48px;
}
.sol-price { display: flex; flex-direction: column; gap: 6px; }
.sol-price-label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint);
}
.sol-price-value { font-family: var(--font-display); font-size: 24px; font-weight: 700; }

/* ----- Página da solução: seções ----- */
.sol-section { padding: 110px 0; }
.sol-section .section-title { max-width: 560px; }
.sol-split {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 70px;
  align-items: start;
}
.sol-actions { margin-top: 34px; }
.sol-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--gold-300);
}

/* faixa com filete de luz no topo e brilho dourado discreto no canto */
.sol-glow { position: relative; overflow: hidden; }
.sol-glow::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,184,255,0.45), transparent);
  pointer-events: none;
}
.sol-glow::after {
  content: '';
  position: absolute; right: -180px; top: -220px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(101,148,240,0.10) 0%, rgba(101,148,240,0) 68%);
  pointer-events: none;
}
.sol-glow > .container { position: relative; z-index: 1; }

/* painel de destaques (intro) */
.sol-panel {
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 46px -18px var(--gold-glow);
  padding: 8px 32px;
}
.sol-panel-list { list-style: none; }
.sol-panel-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 16px; line-height: 1.5;
}
.sol-panel-list li:first-child { border-top: none; }

/* lista minimalista: linha fina + marcador dourado */
.sol-list { list-style: none; }
.sol-list li {
  position: relative;
  padding: 20px 0 20px 30px;
  border-top: 1px solid var(--border);
  font-size: 16px; line-height: 1.6;
}
.sol-list li:last-child { border-bottom: 1px solid var(--border); }
.sol-list li::before {
  content: '◆';
  position: absolute; left: 0; top: 22px;
  font-size: 11px;
  color: var(--gold-300);
}

/* grades de painéis (usam .card: borda dourada que segue o cursor) */
.sol-grid { display: grid; gap: 22px; margin-top: 56px; }
.sol-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sol-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sol-card { padding: 34px 30px; }
.sol-card .sol-num { display: block; margin-bottom: 22px; }
.sol-card h3 { font-size: 18px; margin-bottom: 12px; }
.sol-note {
  margin-top: 34px;
  max-width: 620px;
  font-size: 13.5px; line-height: 1.65;
  color: var(--text-faint);
}

/* como funciona: linha do tempo vertical */
.sol-sticky { position: sticky; top: 120px; }
.sol-timeline { list-style: none; position: relative; padding-left: 44px; }
.sol-timeline::before {
  content: '';
  position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--gold-500), var(--border));
}
.sol-tl-item { position: relative; padding-bottom: 50px; }
.sol-tl-item:last-child { padding-bottom: 0; }
.sol-tl-dot {
  position: absolute; left: -44px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold-300);
  box-shadow: 0 0 14px var(--gold-glow);
}
.sol-tl-item .sol-num { display: block; margin-bottom: 8px; }
.sol-tl-item h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.sol-tl-item p { font-size: 15px; color: var(--text-muted); line-height: 1.65; max-width: 480px; }

/* do início à entrega: 4 compromissos lado a lado */
.sol-trust {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 40px;
}
.sol-trust-item { position: relative; padding-top: 28px; border-top: 1px solid var(--border); }
.sol-trust-item::before {
  content: '';
  position: absolute; left: 0; top: -1px;
  width: 100%; height: 2px;
  background: var(--gold-gradient);
  /* a linha cresce da esquerda pra direita acompanhando o scroll: --p vai de
     0 a 1 conforme o item sobe pela tela (ver "Linhas que crescem com o
     scroll" em js/main.js) */
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
@media (prefers-reduced-motion: reduce) {
  .sol-trust-item::before { transform: scaleX(1); }
}
.sol-trust-item h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.sol-trust-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* investimento */
.sol-invest {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px 56px;
  padding: 52px 52px;
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 46px -18px var(--gold-glow);
}
.sol-invest-price {
  display: block;
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.15;
}
.sol-invest p { max-width: 540px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.sol-invest-actions { display: flex; flex-direction: column; gap: 14px; min-width: 280px; }
.sol-invest-actions [data-magnetic] { display: block; }
.sol-invest-actions .btn { width: 100%; justify-content: center; }

/* FAQ em acordeão (details nativo, funciona sem JS) */
.sol-faq { border-bottom: 1px solid var(--border); }
.sol-faq-item { border-top: 1px solid var(--border); }
.sol-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .3s var(--ease);
}
.sol-faq-item summary::-webkit-details-marker { display: none; }
.sol-faq-item summary:hover, .sol-faq-item[open] summary { color: var(--gold-300); }
.sol-faq-item summary:focus-visible { outline: 1px solid var(--border-gold); outline-offset: 4px; }
.sol-faq-icon {
  position: relative; flex-shrink: 0;
  width: 14px; height: 14px;
}
.sol-faq-icon::before, .sol-faq-icon::after {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 1.5px;
  background: var(--gold-300);
  transition: transform .35s var(--ease);
}
.sol-faq-icon::after { transform: rotate(90deg); }
.sol-faq-item[open] .sol-faq-icon::after { transform: rotate(0deg); }
.sol-faq-item p {
  padding: 0 40px 26px 0;
  font-size: 15px; line-height: 1.7;
  color: var(--text-muted);
}

/* faixa de contato no fim da página */
.sol-contact { border-top: 1px solid var(--border); }
.sol-contact-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  padding-top: 44px; padding-bottom: 44px;
}
.sol-contact-item { display: flex; flex-direction: column; gap: 8px; font-size: 15px; transition: color .25s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.sol-contact-item:hover { color: var(--gold-300); }

@media (max-width: 960px) {
  .sol-row {
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
      "num cat  cta"
      ".   main main"
      ".   price price";
    row-gap: 12px;
    padding: 28px 8px;
  }
  .sol-row-num { grid-area: num; }
  .sol-row-cat { grid-area: cat; }
  .sol-row-main { grid-area: main; }
  .sol-row-price { grid-area: price; color: var(--gold-300); }
  .sol-row-cta { grid-area: cta; }

  .sol-hero { padding: 150px 0 80px; }
  .sol-section { padding: 90px 0; }
  .sol-split { grid-template-columns: 1fr; gap: 36px; }
  .sol-sticky { position: static; }
  .sol-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sol-trust { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .sol-invest { padding: 38px 30px; }
  .sol-invest-actions { min-width: 0; width: 100%; }
  .sol-contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sol-hero { padding: 130px 0 70px; }
  .sol-section { padding: 72px 0; }
  .sol-grid-3, .sol-grid-2, .sol-trust { grid-template-columns: 1fr; }
  .sol-panel { padding: 4px 22px; }
  .sol-hero-foot .btn, .sol-actions .btn { white-space: normal; }
}

/* abertura já vista nesta sessão: nem pisca (ver script no <head> do index.html) */
html.skip-intro #preloader { display: none; }

/* Linhas das demonstrações (home e página /demonstracoes/). O visual da tela
   cheia fica em css/demos.css, carregado só naquela página. */
.demo-home-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}
.demo-home-desc { font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 400px; }
.demo-rows { margin-top: 46px; }
.demo-row { grid-template-columns: 56px minmax(0, 1fr) 140px; }
.demo-row .sol-row-main h3 { font-size: 20px; }
.demo-rows + .link-arrow { margin-top: 34px; }

@media (max-width: 960px) {
  .demo-home-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .demo-rows { margin-top: 32px; }
  .demo-row { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "num main cta"; row-gap: 0; }
  .demo-row .sol-row-num { grid-area: num; }
  .demo-row .sol-row-main { grid-area: main; }
  .demo-row .sol-row-cta { grid-area: cta; }
  .demo-row .sol-row-main h3 { font-size: 17px; }
}


/* =====================================================================
   NovaTech: marca, equipe e WhatsApp flutuante
   ===================================================================== */

/* Marca: logo redondo + "Nova" branco e "Tech" no gradiente */
.brand-word { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand-word em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-word {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 21px; margin-bottom: 18px;
}
.footer-brand .footer-word .brand-mark { width: 38px; height: 38px; margin-bottom: 0; }

/* Preloader: logo + nome entram juntos em blur-in */
.preloader-logo {
  width: auto; height: auto;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.preloader-logo img { width: 92px; height: 92px; border-radius: 50%; }
.preloader-logo .brand-word { font-size: 26px; }

/* Títulos em Inter: um pouco mais de peso e menos respiro que na fonte mono */
.hero-title, .sol-title { font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.section-title, .cta-title { font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.eyebrow { letter-spacing: 0.2em; }
.sol-row-cat { letter-spacing: 0.14em; }

/* Equipe: dois sócios lado a lado */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.team-grid { max-width: 640px; margin-left: auto; margin-right: auto; }
.person-avatar--photo img { width: 100%; height: 100%; object-position: 50% 30%; }
.team-bio {
  max-width: 560px; margin: 46px auto 0;
  text-align: center;
  color: var(--text-muted); font-size: 15.5px; line-height: 1.7;
}
#time .eyebrow, #time .section-title { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 300;
  display: flex; align-items: center; gap: 10px;
}
.wa-float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-gradient);
  color: #06070a;
  box-shadow: 0 10px 34px -8px var(--gold-glow);
  transition: transform .3s var(--ease);
}
.wa-float-btn svg { width: 27px; height: 27px; }
.wa-float:hover .wa-float-btn { transform: scale(1.08); }
.wa-float-tip {
  font-size: 12.5px; font-weight: 600;
  background: #17191d; border: 1px solid var(--border);
  padding: 7px 12px; border-radius: 8px;
  opacity: 0; transform: translateX(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: none; }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float-btn { width: 50px; height: 50px; }
}

/* ===== Portfólio: categorias + um card por projeto, todos do mesmo tamanho =====
   Cada card é um projeto; as outras fotos dele aparecem ao abrir o
   visualizador e arrastar pro lado (data-gallery, ver js/main.js). */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.portfolio-filter {
  font: inherit; font-size: 13.5px; font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.portfolio-filter:hover { color: var(--text); border-color: var(--border-gold); }
.portfolio-filter.is-active {
  color: #06070a;
  background: var(--gold-gradient);
  border-color: transparent;
}
.portfolio-filters + .portfolio-track { margin-top: 30px; }
.portfolio-card[hidden] { display: none; }

/* mesma proporção de capa em todos os cards */
.portfolio-img { aspect-ratio: 16 / 10; }
.portfolio-img img { object-position: 0 0; }
/* o selo da capa diz quantas fotos o projeto tem */
.portfolio-img::after { content: attr(data-fotos); }

.portfolio-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 10px;
}
/* descrição sempre em 2 linhas: os cards ficam com a mesma altura */
.portfolio-meta h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portfolio-meta p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.6em);
}
.lightbox-nav[hidden] { display: none; }
