/* =========================================================
   Grupo NAV · Site institucional v1.0
   Paleta e tipografia conforme Manual de identidade visual v1.1
   ========================================================= */

:root {
  /* Cores oficiais */
  --navy: #061A3D;        /* Navy Profundo · base */
  --navy-mid: #0C2A63;    /* Navy Médio · superfícies */
  --electric: #2F6BFF;    /* Azul Elétrico · ação */
  --cyan: #22D3EE;        /* Ciano · inovação (≤ 5%) */
  --cyan-light: #1FB6CF;  /* fim do traço em fundo claro */
  --ice: #EEF4FF;         /* Branco Gelo */
  --gray: #8A9BB8;        /* Cinza Azulado */
  --ink-2: #4B5B78;       /* texto secundário em fundo claro */
  --line-light: #D5DEEE;
  --line-dark: rgba(138, 155, 184, .16);
  --white: #FFFFFF;

  --wave: linear-gradient(90deg, var(--electric), var(--cyan));
  --wave-light: linear-gradient(90deg, var(--electric), var(--cyan-light));

  --f-brand: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ice);
  font: 400 16px/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(47, 107, 255, .35); color: var(--white); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--electric); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--f-brand); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 400; }
h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 600; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--wave); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--gray); max-width: 640px; }
.grad-text { background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light .grad-text { background: var(--wave-light); -webkit-background-clip: text; background-clip: text; }
strong { font-weight: 600; color: var(--white); }
.light strong { color: var(--navy); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--electric);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--white);
  font: 500 15px/1 var(--f-text); letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 10px 30px -12px rgba(47, 107, 255, .7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(47, 107, 255, .9); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(238, 244, 255, .28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ice); }
.light .btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(6, 26, 61, .25); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--electric); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow, .section-dark .link-arrow { color: #7FA5FF; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.header.scrolled {
  background: rgba(6, 26, 61, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; color: rgba(238, 244, 255, .82); transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--white); background: rgba(238, 244, 255, .06); }
.header .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ice); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px; background: rgba(6, 26, 61, .97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav .btn { margin-top: 10px; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .header { background: rgba(6, 26, 61, .97); }
}
@media (min-width: 981px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(47, 107, 255, .13) 0%, rgba(47, 107, 255, 0) 70%), var(--navy);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { /* leve vinheta inferior para leitura do texto */
  content: ""; position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(180deg, rgba(6, 26, 61, 0) 0%, rgba(6, 26, 61, .85) 70%, var(--navy) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding-top: 45vh; padding-bottom: clamp(40px, 8vh, 80px);
}
.hero-content > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revealed .hero-content > * { opacity: 1; transform: none; }
.revealed .hero-content > *:nth-child(2) { transition-delay: .12s; }
.revealed .hero-content > *:nth-child(3) { transition-delay: .24s; }
.revealed .hero-content > *:nth-child(4) { transition-delay: .36s; }
.hero-signature {
  font: 300 clamp(13px, 1.3vw, 16px)/1 var(--f-brand); letter-spacing: .6em; text-transform: uppercase;
  color: var(--ice); margin-bottom: 22px; padding-left: .6em;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 300; letter-spacing: -.02em; max-width: 22ch; margin: 0 auto; }
.hero h1 b { font-weight: 600; }
.hero .lead { margin: 22px auto 0; text-align: center; max-width: 620px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-replay, .hero-theme {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(6, 26, 61, .5); cursor: pointer;
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gray);
  opacity: 0; transition: opacity .6s, color .2s, border-color .2s;
}
.revealed .hero-replay, .revealed .hero-theme { opacity: 1; }
.hero-theme { right: auto; left: var(--gutter); }
.hero-replay:hover, .hero-theme:hover { color: var(--ice); border-color: rgba(238, 244, 255, .4); }
.hero-replay svg, .hero-theme svg { width: 14px; height: 14px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(238, 244, 255, .3); border-radius: 12px; opacity: 0; transition: opacity .6s .6s; }
.revealed .scroll-cue { opacity: 1; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 720px) {
  .hero-content { padding-top: 39vh; }
  .hero-replay { display: none; }
  .hero-theme { left: auto; right: var(--gutter); top: calc(var(--header-h) + 8px); bottom: auto; }
  .scroll-cue { display: none; }
  .hero-actions .btn { width: 100%; }
}
@media (max-height: 700px) and (min-width: 721px) { .hero-content { padding-top: 45vh; } .hero .lead { display: none; } }

/* ---------- Faixa de números ---------- */
.stats { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--navy); position: relative; z-index: 2; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 300 clamp(30px, 3.4vw, 42px)/1 var(--f-brand); color: var(--white); letter-spacing: -.01em; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--gray); line-height: 1.4; }
@media (max-width: 820px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-dark { background: var(--navy); }
.section-mid { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%); }
.light { background: var(--ice); color: var(--navy); }
.light .lead { color: var(--ink-2); }
.light .eyebrow { color: var(--ink-2); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 900px) { .section-head.split { grid-template-columns: 1fr; gap: 20px; } }

