/* ==========================================================================
   AprimeLink Studio — premium futuristic web agency
   Dark, glassmorphic, neon-gradient UI system.
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens (:root)
   02. Reset & base
   03. Layout: container, section, grid, helpers
   04. Background FX: canvas, aurora, grid/noise
   05. Typography: kicker, titles, sec-head
   06. Buttons
   07. Icons (.ico mask system)
   08. Cards (glass + pointer-follow highlight)
   09. Header / nav / burger / mobile-nav
   10. Brand
   11. Hero + HUD + floating chips
   12. Features
   13. Solutions
   14. Stats
   15. Work / portfolio
   16. Plans / pricing
   17. Compare table
   18. CTA band
   19. Forms / fields
   20. Pills, tags, crumb
   21. Page hero
   22. Footer + social
   23. Floating WhatsApp button
   24. Reveal animations
   25. Accessibility (focus + reduced motion)
   26. Responsive breakpoints
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Surfaces */
  --bg: #05060a;
  --bg-2: #0a0e1a;
  --ink: #eef2ff;
  --muted: #93a0c4;

  /* Brand spectrum */
  --blue: #2f6bff;
  --cyan: #22d3ee;
  --purple: #a855f7;
  --violet: #7c3aed;
  --orange: #ff7a1a;

  /* Hairlines */
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .06);

  /* Glass fills */
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .07);

  /* Gradients */
  --grad: linear-gradient(135deg, var(--cyan), var(--blue) 45%, var(--purple));
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(124, 58, 237, .18));
  --grad-orange: linear-gradient(135deg, #ffb347, var(--orange));

  /* Radii & sizing */
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;

  /* Spacing scale (8px base) */
  --sp-1: 6px;
  --sp-2: 12px;
  --sp-3: 18px;
  --sp-4: 28px;
  --sp-5: 44px;
  --sp-6: 68px;
  --sp-7: 104px;

  /* Glows */
  --glow-cyan: 0 0 0 1px rgba(34, 211, 238, .35), 0 18px 50px -12px rgba(34, 211, 238, .45);
  --glow-blue: 0 0 0 1px rgba(47, 107, 255, .35), 0 18px 50px -12px rgba(47, 107, 255, .5);
  --glow-purple: 0 18px 60px -14px rgba(124, 58, 237, .5);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
  --t-slow: .6s var(--ease);

  /* Pointer-follow defaults (overridden by JS per-card) */
  --mx: 50%;
  --my: 50%;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* establish a stacking context so FX layers stay behind content */
  position: relative;
  isolation: isolate;
}

/* Layered depth: deep radial wash on the body backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(47, 107, 255, .14), transparent 60%),
    radial-gradient(1000px 600px at 100% 0%, rgba(168, 85, 247, .12), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}

img,
svg,
video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(34, 211, 238, .28); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--purple));
  border-radius: 20px;
  border: 2px solid var(--bg);
}

/* Content must sit above the FX layers */
.site-header,
main,
.site-footer { position: relative; z-index: 1; }


/* ==========================================================================
   03. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.section {
  position: relative;
  padding-block: clamp(56px, 9vw, var(--sp-7));
}

/* Hero section needs extra top room under the fixed header */
.section--hero { padding-top: clamp(96px, 14vw, 168px); }

/* Alt section: faint banded surface to break long pages */
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 30%, rgba(255, 255, 255, .02));
  border-block: 1px solid var(--line-2);
}

/* Generic grid system */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; margin-inline: auto; }
.center.sec-head__sub,
.center.hero__sub { max-width: 64ch; }


/* ==========================================================================
   04. BACKGROUND FX
   ========================================================================== */

/* Canvas particle field (JS-driven) */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .6;
}

/* Aurora: slow-drifting blurred gradient blobs */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora__blob {
  position: absolute;
  width: 52vmax;
  height: 52vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .32;
  will-change: transform;
}
.aurora__blob--1 {
  top: -18vmax;
  left: -10vmax;
  background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 60%);
  animation: aurora-a 26s var(--ease) infinite alternate;
}
.aurora__blob--2 {
  bottom: -22vmax;
  right: -12vmax;
  background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 60%);
  animation: aurora-b 32s var(--ease) infinite alternate;
}
.aurora__blob--3 {
  top: 28%;
  left: 38%;
  width: 40vmax;
  height: 40vmax;
  opacity: .2;
  background: radial-gradient(circle, rgba(47, 107, 255, .5), transparent 60%);
  animation: aurora-a 38s var(--ease) infinite alternate-reverse;
}
@keyframes aurora-a {
  to { transform: translate3d(18vw, 10vh, 0) scale(1.18); }
}
@keyframes aurora-b {
  to { transform: translate3d(-16vw, -8vh, 0) scale(1.22); }
}

