/* Unick · base: tokens, tipografia, componentes globais */
:root {
  --bg: #05030a;
  --bg-2: #0b0714;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f5f2fb;
  --muted: #a9a3bc;
  --dim: #6e6884;
  --brand: #652ea3;
  --brand-2: #8a4fd8;
  --magenta: #f72fd2;
  --violet: #9b5cff;
  --cyan: #2ed3f2;
  --blue: #3b5bff;
  --grad: linear-gradient(90deg, var(--magenta) 0%, var(--violet) 48%, var(--cyan) 100%);
  --grad-btn: linear-gradient(120deg, var(--blue) 0%, var(--brand-2) 55%, var(--magenta) 120%);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --text-sm: .875rem;
  --text-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --text-lead: clamp(1.05rem, .98rem + .4vw, 1.25rem);
  --text-h3: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
  --text-h2: clamp(2rem, 1.3rem + 3.2vw, 3.75rem);
  --text-hero: clamp(2.6rem, 1.2rem + 5.4vw, 5.4rem);
  --space-section: clamp(5rem, 3.5rem + 7vw, 10rem);
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
  --logo-cut: var(--brand);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--text-base)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 .78rem/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px); font-size: var(--text-sm); color: var(--muted);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.sec-head { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.sec-head > p:last-child { margin-top: 20px; color: var(--muted); font-size: var(--text-lead); }
.sec-head--left { margin-inline: 0; text-align: left; }

/* botões */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad-btn); background-size: 160% 100%; background-position: 0 0; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(91, 91, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 44px -10px rgba(247, 47, 210, .55), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn--ghost:hover { background: rgba(155, 92, 255, .14); transform: translateY(-2px); }

/* card com brilho que segue o mouse */
.glow-card { position: relative; isolation: isolate; }
.glow-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 92, 255, .16), transparent 60%);
  transition: opacity .4s;
}
.glow-card:hover::after { opacity: 1; }

/* barra de progresso de leitura */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 90; transition: background-color .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 3, 10, .72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #fff;
  box-shadow: 0 6px 20px -6px rgba(155, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__mark svg { width: 25px; height: 21px; }
.brand__word { font: 700 1.35rem/1 var(--font-display); letter-spacing: -.04em; }
.nav__links { display: flex; gap: 6px; margin-inline: auto; }
.nav__links a { position: relative; padding: 8px 12px; font-size: .9rem; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.socials { display: flex; gap: 4px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); transition: color .3s, background-color .3s; }
.socials a:hover { color: var(--text); background: var(--surface-2); }
.socials svg { width: 18px; height: 18px; }
.socials:not(:has(> a:not([hidden]))) { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu {
  position: fixed; inset: var(--nav-h) 0 0; display: flex; flex-direction: column; gap: 4px; padding: 24px 16px;
  background: rgba(5, 3, 10, .96); backdrop-filter: blur(18px);
}
.menu[hidden] { display: none; }
.menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font: 600 1.6rem/1.2 var(--font-display); letter-spacing: -.02em; animation: menuIn .5s var(--ease) both; }
.menu a:nth-child(2) { animation-delay: .04s; } .menu a:nth-child(3) { animation-delay: .08s; }
.menu a:nth-child(4) { animation-delay: .12s; } .menu a:nth-child(5) { animation-delay: .16s; } .menu a:nth-child(6) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } }

/* entradas */
.load-in { animation: loadIn 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes loadIn { from { opacity: 0; transform: translateY(36px); filter: blur(10px); } }
.reveal { opacity: 0; transform: translateY(48px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* rodapé */
.footer {
  position: relative; padding: 72px 0 32px;
  background: radial-gradient(60% 120% at 50% 0%, rgba(101, 46, 163, .16), transparent 70%), linear-gradient(180deg, transparent, rgba(101, 46, 163, .1));
}
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--grad); opacity: .55; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px 48px; }
.footer__slogan { margin-top: 22px; font: 700 1.1rem/1.3 var(--font-display); letter-spacing: -.01em; }
.footer__about { max-width: 320px; margin-top: 10px; color: var(--muted); font-size: var(--text-sm); }
.footer__socials { gap: 10px; margin-top: 22px; }
.footer__socials a { border: 1px solid var(--line-strong); color: var(--text); transition: border-color .3s, background-color .3s; }
.footer__socials a:hover { border-color: var(--violet); background: rgba(155, 92, 255, .16); }
.footer__title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 600 .8rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.footer__title::before { content: ""; width: 18px; height: 1px; background: var(--grad); }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--muted); font-size: var(--text-sm); transition: color .3s; }
.footer__col a:hover { color: var(--text); }
.footer__contacts a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contacts svg { flex: none; width: 16px; height: 16px; color: var(--violet); }
.footer__contacts svg.is-wa { color: #25d366; }
.footer__contacts li:not(:has(> a:not([hidden]))) { display: none; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; color: var(--dim); font-size: .8rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa-float.is-on { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 1024px) {
  .nav__links, .nav__right .socials { display: none; }
  .nav__burger { display: inline-block; }
  .nav__right { margin-left: auto; }
}
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { gap: 36px 20px; text-align: center; }
  .footer__brand, .footer__col--contact { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer__about { margin-inline: auto; }
  .footer__title { justify-content: center; }
  .footer__title::before { display: none; }
}
@media (max-width: 560px) {
  :root { --nav-h: 66px; }
  .nav__right .btn { display: none; }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
