* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --whatsapp: #25d366;
  --bg: #070b15;
  --bg-2: #0b1220;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .06);
  --surface-solid: #0f1a2e;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #e6edf6;
  --muted: #8da2bd;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 60px rgba(2, 6, 23, .6);
  --glow: 0 0 0 1px rgba(20, 184, 166, .35), 0 12px 40px rgba(20, 184, 166, .25);
}

html { scroll-behavior: smooth; min-height: 100%; }

/* Acessibilidade */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--primary); color: #04121a; padding: .7rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
#conteudo:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
#conteudo { flex: 1 0 auto; }
h1, h2, h3, .brand { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }
.lucide, [data-lucide] { width: 1em; height: 1em; vertical-align: -.125em; }

/* Animated background */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; 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: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, .18), transparent 55%),
              radial-gradient(circle at 30% 60%, rgba(20, 184, 166, .22), transparent 55%);
  filter: blur(20px);
  animation: glowPulse 10s ease-in-out infinite alternate;
}
.bg-glow-wrap {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; will-change: transform;
}
.bg-parallax-layer {
  position: absolute; inset: 0; pointer-events: none; will-change: transform;
}
.bg-aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-aurora-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45;
  will-change: transform;
}
.bg-aurora-orb--primary {
  width: 520px; height: 520px; top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(20, 184, 166, .55), transparent 68%);
  animation: auroraDriftA 18s ease-in-out infinite alternate;
}
.bg-aurora-orb--accent {
  width: 460px; height: 460px; top: 12%; right: -8%;
  background: radial-gradient(circle, rgba(34, 211, 238, .42), transparent 70%);
  animation: auroraDriftB 22s ease-in-out infinite alternate;
}
.bg-aurora-orb--deep {
  width: 640px; height: 640px; bottom: -18%; left: 28%;
  background: radial-gradient(circle, rgba(15, 118, 110, .35), transparent 72%);
  animation: auroraDriftC 26s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .75; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
@keyframes auroraDriftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6%, 8%) scale(1.08); }
}
@keyframes auroraDriftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 6%) scale(1.1); }
}
@keyframes auroraDriftC {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(5%, -6%) scale(1.05); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes borderGlow {
  0%, 100% { opacity: .45; }
  50% { opacity: .9; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 11, 21, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.15rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #04121a; font-weight: 800; box-shadow: 0 8px 24px rgba(20, 184, 166, .4); }
.brand-logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(20, 184, 166, .35)); }
.nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 500; font-size: .95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-link-btn { display: inline-flex; align-items: center; gap: .35rem; background: none; border: none; cursor: pointer; color: var(--muted); font: inherit; font-weight: 500; padding: 0; transition: color .2s; }
.nav-link-btn:hover { color: var(--text); }
.nav-link-btn i { width: 16px; height: 16px; }
.admin-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; }
.btn-nav { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #04121a !important; padding: .55rem 1.1rem; border-radius: 10px; font-weight: 700; box-shadow: 0 8px 24px rgba(20, 184, 166, .3); }
.btn-nav:hover { transform: translateY(-1px); }
.nav-toggle { display: none; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); width: 44px; height: 44px; border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle i { width: 22px; height: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.7rem; border-radius: 12px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #04121a; box-shadow: 0 10px 30px rgba(20, 184, 166, .35); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(20, 184, 166, .5); }
.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: #fff; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 3.5rem 0 2rem; position: relative; z-index: 1; overflow: hidden; }
.hero--split { padding-bottom: 0; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  text-align: left;
}
.hero-copy--desktop { grid-column: 1; grid-row: 1; }
.hero-visual-col { grid-column: 2; grid-row: 1; }
.hero-copy { max-width: 560px; }
.hero-title-gradient {
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
  background: linear-gradient(120deg, #fff 0%, #d4f4f0 35%, var(--accent) 70%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}
.hero--split .lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 1.75rem;
}
.hero--split .hero-actions {
  justify-content: flex-start;
  margin-bottom: 1.35rem;
}
.hero-visual-col { display: grid; gap: 1rem; min-width: 0; width: 100%; }
.hero-visual-col .hero-carousel { width: 100%; max-width: none; margin: 0; }
.hero-visual-col .hero-carousel .carousel-viewport {
  aspect-ratio: 16 / 10;
  min-height: clamp(240px, 28vw, 380px);
}
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface-2); border: 1px solid var(--border-strong); padding: .4rem 1rem; border-radius: 999px; font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.tech-marquee {
  margin-top: 2.5rem; padding: 1rem 0 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, .04), transparent);
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tech-marquee-track {
  display: flex; width: max-content; gap: 2.5rem;
  animation: marqueeScroll 32s linear infinite;
}
.tech-marquee-track span {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.tech-marquee-track span::before {
  content: "◆"; color: var(--primary); margin-right: .65rem; font-size: .55rem;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.08; max-width: 880px; margin: 0 auto 1.2rem; background: linear-gradient(180deg, #fff, #b9c6d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-visual { max-width: 880px; margin: 3.5rem auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, transparent, rgba(2,8,20,.25)); pointer-events: none; }
.hero-visual img { display: block; width: 100%; height: auto; }

/* Carrossel */
.carousel { position: relative; width: 100%; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); background: var(--surface); }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.carousel-slide { flex: 0 0 100%; min-width: 100%; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(15, 23, 42, .88); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; backdrop-filter: blur(6px); }
.carousel-btn:hover { border-color: var(--primary); background: rgba(20, 184, 166, .2); transform: translateY(-50%) scale(1.05); }
.carousel-btn--prev { left: clamp(.5rem, 2vw, 1rem); }
.carousel-btn--next { right: clamp(.5rem, 2vw, 1rem); }
.carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0 .5rem; }
.carousel-dot { width: .6rem; height: .6rem; border-radius: 999px; border: none; background: var(--border-strong); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.carousel-dot.is-active { background: var(--primary); transform: scale(1.2); box-shadow: 0 0 10px rgba(20, 184, 166, .45); }

/* Hero carrossel */
.hero-carousel {
  width: min(920px, 100%);
  max-width: 920px;
  margin: 0 auto;
}
.hero-carousel .carousel-viewport {
  aspect-ratio: 16 / 9;
  min-height: clamp(200px, 42vw, 420px);
}
.hero-carousel:has(.hero-slide--content) .carousel-viewport {
  min-height: clamp(300px, 52vw, 420px);
}
.hero-carousel .carousel-track,
.hero-carousel .carousel-slide { height: 100%; }
.hero-slide { position: relative; display: block; height: 100%; color: inherit; text-decoration: none; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-slide--content {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(20, 184, 166, .14), transparent 68%),
    linear-gradient(180deg, rgba(15, 23, 42, .55), rgba(2, 8, 20, .92));
  cursor: default;
}
.hero-slide-inner {
  width: 100%;
  max-width: 880px;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
}
.hero-slide--content .hero-badge { margin-bottom: 1rem; }
.hero-slide--content h1 { margin-bottom: 1rem; }
.hero-slide--content .lead { margin-bottom: 1.6rem; }
.hero-slide--mobile-only { display: none; }
.hero-slide--content .hero-title-gradient { margin-left: auto; margin-right: auto; }
.hero-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(.85rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(transparent, rgba(2, 8, 20, .92));
  font-size: clamp(.8rem, 2vw, .9rem);
  text-align: left;
}
.hero-slide-caption strong { display: block; font-size: clamp(.92rem, 2.4vw, 1.1rem); margin-bottom: .2rem; line-height: 1.3; }
.hero-slide-caption span { color: var(--muted); font-size: clamp(.75rem, 1.8vw, .85rem); }
.hero-slide--link:hover .hero-slide-caption strong { color: var(--accent); }

/* Sections */
.section { padding: 5rem 0; position: relative; z-index: 1; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(20, 184, 166, .04), rgba(34, 211, 238, .03), transparent);
}
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.section-eyebrow--left { display: block; text-align: left; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .6rem; }
.section-head p { color: var(--muted); }
.about { max-width: 780px; text-align: center; margin: 0 auto; }
.about h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.about p { color: var(--muted); font-size: 1.08rem; }

/* Cards generic glass */
.card-glass { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(8px); transition: transform .2s, border-color .2s, box-shadow .2s; }
.card-glass:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }

/* Packages */
.packages-group { margin-bottom: 3rem; }
.packages-group:last-child { margin-bottom: 0; }
.packages-group-title { font-size: clamp(1.35rem, 2.5vw, 1.65rem); margin-bottom: .45rem; text-align: center; }
.packages-group-desc { color: var(--muted); text-align: center; margin-bottom: 1.75rem; font-size: .98rem; }
.packages-group--saas { padding-top: 2.5rem; border-top: 1px solid var(--border); }
.packages-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.package-card.is-saas { border-color: rgba(34, 211, 238, .35); background: linear-gradient(180deg, rgba(34, 211, 238, .08), var(--surface)); }
.package-tag--saas { background: linear-gradient(135deg, var(--accent), #0891b2); color: #04121a; }
.package-segment { display: inline-block; background: var(--surface-2); color: var(--accent); font-size: .74rem; padding: .25rem .65rem; border-radius: 7px; margin-bottom: .6rem; border: 1px solid var(--border); align-self: flex-start; }
.package-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; display: flex; flex-direction: column; min-width: 0; backdrop-filter: blur(8px); transition: transform .2s, border-color .2s, box-shadow .2s; }
.package-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.package-card.is-highlight { border-color: rgba(20, 184, 166, .5); background: linear-gradient(180deg, rgba(20, 184, 166, .12), var(--surface)); box-shadow: var(--glow); }
.package-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--accent)); color: #04121a; font-size: .72rem; font-weight: 800; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; max-width: calc(100% - 1rem); overflow: hidden; text-overflow: ellipsis; }
.package-card h3 { font-size: 1.25rem; margin-bottom: .35rem; line-height: 1.25; }
.package-price { color: var(--accent); font-weight: 700; margin-bottom: .7rem; font-family: "Space Grotesk", sans-serif; }
.package-desc { color: var(--muted); font-size: .92rem; margin-bottom: .85rem; }
.package-details { margin-top: auto; width: 100%; }
.package-details summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .9rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .35rem; width: 100%; padding-top: .15rem; user-select: none; -webkit-tap-highlight-color: transparent; }
.package-details summary::-webkit-details-marker { display: none; }
.package-details summary::after { content: "↓"; flex-shrink: 0; transition: transform .2s; }
.package-details[open] summary::after { transform: rotate(180deg); }
.package-details:not([open]) .package-details-panel { display: none; }
.package-details-panel { padding-top: .65rem; }
.package-details ul { list-style: none; margin: 0 0 1rem; }
.package-details .btn { margin-top: .25rem; }
.package-card li { padding: .4rem 0 .4rem 1.6rem; position: relative; font-size: .92rem; color: #c8d4e4; }
.package-card li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.package-details[open] { border-top: 1px solid var(--border); margin-top: .35rem; padding-top: .5rem; }

/* Data onboarding add-on */
.data-onboarding {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 10%, rgba(20, 184, 166, .16), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(10, 19, 33, .9));
  box-shadow: var(--shadow-lg);
}
.data-onboarding-copy h2 { max-width: 720px; margin-bottom: .8rem; font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
.data-onboarding-copy > p { max-width: 720px; color: var(--muted); font-size: 1.02rem; }
.data-onboarding-list { display: grid; gap: .7rem; margin: 1.35rem 0 0; list-style: none; }
.data-onboarding-list li { display: flex; align-items: center; gap: .7rem; color: #dce7f5; }
.data-onboarding-list i { width: 19px; height: 19px; flex: 0 0 19px; color: var(--primary); }
.data-onboarding-offer {
  padding: 1.6rem;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(7, 17, 29, .72);
}
.data-onboarding-offer strong { display: block; margin: .35rem 0 .6rem; color: var(--accent); font: 700 1.45rem "Space Grotesk", sans-serif; }
.data-onboarding-offer p { margin-bottom: 1.2rem; color: var(--muted); font-size: .92rem; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.portfolio-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.portfolio-card img { height: 190px; object-fit: cover; width: 100%; }
.portfolio-placeholder { height: 190px; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: #04121a; background: linear-gradient(135deg, var(--primary), var(--accent)); font-family: "Space Grotesk", sans-serif; }
.portfolio-body { padding: 1.3rem; }
.portfolio-segment { display: inline-block; background: var(--surface-2); color: var(--accent); font-size: .74rem; padding: .25rem .65rem; border-radius: 7px; margin-bottom: .6rem; border: 1px solid var(--border); }
.portfolio-body h3 { margin-bottom: .4rem; }
.portfolio-body p { color: var(--muted); font-size: .92rem; margin-bottom: .7rem; }
.portfolio-body a { color: var(--accent); font-weight: 600; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.testimonial-quote { font-style: italic; margin-bottom: 1.1rem; color: #d4deec; }
.testimonial-author { font-weight: 700; }
.testimonial-author span { color: var(--muted); font-weight: 400; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: .85rem; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); margin-top: .8rem; }

/* CTA + lead form */
.section-cta { position: relative; }

/* Parallax layers */
.parallax-scene {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.parallax-blob {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: .35;
  will-change: transform; pointer-events: none;
}
.parallax-blob--a {
  width: 280px; height: 280px; top: 8%; left: 4%;
  background: radial-gradient(circle, rgba(20, 184, 166, .55), transparent 70%);
}
.parallax-blob--b {
  width: 220px; height: 220px; top: 42%; right: 8%;
  background: radial-gradient(circle, rgba(34, 211, 238, .45), transparent 70%);
}
.parallax-blob--c {
  width: 180px; height: 180px; bottom: 6%; left: 38%;
  background: radial-gradient(circle, rgba(15, 118, 110, .4), transparent 70%);
}
.hero-visual-parallax,
.hero-copy-parallax {
  will-change: transform;
}
.section--parallax { overflow: hidden; }
.section-parallax-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.section-parallax-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .4;
  will-change: transform;
}
.section-parallax-orb--teal {
  width: 420px; height: 420px; top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(20, 184, 166, .5), transparent 70%);
}
.section-parallax-orb--cyan {
  width: 360px; height: 360px; bottom: -12%; right: -6%;
  background: radial-gradient(circle, rgba(34, 211, 238, .4), transparent 70%);
}
.section-parallax-orb--cta {
  width: 520px; height: 520px; top: 10%; right: -12%;
  background: radial-gradient(circle, rgba(20, 184, 166, .45), transparent 68%);
}
.section-parallax-orb--soft {
  width: 480px; height: 480px; top: 20%; left: 30%;
  background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%);
}
@media (max-width: 768px) {
  .parallax-blob { opacity: .22; filter: blur(36px); }
  .section-parallax-orb { opacity: .28; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-blob,
  .section-parallax-orb,
  .bg-parallax-layer,
  .bg-glow-wrap,
  .hero-visual-parallax,
  .hero-copy-parallax,
  .bg-grid[data-parallax] {
    transform: none !important;
    will-change: auto;
  }
}

.cta-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, .14), rgba(34, 211, 238, .06));
  border: 1px solid var(--border-strong); border-radius: 24px; padding: 2.8rem;
  position: relative; overflow: hidden;
}
.cta-wrap::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(20, 184, 166, .55), transparent 40%, rgba(34, 211, 238, .45));
  background-size: 200% 200%;
  animation: gradientShift 7s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cta-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .7rem; }