/* Optional faint grid + noise overlay tying the page together */
.fx-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  opacity: .5;
}


/* ==========================================================================
   05. TYPOGRAPHY
   ========================================================================== */

/* Kicker: small uppercase eyebrow with a leading gradient line + dot */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, .7);
}

/* Shared heading face */
.sec-head__title,
.hero__title,
.page-hero__title,
.cta-band__title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}

/* Neon gradient word — wrap the highlighted word in <em> */
.sec-head__title em,
.hero__title em,
.page-hero__title em,
.cta-band__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* subtle bloom behind the gradient text */
  filter: drop-shadow(0 4px 24px rgba(34, 211, 238, .25));
}

.hero__title { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
.page-hero__title { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.sec-head__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta-band__title { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }

/* Section head block */
.sec-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 5vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.sec-head--left {
  text-align: left;
  align-items: flex-start;
  margin-inline: 0;
}
.sec-head__sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 60ch;
}


/* ==========================================================================
   06. BUTTONS
   ========================================================================== */
.btn {
  --sheen: rgba(255, 255, 255, .55);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
  isolation: isolate;
}

/* Sweeping sheen on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, var(--sheen) 50%, transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .2s;
}
.btn:hover::after { transform: translateX(120%); opacity: .35; }

.btn .ico { width: 1.05em; height: 1.05em; }

/* Primary — neon gradient */
.btn--primary {
  background: var(--grad);
  color: #07111f;
  font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(34, 211, 238, .5), 0 8px 24px -10px rgba(124, 58, 237, .55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -8px rgba(34, 211, 238, .7), 0 14px 38px -10px rgba(124, 58, 237, .7);
}

/* Ghost — glass outline */
.btn--ghost {
  background: var(--glass);
  border-color: var(--line);
  backdrop-filter: blur(10px);
  color: var(--ink);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

/* Orange — warm accent */
.btn--orange {
  background: var(--grad-orange);
  color: #1a0e00;
  font-weight: 600;
  box-shadow: 0 12px 34px -10px rgba(255, 122, 26, .65);
}
.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px -10px rgba(255, 122, 26, .8);
}

/* Sizes */
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }


/* ==========================================================================
   07. ICONS — masked gradient glyphs
   --------------------------------------------------------------------------
   Base .ico paints --grad through an SVG mask. Each modifier just swaps --m.
   Size via font-size (1em) or explicit width/height.
   ========================================================================== */
.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -.12em;
  background: var(--grad);
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

/* Service / feature icons */
.ico--landing       { --m: url(../icons/landing.svg); }
.ico--site          { --m: url(../icons/site.svg); }
.ico--system        { --m: url(../icons/system.svg); }
.ico--menu          { --m: url(../icons/menu.svg); }
.ico--niche         { --m: url(../icons/niche.svg); }
.ico--whatsapp-auto { --m: url(../icons/whatsapp-auto.svg); }
.ico--payments      { --m: url(../icons/payments.svg); }
.ico--forms         { --m: url(../icons/forms.svg); }
.ico--dashboard     { --m: url(../icons/dashboard.svg); }

/* Contact / social */
.ico--whatsapp      { --m: url(../icons/whatsapp.svg); }
.ico--instagram     { --m: url(../icons/instagram.svg); }
.ico--mail          { --m: url(../icons/mail.svg); }
.ico--clock         { --m: url(../icons/clock.svg); }

/* Utility / UI */
.ico--arrow         { --m: url(../icons/arrow.svg); }
.ico--check         { --m: url(../icons/check.svg); }
.ico--x             { --m: url(../icons/x.svg); }
.ico--rocket        { --m: url(../icons/rocket.svg); }
.ico--shield        { --m: url(../icons/shield.svg); }
.ico--bolt          { --m: url(../icons/bolt.svg); }
.ico--target        { --m: url(../icons/target.svg); }
.ico--sparkles      { --m: url(../icons/sparkles.svg); }
.ico--layers        { --m: url(../icons/layers.svg); }
.ico--gauge         { --m: url(../icons/gauge.svg); }
.ico--code          { --m: url(../icons/code.svg); }
.ico--wand          { --m: url(../icons/wand.svg); }

/* Semantic colour overrides */
.ico--check { background: linear-gradient(135deg, #34f5b0, #10b981); }
.ico--x     { background: linear-gradient(135deg, #ff8aa0, #ef4444); opacity: .85; }


/* ==========================================================================
   08. CARDS — glassmorphism + pointer-follow highlight
   ========================================================================== */
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* inset top highlight for that "lit glass" edge */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 22px 60px -30px rgba(0, 0, 0, .8);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
  overflow: hidden;
  isolation: isolate;
}

/* Pointer-follow radial highlight (JS sets --mx/--my) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(34, 211, 238, .16), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, .4);
  background: var(--glass-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 26px 70px -28px rgba(34, 211, 238, .35),
    0 24px 60px -34px rgba(124, 58, 237, .4);
}
.card:hover::before { opacity: 1; }


/* ==========================================================================
   09. HEADER / NAV / BURGER / MOBILE NAV
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t), box-shadow var(--t);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
/* Glass treatment once the page scrolls */
.site-header.scrolled {
  background: rgba(5, 6, 10, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, .9);
}

/* Primary nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color var(--t-fast);
}
/* Animated underline */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--cyan); }
.nav a.active::after { transform: scaleX(1); }

/* Desktop CTA in header */
.header-cta { display: inline-flex; }

/* Burger (mobile only) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--t), box-shadow var(--t);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t), opacity var(--t);
}
.burger:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
/* 3 bars -> X */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px clamp(18px, 4vw, 32px) 30px;
  background: rgba(8, 10, 18, .9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav a {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--grad-soft);
  border-color: var(--line);
}
.mobile-nav .btn { margin-top: 12px; }


/* ==========================================================================
   10. BRAND
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
/* Logo real da AprimeLink (ícone) */
.brand__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(124, 58, 237, .45));
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  color: #06101e;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 8px 24px -6px rgba(34, 211, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.brand__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -.01em;
}
.brand__name b {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ==========================================================================
   11. HERO + HUD + FLOATING CHIPS
   ========================================================================== */
.hero { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero__sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  max-width: 56ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* Hero visual column */
.hero__visual {
  position: relative;
  perspective: 1200px;
}

/* HUD — glass frame holding the floating UI mock */
.hud {
  position: relative;
  padding: 26px;
  min-height: 320px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 40px 90px -40px rgba(34, 211, 238, .4),
    0 30px 80px -50px rgba(124, 58, 237, .5);
  overflow: hidden;
}
/* gradient edge sweep across the HUD */
.hud::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .5;
  pointer-events: none;
}

/* Floating chips */
.chip,
.float-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(10, 14, 26, .7);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .8);
}
.chip .ico,
.float-chip .ico { font-size: 1.05em; }

