/* =========================================================
   GarageDev · Desenvolvimento Web
   CSS puro, sem framework. Mobile first.
   ========================================================= */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #150828;
  --plum-900: #1E0D36;
  --plum-800: #26104A;
  --plum-700: #2A123F;
  --plum-600: #3A1D5F;
  --magenta: #E5117F;
  --magenta-600: #C80E6E;
  --pink: #FF4FA3;
  --violet: #8A3FD1;
  --violet-300: #A96BFF;
  --lavender: #CBB6EC;
  --lav-100: #F3EEFB;
  --lav-50: #FAF8FD;
  --wa: #25D366;

  --text-dark: #1B1030;
  --muted-dark: #574C6F;
  --text-light: #FFFFFF;
  --muted-light: #CFC3E6;
  --line-light: #ECE4F7;
  --line-dark: rgba(255, 255, 255, .1);

  --grad: linear-gradient(90deg, #FF4FA3 0%, #E5117F 45%, #A96BFF 100%);
  --grad-deep: linear-gradient(90deg, #E5117F 0%, #B02BC4 55%, #7B3FD1 100%);
  --grad-btn: linear-gradient(120deg, #F0147F 0%, #D0198A 45%, #9A3BD6 100%);

  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --container: 1180px;
  --shadow-sm: 0 2px 8px rgba(30, 13, 54, .06);
  --shadow-md: 0 18px 40px -18px rgba(30, 13, 54, .28);
  --shadow-glow: 0 18px 44px -14px rgba(229, 17, 127, .55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--magenta); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.kern { margin-left: -.09em; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: #fff; color: var(--text-dark); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Tipografia ---------- */
h1, h2, h3 { letter-spacing: -.022em; line-height: 1.1; font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.light .grad-text, .tint .grad-text { background-image: var(--grad-deep); }

.eyebrow {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--magenta);
  margin-bottom: 14px;
}
.dark .eyebrow { color: #FF7DBD; }
.eyebrow.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  color: #F2EAFF;
  backdrop-filter: blur(8px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--pink); opacity: 0; animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.mono { font-family: var(--mono); }

/* ---------- Botões ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .62rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-glow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -12px rgba(229, 17, 127, .7); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  --header-h: 66px;
  background: rgba(21, 8, 40, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; }
.logo-svg { height: 25px; width: auto; --logo-a: var(--magenta); --logo-t: #fff; }
@media (min-width: 768px) { .site-header .logo-svg { height: 28px; } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; }
.nav-link {
  position: relative; display: block; padding: 8px 12px;
  font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .78);
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Botão hambúrguer (mobile) */
.burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 14px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
}
.burger span { width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .25s var(--ease), width .35s var(--ease); }
.burger span:nth-child(3) { width: 14px; align-self: flex-start; margin-left: 11px; }
.burger:hover span:nth-child(3) { width: 22px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 979px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* Menu lateral (drawer) no padrão da Apetra */
.overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10, 4, 24, .6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 130;
  height: 100%; height: 100dvh; width: min(84vw, 360px);
  display: flex; flex-direction: column; padding: 100px 28px 32px; overflow-y: auto;
  background:
    radial-gradient(300px 260px at 100% 0%, rgba(229, 17, 127, .28), transparent 70%),
    radial-gradient(300px 280px at 0% 100%, rgba(138, 63, 209, .3), transparent 70%),
    linear-gradient(160deg, rgba(38, 16, 74, .97), rgba(21, 8, 40, .98));
  border-left: 1px solid rgba(229, 17, 127, .3);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .7);
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s var(--ease);
}
.drawer.open { transform: none; visibility: visible; }
.d-logo { position: absolute; top: 30px; left: 28px; }
.d-logo .logo-svg { height: 24px; }
.d-close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  transition: background-color .3s, transform .35s var(--ease);
}
.d-close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.d-close .ico { width: 22px; height: 22px; }
.d-nav { display: flex; flex-direction: column; }
.d-link {
  position: relative; padding: 16px 0; font-size: 1.12rem; font-weight: 600; color: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  opacity: 0; transform: translateX(16px); transition: color .25s var(--ease);
}
.drawer.open .d-link { opacity: 1; transform: none; transition: transform .5s var(--ease), opacity .5s var(--ease), color .25s var(--ease); }
.drawer.open .d-link:nth-child(2) { transition-delay: .04s; }
.drawer.open .d-link:nth-child(3) { transition-delay: .08s; }
.drawer.open .d-link:nth-child(4) { transition-delay: .12s; }
.drawer.open .d-link:nth-child(5) { transition-delay: .16s; }
.drawer.open .d-link:nth-child(6) { transition-delay: .2s; }
.drawer.open .d-link:nth-child(7) { transition-delay: .24s; }
.d-link::before {
  content: ""; position: absolute; left: -28px; top: 50%; width: 3px; height: 0; border-radius: 0 3px 3px 0;
  background: var(--grad-btn); transform: translateY(-50%); transition: height .25s var(--ease);
}
.d-link:hover, .d-link.active { color: #fff; }
.d-link:hover::before, .d-link.active::before { height: 60%; }
.d-cta { margin-top: auto; padding-top: 28px; }
.d-contact { margin-top: 18px; font-size: .88rem; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.d-contact a { color: #FF7DBD; }
body.nav-open { overflow: hidden; }

/* ---------- Seções ---------- */
main > section { scroll-margin-top: 66px; }
.section { position: relative; padding: clamp(76px, 10vw, 128px) 0; overflow: hidden; }
.light { background: var(--lav-50); color: var(--text-dark); }
.tint { background: var(--lav-100); color: var(--text-dark); }
.dark { background: var(--ink); color: var(--text-light); }
.dark .lead, .dark p { color: var(--muted-light); }
.light .lead, .tint .lead, .light p, .tint p { color: var(--muted-dark); }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { margin-bottom: 18px; }

.section-bg, .hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 16s ease-in-out infinite alternate;
}
.g1 { width: 520px; height: 520px; right: -120px; top: -140px; background: #E5117F; opacity: .42; }
.g2 { width: 460px; height: 460px; left: -160px; bottom: -120px; background: #8A3FD1; opacity: .45; animation-delay: -6s; }
.g3 { width: 300px; height: 300px; left: 40%; top: 30%; background: #B02BC4; opacity: .18; animation-delay: -11s; }
.g4 { width: 480px; height: 480px; left: -180px; top: 10%; background: #8A3FD1; opacity: .3; }
.g5 { width: 420px; height: 420px; right: -160px; bottom: 5%; background: #E5117F; opacity: .25; animation-delay: -8s; }
.g6 { width: 560px; height: 560px; left: 50%; top: 40%; margin-left: -280px; background: #B02BC4; opacity: .28; }
.g7 { width: 480px; height: 480px; left: -100px; top: -160px; background: #E5117F; opacity: .45; }
.g8 { width: 480px; height: 480px; right: -120px; bottom: -200px; background: #8A3FD1; opacity: .5; animation-delay: -7s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 48px) 0 56px; overflow: hidden; }
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-title { font-size: clamp(2.35rem, 1.45rem + 4.1vw, 4.35rem); line-height: 1.04; margin: 22px 0 22px; }
.hero-lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); max-width: 560px; color: var(--muted-light); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-ctas.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .95rem; color: #E6DCF7; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 18px; height: 18px; color: #fff; padding: 3px; border-radius: 50%; background: var(--grad-btn); stroke-width: 3; }

@media (min-width: 980px) {
  .hero { padding-top: calc(var(--header-h) + 72px); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}

/* Visual: editor + celular */
.hero-visual { position: relative; padding: 10px 44px 70px 0; max-width: 560px; margin-left: auto; width: 100%; }
.editor {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(38, 16, 74, .92), rgba(21, 8, 40, .95));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(229, 17, 127, .08), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.editor-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.editor-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #FF5F57; } .dot.y { background: #FEBC2E; } .dot.g { background: #28C840; }
.editor-tab {
  margin-left: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .76rem; color: #D9CCF2;
  padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07);
}
.editor-tab .ico { width: 14px; height: 14px; color: var(--pink); }
.editor-code {
  margin: 0; padding: 18px 20px 26px; min-height: calc(8 * 1.75em + 44px);
  font-family: var(--mono); font-size: clamp(.7rem, .62rem + .35vw, .86rem); line-height: 1.75;
  color: #EDE6FA; white-space: pre; overflow: hidden;
}
.editor-code .line { display: block; min-height: 1.75em; }
.tk-tag { color: #FF6FB5; } .tk-attr { color: #C8A2FF; } .tk-str { color: #7EE0B8; } .tk-p { color: #9C8DBA; } .tk-txt { color: #F4EEFF; }
.caret {
  display: inline-block; width: .55em; height: 1.15em; vertical-align: -.2em; margin-left: 1px;
  background: var(--pink); animation: blink 1s steps(1) infinite;
}
.editor-code code .line:last-child { display: inline; }
@keyframes blink { 50% { opacity: 0; } }

.phone {
  position: absolute; right: 0; bottom: 0; width: clamp(150px, 36%, 200px); aspect-ratio: 9 / 18.5;
  border-radius: 30px; padding: 8px; background: #0E0818;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 60px -10px rgba(229, 17, 127, .35);
  animation: floaty 7s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 12px; left: 50%; width: 34%; height: 14px; margin-left: -17%; border-radius: 10px; background: #0E0818; z-index: 2; }
.phone-screen {
  position: relative; height: 100%; border-radius: 23px; overflow: hidden;
  background: #FFF8FB; display: flex; flex-direction: column; gap: 8%; padding-bottom: 10px;
  font-family: var(--font); color: #2B1A3F;
}
.ms { transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .ms { opacity: 0; transform: translateY(10px) scale(.97); }
.js .ms.on { opacity: 1; transform: none; }
.ms-nav { display: flex; justify-content: space-between; align-items: center; padding: 30px 12px 0; }
.ms-logo { width: 38px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #E5117F, #8A3FD1); }
.ms-burger { width: 14px; height: 9px; border-top: 2px solid #2B1A3F; border-bottom: 2px solid #2B1A3F; }
.ms-hero {
  margin: 0 8px; padding: 14px 10px 14px; border-radius: 16px; text-align: center;
  background: linear-gradient(160deg, #FFE1EF 0%, #EFE2FF 100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ms-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #fff; background: var(--grad-btn); box-shadow: 0 6px 14px -4px rgba(229, 17, 127, .6);
}
.ms-title { font-weight: 800; font-size: clamp(11px, 1.1vw, 14px); letter-spacing: -.01em; }
.ms-sub { font-size: clamp(7.5px, .7vw, 9.5px); color: #6A5A80; text-wrap: balance; }
.ms-btn {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 4px;
  font-size: clamp(7px, .65vw, 9px); font-weight: 700; color: #fff; background: var(--wa);
  padding: 6px 9px; border-radius: 999px; box-shadow: 0 6px 12px -4px rgba(37, 211, 102, .6);
}
.ms-btn .ico { width: 10px; height: 10px; }
.ms-btn { text-wrap: balance; text-align: center; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 8px; }
.ms-cards span { height: 38px; border-radius: 10px; background: #fff; box-shadow: 0 4px 10px -4px rgba(43, 26, 63, .25); border-top: 3px solid #E5117F; }
.ms-cards span:nth-child(2) { border-top-color: #B02BC4; }
.ms-cards span:nth-child(3) { border-top-color: #8A3FD1; }
.ms-lines { display: grid; gap: 5px; padding: 0 12px; }
.ms-lines span { height: 5px; border-radius: 3px; background: #E9DFF3; }
.ms-lines span:last-child { width: 65%; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .82rem; font-weight: 700; color: #fff;
  background: rgba(38, 16, 74, .72); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7);
  animation: floaty 6s ease-in-out infinite;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.float-chip .ico { width: 16px; height: 16px; color: var(--pink); }
.fc1 { left: -26px; bottom: 40px; animation-delay: -1s; }
.fc2 { right: 31%; bottom: 104px; animation-delay: -3s; }
.fc2 .ico { color: var(--wa); }
.fc3 { left: 30%; top: -12px; animation-delay: -4.5s; }
.js .float-chip { opacity: 0; }
.js .hero-visual.done .float-chip { opacity: 1; }
.js .hero-visual.done .fc2 { transition-delay: .25s; }
.js .hero-visual.done .fc3 { transition-delay: .5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 979px) {
  .hero-visual { margin: 0 auto; padding-right: 34px; }
  .fc1 { left: -8px; }
}
@media (max-width: 520px) {
  .hero-visual { padding: 16px 22px 64px 0; }
  .editor-code { padding: 14px 14px 20px; }
  .fc1 { bottom: 10px; left: 0; font-size: .76rem; }
  .fc2 { display: none; }
  .fc3 { left: 10px; top: -8px; font-size: .74rem; }
  .hero-ctas .btn { width: 100%; }
}

/* Números */
.stats {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: 64px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px);
}
.stats li { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; border-color: var(--line-dark); border-style: solid; border-width: 0; }
.stats li:nth-child(odd) { border-right-width: 1px; }
.stats li:nth-child(-n+2) { border-bottom-width: 1px; }
.stats strong { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats li > span { font-size: .9rem; color: var(--muted-light); line-height: 1.4; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li { padding: 28px 30px; }
  .stats li:nth-child(-n+2) { border-bottom-width: 0; }
  .stats li:nth-child(odd) { border-right-width: 0; }
  .stats li:not(:last-child) { border-right-width: 1px; }
}

/* ---------- Cards (Por que) ---------- */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 17, 127, .09), transparent 60%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #E6CFEF; }
.card:hover::before { opacity: 1; }
.card h3 { margin: 20px 0 10px; }
.card p { font-size: .98rem; }
.why-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.icon-badge {
  display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px;
  color: #fff; background: var(--grad-btn); box-shadow: 0 12px 24px -10px rgba(229, 17, 127, .6);
  transition: transform .45s var(--ease);
}
.icon-badge .ico { width: 24px; height: 24px; }
.card:hover .icon-badge, .feature:hover .icon-badge { transform: rotate(-6deg) scale(1.06); }

/* ---------- Features ---------- */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #E6CFEF; }
.feature .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.feature .icon-badge .ico { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: .94rem; line-height: 1.55; }
@media (min-width: 1040px) { .feature { flex-direction: column; } }

/* ---------- Portfólio ---------- */
.projects { position: relative; display: grid; gap: clamp(72px, 9vw, 120px); }
.project { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) {
  .project { grid-template-columns: 1.2fr .8fr; gap: 64px; }
  .project:nth-child(even) { grid-template-columns: .8fr 1.2fr; }
  .project:nth-child(even) .project-media { order: 2; }
}
.project-media { position: relative; padding: 0 9% 12% 0; }
.project:nth-child(even) .project-media { padding: 0 0 12% 9%; }
.browser {
  border-radius: 14px; overflow: hidden; background: #1C1330;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .85), 0 0 0 1px rgba(229, 17, 127, .06);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #221838; }
.bdots { display: inline-flex; gap: 6px; }
.bdots i { width: 9px; height: 9px; border-radius: 50%; background: #4A3D66; }
.bdots i:nth-child(1) { background: #FF5F57; } .bdots i:nth-child(2) { background: #FEBC2E; } .bdots i:nth-child(3) { background: #28C840; }
.burl {
  flex: 1; max-width: 280px; margin: 0 auto; text-align: center; font-family: var(--mono); font-size: .72rem; color: #BFB0DC;
  padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device {
  position: absolute; right: 0; bottom: 0; width: 25%; min-width: 92px;
  border-radius: 22px; padding: 5px; background: #0E0818; overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .7s var(--ease);
}
.project:nth-child(even) .device { right: auto; left: 0; }
.device img { border-radius: 17px; width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; }
.project:hover .browser { transform: translateY(-8px); box-shadow: 0 50px 90px -34px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(229, 17, 127, .45); }
.project:hover .device { transform: translateY(-14px) rotate(-2deg); }
.project:nth-child(even):hover .device { transform: translateY(-14px) rotate(2deg); }

.kicker { font-family: var(--mono); font-size: .8rem; color: #FF7DBD; }
.project-body h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 10px 0 14px; }
.project-body p { margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags li { font-size: .82rem; font-weight: 600; color: #EADFFB; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; padding-bottom: 4px; background: var(--grad) no-repeat left bottom / 100% 2px; transition: background-size .45s var(--ease), gap .35s var(--ease); }
.link-arrow:hover { gap: 12px; background-size: 40% 2px; }
.link-arrow .ico { width: 18px; height: 18px; color: var(--pink); }

/* ---------- Como funciona ---------- */
.steps { position: relative; display: grid; gap: 18px; counter-reset: s; }
.step {
  position: relative; padding: 26px 24px 26px 86px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line-light); box-shadow: var(--shadow-sm);
}
.step-num { position: absolute; right: 20px; top: 18px; font-family: var(--mono); font-weight: 700; font-size: .85rem; color: #D5C3EA; }
.step-icon {
  position: absolute; left: 22px; top: 24px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--grad-btn);
  box-shadow: 0 0 0 6px var(--lav-50), 0 10px 22px -8px rgba(229, 17, 127, .6);
}
.step-icon .ico { width: 21px; height: 21px; }
.step h3 { margin-bottom: 8px; font-size: 1.12rem; }
.step p { font-size: .96rem; }
.steps::before {
  content: ""; position: absolute; left: 44px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #E5117F, #8A3FD1);
  transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) .2s;
}
.js .steps .step { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .steps.is-visible .step { opacity: 1; transform: none; }
.js .steps.is-visible .step:nth-child(2) { transition-delay: .15s; }
.js .steps.is-visible .step:nth-child(3) { transition-delay: .3s; }
.js .steps.is-visible .step:nth-child(4) { transition-delay: .45s; }
.js .steps[data-reveal] { opacity: 1; transform: none; }
.steps.is-visible::before, html:not(.js) .steps::before { transform: scaleY(1); }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .step { padding: 92px 24px 28px; text-align: left; }
  .step-icon { left: 24px; top: 24px; width: 52px; height: 52px; }
  .steps::before { left: 12%; right: 12%; top: 50px; bottom: auto; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .steps.is-visible::before { transform: scaleX(1); }
  .step { z-index: 1; background: transparent; border: 0; box-shadow: none; padding: 116px 8px 0 0; }
  .step-icon { left: 0; box-shadow: 0 0 0 8px var(--lav-50), 0 10px 22px -8px rgba(229, 17, 127, .6); }
  .step-num { left: 0; right: auto; top: 88px; font-size: .85rem; color: var(--magenta); }
  .steps::before { left: 26px; right: calc((100% - 66px) / 4 - 26px); z-index: 0; }
}

/* ---------- Investimento ---------- */
.pricing { position: relative; display: grid; gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1.15fr .85fr; } }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 36px 30px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(42, 18, 63, .96), rgba(26, 11, 48, .98)) padding-box,
    linear-gradient(140deg, #FF4FA3, #E5117F 40%, #8A3FD1) border-box;
  box-shadow: 0 40px 90px -40px rgba(229, 17, 127, .7);
}
.badge {
  position: absolute; top: -14px; left: 30px; font-size: .78rem; font-weight: 800; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px; color: #fff; background: var(--grad-btn); box-shadow: var(--shadow-glow);
}
.price-card h3 { font-size: 1.45rem; }
.price-desc { font-size: .98rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 0; }
.price .cur { font-size: 1.3rem; font-weight: 700; color: #fff; }
.price .val { font-size: clamp(3rem, 2.4rem + 2.4vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.price .per { font-family: var(--mono); font-size: .82rem; color: #FF7DBD; }
.price-sm .val { font-size: clamp(2rem, 1.7rem + 1.2vw, 2.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-split { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #E6DCF7 !important; }
.price-split .ico { color: var(--pink); }
.checklist { display: grid; gap: 11px; margin: 8px 0 14px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; color: #F1EAFD; }
.checklist .ico { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; color: #fff; background: rgba(229, 17, 127, .85); stroke-width: 3; }
.price-card:not(.featured) .checklist .ico { background: rgba(138, 63, 209, .75); }
.price-card .btn { margin-top: auto; }
.fineprint { font-size: .82rem !important; line-height: 1.55; color: #A99BC6 !important; }
.price-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .18);
  font-size: .93rem; line-height: 1.5; color: #E6DCF7 !important;
}
.price-note .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--pink); }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .about { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.about-media { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.photo-frame {
  position: relative; border-radius: var(--radius-lg); padding: 6px;
  background: linear-gradient(140deg, #FF4FA3, #E5117F 40%, #8A3FD1);
  box-shadow: 0 40px 70px -34px rgba(58, 29, 95, .6);
  transform: rotate(-2deg); transition: transform .7s var(--ease);
}
.about-media:hover .photo-frame { transform: rotate(0deg); }
.photo-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 23px; filter: contrast(1.05); }
.photo-frame::after {
  content: ""; position: absolute; inset: 6px; border-radius: 23px; pointer-events: none;
  background: linear-gradient(160deg, rgba(229, 17, 127, .18), rgba(138, 63, 209, .28)); mix-blend-mode: soft-light;
}
.gd-badge {
  position: absolute; left: -14px; bottom: -22px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; background: var(--plum-900);
  box-shadow: 0 20px 40px -14px rgba(30, 13, 54, .7), 0 0 0 6px var(--lav-50);
  animation: floaty 6s ease-in-out infinite;
}
.gd-badge svg { width: 70%; height: auto; --logo-a: var(--magenta); --logo-t: #fff; }
.about-chip {
  position: absolute; right: -8px; top: 26px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--text-dark);
  padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-md);
}
.about-chip .ico { color: var(--magenta); width: 16px; height: 16px; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { margin-bottom: 16px; }
.about-copy .quote {
  position: relative; padding: 18px 20px 18px 22px; margin: 22px 0 26px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-light); border-left: 4px solid var(--magenta);
  font-style: italic; color: #3F3456;
}
.about-points { display: grid; gap: 12px; }
@media (min-width: 640px) { .about-points { grid-template-columns: repeat(3, 1fr); } }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: var(--muted-dark); }
.about-points strong { color: var(--text-dark); display: block; }
.about-points .ico { width: 22px; height: 22px; color: var(--magenta); margin-top: 1px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line-light); transition: box-shadow .35s, border-color .35s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: #E6CFEF; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; text-align: left; font-weight: 700; font-size: 1.04rem; color: var(--text-dark);
}
.faq-q .ico {
  width: 32px; height: 32px; padding: 7px; border-radius: 50%; flex: none;
  color: var(--magenta); background: var(--lav-100); transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--magenta); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; font-size: .98rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; padding: clamp(84px, 11vw, 140px) 0; overflow: hidden; text-align: center; }
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #1E0D36 0%, #2A123F 50%, #3A1D5F 100%);
}
.cta-inner { position: relative; max-width: 820px; }
.cta-inner h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.7rem); margin: 18px 0 18px; }
.cta-inner .lead { max-width: 580px; margin: 0 auto; }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 36px; font-size: .95rem; color: #E6DCF7; }
.contact-list li { display: inline-flex; align-items: center; gap: 8px; }
.contact-list .ico { width: 18px; height: 18px; color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer { background: #0F0620; color: var(--muted-light); padding: 64px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1fr; gap: 56px; } }
.footer-brand .logo-svg { height: 30px; }
.footer-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .38em; color: var(--lavender); margin: 12px 0 18px; }
.footer-text { font-size: .95rem; max-width: 340px; }
.site-footer h4 { font-size: .8rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.footer-nav a, .footer-contact a { width: fit-content; transition: color .25s, transform .3s var(--ease); display: inline-flex; align-items: center; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; transform: translateX(3px); }
.footer-contact .ico { width: 17px; height: 17px; color: var(--pink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: #9C8DBA; }
.footer-bottom .mono { color: var(--pink); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--wa); box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility .4s;
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.4s var(--ease) infinite;
}
.wa-float.show { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: scale(1.08); }
body.nav-open .wa-float { opacity: 0; visibility: hidden; }

/* ---------- Acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .ms, .js .float-chip, .js .steps .step { opacity: 1 !important; transform: none !important; }
}
