/* ==========================================================
   Astra Pages – "luz no escuro"
   ========================================================== */
:root {
  --bg: #06080f;
  --bg-2: #0b0f18;
  --bg-3: #111725;
  --text: #eef2f8;
  --muted: #a3adbd;
  --dim: #8190a5;
  --accent: #5aa9ff;
  --accent-2: #3b6cff;
  --grad: linear-gradient(135deg, #7cc0ff, #3b6cff);
  --line: rgba(238,242,248, .1);
  --line-2: rgba(238,242,248, .18);
  --r: 20px;
  --r-sm: 14px;
  --font-title: "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gutter: 16px;
  --header-h: 68px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
section[id], header[id] { scroll-margin-top: calc(var(--header-h) - 10px); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #06102a; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* destaque em serif itálico com gradiente âmbar */
.serif-glow {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: linear-gradient(120deg, #cfe8ff 0%, #7cc0ff 40%, #4a7dff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; letter-spacing: 0;
}

/* grão subtil + barra de progresso */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(90,169,255,.7); }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 .95rem/1 var(--font-title); letter-spacing: .005em; border: 1px solid transparent;
  cursor: pointer; will-change: transform;
  transition: box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn-primary { background: var(--grad); color: #06102a; box-shadow: 0 0 0 0 rgba(90,169,255,0), 0 10px 30px -10px rgba(59,108,255,.55); }
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(90,169,255,.14), 0 14px 40px -10px rgba(59,108,255,.8); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(238,242,248,.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { border-color: var(--line-2); background: rgba(238,242,248,.03); }
.btn-wa:hover { border-color: #25d366; color: #25d366; background: rgba(37,211,102,.1); }
.btn-wa svg { width: 20px; height: 20px; fill: #25d366; }

/* ============ HEADER ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(6,8,15,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.05rem/1 var(--font-title); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a { position: relative; padding: 8px 0; font-size: .93rem; color: var(--muted); transition: color .25s; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav ul a:hover, .nav ul a.is-active { color: var(--text); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: .88rem; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; position: relative; color: var(--text); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px;
    padding: 90px var(--gutter) 40px; background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav ul a { font: 600 2rem/1.3 var(--font-title); color: var(--text); }
  .header.is-menu { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 24px) 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(90,169,255,.16), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(90,169,255,.06), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 8px; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5.3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .wi { display: inline-block; }
.hero-sub { margin-top: 26px; max-width: 34em; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-logo { position: relative; width: 100%; aspect-ratio: 1 / 0.9; max-height: 440px; order: -1; }
.hero-logo canvas { -webkit-mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.logo-fallback { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(90,169,255,.35)); }
.hero-logo.is-ready .logo-fallback { opacity: 0; transition: opacity .25s; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 20px; }
  .hero-logo { order: 0; max-height: none; aspect-ratio: 1 / 1; margin-right: -20px; }
}

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .78rem; color: var(--dim); }
.scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--line-2), var(--line-2)); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--accent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { top: -50%; } 100% { top: 100%; } }
@media (max-height: 640px), (max-width: 959px) { .scroll-hint { display: none; } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { display: flex; align-items: center; white-space: nowrap; font: 500 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font-title); letter-spacing: -.02em; color: var(--muted); padding-right: 48px; }
.marquee li::after { content: ""; width: 10px; height: 10px; margin-left: 48px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(90,169,255,.8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECÇÕES ============ */
.section { padding: clamp(72px, 11vw, 150px) 0 0; }
#contacto { padding-bottom: clamp(72px, 11vw, 150px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.section-head p { margin-top: 18px; max-width: 34em; color: var(--muted); font-size: 1.05rem; }

/* revelações (só com JS) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-hero-fade] { opacity: 0; transform: translateY(16px); }

/* ============ CARTÕES DE SERVIÇO ============ */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%;
  position: relative; padding: 32px 28px 34px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(238,242,248,.045), rgba(238,242,248,.015));
  border: 1px solid var(--line); overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(340px circle at var(--sx) var(--sy), rgba(90,169,255,.16), transparent 60%);
}
.card:hover { border-color: rgba(90,169,255,.35); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-ico { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }
/* o reveal usa transform; para cartões com tilt, o reveal só mexe na opacidade */
.js .card[data-reveal] { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(26px); }
.js .card[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* ============ PROCESSO ============ */
.proc { --p: 1; position: relative; display: grid; gap: 40px; padding-left: 56px; }
.proc-line { position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); }
.proc-fill { position: absolute; inset: 0; background: var(--grad); box-shadow: 0 0 14px rgba(90,169,255,.8); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.proc-step { position: relative; }
.proc-dot {
  position: absolute; left: -56px; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 600 .95rem/1 var(--font-title);
  background: var(--bg); border: 1px solid var(--line-2); color: var(--muted); transition: all .4s;
}
.proc-step.is-on .proc-dot { border-color: var(--accent); color: #06102a; background: var(--grad); box-shadow: 0 0 22px rgba(90,169,255,.6); }
.proc-step h3 { font-size: 1.5rem; margin: 4px 0 10px; }
.proc-step p { color: var(--muted); max-width: 26em; }
@media (min-width: 900px) {
  .proc { grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 0; padding-top: 70px; }
  .proc-line { left: 0; right: 0; top: 18px; bottom: auto; width: auto; height: 1px; }
  .proc-fill { transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .proc-dot { left: 0; top: -70px; }
}

/* ============ PROJETOS ============ */
.projects { display: grid; gap: 28px; }
@media (min-width: 1000px) { .projects { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.project { display: block; }
.project-info { padding: 22px 4px 0; }
.project-info h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.project-info p { color: var(--muted); font-size: .98rem; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(90,169,255,.4); color: var(--accent); font-size: .8rem; font-weight: 500; background: rgba(90,169,255,.06); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.browser { border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-3); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); transition: border-color .3s, box-shadow .3s; }
.project:hover .browser { border-color: rgba(90,169,255,.45); box-shadow: 0 30px 70px -30px rgba(59,108,255,.35); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(238,242,248,.03); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(238,242,248,.18); }
.browser-bar span { margin-left: 10px; flex: 1; font-size: .72rem; color: var(--dim); background: rgba(238,242,248,.05); padding: 4px 12px; border-radius: 999px; }

/* screenshot longa da demo: faz scroll suave no hover (só desktop) */
.shot { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--bg-2); }
.shot img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .shot img { transition: top 1.2s cubic-bezier(.3,.7,.2,1), transform 1.2s cubic-bezier(.3,.7,.2,1); }
  .project:hover .shot img, .project:focus-visible .shot img { top: 100%; transform: translateY(-100%); transition-duration: 7s, 7s; transition-timing-function: cubic-bezier(.45,.05,.35,1); }
}
.project-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 .9rem var(--font-title); color: var(--accent); }
.project-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.project:hover .project-open svg { transform: translate(3px, -3px); }

/* ============ PORQUÊ ============ */
.why { display: grid; gap: 20px; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; } }
.why-big {
  position: relative; padding: clamp(28px, 4vw, 52px); border-radius: 24px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(80% 90% at 20% 100%, rgba(90,169,255,.18), transparent 70%), var(--bg-2);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
}
.why-num { font: 600 clamp(4rem, 11vw, 8.5rem)/.95 var(--font-title); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.why-num .dash { padding: 0 .06em; }
.why-unit { margin-top: 12px; font: 600 1.4rem/1.2 var(--font-title); }
.why-note { margin-top: 12px; color: var(--muted); max-width: 26em; font-size: .95rem; }
.why-list { display: grid; gap: 0; border-top: 1px solid var(--line); align-content: start; }
.why-list li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-list h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why-list p { color: var(--muted); max-width: 30em; }

/* ============ PREÇOS ============ */
.plans { display: grid; gap: 18px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(238,242,248,.04), rgba(238,242,248,.01)); }
.plan h3 { font-size: 1.4rem; }
.plan-price { margin-top: 18px; font: 600 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-title); letter-spacing: -.03em; }
.plan-price small { font: 400 .95rem var(--font-body); letter-spacing: 0; color: var(--muted); margin-right: 6px; }
.plan-price-text { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.2; padding-top: .35rem; }
.plan-desc { margin-top: 12px; color: var(--muted); }
.ticks { margin: 26px 0 32px; display: grid; gap: 12px; flex: 1; align-content: start; }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-50%); }
.plan .btn { align-self: stretch; }
.plan-featured { border-color: rgba(90,169,255,.55); background: radial-gradient(90% 60% at 50% 0%, rgba(90,169,255,.16), transparent 70%), var(--bg-2); box-shadow: 0 0 80px -30px rgba(59,108,255,.5); }
.plan-badge { position: absolute; top: -13px; left: 30px; padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #06102a; font: 600 .78rem var(--font-title); }
.plans-extra { margin-top: 28px; color: var(--muted); text-align: center; }
.plans-extra strong { color: var(--text); }

/* ============ FAQ ============ */
.faq-wrap { display: grid; gap: 20px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; } .faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0;
  background: none; border: 0; color: var(--text); text-align: left; cursor: pointer;
  font: 500 clamp(1.05rem, 2vw, 1.25rem)/1.3 var(--font-title); letter-spacing: -.01em;
}
.faq-q:hover { color: var(--accent); }
.faq-ico { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.5px; background: var(--accent); transition: transform .35s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; color: var(--muted); max-width: 40em; }
.faq-q[aria-expanded="true"] + .faq-a, .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
/* sem JS, as respostas ficam abertas */
html:not(.js) .faq-a { grid-template-rows: 1fr; }
.faq-item h3 { font-size: inherit; letter-spacing: inherit; }

/* ============ CONTACTO ============ */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.contact-copy h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.contact-copy > p { margin-top: 20px; max-width: 28em; color: var(--muted); font-size: 1.05rem; }
.contact-list { margin: 34px 0 22px; }
.contact-k { display: block; font-size: .85rem; color: var(--dim); margin-bottom: 4px; }
.contact-v { font: 500 1.25rem var(--font-title); border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; }
.contact-v:hover { color: var(--accent); border-color: var(--accent); }

.form { display: grid; gap: 18px; padding: clamp(22px, 3.5vw, 40px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(238,242,248,.05), rgba(238,242,248,.015)); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label:not(.check) { display: block; margin-bottom: 8px; font-size: .88rem; color: var(--muted); }
.opt { color: var(--dim); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: rgba(6,8,15,.6); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(90,169,255,.14); }
.field [aria-invalid="true"] { border-color: #ff7a6b; }
.err { min-height: 0; margin-top: 6px; font-size: .84rem; color: #ff9d92; }
.err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-status { font-size: .95rem; }
.form-status.ok { color: #9be3b0; }
.form-status.bad { color: #ff9d92; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; background: var(--bg-2); }
.footer-in { display: grid; gap: 28px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a, .footer-legal a { color: var(--muted); font-size: .93rem; transition: color .25s; }
.footer nav a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-legal { color: var(--dim); font-size: .88rem; }
.footer-legal a { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; } .footer nav ul { justify-content: center; } }

/* ============ WHATSAPP FLUTUANTE ============ */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 95; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,15,24,.85); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, transform .3s, box-shadow .3s;
}
.wa-float svg { width: 26px; height: 26px; fill: #25d366; display: block; }
.wa-float:hover { border-color: #25d366; transform: translateY(-3px); box-shadow: 0 10px 30px -8px rgba(37,211,102,.55); }
/* Instagram: mesmo botão, por cima do WhatsApp */
.ig-float { bottom: 80px; }
.btn-wa[hidden], .wa-float[hidden] { display: none; }
.ig-float:has(~ .wa-float[hidden]) { bottom: 16px; }   /* sem WhatsApp, o Instagram desce para o lugar dele */
.ig-float svg { fill: none; }
.ig-float:hover { border-color: #dd2a7b; box-shadow: 0 10px 30px -8px rgba(221,42,123,.55); }

/* ============ CURSOR PERSONALIZADO ============ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(90,169,255,.7); transition: opacity .3s, width .3s, height .3s, margin .3s, background .3s; }
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(90,169,255,.1); }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor input[type="tel"], .has-cursor textarea { cursor: text; }

/* ============ MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-line::after { animation: none; }
  .js [data-reveal], .js [data-hero-fade] { opacity: 1; transform: none; transition: none; }
  .js .card[data-reveal], .js .card[data-reveal].is-in { transform: none; }
  .header, .faq-a, .proc-dot { transition: none; }
}

/* ============ Línguas ============ */
.header-in .nav { margin-left: auto; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(238,242,248,.03); color: var(--text); font: 600 .8rem/1 var(--font-title); letter-spacing: .06em; cursor: pointer; }
.lang-btn::after { content: ""; display: inline-block; margin-left: 7px; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.lang-btn:hover { border-color: var(--accent); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: 0 18px 40px rgba(0,0,0,.45); z-index: 60; }
.lang-list[hidden] { display: none; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: .92rem; }
.lang-list a:hover, .lang-list a:focus-visible { background: rgba(238,242,248,.06); color: var(--text); }
.lang-list a[aria-current] { color: var(--text); }
.lang-list a[aria-current]::after { content: " ✓"; color: var(--accent); }
@media (max-width: 860px) { .lang { margin-left: auto; } .header-in { gap: 12px; } }

.lang-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(4,6,12,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: lmIn .35s ease both; }
.lang-card { width: min(420px, 100%); padding: 28px 24px 24px; text-align: center; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.lang-card img { margin: 0 auto 14px; }
.lang-card h2 { margin: 0; font: 600 1.4rem/1.2 var(--font-title); }
.lang-card p { margin: 6px 0 0; color: var(--dim); font-size: .92rem; }
.lang-opts { display: grid; gap: 8px; margin-top: 20px; }
.lang-opts button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(238,242,248,.03); color: var(--text); font: 500 1rem var(--font-body); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.lang-opts button:hover, .lang-opts button.is-guess { border-color: var(--accent); background: rgba(90,169,255,.08); }
@keyframes lmIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lang-modal { animation: none; } }
.flag { flex: none; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(238,242,248,.18); }
.lang-btn .flag { width: 18px; height: 12px; }
.lang-opts .flag { width: 26px; height: 18px; }

/* ==========================================================
   v17 · redesenho: aurora, bento, caso real, avaliações, rodapé
   ========================================================== */
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: #ffc94d; filter: drop-shadow(0 0 6px rgba(255,201,77,.45)); }
.stars-lg svg { width: 22px; height: 22px; }

/* ---------- HERO: aurora + estrelas ---------- */
.hero-aurora { position: absolute; inset: -10% -10% 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.hero-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: aurora 18s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 6%; background: radial-gradient(circle, rgba(59,108,255,.55), transparent 65%); }
.hero-aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 62%; top: 40%; background: radial-gradient(circle, rgba(124,192,255,.4), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.hero-aurora i:nth-child(3) { width: 38vw; height: 38vw; left: -8%; top: 55%; background: radial-gradient(circle, rgba(120,90,255,.28), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes aurora { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%, 4%) scale(1.12); } 100% { transform: translate(5%, -5%) scale(.95); } }
.hero-stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 68%, #cfe8ff, transparent),
    radial-gradient(1.5px 1.5px at 44% 14%, #fff, transparent), radial-gradient(1px 1px at 57% 82%, #fff, transparent),
    radial-gradient(1px 1px at 71% 32%, #cfe8ff, transparent), radial-gradient(1.5px 1.5px at 86% 60%, #fff, transparent),
    radial-gradient(1px 1px at 93% 12%, #fff, transparent), radial-gradient(1px 1px at 6% 86%, #cfe8ff, transparent),
    radial-gradient(1px 1px at 36% 40%, #fff, transparent), radial-gradient(1px 1px at 64% 54%, #fff, transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .8; } }

.hero-proof {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(238,242,248,.04);
  font-size: .9rem; color: var(--muted); transition: border-color .3s, background .3s;
}
.hero-proof:hover { border-color: rgba(255,201,77,.5); background: rgba(255,201,77,.06); }
.hero-proof strong { color: var(--text); font-family: var(--font-title); }
.hero-proof .stars svg { width: 15px; height: 15px; }

/* ---------- SERVIÇOS em bento ---------- */
.bento { grid-auto-flow: dense; }
@media (min-width: 700px) { .card-wide { grid-column: span 2; } }
.card-wide { display: grid; gap: 22px; }
@media (min-width: 1040px) {
  .card-wide { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 28px; }
  .card-wide .card-ico { margin-bottom: 28px; }
}
.viz { position: relative; border-radius: 16px; border: 1px solid var(--line); background: rgba(6,8,15,.55); min-height: 190px; overflow: hidden; }

/* mini site */
.viz-site { padding: 0; }
.vs-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.vs-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(238,242,248,.18); }
.vs-bar span { margin-left: 8px; height: 10px; flex: 1; max-width: 120px; border-radius: 99px; background: rgba(238,242,248,.07); }
.vs-body { padding: 16px; display: grid; gap: 12px; }
.vs-hero { display: grid; gap: 7px; }
.vs-hero b { display: block; height: 9px; border-radius: 6px; background: rgba(238,242,248,.14); width: 80%; transform-origin: 0 50%; animation: vsGrow 4.5s cubic-bezier(.2,.7,.2,1) infinite; }
.vs-hero b:nth-child(2) { width: 55%; animation-delay: .15s; }
.vs-hero b.vs-btn { width: 70px; height: 18px; border-radius: 99px; background: var(--grad); animation-delay: .3s; box-shadow: 0 0 16px rgba(90,169,255,.5); }
.vs-img { height: 56px; border-radius: 10px; background: linear-gradient(120deg, rgba(90,169,255,.25), rgba(59,108,255,.06) 60%, rgba(124,192,255,.2)); background-size: 200% 100%; animation: vsShine 4.5s linear infinite; }
.vs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vs-row i { height: 30px; border-radius: 8px; background: rgba(238,242,248,.06); border: 1px solid var(--line); }
.vs-score { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(closest-side, var(--bg-2) 78%, transparent 80% 100%), conic-gradient(#3ddc84 0 100%, transparent 0); box-shadow: 0 0 22px rgba(61,220,132,.35); text-align: center; }
.vs-score span { font: 700 1.05rem/1 var(--font-title); color: #3ddc84; }
.vs-score small { display: block; margin-top: -10px; font-size: .5rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
@keyframes vsGrow { 0%, 8% { transform: scaleX(0); } 30%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes vsShine { to { background-position: -200% 0; } }

/* chat */
.viz-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; }
.vc { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .84rem; line-height: 1.35; opacity: 0; transform: translateY(8px); animation: vcIn 10s ease infinite; }
.vc-in { align-self: flex-start; background: rgba(238,242,248,.08); border-bottom-left-radius: 4px; }
.vc-out { align-self: flex-end; background: var(--grad); color: #06102a; font-weight: 500; border-bottom-right-radius: 4px; }
.vc:nth-child(1) { animation-delay: 0s; }
.vc:nth-child(2) { animation-name: vcTyping; }
.vc:nth-child(3) { animation-delay: 1.8s; }
.vc:nth-child(4) { animation-delay: 3.2s; }
.vc:nth-child(5) { animation-delay: 4.4s; }
.vc-typing { align-self: flex-end; display: inline-flex; gap: 4px; background: rgba(90,169,255,.18); padding: 11px 13px; position: absolute; right: 16px; bottom: 16px; }
.vc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: dot 1s ease-in-out infinite; }
.vc-typing i:nth-child(2) { animation-delay: .15s; } .vc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes vcIn { 0% { opacity: 0; transform: translateY(8px); } 5%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes vcTyping { 0%, 6% { opacity: 0; } 8%, 16% { opacity: 1; transform: none; } 18%, 100% { opacity: 0; } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }

/* fluxo */
.viz-flow { display: flex; align-items: center; justify-content: center; gap: 0; padding: 20px 14px; flex-wrap: nowrap; }
.vf-node { flex: none; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font: 600 .78rem/1.2 var(--font-title); text-align: center; white-space: nowrap; }
.vf-ai { border-color: rgba(90,169,255,.6); background: rgba(59,108,255,.16); color: #cfe8ff; box-shadow: 0 0 24px rgba(90,169,255,.35); animation: aiPulse 2.4s ease-in-out infinite; }
.vf-link { position: relative; flex: 1; min-width: 18px; height: 1px; background: var(--line-2); }
.vf-link i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flowDot 2.4s linear infinite; }
.vf-link + .vf-node + .vf-link i { animation-delay: 1.2s; }
@keyframes flowDot { from { left: 0; } to { left: calc(100% - 7px); } }
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 18px rgba(90,169,255,.25); } 50% { box-shadow: 0 0 34px rgba(90,169,255,.6); } }
@media (max-width: 420px) { .vf-node { font-size: .7rem; padding: 8px 9px; } }

/* ---------- CASO REAL ---------- */
.case {
  position: relative; display: grid; gap: 28px; padding: clamp(18px, 3vw, 34px); margin-bottom: clamp(48px, 7vw, 80px);
  border-radius: 28px; border: 1px solid rgba(90,169,255,.3); overflow: hidden;
  background: linear-gradient(160deg, rgba(90,169,255,.08), rgba(238,242,248,.015) 40%), var(--bg-2);
  box-shadow: 0 40px 100px -50px rgba(59,108,255,.55);
}
.case-glow { position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(120,40,60,.35), transparent 65%); pointer-events: none; }
.case > :not(.case-glow) { position: relative; }
@media (min-width: 960px) { .case { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 44px; } }
.shot-tall { aspect-ratio: 16 / 10.5; }
.case:hover .browser { border-color: rgba(90,169,255,.45); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .case:hover .shot img, .case:focus-visible .shot img { top: 100%; transform: translateY(-100%); transition-duration: 12s, 12s; transition-timing-function: cubic-bezier(.45,.05,.35,1); }
}
.case-info h3 { margin-top: 16px; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; }
.case-sub { margin-top: 6px; color: var(--accent); font: 500 .95rem var(--font-title); }
.case-info > p:not(.case-sub) { margin-top: 16px; color: var(--muted); }
.case-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case-pills li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; color: var(--text); background: rgba(238,242,248,.03); }
.case-quote { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.tag-live { border-color: rgba(61,220,132,.45); color: #6ee7a4; background: rgba(61,220,132,.07); }
.tag-live::before { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
.projects-label { margin-bottom: 22px; font: 600 .8rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 14px; }
.projects-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- AVALIAÇÕES ---------- */
.reviews { display: grid; gap: 20px; }
@media (min-width: 960px) { .reviews { grid-template-columns: 1.55fr .9fr; gap: 24px; } }
.review {
  position: relative; margin: 0; padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: radial-gradient(70% 90% at 0% 0%, rgba(255,201,77,.08), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(90,169,255,.12), transparent 60%), var(--bg-2);
}
.review-mark { position: absolute; right: 28px; top: -30px; font: 400 14rem/1 var(--font-serif); color: rgba(90,169,255,.12); pointer-events: none; }
.review blockquote { margin: 22px 0 0; }
.review blockquote p { font: 400 clamp(1.25rem, 2.3vw, 1.75rem)/1.45 var(--font-title); letter-spacing: -.015em; color: var(--text); }
.review-who { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.review-av { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #7a1f35, #3d0f1b); border: 1px solid rgba(255,201,77,.4); font: 600 1rem var(--font-title); color: #f3d9a4; }
.review-who strong { display: block; font-family: var(--font-title); }
.review-who small { color: var(--muted); font-size: .88rem; }
.review-link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font: 600 .9rem var(--font-title); }
.review-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.review-next { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(26px, 3.5vw, 40px); border-radius: 28px; border: 1px dashed rgba(90,169,255,.4); background: rgba(90,169,255,.04); }
.review-score { margin-bottom: auto; padding-bottom: 28px; }
.review-score svg { width: 26px; height: 26px; opacity: .9; }
.review-next-t { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-title); letter-spacing: -.02em; }
.review-next-s { color: var(--muted); margin-bottom: 10px; }
.review-next .btn { align-self: flex-start; }

/* ---------- RODAPÉ ---------- */
.footer { padding: clamp(56px, 8vw, 96px) 0 34px; background: radial-gradient(60% 120% at 50% 0%, rgba(59,108,255,.12), transparent 60%), var(--bg-2); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(40px, 6vw, 64px); margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-big { font: 600 clamp(1.9rem, 4.5vw, 3.4rem)/1.05 var(--font-title); letter-spacing: -.03em; max-width: 14em; }
.footer .footer-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer .footer-in { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; align-items: start; } .footer nav ul { justify-content: flex-start; } }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: .93rem; max-width: 22em; }
.footer-h { margin-bottom: 14px; font: 600 .78rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contacts a { color: var(--muted); font-size: .93rem; transition: color .25s; }
.footer-contacts a:hover { color: var(--accent); }
.footer .footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer .footer-legal a { margin-left: 10px; }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora i, .hero-stars, .vs-hero b, .vs-img, .vf-link i, .vf-ai, .tag-live::before, .vc-typing i { animation: none; }
  .vc { animation: none; opacity: 1; transform: none; }
  .vc-typing { display: none; }
}
.contact-list { display: grid; gap: 18px; }
.vs-score { width: 74px; height: 74px; align-content: center; gap: 2px; }
.vs-score small { margin-top: 0; font-size: .46rem; letter-spacing: .04em; }

/* chat dos Bots com IA: legível (v18) */
.viz-chat { gap: 10px; padding: 18px; background: rgba(6,8,15,.75); }
.vc { max-width: 88%; padding: 10px 14px; font-size: .9rem; line-height: 1.4; font-weight: 500; animation-duration: 12s; animation-iteration-count: infinite; animation-delay: 0s; }
.vc-in { background: #1c2436; color: #eef2f8; border: 1px solid rgba(238,242,248,.12); }
.vc-out { background: #2f5bff; color: #ffffff; }
.vc:nth-child(1) { animation-name: vc1; }
.vc:nth-child(2) { animation-name: vc2; }
.vc:nth-child(3) { animation-name: vc3; }
.vc:nth-child(4) { animation-name: vc4; }
@keyframes vc1 { 0% { opacity: 0; transform: translateY(8px); } 3%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes vc2 { 0%, 12% { opacity: 0; transform: translateY(8px); } 15%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes vc3 { 0%, 26% { opacity: 0; transform: translateY(8px); } 29%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes vc4 { 0%, 38% { opacity: 0; transform: translateY(8px); } 41%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* ============ HERO v18: universo interativo, logo ao centro ============ */
.hero { align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 8px) 0 72px; background: radial-gradient(120% 80% at 50% 40%, #0a1024 0%, var(--bg) 70%); }
.hero-space { position: absolute; inset: 0; z-index: 0; }
.hero-space canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-glow, .hero-stars { z-index: 0; }
.hero-space.is-ready ~ .hero-stars, .hero-stars:has(~ .hero-space.is-ready) { opacity: 0; }
.hero-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.hero-center a, .hero-center button { pointer-events: auto; }
.hero-orb-slot { position: relative; width: min(52vh, 78vw, 440px); aspect-ratio: 1.35 / 1; margin-bottom: clamp(4px, 1.5vh, 18px); }
.hero-orb-slot .logo-fallback { position: absolute; inset: 6% 14%; width: 72%; height: 88%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(90,169,255,.4)); transition: opacity .3s; }
.hero-space.is-ready ~ .hero-center .logo-fallback { opacity: 0; }
.hero .hero-title { font-size: clamp(2.3rem, 5.4vw, 4.6rem); max-width: 15ch; filter: drop-shadow(0 2px 18px rgba(6,8,15,.85)); }
.hero .hero-sub { margin: 20px auto 0; max-width: 36em; text-shadow: 0 1px 16px rgba(6,8,15,.9); }
.hero .hero-cta { justify-content: center; margin-top: 28px; }
.hero .hero-proof { margin-top: 22px; background: rgba(6,8,15,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 600px) {
  .hero-orb-slot { width: min(44vh, 86vw); }
  .hero .hero-sub { font-size: 1rem; }
}

@media (max-width: 480px) { .hero-proof { font-size: .8rem; gap: 8px; padding: 8px 14px; } }

/* ===================== v20 — site vivo: animações contínuas (sem revelações ao scroll) ===================== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* Barra de progresso no topo */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, #7cc0ff, #3b6cff 60%, #b28cff);
  transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(90,169,255,.8);
}

/* Céu de estrelas a cintilar atrás de todo o site (fixo, só transform/opacity) */
body::before, body::after {
  content: ""; position: fixed; inset: -50%; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 140px 90px, rgba(200,225,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 260px 170px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 330px 40px, rgba(190,210,255,.7), transparent 60%),
    radial-gradient(1px 1px at 80px 220px, rgba(255,240,220,.7), transparent 60%);
  background-size: 360px 260px;
  animation: twinkle 6s ease-in-out infinite alternate, drift 240s linear infinite;
  opacity: .5;
}
body::after {
  background-size: 520px 420px; background-position: 130px 70px;
  animation: twinkle 9s ease-in-out -4s infinite alternate, drift 360s linear infinite reverse;
  opacity: .35;
}
@keyframes twinkle { from { opacity: .18; } to { opacity: .6; } }
@keyframes drift { to { transform: translate3d(-180px, -120px, 0); } }

/* Auroras a flutuar devagar atrás de cada secção */
.section { position: relative; overflow-x: clip; }
.section::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 90vw); aspect-ratio: 1; left: -20%; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,108,255,.16), rgba(120,80,255,.06) 45%, transparent 70%);
  filter: blur(20px); animation: aurora 26s ease-in-out infinite alternate;
}
.section:nth-of-type(even)::before { left: auto; right: -20%; background: radial-gradient(circle, rgba(140,90,255,.14), rgba(59,108,255,.05) 45%, transparent 70%); animation-duration: 32s; animation-delay: -10s; }
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8vw, 6vh, 0) scale(1.15); }
  100% { transform: translate3d(-4vw, 14vh, 0) scale(.95); }
}

/* Texto em itálico com um reflexo de luz a passar */
.serif-glow {
  background: linear-gradient(110deg, #9fd0ff 0%, #5aa9ff 30%, #e6f3ff 45%, #5aa9ff 60%, #3b6cff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Bordas de luz a rodar (sempre nos destaques, ao passar o rato nos cartões) */
.card::after, .plan::after, .case::after, .review::after, .review-next::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), transparent 0 55%, rgba(124,192,255,.95) 72%, rgba(178,140,255,.9) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .45s;
}
.plan-featured::after, .case::after { opacity: 1; animation: spin-ang 5s linear infinite; }
.card:hover::after, .plan:hover::after, .review:hover::after, .review-next:hover::after { opacity: 1; animation: spin-ang 3.5s linear infinite; }
@keyframes spin-ang { to { --ang: 360deg; } }

/* Luz que segue o rato (planos, caso, avaliações, projetos) */
.has-spot { --sx: 50%; --sy: 50%; }
.has-spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(380px circle at var(--sx) var(--sy), rgba(90,169,255,.14), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.has-spot:hover::before { opacity: 1; }
.project.has-spot { position: relative; }

/* Botões principais: brilho a passar de vez em quando e ao passar o rato */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%); animation: btn-shine 5.5s ease-in-out infinite;
}
.btn-primary:hover::after { animation-duration: 1.2s; }
@keyframes btn-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Ícones dos serviços ganham vida ao passar o rato */
.card-ico { transition: transform .5s cubic-bezier(.3,1.6,.5,1), filter .5s; }
.card:hover .card-ico { transform: translateY(-4px) rotate(-6deg) scale(1.08); filter: drop-shadow(0 0 10px rgba(90,169,255,.7)); }

/* Projetos: imagem com zoom e ligeira subida suaves */
.project { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.project:hover { transform: translateY(-6px); }

/* Pontos a pulsar (estado "online", marquee) */
.tag-live::before, .marquee li::after { animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 6px rgba(90,169,255,.6); transform: scale(1); } 50% { box-shadow: 0 0 18px rgba(90,169,255,1); transform: scale(1.25); } }

/* Rasto de estrelas do cursor */
.star-trail { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9998; pointer-events: none; }


@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .section::before, .serif-glow, .btn-primary::after,
  .plan-featured::after, .case::after, .tag-live::before, .marquee li::after { animation: none !important; }
}

/* ===================== v21 — botões com hover a sério + decoração espacial ligada ao scroll ===================== */
.btn { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s, border-color .3s, color .3s, filter .3s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-primary:hover { filter: brightness(1.14) saturate(1.15); color: #020a1f; box-shadow: 0 0 0 4px rgba(90,169,255,.2), 0 18px 46px -12px rgba(59,108,255,1); }
.btn-ghost:hover { background: rgba(90,169,255,.14); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(90,169,255,.1), 0 14px 34px -14px rgba(90,169,255,.8); }
.btn-wa:hover { box-shadow: 0 0 0 4px rgba(37,211,102,.12), 0 14px 34px -14px rgba(37,211,102,.7); }
.btn svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover svg { transform: translateX(3px) scale(1.08); }
.faq-q { transition: color .25s; }
.faq-q:hover { color: var(--accent); }

/* Camada de decoração atrás do conteúdo */
.section > .container { position: relative; z-index: 1; }
.deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.deco .d { position: absolute; will-change: transform, opacity; }
.deco svg { display: block; width: 100%; height: auto; overflow: visible; }
.deco .d > svg { filter: drop-shadow(0 0 18px rgba(90,169,255,.35)); }
.d-float { animation: d-bob 7s ease-in-out infinite alternate; }
.d:nth-child(2n) .d-float { animation-duration: 9s; animation-delay: -3s; }
@keyframes d-bob { to { transform: translateY(-16px) rotate(4deg); } }
.d-spin { animation: d-spin 50s linear infinite; }
@keyframes d-spin { to { transform: rotate(360deg); } }
.deco .mob { display: none; }

/* Constelações que se desenham com o scroll */
.constel-line { fill: none; stroke: rgba(124,192,255,.55); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.cstar { fill: #eaf4ff; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 4px #7cc0ff); animation: cstar 2.6s ease-in-out infinite alternate; }
.cstar:nth-of-type(2n) { animation-delay: -1.3s; animation-duration: 3.4s; }
.cstar:nth-of-type(3n) { animation-delay: -.7s; }
@keyframes cstar { from { opacity: .35; transform: scale(.7); } to { opacity: 1; transform: scale(1.25); } }

@media (max-width: 767px) {
  .deco .desk { display: none; }
  .deco .mob { display: block; }
  .deco .d > svg { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .d-float, .d-spin, .cstar { animation: none !important; }
}