/* Floating variant positions absolutely + gently bobs */
.float-chip {
  position: absolute;
  z-index: 2;
  animation: float-chip 6s ease-in-out infinite;
  will-change: transform;
}
.float-chip--tl { top: 8%;  left: -6%;  animation-delay: -1s; }
.float-chip--tr { top: 18%; right: -8%; animation-delay: -3s; }
.float-chip--bl { bottom: 14%; left: -4%; animation-delay: -2s; }
.float-chip--br { bottom: 6%; right: -2%; animation-delay: -4s; }
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}


/* ==========================================================================
   12. FEATURES
   ========================================================================== */
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.feature__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  margin: 0;
}
.feature__text { margin: 0; color: var(--muted); font-size: .98rem; }


/* ==========================================================================
   13. SOLUTIONS
   ========================================================================== */
.solution { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.solution__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 1.6rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.solution__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  margin: 0;
}
.solution__desc { margin: 0; color: var(--muted); }
.solution__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
}
.solution__benefits li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: .96rem;
}
/* custom neon bullet */
.solution__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(34, 211, 238, .8);
}
.solution__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  font-size: .95rem;
}
.solution__cta .ico { transition: transform var(--t); }
.solution__cta:hover .ico { transform: translateX(4px); }


/* ==========================================================================
   14. STATS
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.stat { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  color: var(--muted);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* ==========================================================================
   15. WORK / PORTFOLIO
   ========================================================================== */