/* marca d'água em versão linha */
.watermark { position: absolute; pointer-events: none; opacity: .06; width: min(900px, 90vw); }
.light .watermark { opacity: .07; }

/* ---------- Sobre / O grupo ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-text p + p { margin-top: 18px; }
.about-text p { color: var(--ink-2); font-size: 17px; }
.about-text h2 { margin: 20px 0 26px; }
.about-visual { position: relative; }
.name-card {
  background: var(--navy); color: var(--ice); border-radius: 24px; padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(6, 26, 61, .55);
}
.name-card .symbol { width: 58%; margin: 6px auto 30px; }
.name-rows { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.name-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.name-row b { font: 500 15px/1.2 var(--f-mono); color: var(--white); }
.name-row span { color: var(--gray); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pillar { padding: 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line-light); }
.pillar i { display: block; width: 30px; height: 30px; margin-bottom: 12px; color: var(--electric); }
.pillar b { display: block; font: 600 16px/1.3 var(--f-brand); }
.pillar span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .name-row { grid-template-columns: 96px 1fr; } }

/* ---------- Soluções ---------- */
.solutions-group + .solutions-group { margin-top: clamp(72px, 9vw, 112px); }
.group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.group-head h3 { font: 300 clamp(26px, 3vw, 34px)/1.15 var(--f-brand); }
.group-head p { color: var(--gray); margin-top: 8px; max-width: 560px; }
.group-tag { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 12px; }

