/* =====================================================================
   LVZTECH — ESTILO PRINCIPAL
   Organização: 1) Fontes  2) Cores/variáveis  3) Base  4) Componentes
                5) Seções  6) Animações  7) Responsivo
   ===================================================================== */

/* ---------- 1) FONTES (hospedadas no próprio site: mais rápido e sem enviar dados ao Google) ---------- */
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
}

/* ---------- 2) CORES E VARIÁVEIS ----------
   🎨 AQUI VOCÊ MUDA AS CORES DO SITE INTEIRO.
   Troque o valor e todas as partes que usam a cor mudam juntas. */
:root {
  --blue-900: #0D1830;   /* azul quase preto: fundo das seções escuras */
  --blue-800: #14254A;   /* azul escuro: cartões no fundo escuro */
  --blue-700: #1F3A78;   /* azul fosco profundo: títulos/realces */
  --blue-600: #2B4C9B;   /* 🔵 AZUL PRINCIPAL (fosco premium): botões e destaques */
  --blue-500: #3D63C4;   /* azul médio: hover */
  --blue-400: #6D8FE0;   /* azul claro: detalhes */
  --blue-100: #E4EBFA;   /* azul bem clarinho: fundos de ícones */
  --blue-50:  #F2F5FC;   /* fundo suave das seções alternadas */

  --white: #FFFFFF;      /* ⚪ fundo principal */
  --ink:   #0F1B33;      /* cor do texto principal */
  --muted: #55627D;      /* cor do texto secundário */
  --line:  #DCE3F1;      /* bordas finas */

  --font-display: 'Sora', system-ui, sans-serif;     /* fonte dos títulos */
  --font-body: 'Manrope', system-ui, sans-serif;     /* fonte dos textos */

  --radius: 18px;        /* arredondamento dos cartões */
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(20, 37, 74, .22);
  --shadow-lg: 0 30px 60px -20px rgba(20, 37, 74, .35);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 3) BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* Link "pular para o conteúdo" (acessibilidade) */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .7rem 1rem;
  background: var(--blue-600); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Barra de progresso do scroll */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
}

/* ---------- 4) COMPONENTES ---------- */