.cta-text p { color: var(--muted); }
.lead-form { display: grid; gap: .85rem; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; padding: .9rem 1.1rem; border: 1px solid var(--border-strong); border-radius: 11px; font: inherit; color: var(--text); background: rgba(0, 0, 0, .25); transition: border-color .2s, box-shadow .2s; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #6b7e98; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20, 184, 166, .2); }
.lead-form select { appearance: none; -webkit-appearance: none; cursor: pointer; 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='%236b7e98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; }
.lead-form select option { background: var(--secondary); color: var(--text); }
.lead-form select:invalid, .lead-form option[value=""] { color: #6b7e98; }
.form-success { background: rgba(16, 185, 129, .15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, .3); padding: .75rem 1rem; border-radius: 9px; font-size: .9rem; }
.form-error { background: rgba(239, 68, 68, .15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .3); padding: .75rem 1rem; border-radius: 9px; font-size: .9rem; }
.form-error-list { margin: .5rem 0 0; padding-left: 1.2rem; color: #fca5a5; font-size: .88rem; }
.form-hint { margin-top: .5rem; color: var(--muted); font-size: .85rem; }
.lead-handoff { min-height: 60vh; display: grid; place-items: center; }
.lead-handoff-card { max-width: 520px; margin: 0 auto; text-align: center; background: linear-gradient(135deg, rgba(20, 184, 166, .12), rgba(34, 211, 238, .05)); border: 1px solid var(--border-strong); border-radius: 24px; padding: 2.5rem 2rem; }
.lead-handoff-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #6ee7b7; background: rgba(16, 185, 129, .2); border: 1px solid rgba(16, 185, 129, .35); }
.lead-handoff-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .8rem; }
.lead-handoff-text { color: var(--muted); line-height: 1.6; margin-bottom: .6rem; }
.lead-handoff-hint { color: var(--primary); font-size: .9rem; margin-bottom: 1.2rem; }
.lead-handoff-note { margin-top: 1rem; color: #6b7e98; font-size: .82rem; line-height: 1.5; }
.lead-handoff-btn { margin-top: .25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.login-wrap { max-width: 520px; margin-left: auto; margin-right: auto; }
.login-head { text-align: center; margin-bottom: 1.5rem; }
.login-form { display: grid; gap: 1rem; }
.login-field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--muted); }
.login-field input { width: 100%; padding: .85rem 1rem; border-radius: 11px; }
.password-field { position: relative; display: grid; }
.password-field input { padding-right: 3.25rem; }
.password-toggle { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); border: 1px solid var(--border-strong); background: rgba(0,0,0,.25); color: var(--text); border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.password-toggle i { width: 18px; height: 18px; }
.password-toggle:hover { border-color: var(--primary); }
.login-field .form-error { margin-top: .5rem; display: block; }
.login-alt { text-align: center; color: var(--muted); font-size: .9rem; margin: 0; }
.login-alt a { color: var(--primary); font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.dash-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-grid .dash-card { margin: 0; display: flex; flex-direction: column; min-height: 100%; }
.dash-grid .dash-card h3 { margin-top: 0; }
.dash-card-body { flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.dash-card-actions { margin-top: auto; padding-top: 1.25rem; }
.dash-actions { margin-top: 1.75rem; }
.dash-meta { color: var(--muted); font-size: .88rem; }
.proposal-timeline { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.proposal-timeline--compact { margin-top: .75rem; }
.proposal-step { position: relative; padding-left: 1.35rem; font-size: .9rem; color: var(--muted); }
.proposal-step::before { content: ""; position: absolute; left: 0; top: .45rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--border-strong); }
.proposal-step--done { color: var(--text); }
.proposal-step--done::before { background: var(--primary); }
.proposal-step--current { color: var(--text); font-weight: 600; }
.proposal-step--current::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
.proposal-details { display: grid; gap: .85rem; margin: 0 0 1.25rem; }
.proposal-details div { display: grid; gap: .2rem; }
.proposal-details dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.proposal-details dd { margin: 0; }
.proposal-list, .dsar-list, .saas-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.proposal-list a, .saas-links a { font-weight: 600; color: var(--primary); }
.proposal-list span, .dsar-list span, .saas-links span { display: block; color: var(--muted); font-size: .85rem; }
.proposal-chat-card h3 { margin: 0 0 1rem; font-size: 1.05rem; }
.proposal-chat-messages {
  max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: .65rem;
  margin-bottom: 1rem; padding: .85rem; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(0, 0, 0, .18);
}
.proposal-chat-empty { margin: 0; color: var(--muted); font-size: .9rem; text-align: center; padding: 1rem 0; }
.proposal-chat-msg { max-width: 88%; padding: .65rem .9rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.proposal-chat-msg p { margin: .35rem 0 0; }
.proposal-chat-meta { display: block; font-size: .72rem; color: var(--muted); margin-bottom: .15rem; }
.proposal-chat-msg--client { align-self: flex-end; background: var(--primary); color: #04121a; border-bottom-right-radius: 4px; }
.proposal-chat-msg--client .proposal-chat-meta { color: rgba(4, 18, 26, .65); }
.proposal-chat-msg--staff { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.proposal-chat-form { display: grid; gap: .75rem; }
.proposal-chat-form textarea {
  width: 100%; resize: vertical; min-height: 88px;
  background: rgba(0, 0, 0, .25); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: .75rem .9rem; font-size: .92rem; font-family: inherit;
}
.proposal-chat-form textarea:focus { outline: none; border-color: var(--primary); }
.proposal-chat-form .btn { justify-self: start; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) { .dash-grid, .dash-grid--two { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; margin-top: auto; background: var(--bg-2); flex-shrink: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; }
.footer-brand { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 1.1rem; color: var(--muted); transition: all .2s; }
.footer-social a:hover { color: #04121a; background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-copy { color: var(--muted); font-size: .82rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); text-align: center; }
.newsletter-form { margin-top: 1rem; min-width: 260px; }
.newsletter-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--muted); }
.newsletter-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-row input { flex: 1; min-width: 180px; padding: .7rem .9rem; border-radius: 9px; border: 1px solid var(--border-strong); background: rgba(0,0,0,.25); color: var(--text); }
.global-notice { margin: 1rem auto 0; max-width: 720px; }

/* WhatsApp float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .5); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Login card */
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); margin: 3rem 0; }
.dash-card input { background: rgba(0, 0, 0, .25); color: var(--text); border: 1px solid var(--border-strong) !important; }
.dash-card input:focus { outline: none; border-color: var(--primary) !important; }
.dash-card label { color: var(--muted); }

/* Dashboard */
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.dash-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; display: flex; flex-direction: column; gap: .2rem; transition: border-color .2s; }
.dash-kpi:hover { border-color: var(--border-strong); }
.dash-kpi-value { font-size: 2.1rem; font-weight: 700; font-family: "Space Grotesk", sans-serif; color: var(--accent); }
.dash-kpi-label { color: var(--muted); font-size: .9rem; }
.dash-charts { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.dash-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; }
.dash-panel h3 { font-size: 1rem; margin-bottom: 1rem; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dash-table th, .dash-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--border); }
.dash-table th { color: var(--muted); font-weight: 600; }
.dash-empty { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { grid-template-columns: 1fr; padding: 1.8rem; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .hero-carousel { width: 100%; }
  .hero-copy--desktop {
    display: none !important;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
  }
  .hero-slide--mobile-only { display: flex; }
  .hero-split {
    display: block;
    grid-template-columns: 1fr;
  }
  .hero-visual-col {
    width: 100%;
    grid-column: auto;
    grid-row: auto;
  }
  .hero--split .hero-slide--content .lead { margin: 0 auto 1.4rem; max-width: 100%; }
  .hero--split .hero-slide--content .hero-actions { justify-content: center; margin-bottom: 0; }
  .hero--split .hero-slide-inner { text-align: center; padding: 1.1rem 2.85rem 1.35rem; }
  .hero--split,
  .hero--split .container,
  .hero-visual-col {
    overflow-x: clip;
    max-width: 100%;
  }
  .hero-carousel:has(.hero-slide--mobile-only) .carousel-viewport {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    transition: height .35s ease;
  }
  .hero-carousel:has(.hero-slide--mobile-only) .carousel-track {
    align-items: flex-start;
    min-height: 0;
    height: auto;
  }
  .hero-carousel:has(.hero-slide--mobile-only) .carousel-slide {
    min-height: 0;
    height: auto;
  }
  .hero-carousel:has(.hero-slide--mobile-only) .hero-slide--content {
    min-height: clamp(300px, 88vw, 380px);
    height: auto;
  }
  .hero-carousel:has(.hero-slide--mobile-only) .hero-slide:not(.hero-slide--content) {
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
  }
  .hero-carousel:has(.hero-slide--mobile-only) .hero-slide:not(.hero-slide--content) img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .hero--split .tech-marquee {
    margin-top: 1rem;
    padding-bottom: 1.5rem;
  }
  .section-eyebrow--left { text-align: center; }
}

/* Menu mobile (hambúrguer) */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .data-onboarding { grid-template-columns: 1fr; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface-solid); border-bottom: 1px solid var(--border-strong);
    padding: .8rem 1.25rem 1.2rem; box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 70px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a, .nav-link-btn { padding: .75rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-link-btn { justify-content: flex-start; width: 100%; }
  .admin-link { font-size: 1rem; }
  .btn-nav { text-align: center; margin-top: .6rem; border-bottom: none; padding: .8rem 1.1rem; }
}

@media (max-width: 640px) {
  .packages-grid, .portfolio-grid { grid-template-columns: 1fr; gap: .85rem; }
  .data-onboarding { gap: 1.25rem; padding: 1.25rem; }
  .data-onboarding-copy h2 { font-size: 1.55rem; }
  .data-onboarding-copy > p { font-size: .94rem; }
  .data-onboarding-list li { align-items: flex-start; font-size: .9rem; }
  .data-onboarding-offer { padding: 1.2rem; }
  .package-card { padding: 1.35rem 1.1rem; }
  .package-card:hover { transform: none; }
  .package-card.is-highlight { transform: none; }
  .package-tag { top: -10px; font-size: .68rem; padding: .28rem .75rem; }
  .package-card h3 { font-size: 1.12rem; }
  .package-price { font-size: .98rem; margin-bottom: .55rem; }
  .package-desc { font-size: .88rem; margin-bottom: .65rem; }
  .package-details summary { font-size: .88rem; min-height: 44px; align-items: center; }
  .packages-group { margin-bottom: 2.25rem; }
  .packages-group--saas { padding-top: 2rem; }
  .packages-group-title { font-size: 1.25rem; }
  .packages-group-desc { margin-bottom: 1.25rem; font-size: .92rem; }
  .article-content h1 { font-size: 1.6rem; line-height: 1.2; }
  .hero { padding: 2rem 0 0; }
  .hero-title-gradient { font-size: clamp(1.85rem, 8vw, 2.35rem); line-height: 1.12; }
  .hero-slide--content .hero-title-gradient {
    font-size: clamp(1.28rem, 6vw, 1.72rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  .hero-slide--content .hero-badge { font-size: .72rem; padding: .3rem .75rem; margin-bottom: .75rem; }
  .hero-slide--content .lead { font-size: .9rem; line-height: 1.45; }
  .hero-slide--content .hero-actions .btn { padding: .72rem 1rem; font-size: .88rem; }
  .hero-carousel { width: 100%; }
  .hero-carousel:has(.hero-slide--mobile-only) .hero-slide--content {
    min-height: clamp(280px, 82vw, 340px);
  }
  .hero-carousel:has(.hero-slide--mobile-only) .hero-slide:not(.hero-slide--content) {
    aspect-ratio: 16 / 9;
  }
  .tech-marquee { margin-top: 1rem; padding-bottom: 1.5rem; }
  .hero-slide-caption { padding: .7rem 2.6rem .8rem 1rem; }
  .carousel-btn { width: 2.15rem; height: 2.15rem; }
  .carousel-btn--prev { left: .35rem; }
  .carousel-btn--next { right: .35rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3.2rem 0; }
  .section-head { margin-bottom: 2rem; }
}

/* Modal de contato */
.contact-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.5rem; }
.contact-modal[hidden] { display: none; }
.contact-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 8, 20, .7); backdrop-filter: blur(4px); }
.contact-modal-card { position: relative; width: 100%; max-width: 420px; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); animation: contactPop .2s ease; }
@keyframes contactPop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.contact-modal-card h3 { margin-bottom: .4rem; }
.contact-modal-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.contact-modal-close { position: absolute; top: .8rem; right: 1rem; background: none; border: none; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .2s; }
.contact-modal-close:hover { color: var(--text); }
.contact-modal-links { display: flex; flex-direction: column; gap: .7rem; }
.contact-modal-links a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-weight: 600; transition: border-color .2s, transform .2s; }
.contact-modal-links a:hover { border-color: var(--primary); transform: translateY(-2px); }
.contact-modal-links a i { color: var(--accent); width: 20px; height: 20px; }
.contact-modal-links a .contact-ig { color: var(--accent); flex-shrink: 0; }
.contact-modal-empty { color: var(--muted); font-size: .9rem; }
.budget-modal-card { max-width: 560px; max-height: min(90vh, 760px); overflow-y: auto; }
.budget-modal-card .lead-form { margin-top: .25rem; }
@media (max-width: 600px) {
    .budget-modal { padding: .75rem; align-items: end; }
    .budget-modal-card { max-height: 92vh; padding: 1.25rem 1rem 1.5rem; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
}

/* Processo / como funciona */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.process-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.process-card:hover {
  border-color: rgba(20, 184, 166, .45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 184, 166, .12);
}
.process-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); color: var(--accent); margin-bottom: 1rem; }
.process-icon i { width: 24px; height: 24px; }
.process-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.process-card p { color: var(--muted); font-size: .92rem; }

/* Cases estruturados */
.case-details { margin: .6rem 0; }
.case-details summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .9rem; }
.case-details p { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.case-details strong { color: var(--text); }
.case-link { display: inline-block; margin-top: .6rem; color: var(--primary); font-weight: 600; }

/* Multi-step form */
.lead-steps { display: flex; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.lead-step-dot { width: 32px; height: 4px; border-radius: 2px; background: var(--border-strong); transition: background .2s; }
.lead-step-dot.is-active { background: var(--primary); }
.lead-step { display: flex; flex-direction: column; gap: .8rem; }
.lead-step[hidden] { display: none; }
.lead-step-actions { display: flex; gap: .6rem; }
.lead-step-actions .btn { flex: 1; }

/* Opt-in do formulário */
.lead-consent { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); font-size: .82rem; text-align: left; }
.lead-consent input { width: auto; margin-top: .2rem; flex-shrink: 0; }
.lead-consent a { color: var(--accent); text-decoration: underline; }
.lead-turnstile { display: flex; justify-content: center; min-height: 4.5rem; }
.lead-turnstile--compact { min-height: 3.25rem; margin-top: .65rem; }
.turnstile-invisible-slot {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 300px;
  height: 65px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Rodapé: NAP e links */
.footer-nap { color: var(--muted); font-size: .85rem; margin-top: .6rem; display: flex; align-items: center; gap: .4rem; }
.footer-nap i { width: 15px; height: 15px; }
.footer-nap a { color: var(--muted); }
.footer-links { margin-top: .5rem; font-size: .85rem; }
.footer-links a { color: var(--muted); text-decoration: underline; }
.footer-links a:hover { color: var(--primary); }

/* Assistente de chat */
.assistant-fab { position: fixed; bottom: 24px; left: 24px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer; background: var(--primary); color: #04121a; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(20, 184, 166, .45); transition: transform .2s; }
.assistant-fab:hover { transform: scale(1.08); }
.assistant-fab i { width: 26px; height: 26px; }
.assistant-panel { position: fixed; bottom: 94px; left: 24px; z-index: 950; width: 350px; max-width: calc(100vw - 48px); height: 480px; max-height: calc(100vh - 130px); background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: contactPop .2s ease; }
.assistant-panel[hidden] { display: none; }
.assistant-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.assistant-header strong { display: block; font-size: .95rem; }
.assistant-header span { color: var(--muted); font-size: .78rem; }
.assistant-close { background: none; border: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.assistant-close:hover { color: var(--text); }
.assistant-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.assistant-msg { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.assistant-msg-bot { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.assistant-msg-user { align-self: flex-end; background: var(--primary); color: #04121a; border-bottom-right-radius: 4px; }
.assistant-typing { opacity: .6; letter-spacing: 2px; }
.assistant-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.assistant-chip { background: transparent; border: 1px solid var(--border-strong); color: var(--text); border-radius: 16px; padding: .35rem .8rem; font-size: .8rem; cursor: pointer; transition: border-color .2s, color .2s; }
.assistant-chip:hover { border-color: var(--primary); color: var(--primary); }
.assistant-form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--border); }
.assistant-form input { flex: 1; background: rgba(0,0,0,.25); border: 1px solid var(--border-strong); color: var(--text); border-radius: 10px; padding: .6rem .8rem; font-size: .9rem; }
.assistant-form input:focus { outline: none; border-color: var(--primary); }
.assistant-form button { width: 42px; border: none; border-radius: 10px; background: var(--primary); color: #04121a; cursor: pointer; display: grid; place-items: center; }
.assistant-form button i { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .assistant-panel { left: 12px; bottom: 88px; }
  .assistant-fab { left: 16px; bottom: 16px; }
}

/* Banner de cookies */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 950; max-width: 760px; margin: 0 auto; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 14px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { color: var(--muted); font-size: .88rem; margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s, transform .2s; }
.blog-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.blog-card a { display: block; color: inherit; }
.blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-placeholder { width: 100%; height: 180px; display: grid; place-items: center; font-size: 3rem; font-weight: 700; font-family: "Space Grotesk", sans-serif; color: var(--accent); background: var(--surface-2); }
.blog-card-body { padding: 1.3rem; }
.blog-card-body time { color: var(--muted); font-size: .8rem; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.1rem; margin: .4rem 0 .6rem; }
.blog-card-body p { color: var(--muted); font-size: .9rem; }
.blog-readmore { display: inline-block; margin-top: .8rem; color: var(--primary); font-weight: 600; font-size: .9rem; }
.blog-empty { color: var(--muted); text-align: center; padding: 2rem 0; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Artigo */
.article-content { max-width: 760px; }
.article-back { color: var(--accent); font-weight: 600; font-size: .9rem; }
.article-content h1 { margin: 1rem 0 .4rem; }
.article-date { color: var(--muted); font-size: .85rem; }
.article-cover { width: 100%; border-radius: 16px; margin: 1.5rem 0; }
.article-body { line-height: 1.8; color: var(--text); }
.article-body p { margin-bottom: 1.1rem; color: var(--text); }
.related-title { margin: 3rem 0 1.2rem; }

/* Página de erro (404/500) */
.error-page { text-align: center; }
.error-content { max-width: 540px; }
.error-code { display: block; font-family: "Space Grotesk", sans-serif; font-size: 5rem; font-weight: 700; line-height: 1; color: var(--accent); }
.error-content h1 { margin: .6rem 0; }
.error-content p { color: var(--muted); margin-bottom: 1.6rem; }
.error-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Páginas legais */
.legal-content { max-width: 760px; }
.legal-content h1 { margin-bottom: 1rem; }
.legal-content h2 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; }
.legal-content p { color: var(--muted); line-height: 1.7; }
.legal-intro { font-size: 1rem; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-back { margin-top: 2.5rem; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}

/* ============================================================
   Linha separadora entre seções (sem mudar o fundo)
   ============================================================ */
.section-divider {
  border-top: 1px solid var(--border);
}

/* ============================================================
   Partículas flutuantes (hero + CTA)
   ============================================================ */
.has-particles { position: relative; overflow: hidden; }
.particles-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, .9), rgba(45, 212, 191, 0) 70%);
  opacity: 0;
  animation: particleFloat var(--pt-duration, 14s) ease-in-out var(--pt-delay, 0s) infinite;
}
.particle--cyan { background: radial-gradient(circle, rgba(103, 232, 249, .85), rgba(103, 232, 249, 0) 70%); }
@keyframes particleFloat {
  0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  12% { opacity: var(--pt-opacity, .5); }
  85% { opacity: var(--pt-opacity, .5); }
  100% { transform: translate3d(var(--pt-x, 30px), var(--pt-y, -120px), 0) scale(1.15); opacity: 0; }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   Destaques (3 pilares abaixo do hero)
   ============================================================ */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pillar-card:hover { transform: translateY(-6px); border-color: rgba(20, 184, 166, .45); box-shadow: var(--shadow-lg); }
.pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, .18), rgba(34, 211, 238, .12));
  border: 1px solid rgba(20, 184, 166, .3); color: var(--accent); margin-bottom: 1rem;
  animation: floatSlow 5s ease-in-out infinite;
}
.pillar-card:nth-child(2) .pillar-icon { animation-delay: 1.2s; }
.pillar-card:nth-child(3) .pillar-icon { animation-delay: 2.4s; }
.pillar-icon i { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.pillar-card p { color: var(--muted); font-size: .92rem; }

/* ============================================================
   Processo numerado (1–5)
   ============================================================ */
.process-card { position: relative; }
.process-number {
  position: absolute; top: 1rem; right: 1.25rem;
  font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, rgba(20, 184, 166, .5), rgba(34, 211, 238, .12));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none;
}

/* ============================================================
   O que você recebe (entregáveis)
   ============================================================ */
.deliverables-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.deliverable-item {
  display: flex; align-items: flex-start; gap: .8rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.15rem 1.2rem; transition: border-color .2s, transform .2s;
}
.deliverable-item:hover { border-color: rgba(20, 184, 166, .4); transform: translateY(-3px); }
.deliverable-item i { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary); margin-top: .15rem; }
.deliverable-item span { font-size: .92rem; font-weight: 600; line-height: 1.4; }

/* ============================================================
   Para quem é (personas)
   ============================================================ */
.personas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.persona-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem 1.4rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.persona-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .4); box-shadow: var(--shadow-lg); }
.persona-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2); color: var(--accent); margin-bottom: .9rem;
}
.persona-icon i { width: 23px; height: 23px; }
.persona-card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.persona-card p { color: var(--muted); font-size: .88rem; }