.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-hosting { grid-template-columns: repeat(6, 1fr); }
.cards-hosting .card:nth-child(1), .cards-hosting .card:nth-child(2) { grid-column: span 3; }
.cards-hosting .card:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 1060px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 .card:last-child { grid-column: span 2; }
  .cards-hosting { grid-template-columns: 1fr 1fr; }
  .cards-hosting .card:nth-child(n) { grid-column: auto; }
  .cards-hosting .card:last-child { grid-column: span 2; }
}
@media (max-width: 700px) {
  .cards-3, .cards-hosting { grid-template-columns: 1fr; }
  .cards-3 .card:last-child, .cards-hosting .card:last-child { grid-column: auto; }
}

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 42, 99, .55) 0%, rgba(12, 42, 99, .25) 100%);
  border: 1px solid var(--line-dark);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  overflow: hidden; isolation: isolate;
}
.card::before { /* traço da marca no topo, aparece no hover */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--wave);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.card::after { /* brilho que segue o cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, .14), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, .35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(47, 107, 255, .12); color: #7FA5FF; border: 1px solid rgba(47, 107, 255, .22);
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.ai { color: var(--cyan); background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .22); }
.card-kicker { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.card h4 { font: 600 clamp(22px, 2.2vw, 26px)/1.15 var(--f-brand); color: var(--white); }
.card .card-lead { margin-top: 12px; color: rgba(238, 244, 255, .78); font-size: 15.5px; }
.card ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; }
.card li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--gray); line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--electric); }
.card .ideal { margin-top: 18px; font-size: 13.5px; color: var(--gray); }
.card .ideal b { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ice); display: block; margin-bottom: 6px; }
.card .card-foot { margin-top: auto; padding-top: 24px; }

/* ---------- Como navegamos (processo) ---------- */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.route-line { position: absolute; left: 0; right: 0; top: 28px; height: 60px; pointer-events: none; }
.route-line path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.route.in .route-line path { stroke-dashoffset: 0; }
.step { position: relative; padding-top: 104px; }
.step-dot {
  position: absolute; top: 44px; left: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--electric); display: grid; place-items: center;
}
.step-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.step small { font: 500 12px/1 var(--f-mono); color: var(--gray); letter-spacing: .12em; }
.step h4 { font: 600 21px/1.2 var(--f-brand); margin: 10px 0 10px; color: var(--white); }
.step p { color: var(--gray); font-size: 15px; }
@media (max-width: 900px) {
  .route { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .route-line { display: none; }
  .step { padding-top: 56px; }
  .step-dot { top: 12px; }
}
@media (max-width: 560px) { .route { grid-template-columns: 1fr; } }

/* ---------- Clientes (marquee) ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee var(--speed, 48s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.logo-tile {
  flex: 0 0 auto; width: 220px; height: 112px; border-radius: 16px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line-light); padding: 22px 30px;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.logo-tile img { max-height: 58px; width: auto; max-width: 100%; filter: grayscale(1) opacity(.4); transition: filter .4s; }
.logo-tile:hover { border-color: rgba(47, 107, 255, .4); box-shadow: 0 18px 40px -24px rgba(6, 26, 61, .45); transform: translateY(-3px); }
.logo-tile:hover img { filter: none; }
.clients-note { margin-top: 36px; text-align: center; font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) { .logo-tile { width: 160px; height: 88px; padding: 16px 20px; } }

/* ---------- Sistemas entregues ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line-dark); background: transparent; color: var(--gray); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: all .2s; }
.filter:hover { color: var(--ice); border-color: rgba(238, 244, 255, .35); }
.filter.active { background: var(--electric); border-color: var(--electric); color: var(--white); }
.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .systems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .systems { grid-template-columns: 1fr; } }
.system {
  border-radius: var(--radius); overflow: hidden; background: rgba(12, 42, 99, .35); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s, opacity .35s;
}
.system:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, .35); }
.system.hide { display: none; }
.system-media { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 40%, var(--navy-mid), var(--navy)); display: grid; place-items: center; overflow: hidden; }
.system-media img.shot { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.system:hover .system-media img.shot { transform: scale(1.04); }
.system-media img.ph { width: 42%; opacity: .9; }
.system-media .badge { position: absolute; left: 14px; top: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(6, 26, 61, .75); border: 1px solid var(--line-dark); font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ice); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.system-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.system-body small { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.system-body h4 { font: 600 20px/1.2 var(--f-brand); color: var(--white); }
.system-body p { color: var(--gray); font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tags span { font: 500 11.5px/1 var(--f-mono); padding: 6px 9px; border-radius: 8px; background: rgba(238, 244, 255, .05); color: rgba(238, 244, 255, .7); }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .testimonials { grid-template-columns: 1fr; } }
.quote { margin: 0; position: relative; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote .qmark { width: 34px; height: 34px; color: var(--electric); }
.quote blockquote { margin: 0; font-size: 16.5px; color: var(--navy); line-height: 1.6; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--navy); flex-shrink: 0; display: grid; place-items: center; color: var(--ice); font: 600 16px/1 var(--f-brand); }
.quote footer b { display: block; font: 600 15px/1.3 var(--f-brand); color: var(--navy); }
.quote footer span { display: block; font-size: 13.5px; color: var(--ink-2); }
.quote.placeholder { border-style: dashed; border-color: #B8C6E0; background: rgba(255, 255, 255, .55); }
.quote.placeholder blockquote { color: var(--ink-2); }
.quote.placeholder .avatar { background: var(--line-light); }
.quote.placeholder .avatar img { width: 70%; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background: radial-gradient(ellipse 80% 120% at 85% 50%, var(--navy-mid), var(--navy));
  border: 1px solid var(--line-dark); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta p { color: var(--gray); margin-top: 14px; max-width: 520px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .watermark { right: -120px; top: 50%; transform: translateY(-50%); width: 560px; opacity: .1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { margin: 18px 0 20px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(47, 107, 255, .12); color: #7FA5FF; }
.contact-list i svg { width: 20px; height: 20px; }
.contact-list small { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.contact-list a, .contact-list span { color: var(--ice); font-size: 15.5px; }
.contact-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.form { background: rgba(12, 42, 99, .4); border: 1px solid var(--line-dark); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--gray); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px;
  background: rgba(6, 26, 61, .7); color: var(--ice); border: 1px solid rgba(138, 155, 184, .25);
  font: 400 15.5px/1.4 var(--f-text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9BB8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field select option { background: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: rgba(138, 155, 184, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 4px rgba(47, 107, 255, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D64545; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--gray); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--electric); flex-shrink: 0; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 14.5px; color: var(--gray); min-height: 1.4em; }
.form-status.ok { color: var(--cyan); }
.form-status.err { color: #FF8A8A; }
.hp { position: absolute !important; left: -9999px !important; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy); border-top: 1px solid var(--line-dark); padding: 80px 0 0; overflow: hidden; }
.footer .watermark { left: 50%; bottom: -150px; transform: translateX(-50%); width: 1100px; opacity: .04; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer-brand img { width: 180px; margin-left: -14px; }
.footer-brand p { margin-top: 18px; color: var(--gray); font-size: 14.5px; max-width: 300px; }
.footer h5 { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); margin: 0 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer li a, .footer li span { font-size: 14.5px; color: var(--gray); transition: color .2s; }
.footer li a:hover { color: var(--white); }
.footer .contact-mini li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-mini svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: #7FA5FF; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--ice); transition: all .25s var(--ease); }
.socials a:hover { background: var(--electric); border-color: var(--electric); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-companies { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.company { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line-dark); background: rgba(12, 42, 99, .25); }
.company img { width: 64px; flex-shrink: 0; }
.company b { display: block; font: 300 13px/1.3 var(--f-brand); letter-spacing: .32em; white-space: nowrap; text-transform: uppercase; color: var(--white); }
.company span { display: block; margin-top: 6px; font: 400 12.5px/1.4 var(--f-mono); color: var(--gray); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0 32px; margin-top: 40px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--gray); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 16px; height: 16px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-companies { grid-template-columns: 1fr; } .footer-contact { grid-column: 1 / -1; } }

/* ---------- WhatsApp flutuante ---------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--electric); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(47, 107, 255, .8); transition: transform .25s var(--ease), opacity .3s;
  opacity: 0; transform: translateY(12px); pointer-events: none;
}
.float-wa.show { opacity: 1; transform: none; pointer-events: auto; }
.float-wa:hover { transform: translateY(-3px); }
.float-wa svg { width: 26px; height: 26px; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Páginas em construção (/tecnologia, /hosting) ---------- */
.soon { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(47, 107, 255, .13) 0%, rgba(47, 107, 255, 0) 70%), var(--navy); }
.soon canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.soon-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); }
.soon-top img { height: 36px; width: auto; }
.soon-main { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44vh var(--gutter) 48px; }
.soon .signature { font: 300 clamp(14px, 1.6vw, 19px)/1.2 var(--f-brand); letter-spacing: .52em; padding-left: .52em; text-transform: uppercase; color: var(--white); }
.soon .badge { margin: 26px 0 18px; color: var(--cyan); }
.soon .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.soon h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 300; max-width: 22ch; }
.soon .lead { margin: 16px auto 0; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; max-width: 720px; }
.chips a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 14px; color: var(--ice); background: rgba(12, 42, 99, .35); transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--electric); background: rgba(47, 107, 255, .15); }
.soon .hero-actions { margin-top: 30px; }
.soon-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px var(--gutter) 26px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--gray); }
.soon-foot a:hover { color: var(--white); }
.soon .soon-main > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.soon.revealed .soon-main > * { opacity: 1; transform: none; }
@media (max-width: 720px) { .soon-main { padding-top: 40vh; } .soon .hero-actions .btn { width: 100%; } }
@media (max-width: 420px) { .company b { letter-spacing: .18em; font-size: 12px; } }