/* Texto com degradê azul */
.text-gradient {
  background: linear-gradient(100deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--blue-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient--light { background-image: linear-gradient(100deg, #9DB6F2, #DCE6FF); }

/* Etiqueta pequena acima dos títulos */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--blue-400); }

/* 🔘 BOTÕES — aqui você muda o visual de todos os botões */
.btn {
  --bg: var(--blue-600); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
/* brilho que passa por cima do botão no hover */
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn--primary { box-shadow: 0 12px 28px -10px rgba(43, 76, 155, .65); }
.btn--primary:hover { --bg: var(--blue-500); box-shadow: 0 18px 36px -12px rgba(43, 76, 155, .75); }
.btn--ghost { --bg: transparent; --fg: var(--blue-700); border-color: var(--line); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--blue-600); }
.btn--light { --bg: #fff; --fg: var(--blue-700); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Link com seta */
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--blue-600); text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-700)); color: #fff;
  font: 800 .95rem/1 var(--font-display); letter-spacing: -.03em; box-shadow: 0 8px 18px -8px rgba(43,76,155,.8);
}
.logo__text { font: 600 1.2rem/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.logo__text strong { font-weight: 800; color: var(--blue-600); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text strong { color: var(--blue-400); }

/* Celular (moldura das telas) */
.phone {
  margin: 0; padding: 8px; border-radius: 30px; background: linear-gradient(160deg, #26324d, #0a1222);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone img { border-radius: 23px; width: 100%; }
.phone figcaption { text-align: center; color: #b9c6e4; font-size: .85rem; font-weight: 700; padding: .7rem 0 .2rem; }

/* ---------- CABEÇALHO ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, transform .4s var(--ease);
}
/* O vidro fosco fica num "::before" e não no header: se ficasse no header, o menu do celular
   (position: fixed) ficaria preso dentro da barra de 72px depois de rolar a página */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
/* Se a pessoa navegar pelo teclado (TAB), o menu volta a aparecer */
.header:focus-within, .menu-open .header { transform: none; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.7rem; }
.nav ul a { position: relative; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--blue-600); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav ul a:hover, .nav ul a.is-active { color: var(--blue-700); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- 5) SEÇÕES ---------- */
.section { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; }
.section--soft { background: var(--blue-50); }
.section--dark { background: var(--blue-900); color: #E8EEFC; overflow: hidden; }
.section--dark .section__lead { color: #A9B7D6; }
.section__head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
.section__lead { margin-top: 1.1rem; font-size: 1.125rem; color: var(--muted); }

/* HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: radial-gradient(1200px 600px at 85% -10%, var(--blue-100), transparent 60%), linear-gradient(180deg, #fff, var(--blue-50));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__blob--1 { width: 520px; height: 520px; right: -140px; top: 8%; background: #b9cbf5; animation: float 14s ease-in-out infinite; }
.hero__blob--2 { width: 380px; height: 380px; left: -120px; bottom: -60px; background: #d6e1fb; animation: float 18s ease-in-out infinite reverse; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.3rem); text-wrap: balance; font-weight: 800; letter-spacing: -.035em; }
.hero__lead { margin-top: 1.5rem; max-width: 560px; font-size: 1.18rem; color: var(--muted); }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .92rem; font-weight: 700; color: var(--blue-700); }

.hero__visual { position: relative; height: 560px; }
.code-card {
  position: absolute; left: 0; top: 70px; width: 70%; z-index: 1; border-radius: var(--radius);
  background: rgba(13, 24, 48, .94); color: #cfd9f2; box-shadow: var(--shadow-lg); overflow: hidden;
}
.code-card__bar { display: flex; align-items: center; gap: 6px; padding: .8rem 1rem; background: rgba(255,255,255,.05); }
.code-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4a6e; }
.code-card__bar i:first-child { background: #6D8FE0; }
.code-card__bar span { margin-left: .6rem; font: 600 .78rem var(--font-body); color: #8b9bc0; }
.code-card__body { margin: 0; padding: 1.3rem 1.4rem 1.6rem; font: 500 .86rem/1.75 ui-monospace, 'SFMono-Regular', Consolas, monospace; white-space: pre; overflow: hidden; }
.c-k { color: #9DB6F2; } .c-v { color: #fff; } .c-f { color: #7FA2F5; } .c-p { color: #c3cfee; }
.c-s { color: #A7E3C4; } .c-b { color: #F3C88B; } .c-c { color: #6b7aa0; }
.phone--hero { position: absolute; right: 0; top: 0; width: 230px; z-index: 2; animation: float 9s ease-in-out infinite; }
.float-badge {
  position: absolute; z-index: 3; display: grid; padding: .75rem 1rem; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .82rem; color: var(--muted);
}
.float-badge strong { font-family: var(--font-display); font-size: .95rem; color: var(--blue-700); }
.float-badge--1 { left: 6%; bottom: 60px; animation: float 7s ease-in-out infinite; }
.float-badge--2 { right: 0; bottom: 10px; animation: float 8s ease-in-out infinite reverse; }

/* seta "role para baixo" */
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--blue-400); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue-600); animation: wheel 1.8s infinite; }

/* LETREIRO */
.marquee { overflow: hidden; background: var(--blue-600); color: #fff; padding: 1.1rem 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { padding: 0 2rem; font: 700 1.15rem var(--font-display); white-space: nowrap; display: inline-flex; align-items: center; gap: 2rem; }
.marquee span::after { content: '✦'; color: var(--blue-400); }

/* SERVIÇOS */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .4s var(--ease), border-color .3s, transform .2s ease-out; transform-style: preserve-3d;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 99, 196, .1), transparent 45%);
}
.service-card:hover { border-color: #c4d2ef; box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card__icon, .study-card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--blue-100); color: var(--blue-600);
}
.service-card__icon svg, .study-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-card__price { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-50); padding: .35rem .7rem; border-radius: 8px; align-self: flex-start; }

/* PROJETOS */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(109,143,224,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(109,143,224,.08) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  animation: grid-move 20s linear infinite;
}
.section--dark .container { position: relative; }
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.video-frame { position: relative; border-radius: var(--radius); padding: 6px; background: linear-gradient(140deg, rgba(109,143,224,.6), rgba(109,143,224,.08)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 13px; background: #000; }
/* Descrição do vídeo em texto (acessibilidade — Lei 13.146/2015, art. 63) */
.video-desc { margin-top: 1rem; color: #A9B7D6; font-size: .92rem; }
.video-desc summary { cursor: pointer; font-weight: 700; color: #cdd8f3; }
.video-desc ol { margin-top: .7rem; padding-left: 1.2rem; list-style: decimal; display: grid; gap: .3rem; }
.tag { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: rgba(109,143,224,.15); color: #b4c6f3; font-size: .8rem; font-weight: 800; }
.project__title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 1rem 0 .8rem; color: #fff; }
.project__info > p { color: #A9B7D6; }
.check-list { display: grid; gap: .55rem; margin: 1.4rem 0 2rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: #dbe3f6; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: .15rem; display: grid; place-items: center; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--blue-600); color: #fff; font-size: .72rem; font-weight: 800;
}
.project__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.screens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; margin-top: 5rem; }
.screens .phone:nth-child(even) { transform: translateY(2.5rem); }
.screens .phone.is-visible:nth-child(even) { transform: translateY(2.5rem); }
.promo { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: center; margin-top: 7rem; padding: 2rem; border-radius: 26px; background: rgba(20, 37, 74, .8); border: 1px solid rgba(109,143,224,.18); }
.promo img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.promo__text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.promo__text p { margin: 1rem 0 1.6rem; color: #A9B7D6; font-size: 1.1rem; }

/* VYKRON (launcher de jogos) — usa o vermelho da marca do launcher
   🎨 Para mudar o vermelho, troque --vk-red e --vk-red-2 */
.vykron { --vk-red: #D63A3A; --vk-red-2: #8E1F2A; margin-top: 7rem; padding-top: 5rem; border-top: 1px solid rgba(109,143,224,.18); }
.vykron__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.vykron__info > p { color: #A9B7D6; }
.vykron .check-list li::before { background: var(--vk-red); }
.tag--red { background: rgba(214,58,58,.15); color: #F3A3A3; }
.video-frame--red { background: linear-gradient(140deg, rgba(214,58,58,.7), rgba(142,31,42,.12)); }
.video-frame--red img { border-radius: 13px; width: 100%; }
.btn--red { --bg: var(--vk-red); --fg: #fff; box-shadow: 0 12px 28px -10px rgba(214,58,58,.6); }
.btn--red:hover { --bg: #E04B4B; }

.price-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 1.4rem;
  padding: 1.4rem 1.6rem; border-radius: var(--radius); background: rgba(20, 37, 74, .8); border: 1px solid rgba(214,58,58,.35);
}
.price-card > div { display: grid; }
.price-card__label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F3A3A3; }
.price-card__value { font: 800 3.2rem/1 var(--font-display); color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-card__value small { font-size: 1.2rem; margin-right: .25rem; vertical-align: .9em; color: #cdd8f3; }
.price-card__sub { color: #A9B7D6; font-size: .92rem; }

.systems, .reqs { margin-top: 4rem; }
.systems__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; text-align: center; }
.systems__lead { margin: .6rem auto 2rem; max-width: 640px; text-align: center; color: #A9B7D6; }
.systems__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.sys-group { padding: 1.3rem; border-radius: var(--radius-sm); background: rgba(20, 37, 74, .6); border: 1px solid rgba(109,143,224,.15); }
.sys-group h4 { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: #fff; margin-bottom: .9rem; }
.sys-group h4 span { font: 800 .78rem var(--font-body); color: #F3A3A3; background: rgba(214,58,58,.15); padding: .15rem .55rem; border-radius: 999px; }
.sys-group ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.sys { padding: .35rem .7rem; border-radius: 8px; background: rgba(255,255,255,.06); color: #dbe3f6; font-size: .86rem; font-weight: 600; }
.sys--note { display: grid; background: rgba(214,58,58,.1); border: 1px dashed rgba(214,58,58,.45); }
.sys--note small { font-size: .74rem; font-weight: 700; color: #F3A3A3; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(109,143,224,.18); }
.reqs__table { width: 100%; min-width: 560px; border-collapse: collapse; color: #dbe3f6; font-size: .95rem; }
.reqs__table caption { caption-side: bottom; padding: .9rem; color: #A9B7D6; font-size: .85rem; }
.reqs__table th, .reqs__table td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(109,143,224,.12); }
.reqs__table thead th { background: rgba(20, 37, 74, .9); color: #fff; font-family: var(--font-display); }
.reqs__table thead small { font-family: var(--font-body); font-weight: 600; color: #A9B7D6; font-size: .78rem; }
.reqs__table tbody th { color: #fff; font-weight: 700; white-space: nowrap; }
.reqs__note { margin-top: 1rem; color: #A9B7D6; font-size: .9rem; }
.legal-note { margin-top: 2.5rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); border: 1px solid rgba(109,143,224,.18); color: #8f9dbd; font-size: .85rem; }

/* COMO FUNCIONA */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps::before, .steps::after { content: ''; position: absolute; left: 4%; right: 4%; top: 28px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); transition: transform .1s linear; }
.step { position: relative; z-index: 1; }
.step__n {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.2rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue-600); color: var(--blue-600); font: 800 1rem var(--font-display);
  box-shadow: 0 0 0 8px #fff;
}
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--muted); }

/* DIFERENCIAIS */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.features__copy .btn { margin-top: 2rem; }
.features__list { display: grid; gap: 1rem; }
.features__list li {
  display: grid; gap: .25rem; padding: 1.4rem 1.6rem 1.4rem 4rem; position: relative;
  background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.features__list li::before {
  content: ''; position: absolute; left: 1.4rem; top: 1.6rem; width: 1.4rem; height: 1.4rem; border-radius: 7px;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-700));
}
.features__list strong { font-family: var(--font-display); font-size: 1.08rem; }
.features__list span { color: var(--muted); }

/* ESTUDOS */
.study { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); overflow: hidden; }
.study::before {
  content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,143,224,.22), transparent 65%); pointer-events: none;
}
.study__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.study__copy .btn { margin-top: 2rem; }
.study__cards { display: grid; gap: 1.2rem; }
.study-card {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; row-gap: .2rem; align-items: start; padding: 1.6rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .4s var(--ease), transform .2s ease-out;
}
.study-card:hover { box-shadow: var(--shadow-lg); }
.study-card__icon { grid-row: span 2; }
.study-card h3 { font-size: 1.2rem; }
.study-card p { color: var(--muted); }
.study__cards .study-card:nth-child(2) { margin-left: 2.5rem; }

/* DEPOIMENTOS */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 1.2rem; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; }
.testimonial blockquote::before { content: '“'; display: block; font: 800 3rem/1 var(--font-display); color: var(--blue-400); height: 1.6rem; }
.testimonial figcaption strong { display: block; font-family: var(--font-display); }
.testimonial figcaption span { color: var(--muted); font-size: .92rem; }

/* CHAMADA FINAL */
.cta-band { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 7rem) 0; background: linear-gradient(130deg, var(--blue-700), var(--blue-600) 55%, var(--blue-500)); color: #fff; text-align: center; }
.cta-band__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.cta-band__inner { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 900px; margin: 0 auto; }
.cta-band h2 span { color: #BFD0F8; }
.cta-band p { margin: 1.2rem 0 2.2rem; font-size: 1.15rem; color: #DCE6FF; }

/* CONTATO */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__channels { display: grid; gap: .8rem; margin-top: 2rem; }
.contact__channels a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; transition: border-color .25s, transform .3s var(--ease);
}
.contact__channels a:hover { border-color: var(--blue-600); transform: translateX(6px); }
.contact__channels span { color: var(--muted); font-weight: 700; font-size: .9rem; }
.contact__channels strong { color: var(--blue-700); word-break: break-all; text-align: right; }

.form { display: grid; gap: 1.1rem; padding: 2.2rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--blue-50);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(61, 99, 196, .15); }
.field [aria-invalid="true"] { border-color: #C2413B; background: #FFF6F5; }
.field__hint { font-size: .8rem; color: var(--muted); text-align: right; }
.field__error { min-height: 0; font-size: .85rem; font-weight: 700; color: #B3352F; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--blue-600); }
.field--check label { font-weight: 500; font-size: .9rem; color: var(--muted); }
.field--check a { color: var(--blue-600); font-weight: 700; }
.form__note { text-align: center; font-size: .82rem; color: var(--muted); }
/* 🛡️ Aviso anti-golpe (canais oficiais) */
.safety { display: grid; gap: .5rem; margin-top: 1.6rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: var(--blue-50); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.safety strong { color: var(--blue-700); font-family: var(--font-display); font-size: 1rem; }
.safety ul { display: grid; gap: .3rem; padding-left: 1.1rem; list-style: disc; }

/* RODAPÉ */
.footer { background: var(--blue-900); color: #A9B7D6; padding: 4.5rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer__about { margin-top: 1rem; max-width: 340px; }
.footer h3 { font-size: .95rem; color: #fff; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .5rem; }
.footer ul a { text-decoration: none; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__ident { margin-top: .6rem; font-size: .85rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }

/* WHATSAPP FLUTUANTE */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- 6) ANIMAÇÕES ---------- */
/* Elementos com data-reveal começam invisíveis e aparecem ao rolar (animations.js adiciona .is-visible) */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); will-change: opacity, transform; }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .screens .phone[data-reveal].is-visible:nth-child(even) { transform: translateY(2.5rem); }
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; } [data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; } [data-delay="5"] { --d: 5; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes grid-move { to { background-position: 56px 56px, 56px 56px; } }

/* Respeita quem configurou o sistema para "reduzir movimento" (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 7) RESPONSIVO (tablet e celular) ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 480px; max-width: 620px; width: 100%; margin: 0 auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .project, .vykron__head { grid-template-columns: 1fr; }
  .systems__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens { grid-template-columns: repeat(3, 1fr); }
  .features, .study__inner, .contact { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 860px) {
  /* Menu vira "gaveta" no celular */
  .menu-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2rem; padding: 2rem;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 1.4rem; }
  .nav ul a { font-size: 1.4rem; color: var(--ink); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }
  .promo { grid-template-columns: 1fr; text-align: center; }
  .promo img { max-width: 340px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 2rem); }
  .hero { padding-top: calc(var(--header-h) + 2rem); min-height: auto; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 400px; }
  .code-card { width: 88%; top: 30px; }
  .code-card__body { font-size: .74rem; padding: 1rem; }
  .phone--hero { width: 165px; right: 0; top: auto; bottom: 0; }
  .float-badge--1 { left: 0; bottom: 6px; }
  .float-badge--2 { display: none; }
  .scroll-hint { display: none; }
  .services { grid-template-columns: 1fr; }
  .service-card { padding: 1.6rem; }
  /* Galeria de telas vira carrossel arrastável */
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: -1rem; padding: 0 1rem 1rem; }
  .screens .phone { flex: 0 0 62%; scroll-snap-align: center; }
  .screens .phone:nth-child(even), .js .screens .phone[data-reveal].is-visible:nth-child(even) { transform: none; }
  /* no carrossel as telas ficam fora da tela na horizontal: mostra sem esperar animação */
  .js .screens .phone[data-reveal] { opacity: 1; transform: none; }
  .steps { grid-template-columns: 1fr; }
  .study__cards .study-card:nth-child(2) { margin-left: 0; }
  .form { padding: 1.4rem; }
  .project__actions .btn { width: 100%; }
  .systems__grid { grid-template-columns: 1fr; }
  .price-card .btn { width: 100%; }
  .vykron { margin-top: 4rem; padding-top: 3.5rem; }
  .contact__channels a { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .contact__channels strong { text-align: left; }
  .footer__inner { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
}
