/* Vávia Webcode — estilos
   Regras de fluidez: só se animam "transform" e "opacity" (a intro usa ainda "clip-path", uma única vez).
   Sem bibliotecas externas. Tema escuro, com as cores da logo. */

:root {
  --bg: #030A16;
  --bg-2: #061529;
  --card: #0A1A33;
  --card-2: #0D2242;
  --line: rgba(120, 165, 255, .16);
  --line-2: rgba(120, 165, 255, .3);
  --text: #E8F0FF;
  --muted: #9DB0CC;
  --blue: #2F7BFF;
  --blue-2: #1F62E0;
  --cyan: #22C7FF;
  --silver: #D9E2F0;
  --radius: 16px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --header-h: 72px;
  --intro-delay: 0s;   /* a intro muda este valor para o site só "entrar" depois dela */
}
.intro-on { --intro-delay: 3.75s; }
.intro-skip { --intro-delay: .25s; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--bg);
}
html.intro-on { overflow: hidden; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: var(--cyan); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus { outline: 3px solid rgba(34, 199, 255, .6); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: #fff; color: #030A16; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

#top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 60px; pointer-events: none; }

/* =====================================================
   INTRODUÇÃO ANIMADA DA LOGO
   Linha do tempo: 0,2 s brilho · 0,3 s símbolo (abre do centro) · 1,5 s nome ·
   2,2 s "Desenvolvimento e web" · 2,6 s serviços · 3,4 s sai. Total ≈ 4 s.
   ===================================================== */
.intro { display: none; }
.intro-on .intro {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  animation: introOut .6s var(--ease) 3.4s forwards;
}
.intro.is-leaving { animation: introOut .45s var(--ease) forwards !important; pointer-events: none; }

.intro__glow {
  position: absolute; left: 50%; top: 46%; width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 98, 224, .5), rgba(31, 98, 224, .16) 40%, rgba(31, 98, 224, 0) 68%);
  opacity: 0; transform: scale(.4);
  animation: introGlow 1.8s var(--ease) .1s forwards;
}
.intro__flash {
  position: absolute; left: 50%; top: 34%; width: 50vmin; height: 50vmin; margin: -25vmin 0 0 -25vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 215, 255, .55), rgba(34, 199, 255, 0) 65%);
  opacity: 0; transform: scale(.3);
  animation: introFlash 1.1s ease-out 1.15s forwards;
}

.intro__stage { position: relative; width: 88vw; width: min(88vw, 560px, calc((100vh - 130px) * 1.054)); }
.intro__ratio { position: relative; width: 100%; padding-bottom: 94.86%; }   /* proporção do conjunto da logo */
.il { position: absolute; }
.il img { width: 100%; height: auto; }
/* posições medidas na logo original (percentagem da largura/altura do conjunto) */
.il--simbolo { left: 0; top: 0; width: 100%; }
.il--nome { left: 6.54%; top: 60.2%; width: 88.79%; }
.il--sub { left: 5.61%; top: 86.4%; width: 89.25%; }
.il--serv { left: 5.61%; top: 95.67%; width: 89.25%; }

.il--simbolo { animation: introSymbol 1.5s var(--ease) .3s both; }
.il--nome { animation: introName 1s var(--ease) 1.5s both; }
.il--sub { animation: introOpen .9s var(--ease) 2.2s both; }
.il--serv { animation: introRise .7s var(--ease) 2.6s both; }

.intro__bar { position: absolute; left: 50%; bottom: 34px; width: min(220px, 50vw); height: 2px; margin-left: calc(min(220px, 50vw) / -2); background: rgba(120, 165, 255, .18); border-radius: 2px; overflow: hidden; }
.intro__bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; animation: introBar 3.4s linear .1s forwards; }