/* ============================================================
   Stack de tecnologias em abas
   ============================================================ */
.stack-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.stack-tab {
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--muted);
  border-radius: 999px; padding: .55rem 1.25rem; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.stack-tab:hover { border-color: var(--primary); color: var(--text); }
.stack-tab.is-active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #04121a; border-color: transparent;
  box-shadow: 0 8px 24px rgba(20, 184, 166, .3);
}
.stack-panel { display: none; }
.stack-panel.is-active { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; animation: contactPop .25s ease; }
.stack-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: .6rem 1.05rem; font-size: .9rem; font-weight: 600; color: var(--text);
  transition: border-color .2s, transform .2s;
}
.stack-chip:hover { border-color: rgba(20, 184, 166, .5); transform: translateY(-2px); }
.stack-chip::before { content: "◆"; color: var(--primary); font-size: .55rem; }

/* ============================================================
   CTA intermediário (banda entre seções)
   ============================================================ */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(20, 184, 166, .12), rgba(34, 211, 238, .06));
  border: 1px solid var(--border-strong); border-radius: 18px;
  padding: 1.6rem 2rem; margin-top: 3rem;
}
.cta-band-text h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.cta-band-text p { color: var(--muted); font-size: .92rem; margin: 0; }
.cta-band-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { box-shadow: 0 16px 40px rgba(37, 211, 102, .5); }

/* ============================================================
   Depoimentos em carrossel
   ============================================================ */
.testimonials-carousel { max-width: 760px; margin: 0 auto; }
.testimonials-carousel .carousel-viewport { background: transparent; border: none; box-shadow: none; }
.testimonials-carousel .testimonial-card { height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 2.4rem 3.2rem; }
.testimonials-carousel .testimonial-quote { font-size: 1.08rem; }

/* Responsivo das novas seções */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .personas-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-band-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .personas-grid { grid-template-columns: 1fr; }
  .testimonials-carousel .testimonial-card { padding: 1.8rem 2.4rem; }
  .stack-tab { padding: .5rem .95rem; font-size: .82rem; }
}