.work {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.work__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--grad-soft);
  overflow: hidden;
}
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.work:hover .work__media img { transform: scale(1.06); }
.work__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 26px);
}
.work__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
}
.work__body p { margin: 0; color: var(--muted); font-size: .95rem; }
.work__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  font-size: .92rem;
}
.work__cta .ico { transition: transform var(--t); }
.work:hover .work__cta .ico { transform: translateX(4px); }

/* .tag badge (also reused standalone) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .25);
  border-radius: 999px;
  width: fit-content;
}


/* ==========================================================================
   16. PLANS / PRICING
   ========================================================================== */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.plan__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #07111f;
  background: var(--grad);
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(34, 211, 238, .7);
}
.plan__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
}
.plan__desc { margin: 0; color: var(--muted); font-size: .95rem; }
.plan__price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.plan__price small {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .96rem;
  color: var(--ink);
}
.plan__features li .ico { margin-top: .15em; font-size: 1.05em; }
.plan__features li.is-off { color: var(--muted); }
.plan .btn { margin-top: auto; }

/* Featured plan — glow border, scale, badge already absolute */
.plan--featured {
  border-color: rgba(34, 211, 238, .45);
  background: var(--glass-2);
  transform: scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 30px 80px -30px rgba(34, 211, 238, .45),
    0 28px 70px -40px rgba(124, 58, 237, .55);
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 1;
}
.plan--featured:hover { transform: scale(1.04) translateY(-6px); }


/* ==========================================================================
   17. COMPARE TABLE
   ========================================================================== */
.compare {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* row is "display: contents" so the 3 cells flow into the grid */
.compare__row { display: contents; }
.compare__row > * {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
/* zebra striping on the body cells */
.compare__row:nth-of-type(even):not(.compare__row--head) > * {
  background: rgba(255, 255, 255, .02);
}
/* header row */
.compare__row--head > * {
  background: var(--grad-soft);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.compare__feat { font-weight: 500; color: var(--ink); }
.compare__common,
.compare__pro {
  justify-content: center;
  text-align: center;
  color: var(--muted);
}
.compare__pro {
  background: rgba(34, 211, 238, .05);
  color: var(--ink);
  font-weight: 500;
}
.compare__row:last-child > * { border-bottom: none; }


/* ==========================================================================
   18. CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  overflow: hidden;
  box-shadow:
    0 40px 90px -40px rgba(34, 211, 238, .4),
    0 30px 80px -50px rgba(124, 58, 237, .55);
}
/* gradient edge */
.cta-band::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;
  opacity: .7;
  pointer-events: none;
}
/* glow wash behind text */
.cta-band::after {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 60%;
  background: radial-gradient(50% 100% at 50% 0%, rgba(34, 211, 238, .25), transparent 70%);
  pointer-events: none;
}
.cta-band__sub {
  margin: 16px auto 26px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.cta-band__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}


/* ==========================================================================
   19. FORMS / FIELDS
   ========================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: rgba(10, 14, 26, .6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393a0c4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(147, 160, 196, .6); }

/* Focus ring in cyan */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  background: rgba(10, 14, 26, .85);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .25);
}

/* Invalid state */
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .22);
}
.field .field__error {
  font-size: .82rem;
  color: #ff8aa0;
}


/* ==========================================================================
   20. PILLS, TAGS, CRUMB
   ========================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.pill .ico { font-size: 1.05em; }

/* Breadcrumb */
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
}
.crumb a { transition: color var(--t-fast); }
.crumb a:hover { color: var(--cyan); }
.crumb__sep { opacity: .5; }
.crumb [aria-current="page"] { color: var(--ink); }