/* ---------- Hero claro (heroTema: 'claro') ---------- */
.brand .logo-light { display: none; }
.hero::before { /* camada clara, entra com fade ao alternar o tema */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(ellipse 70% 60% at 50% 30%, var(--ice) 0%, rgba(238, 244, 255, 0) 70%), var(--white);
}
.hero::after { transition: opacity .6s var(--ease); }
.hero-light .hero { color: var(--navy); }
.hero-light .hero::before { opacity: 1; }
.hero-light .hero::after { opacity: 0; }
.hero, .hero-signature, .hero .lead, .hero .btn-ghost, .header .nav a, .menu-toggle span { transition: color .5s, background-color .5s, box-shadow .5s; }
.hero-light .hero-signature { color: var(--navy); }
.hero-light .hero .lead { color: var(--ink-2); }
.hero-light .hero .grad-text { background: var(--wave-light); -webkit-background-clip: text; background-clip: text; }
.hero-light .hero .btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(6, 26, 61, .25); }
.hero-light .hero .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.hero-light .hero-replay, .hero-light .hero-theme { background: rgba(255, 255, 255, .7); border-color: var(--line-light); color: var(--ink-2); }
.hero-light .hero-replay:hover, .hero-light .hero-theme:hover { color: var(--navy); border-color: var(--navy); }
.hero-light .scroll-cue { border-color: rgba(6, 26, 61, .25); }
.hero-light .scroll-cue::after { background: var(--electric); }
/* header sobre o hero claro, antes de rolar */
.hero-light:not(.menu-open) .header:not(.scrolled) .logo-dark { display: none; }
.hero-light:not(.menu-open) .header:not(.scrolled) .logo-light { display: block; }
.hero-light:not(.menu-open) .header:not(.scrolled) .nav a:not(.btn) { color: var(--ink-2); }
.hero-light:not(.menu-open) .header:not(.scrolled) .nav a:not(.btn):hover,
.hero-light:not(.menu-open) .header:not(.scrolled) .nav a.active { color: var(--navy); background: rgba(6, 26, 61, .05); }
.hero-light:not(.menu-open) .header:not(.scrolled) .menu-toggle span { background: var(--navy); }