.intro__skip {
  position: absolute; right: 20px; bottom: 28px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(10, 26, 51, .6); color: var(--muted); font-size: .86rem; letter-spacing: .04em;
  opacity: 0; animation: fadeIn .5s ease .6s forwards;
  transition: color .2s ease, border-color .2s ease;
}
.intro__skip:hover { color: #fff; border-color: var(--cyan); }

@keyframes introGlow { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; } to { opacity: .85; transform: scale(1); } }
@keyframes introFlash { 0% { opacity: 0; transform: scale(.3); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes introSymbol {
  from { opacity: 0; transform: scale(.86) translateY(8px); clip-path: inset(0 50% 0 50%); }
  35% { opacity: 1; }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes introName {
  from { opacity: 0; transform: translateY(16px); clip-path: inset(0 50% 0 50%); }
  30% { opacity: 1; }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes introOpen { from { opacity: 0; clip-path: inset(0 50% 0 50%); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes introRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: scale(1.05); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(3, 10, 22, 0);
  transition: background-color .3s ease, box-shadow .3s ease;
  animation: fadeDown .8s var(--intro-delay) var(--ease) both;
}
.site-header.is-scrolled {
  background: rgba(3, 10, 22, .94);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(0, 0, 0, .35);
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; text-decoration: none; color: #fff; }
.brand__mark { width: 60px; height: 38px; margin-right: 12px; }
.brand__txt { display: block; line-height: 1; }
.brand__txt b {
  display: block; font-size: 1.38rem; font-weight: 800; letter-spacing: .1em;
  background: linear-gradient(180deg, #fff 20%, #A9B7CC); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
}
.brand__txt small { display: block; margin-top: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .5em; color: var(--silver); }
.brand__txt small i { font-style: normal; color: var(--cyan); }

.nav ul { display: flex; align-items: center; }
.nav li { margin-left: 4px; }
.nav a {
  position: relative; display: block; padding: 8px 12px; border-radius: 10px;
  color: rgba(232, 240, 255, .82); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .25s ease;
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.nav__cta):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.nav__cta {
  margin-left: 8px; padding: 9px 18px; background: var(--blue); color: #fff;
  transition: transform .25s var(--ease), background-color .25s ease;
}
.nav a.nav__cta:hover { background: var(--blue-2); transform: translateY(-2px); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 2px solid transparent; border-radius: 12px; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-decoration: none; overflow: hidden; line-height: 1.2;
  transition: transform .25s var(--ease), background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: rgba(255, 255, 255, .25);
  transform: skewX(-20deg) translateX(-120%);
}
.btn:hover::before { animation: shine .7s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 10px 28px rgba(47, 123, 255, .35); }
.btn--primary:hover { box-shadow: 0 14px 34px rgba(47, 123, 255, .5); }
.btn--ghost { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(34, 199, 255, .1); }
.btn--outline { color: var(--cyan); border-color: var(--cyan); background: transparent; }
.btn--outline:hover { background: var(--cyan); color: #03101F; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: .85; transform: none; }

.btn__spin {
  display: none; width: 20px; height: 20px; margin-left: 10px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.is-loading .btn__spin { display: inline-block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 640px; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  background: var(--bg);
}
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--a {
  width: 700px; height: 700px; left: -200px; top: -240px;
  background: radial-gradient(circle at 50% 50%, rgba(31, 98, 224, .5), rgba(31, 98, 224, 0) 66%);
  animation: drift1 16s ease-in-out infinite alternate;
}
.blob--b {
  width: 640px; height: 640px; right: -180px; bottom: -220px;
  background: radial-gradient(circle at 50% 50%, rgba(34, 199, 255, .28), rgba(34, 199, 255, 0) 66%);
  animation: drift2 19s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: .6;
  background-image:
    linear-gradient(rgba(120, 165, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 165, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.05fr; grid-gap: 24px; align-items: center;
}
.eyebrow { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: 44px; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.grad { color: #7CC4FF; background: linear-gradient(90deg, #7CC4FF, #22C7FF 60%, #2F7BFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lead { margin-top: 22px; max-width: 33em; font-size: 1.1rem; color: var(--muted); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; margin-left: -6px; margin-right: -6px; }
.hero__actions .btn { margin: 6px; }
.chips { margin-top: 30px; display: flex; flex-wrap: wrap; }
.chips li { display: flex; align-items: center; margin: 0 22px 8px 0; font-size: .93rem; color: var(--muted); }
.chips svg { width: 18px; height: 18px; margin-right: 8px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero__art { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__glow {
  position: absolute; width: 96%; padding-bottom: 96%; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, .3), rgba(47, 123, 255, 0) 62%);
  will-change: transform;
  animation: pulse 6s ease-in-out infinite;
}
/* Sem "filter: drop-shadow" na logo animada: obrigaria a redesenhar a cada frame e tirava fluidez */
.hero__logo { position: relative; width: 100%; max-width: 640px; animation: bob 7s ease-in-out infinite; will-change: transform; }
.hero__logo img { width: 100%; height: auto; }

/* Entrada do hero (depois da intro; funciona sem JavaScript) */
.a-up { animation: fadeUp .8s calc(var(--d, 0s) + var(--intro-delay)) var(--ease) both; }

/* ---------- Secções ---------- */
.section { padding: 100px 0; position: relative; }
.section--soft { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--glow { background: var(--bg); overflow: hidden; }
.section--glow::before, .section--glow::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.section--glow::before { width: 520px; height: 520px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(31, 98, 224, .38), rgba(31, 98, 224, 0) 68%); }
.section--glow::after { width: 460px; height: 460px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(34, 199, 255, .2), rgba(34, 199, 255, 0) 68%); }
.section--glow .container { position: relative; z-index: 1; }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section p.kicker, .kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--cyan); margin-bottom: 12px; }
.title { position: relative; font-size: 32px; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 800; color: #fff; padding-bottom: 18px; }
.title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s .25s var(--ease);
}
.section__head .title::after { left: 50%; margin-left: -28px; transform-origin: center; }
.in-view .title::after, .title.in-view::after, html:not(.js) .title::after { transform: scaleX(1); }
.section__lead { margin-top: 10px; color: var(--muted); font-size: 1.08rem; }

p.kicker { color: var(--cyan); }

/* Revelação ao deslocar (só se houver JavaScript) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--d, 0s) var(--ease), transform .8s var(--d, 0s) var(--ease); will-change: transform, opacity; }
.js .reveal.in-view { opacity: 1; transform: none; will-change: auto; }
/* Depois de revelado, o elemento deixa de ter atraso nas animações de "hover" */
.js .card.reveal.revealed, .js .service.reveal.revealed { transition: transform .35s var(--ease), border-color .35s ease, background-color .35s ease; }
.js .value.reveal.revealed { transition: transform .35s var(--ease), background-color .35s ease, border-color .35s ease; }
.js .value.reveal.in-view:hover { transform: translateY(-8px); }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 18px; }
.service {
  position: relative; padding: 28px 20px 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--card), rgba(10, 26, 51, .55)); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s ease, background-color .35s ease;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service:hover { transform: translateY(-8px); border-color: var(--line-2); }
.service:hover::before { transform: scaleX(1); }
.service h3 { font-size: 1.12rem; margin: 18px 0 8px; color: #fff; }
.service p { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.sicon { width: 46px; height: 46px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.service:hover .sicon { transform: scale(1.12) rotate(-4deg); }

/* ---------- Projetos ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 28px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s ease;
}
.card::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--radius); pointer-events: none; opacity: 0;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5), 0 0 0 1px var(--line-2);
  transition: opacity .35s var(--ease);
}
.js .reveal.card.in-view:hover, .card:hover { transform: translateY(-8px); }
.card:hover::after { opacity: 1; }
.card__body { padding: 22px 24px 26px; }
.card h3 { font-size: 1.22rem; color: #fff; margin: 12px 0 8px; line-height: 1.3; }
.card p { color: var(--muted); font-size: .98rem; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(47, 123, 255, .16); color: #8FBBFF; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; margin-top: 16px; }
.tags li { margin: 0 8px 8px 0; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* Pré-visualização em "janela de navegador" */
.mock { margin: 18px 18px 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0, 0, 0, .4); }
.mock__bar { display: flex; align-items: center; height: 28px; padding: 0 10px; background: #EDF1F7; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #C5CEDB; margin-right: 5px; }
.mock__bar b { flex: 1; height: 12px; margin-left: 10px; border-radius: 6px; background: #fff; }
.mock__body { height: 178px; overflow: hidden; }
.m-hero { position: relative; height: 96px; padding: 16px 18px; background: var(--a); background: linear-gradient(135deg, var(--a), var(--b)); overflow: hidden; }
.m-line { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .9); margin-bottom: 8px; transform-origin: left; transition: transform .5s var(--ease); }
.m-l1 { width: 58%; }
.m-l2 { width: 38%; opacity: .7; }
.m-btn { display: block; width: 58px; height: 16px; border-radius: 8px; background: var(--c); margin-top: 12px; }
.m-dish { position: absolute; right: 16px; top: 14px; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: transform .6s var(--ease); }
.m-dish::after { content: ""; position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.m-row { display: flex; padding: 14px 14px 0; }
.m-box { position: relative; flex: 1; height: 56px; margin-right: 10px; border-radius: 9px; background: var(--s); overflow: hidden; }
.m-box:last-child { margin-right: 0; }
.m-box::after { content: ""; position: absolute; left: 10px; bottom: 10px; width: 46%; height: 7px; border-radius: 4px; background: var(--a); opacity: .55; }
.card:hover .m-l1 { transform: scaleX(1.12); }
.card:hover .m-dish { transform: scale(1.12) rotate(8deg); }
.mock--food { --a: #B4472B; --b: #E08A4B; --c: #FFE3B8; --s: #FBEBDD; }
.mock--auto { --a: #1E2A3A; --b: #3B4F6B; --c: #FF8A1F; --s: #E9EDF3; }
.mock--care { --a: #0E9F9A; --b: #4FD1C5; --c: #FFFFFF; --s: #E2F6F4; }

/* ---------- Sobre nós ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; grid-gap: 64px; align-items: center; }
.about__text p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.about__text .title { margin-bottom: 8px; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan)); opacity: .35; }
.step { position: relative; display: flex; padding: 14px 0; }
.step__n {
  flex: none; position: relative; z-index: 1; width: 44px; height: 44px; margin-right: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 22px rgba(47, 123, 255, .4);
}
.step h3 { font-size: 1.12rem; color: #fff; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: .98rem; }
.js .step.reveal .step__n { transform: scale(.6); transition: transform .6s calc(var(--d, 0s) + .15s) cubic-bezier(.3, 1.6, .5, 1); }
.js .step.reveal.in-view .step__n { transform: scale(1); }

/* ---------- Missão · Objetivo · Compromisso ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 26px; }
.value {
  position: relative; padding: 34px 28px 32px; border-radius: var(--radius); overflow: hidden;
  background: rgba(13, 34, 66, .55); border: 1px solid var(--line);
  transition: transform .35s var(--ease), background-color .35s ease, border-color .35s ease;
}
.value::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s .3s var(--ease);
}
.value.in-view::before, html:not(.js) .value::before { transform: scaleX(1); }
.value:hover { transform: translateY(-8px); background: rgba(13, 34, 66, .9); border-color: var(--line-2); }
.value h3 { font-size: 1.3rem; margin: 20px 0 10px; color: #fff; }
.value p { color: var(--muted); font-size: 1rem; }
.icon { width: 52px; height: 52px; fill: none; stroke: var(--cyan); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.icon path, .icon circle { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .icon path, .js .icon circle { stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s .3s var(--ease); }
.js .value.in-view .icon path, .js .value.in-view .icon circle { stroke-dashoffset: 0; }
.js .value.in-view .icon circle:nth-child(2) { transition-delay: .5s; }
.js .value.in-view .icon circle:nth-child(3) { transition-delay: .7s; }
.js .value.in-view .icon path:nth-child(2) { transition-delay: .6s; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; grid-gap: 56px; align-items: start; }
.contact__info p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.mailcard {
  display: inline-flex; align-items: center; margin-top: 28px; padding: 16px 22px 16px 18px; border-radius: 14px;
  background: var(--card); color: var(--text); text-decoration: none; border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.mailcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.mailcard svg { width: 38px; height: 38px; padding: 8px; margin-right: 14px; border-radius: 10px; background: rgba(47, 123, 255, .16); fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mailcard small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.mailcard strong { font-size: 1rem; word-break: break-all; color: #fff; }

.formcard { position: relative; padding: 34px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.field { margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0 16px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; color: #D5E1F5; }
abbr { text-decoration: none; color: #FF7A7A; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  display: block; width: 100%; padding: 12px 14px; border: 1.5px solid rgba(120, 165, 255, .25); border-radius: 10px; background: #061326; color: var(--text);
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239DB0CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
select option { background: #0A1A33; color: var(--text); }
textarea { resize: vertical; min-height: 130px; }
input:hover, select:hover, textarea:hover { border-color: rgba(120, 165, 255, .5); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 199, 255, .16); }
.has-error input, .has-error select, .has-error textarea { border-color: #FF6B6B; }
.has-error input:focus, .has-error textarea:focus { box-shadow: 0 0 0 4px rgba(255, 107, 107, .18); }
.error { min-height: 1.25em; margin-top: 4px; font-size: .84rem; color: #FF8E8E; }
.has-error .error { animation: shake .35s ease; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: flex-start; margin: 0; font-weight: 400; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 22px; height: 22px; margin: 1px 12px 0 0; border: 1.5px solid rgba(120, 165, 255, .4); border-radius: 6px; background: #061326; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.check .box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.check .box svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s ease; }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box svg path { stroke-dashoffset: 0; }
.check input:focus + .box { box-shadow: 0 0 0 4px rgba(34, 199, 255, .22); }
.has-error .check .box { border-color: #FF6B6B; }

#contactForm .btn { margin-top: 12px; }
.status { min-height: 1.4em; margin-top: 14px; font-size: .95rem; color: var(--muted); }
.status--err { color: #FF8E8E; }
.status a { font-weight: 600; }

.success { text-align: center; padding: 14px 0 6px; }
.success:focus { outline: none; }
.success[hidden] { display: none; }
.success > * { animation: fadeUp .7s var(--ease) both; }
.success h3 { font-size: 1.6rem; color: #fff; margin: 8px 0 8px; animation-delay: .5s; }
.success p { color: var(--muted); animation-delay: .6s; }
.success .ordem { font-size: 1.7rem; font-weight: 800; letter-spacing: .04em; color: var(--cyan); margin: 4px 0 12px; animation-delay: .7s; }
.success .btn { margin-top: 20px; animation-delay: .9s; }
.success__icon { width: 84px; height: 84px; margin: 0 auto; fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; animation: none !important; }
.success__icon circle, .success__icon path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .8s .1s var(--ease) forwards; }
.success__icon path { animation-delay: .6s; }

/* ---------- Redes sociais ---------- */
.social { margin-top: 24px; }
.social__label { display: block; margin-bottom: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--cyan); }
.social__list { display: flex; flex-wrap: wrap; }
.social__list li { margin: 0 10px 10px 0; }
.social__link {
  position: relative; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  color: var(--silver); border: 1px solid var(--line-2); background: rgba(13, 34, 66, .6); text-decoration: none;
  transition: transform .3s var(--ease), color .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.social__link::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(135deg, var(--blue), var(--cyan)); opacity: 0; transition: opacity .3s ease; }
.social__link svg { position: relative; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social__link svg .dot { fill: currentColor; stroke: none; }
.social__link:hover { transform: translateY(-5px); color: #fff; border-color: transparent; box-shadow: 0 12px 26px rgba(47, 123, 255, .45); }
.social__link:hover::before { opacity: 1; }
.social--hidden { display: none; }

/* ---------- Rodapé ---------- */
.footer { background: #020712; border-top: 1px solid var(--line); color: var(--muted); padding: 64px 0 0; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-gap: 40px; padding-bottom: 44px; }
.footer__brand p { margin-top: 16px; max-width: 26em; font-size: .96rem; }
.footer__nav a, .footer__contact a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; transition: color .2s ease, transform .25s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; transform: translateX(4px); }
.footer__contact span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; font-weight: 700; }
.footer__contact a { font-weight: 600; color: #fff; word-break: break-all; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: .88rem; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: #fff; }

.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 24px rgba(47, 123, 255, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
}
.totop svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animações ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(90px, 60px, 0) scale(1.15); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-80px, -50px, 0) scale(1.12); } }
@keyframes shine { from { transform: skewX(-20deg) translateX(-120%); } to { transform: skewX(-20deg) translateX(420%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: 8px 9px; font-size: .92rem; }
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); padding: 10px 20px 22px;
    background: rgba(3, 10, 22, .97); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: rgba(3, 10, 22, .97); }
  .nav ul { display: block; }
  .nav li { margin: 0; }
  .nav a { padding: 13px 8px; font-size: 1.05rem; }
  .nav a:not(.nav__cta)::after { left: 8px; right: auto; width: 32px; }
  .nav a.nav__cta { margin: 10px 0 0; text-align: center; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 24px) 0 72px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin: 0 auto 6px; }
  .about { grid-template-columns: 1fr; grid-gap: 40px; }
  .contact { grid-template-columns: 1fr; grid-gap: 36px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr 1fr; grid-gap: 14px; }
  .service { padding: 22px 16px 20px; }
  .service:last-child { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .row { grid-template-columns: 1fr; }
  .formcard { padding: 24px 20px; }
  .hero__actions .btn { width: 100%; margin-left: 0; margin-right: 0; }
  .hero__actions { margin-left: 0; margin-right: 0; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__legal { display: block; }
  .footer__legal a { display: inline-block; margin-top: 6px; }
  .brand__mark { width: 52px; height: 33px; margin-right: 10px; }
  .brand__txt b { font-size: 1.2rem; }
  .intro__skip { right: 14px; bottom: 18px; }
}

/* Respeita quem prefere menos movimento: a intro passa a ser uma logo parada durante ~1,6 s */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    animation-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .intro-on .intro { animation: introOut .4s ease 1.6s forwards !important; }
  .intro-on .intro.is-leaving { animation: introOut .01ms forwards !important; }
  .intro *, .intro *::before { animation: none !important; }
  .intro__glow { opacity: .85; transform: none; }
  .intro__flash, .intro__bar, .intro__skip { display: none; }
  .intro-on { --intro-delay: 0s; }
}