/* ==========================================================================
   21. PAGE HERO
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(48px, 7vw, 80px);
  text-align: center;
  overflow: hidden;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.page-hero__sub {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
}
/* faint gradient + grid backdrop */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(34, 211, 238, .16), transparent 65%),
    radial-gradient(700px 360px at 80% 0%, rgba(124, 58, 237, .14), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(100% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}


/* ==========================================================================
   22. FOOTER + SOCIAL
   ========================================================================== */
.site-footer {
  margin-top: clamp(60px, 9vw, 100px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(10, 14, 26, .6));
  padding-block: clamp(48px, 7vw, 72px) 30px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 32ch; }
.site-footer__brand p { margin: 0; color: var(--muted); font-size: .95rem; }
.site-footer__col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 16px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer__col a {
  color: var(--muted);
  font-size: .95rem;
  transition: color var(--t-fast);
}
.site-footer__col a:hover { color: var(--cyan); }
.site-footer__hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
}
.site-footer__hours li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: .88rem;
}

/* Social row of glass circles */
.social { display: flex; gap: 12px; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 1.1rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.social a:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}


/* ==========================================================================
   23. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #04130b;
  background: linear-gradient(135deg, #34e08a, #1fb866);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 1.5rem;
  box-shadow: 0 14px 36px -10px rgba(31, 184, 102, .7);
  backdrop-filter: blur(8px);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 224, 138, .55);
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 46px -10px rgba(31, 184, 102, .85);
}
.wa-float .ico { background: #04130b; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 224, 138, .5); }
  70%  { box-shadow: 0 0 0 18px rgba(52, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 224, 138, 0); }
}


/* ==========================================================================
   24. REVEAL ANIMATIONS (JS toggles .in via IntersectionObserver)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
/* staggered children via inline --d or nth helpers */
.reveal[style*="--d"] { transition-delay: var(--d); }


/* ==========================================================================
   25. ACCESSIBILITY
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.social a:focus-visible,
.wa-float:focus-visible {
  outline-offset: 4px;
  box-shadow: var(--glow-cyan);
}

/* Respect reduced-motion: kill transforms, animations, reveal hiding */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .float-chip,
  .aurora__blob,
  .wa-float::before { animation: none !important; }
  .card:hover,
  .plan--featured:hover,
  .btn:hover { transform: none !important; }
}


/* ==========================================================================
   26. RESPONSIVE
   ========================================================================== */

/* Tablet / small desktop */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer__hours { grid-column: 1 / -1; }
}

/* Header collapse + hero stack */
@media (max-width: 920px) {
  .nav,
  .header-cta { display: none; }
  .burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { align-items: center; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .sec-head--left { text-align: center; align-items: center; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  /* keep featured plan from overflowing on stacked layout */
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }

  .float-chip--tl { left: 2%; }
  .float-chip--tr { right: 2%; }
  .float-chip--bl { left: 2%; }
  .float-chip--br { right: 2%; }
}

/* Phones */
@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Tighten everything on small phones */
@media (max-width: 560px) {
  .section { padding-block: clamp(44px, 12vw, 64px); }
  /* o hero precisa continuar limpando o header fixo (72px), senão a logo cobre o texto */
  .section--hero { padding-top: 92px; }
  .container { padding-inline: 18px; }

  /* full-width buttons in the hero */
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .cta-band__cta .btn { width: 100%; }

  .stats { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { justify-content: center; text-align: center; }

  /* keep compare table legible: compress feature column */
  .compare { grid-template-columns: 1.3fr .85fr .85fr; }
  .compare__row > * { padding: 13px 12px; font-size: .9rem; }

  /* hide off-canvas float chips that would clip */
  .float-chip--tl,
  .float-chip--bl { display: none; }
}


/* ==========================================================================
   27. PATCHES — classes presentes no markup (contrato + páginas)
   ========================================================================== */

/* Header: linha flex do topo (o elemento também carrega .container) */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Hero (home): coluna de texto + linha de ações
   — espelha .hero__content / .hero__cta */
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
}

/* Utilitários de empilhamento */
.stack { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.stack-sm { display: flex; flex-wrap: wrap; gap: 12px; }

/* Variações de card */
.card--pad { padding: clamp(28px, 3vw, 40px); }
.card--glow {
  border-color: rgba(34, 211, 238, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 40px 90px -40px rgba(34, 211, 238, .42),
    0 30px 80px -50px rgba(124, 58, 237, .5);
}

/* Nota de apoio do formulário */
.form__note { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }

/* Título e descrição dos cards de portfólio
   — espelha .work__body h3 / .work__body p */
.work__title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.2rem; margin: 0; }
.work__desc { margin: 0; color: var(--muted); font-size: .95rem; }
