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

:root {
  --surface-975: hsl(0 0% 3%);
  --surface-950: hsl(0 0% 5%);
  --surface-900: hsl(0 0% 8%);
  --surface-850: hsl(0 0% 10%);
  --surface-800: hsl(0 0% 13%);
  --surface-750: hsl(0 0% 16%);
  --surface-700: hsl(0 0% 22%);
  --surface-600: hsl(0 0% 32%);

  /* Green accent — WhatsApp-inspired dark green */
  --accent: hsl(152 48% 22%);
  --accent-light: hsl(152 42% 32%);
  --accent-glow: hsla(152 50% 28% / 0.3);
  --accent-border: hsla(152 45% 36% / 0.35);
  --accent-fill: hsla(152 48% 22% / 0.18);
  --accent-fill-strong: hsla(152 48% 22% / 0.28);

  --text-white: hsl(0 0% 100%);
  --text-white-80: hsla(0 0% 100% / 0.8);
  --text-white-60: hsla(0 0% 100% / 0.6);
  --text-white-50: hsla(0 0% 100% / 0.5);
  --text-white-35: hsla(0 0% 100% / 0.35);
  --text-white-72: hsla(0 0% 100% / 0.72);

  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;

  --shadow-soft: 0 10px 32px rgba(0, 0, 0, 0.12);
  --shadow-float: 0 18px 48px rgba(0, 0, 0, 0.14);

  --glass-fill: rgba(255, 255, 255, 0.028);
  --glass-fill-strong: rgba(255, 255, 255, 0.04);

  --section-width: min(1280px, calc(100% - 3rem));
  --section-gap: clamp(3rem, 6vw, 5rem);
  --card-gap: clamp(0.875rem, 1.5vw, 1.25rem);

  /* Header compact — superfície anima sem mover o bloco fixo inteiro */
  --header-compact-dur: 0.72s;
  --header-compact-ease: cubic-bezier(0.25, 0.9, 0.32, 1);
  --header-shadow-dur: 0.55s;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: clamp(15px, 0.92vw + 0.25rem, 17px);
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  background: var(--surface-975);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: var(--text-white);
  border-radius: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 3;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.2;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  /* Sem blur pesado no ::before/::after — custo alto de composição no Chrome */
}

body::before {
  top: 6%;
  left: -8%;
}

body::after {
  right: -10%;
  bottom: 4%;
  width: 26rem;
  height: 26rem;
  opacity: 0.12;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-border);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
  background: none;
  border: none;
}

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

ul {
  list-style: none;
}

/* FOCUS VISIBLE */
:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

/* ── BACKGROUND ── */
.background-video,
.background-scrim,
.background-noise {
  position: fixed;
  inset: 0;
}

.background-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
  background:
    radial-gradient(ellipse 100% 72% at 16% 20%, hsla(152 38% 28% / 0.11), transparent 44%),
    radial-gradient(ellipse 85% 58% at 86% 14%, hsla(152 32% 22% / 0.06), transparent 40%),
    radial-gradient(ellipse 65% 48% at 74% 86%, hsla(152 28% 18% / 0.06), transparent 34%),
    linear-gradient(180deg, hsl(0 0% 7%) 0%, hsl(0 0% 4.5%) 42%, hsl(0 0% 3%) 100%);
}

html.lite-bg .background-fallback {
  display: block;
}

html.lite-bg .background-video {
  display: none !important;
}

.background-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.36) contrast(1.02) saturate(0);
  transform-origin: center center;
}

.background-scrim {
  z-index: 1;
  background:
    radial-gradient(circle at 16% 18%, hsla(152 40% 30% / 0.1), transparent 34%),
    radial-gradient(circle at 82% 14%, hsla(152 40% 30% / 0.06), transparent 26%),
    radial-gradient(circle at 74% 76%, hsla(152 40% 30% / 0.07), transparent 30%),
    linear-gradient(180deg, hsla(0 0% 3% / 0.14) 0%, hsla(0 0% 3% / 0.5) 48%, hsla(0 0% 3% / 0.72) 100%);
}

.background-noise {
  z-index: 2;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 20%, hsla(0 0% 100% / 0.1) 0.6px, transparent 0.8px);
  background-size: 36px 36px;
  pointer-events: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ── STICKY HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  padding: 0.65rem max(1rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
  transition: padding var(--header-compact-dur) var(--header-compact-ease);
}

.site-header.scrolled {
  padding: 0.5rem max(1rem, env(safe-area-inset-right)) 0.5rem max(1rem, env(safe-area-inset-left));
}

.header-surface {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  padding: 0;
  transform: translate3d(0, 0, 0);
  transition:
    max-width var(--header-compact-dur) var(--header-compact-ease),
    border-radius var(--header-compact-dur) var(--header-compact-ease),
    background var(--header-shadow-dur) ease,
    border-color var(--header-shadow-dur) ease,
    box-shadow var(--header-shadow-dur) var(--header-compact-ease),
    padding var(--header-compact-dur) var(--header-compact-ease),
    -webkit-backdrop-filter var(--header-compact-dur) var(--header-compact-ease),
    backdrop-filter var(--header-compact-dur) var(--header-compact-ease);
}

.site-header.scrolled .header-surface {
  max-width: min(1040px, calc(100% - 2rem));
  border-radius: 999px;
  background: hsla(0 0% 6% / 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid hsla(152 40% 30% / 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    0 1px 0 hsla(0 0% 100% / 0.04) inset;
  padding: 0.32rem 0.85rem;
  overflow: hidden;
}

.header-inner {
  width: 100%;
  min-width: 0;
  max-width: var(--section-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: max-width var(--header-compact-dur) var(--header-compact-ease), gap 0.35s ease;
}

.site-header.scrolled .header-inner {
  max-width: 100%;
  gap: 0.5rem;
}

.header-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.1rem;
}

.site-header.scrolled .header-nav-links {
  gap: 0;
}

.header-nav-links a {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-white-60);
  transition: color 220ms ease, background 220ms ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-nav-links a:hover {
  color: var(--text-white);
  background: var(--accent-fill);
}

@media (min-width: 1181px) {
  .site-header.scrolled .brand {
    font-size: 1.05rem;
  }

  .site-header.scrolled .header-nav-links a {
    padding: 0.28rem 0.48rem;
    font-size: 0.65rem;
    letter-spacing: 0.01em;
  }

  .site-header.scrolled .header-cta {
    padding: 0.32rem 0.65rem;
    font-size: 0.68rem;
    gap: 0.35rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
  min-width: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-white);
  background: var(--accent);
  border: 1px solid var(--accent-border);
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease, font-size 0.35s ease,
    padding 0.35s ease;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.header-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* Menu hamburger: apenas em viewports onde a nav inline está oculta (ver media abaixo) */
.menu-trigger {
  display: none !important;
  flex-shrink: 0;
}

.header-cta svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── BASE LAYOUT ── */
.site-shell,
.footer {
  position: relative;
  z-index: 10;
}

.section-shell {
  width: var(--section-width);
  margin: 0 auto;
  position: relative;
}

.hero {
  min-height: 100vh;
  padding: 4.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: 1.45rem;
  min-height: calc(100vh - 6rem);
}

.hero-main {
  position: relative;
  min-width: 0;
}

.hero-main-panel {
  position: absolute;
  inset: 0.75rem;
  border-radius: 2.9rem;
  box-shadow: var(--shadow-float);
  pointer-events: none;
}

.hero-main-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 16%, hsla(152 40% 30% / 0.12), transparent 26%),
    radial-gradient(circle at 88% 18%, hsla(152 40% 30% / 0.06), transparent 22%),
    linear-gradient(180deg, hsla(0 0% 100% / 0.04), transparent 36%, hsla(152 40% 30% / 0.04) 100%);
  opacity: 0.78;
}

.hero-main-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 6rem);
  padding: 2.5rem 2.85rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.hero-actions,
.hero-pills,
.footer-links,
.final-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-white);
  flex-shrink: 0;
  min-width: 0;
}

.brand img,
.hero-logo {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.16));
}

.text-muted-strong {
  color: var(--text-white-60);
  font-weight: 400;
}

/* ── GLASS ── */
.liquid-glass,
.liquid-glass-strong {
  position: relative;
  overflow: hidden;
  border: none;
  isolation: isolate;
}

.liquid-glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.liquid-glass::before,
.liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.liquid-glass::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.28) 100%
  );
}

.liquid-glass-strong {
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.liquid-glass-strong::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.12) 20%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.12) 80%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

/* ── HERO ── */
.menu-trigger,
.cta-link,
.account-button,
.contact-note,
.metric-card,
.feature-card,
.solution-card,
.step-card,
.faq-item,
.footer-panel {
  box-shadow: var(--shadow-soft);
}

.menu-trigger,
.cta-link,
.account-button {
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.menu-trigger,
.cta-link,
.account-button,
.inline-link,
.faq-question,
.plus-button {
  cursor: pointer;
}

.menu-trigger,
.account-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-white);
}

.menu-trigger svg,
.cta-link svg,
.account-button svg,
.feature-icon svg,
.mini-icon svg,
.faq-chevron,
.mobile-menu-close svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow,
.hero-label,
.card-kicker,
.panel-tag,
.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.hero-title,
.section-heading h2,
.community-card h2,
.solution-panel h3,
.process-spotlight h3,
.final-cta h2 {
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-title {
  margin-top: 0.8rem;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  max-width: 16ch;
  text-wrap: balance;
  line-height: 0.95;
}

h1 em,
h2 em,
h3 em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  color: var(--text-white-72);
  font-weight: 500;
}

.hero-subtitle,
.section-heading p,
.community-card p,
.mini-card p,
.feature-card p,
.solution-panel p,
.solution-card p,
.step-card p,
.contact-copy p,
.contact-note p,
.faq-answer p,
.final-cta p,
.footer-brand p,
.metric-copy,
.feature-highlight p {
  color: var(--text-white-60);
  line-height: 1.75;
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 38rem;
  color: var(--text-white-72);
}

.section-heading h2,
.community-card h2,
.solution-panel h3,
.process-spotlight h3,
.final-cta h2 {
  text-wrap: balance;
}

.hero-actions {
  margin-top: 2rem;
}

/* ── PRIMARY CTA (green accent) ── */
.cta-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.35rem;
  border-radius: 999px;
  color: var(--text-white);
  background: var(--accent);
  border: 1px solid var(--accent-border);
  box-shadow: 0 8px 28px var(--accent-glow);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.cta-button:hover,
.submit-button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
}

.cta-button:active,
.submit-button:active {
  transform: translateY(0) scale(0.98);
}

.cta-button {
  min-width: 14rem;
}

.hero .cta-button {
  min-width: 14rem;
  padding: 0.85rem 1rem 0.85rem 1.3rem;
}

.hero .cta-link {
  padding: 0.8rem 1rem;
}

.submit-button {
  width: 100%;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-white-80);
}

.cta-link--whatsapp {
  gap: 0.65rem;
}

.cta-link__wa-icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: hsla(152 48% 32% / 0.35);
  color: hsl(142 72% 56%);
}

.cta-link__wa-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  stroke: none;
}

.icon-circle,
.feature-icon,
.mini-icon,
.plus-button,
.success-mark,
.mobile-menu-close {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.cta-button .icon-circle,
.submit-button .icon-circle {
  background: hsla(152 45% 36% / 0.3);
}

.icon-circle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-circle.compact {
  width: 2.3rem;
  height: 2.3rem;
}

.hero .icon-circle,
.hero .mini-icon,
.hero .plus-button {
  width: 3rem;
  height: 3rem;
}

.hero .icon-circle.compact {
  width: 2.5rem;
  height: 2.5rem;
}

.hero-pills {
  margin-top: 1.8rem;
}

.info-pill {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-white-72);
  letter-spacing: 0.04em;
}

.hero .info-pill {
  padding: 0.75rem 1.1rem;
  font-size: 0.78rem;
}

.hero-foot {
  margin-top: auto;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-quote {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-quote p {
  max-width: 24ch;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--text-white);
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-white-50);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.hero-signature span {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

.account-button {
  margin-left: auto;
}

.community-card,
.metric-card,
.feature-card,
.solution-panel,
.solution-card,
.step-card,
.contact-note,
.contact-card,
.faq-item,
.final-cta,
.footer-panel {
  padding: 1.7rem;
  border-radius: var(--radius-xl);
}

.community-card {
  width: min(23rem, 100%);
}

.hero-side .community-card {
  border-radius: 2.3rem;
  padding: 1.85rem;
}

.community-card h2,
.final-cta h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-side .community-card h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 0.94;
}

.community-card p {
  margin-top: 0.9rem;
}

.side-bottom {
  margin-top: auto;
  padding: 1.15rem;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-side .side-bottom {
  border-radius: 2.8rem;
  padding: 1.25rem;
}

.split-cards,
.section-grid--three,
.card-grid--three,
.process-grid,
.contact-notes {
  display: grid;
  gap: var(--card-gap);
}

.split-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card h3,
.feature-card h3,
.solution-card h3,
.step-card h3,
.contact-note h3,
.contact-success h3 {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mini-card,
.feature-card,
.solution-card,
.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-side .mini-card {
  padding: 1.35rem;
  border-radius: 2rem;
}

.hero-side .mini-card h3 {
  font-size: 1.15rem;
}

.feature-highlight {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
}

.hero-side .feature-highlight {
  border-radius: 2rem;
  padding: 1.3rem;
}

.feature-highlight img {
  width: 96px;
  height: 64px;
  border-radius: 1rem;
  object-fit: cover;
}

.feature-highlight h3 {
  margin-top: 0.3rem;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-side .feature-highlight h3 {
  font-size: 1.25rem;
  line-height: 1;
}

.plus-button {
  font-size: 1.4rem;
  color: var(--text-white);
}

/* ── CONTENT SECTIONS ── */
.metrics-section,
#integrations,
#features,
#solutions,
#how-it-works,
.contact-shell,
.faq-shell,
#cta-final,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.metrics-section {
  margin-top: 1rem;
  padding-bottom: 1.5rem;
}

.section-grid--three,
.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-value,
.step-index {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.07em;
  color: var(--text-white);
}

.metric-label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.metric-copy {
  margin-top: 0.75rem;
}

.section-heading {
  max-width: 44rem;
  margin: 0 0 2.5rem;
}

.section-heading--left {
  margin-bottom: 0;
}

.section-heading h2 {
  margin-top: 0.75rem;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.section-heading p {
  margin-top: 0.85rem;
  max-width: 38rem;
}

#integrations,
#features,
#solutions,
#how-it-works,
#contact,
#faq,
#cta-final {
  padding: var(--section-gap) 0;
}

/* Section dividers */
#integrations,
#features,
#solutions,
#how-it-works,
#contact,
#faq {
  border-top: 1px solid hsla(152 40% 30% / 0.08);
}

.feature-card {
  min-height: 14rem;
}

.feature-icon,
.mini-icon {
  background: var(--accent-fill);
  box-shadow: inset 0 1px 1px hsla(152 40% 50% / 0.1);
}

.feature-icon svg,
.mini-icon svg,
.stack-icon svg {
  color: var(--accent-light);
}

/* ── INTEGRAÇÕES (stack) ── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
}

.stack-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 11.5rem;
  box-shadow: var(--shadow-soft);
}

.stack-card h3 {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stack-card p {
  color: var(--text-white-60);
  line-height: 1.7;
  font-size: 0.9rem;
}

.stack-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--accent-fill);
  box-shadow: inset 0 1px 1px hsla(152 40% 50% / 0.1);
}

.stack-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solutions-layout,
.process-layout,
.contact-layout,
.faq-layout {
  display: grid;
  gap: var(--card-gap);
}

.solutions-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.solution-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-fill);
  color: var(--accent-light);
  font-weight: 500;
  border: 1px solid var(--accent-border);
}

.solution-panel h3,
.process-spotlight h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.solution-column {
  display: grid;
  gap: var(--card-gap);
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-white-80);
  line-height: 1.7;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent-light);
}

.bullet-list.compact li {
  line-height: 1.5;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-light);
  width: fit-content;
  transition: opacity 220ms ease;
  font-weight: 500;
}

.inline-link:hover {
  opacity: 0.7;
}

.inline-link::after {
  content: "→";
  font-size: 1rem;
}

.process-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
}

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

.step-index {
  color: var(--accent-light);
}

.process-spotlight {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  border: 1px solid var(--accent-border);
}

/* ── FORM FAQ FOOTER ── */
.contact-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 2rem);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}

.contact-notes {
  margin-top: 0.5rem;
}

.contact-card {
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid hsla(0 0% 100% / 0.06);
  outline: none;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
  font-size: 0.9rem;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 6px 20px rgba(0, 0, 0, 0.05);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-white-35);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 0 0 3px var(--accent-glow);
  outline: none;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-success {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-success[hidden] {
  display: none;
}

.success-mark {
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  transform: rotate(45deg);
  background: var(--accent-fill);
  color: var(--accent-light);
}

.contact-success p {
  margin-top: 0.6rem;
  color: var(--text-white-60);
}

.faq-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-white);
  text-align: left;
}

.faq-question span {
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--accent-light);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-chevron {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), padding 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 1.35rem 1.3rem;
}

.faq-item.open .faq-answer {
  max-height: 28rem;
}

.final-cta {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.75rem;
  border: 1px solid hsla(152 40% 30% / 0.12);
}

.final-cta p {
  max-width: 42rem;
  margin: 1rem auto 0;
}

.final-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* ── FOOTER ── */
.footer {
  width: var(--section-width);
  margin: 0 auto 2rem;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links {
  justify-content: center;
  gap: 0.35rem;
}

.footer-links a {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease;
}

.footer-links a,
.footer-copy {
  color: var(--text-white-60);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-white);
  background: var(--accent-fill);
}

.footer-copy {
  text-align: right;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.68s var(--header-compact-ease),
    transform 0.68s var(--header-compact-ease);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger children */
.card-grid--three .reveal:nth-child(2),
.section-grid--three .reveal:nth-child(2),
.process-grid .reveal:nth-child(2),
.solution-column .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.card-grid--three .reveal:nth-child(3),
.section-grid--three .reveal:nth-child(3),
.process-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.card-grid--three .reveal:nth-child(4) {
  transition-delay: 80ms;
}

.card-grid--three .reveal:nth-child(5) {
  transition-delay: 160ms;
}

.card-grid--three .reveal:nth-child(6) {
  transition-delay: 240ms;
}

.stack-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.stack-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.stack-grid .reveal:nth-child(4) {
  transition-delay: 240ms;
}

/* ── INTERACTIONS ── */
.interactive,
.feature-card,
.solution-card,
.mini-card,
.stack-card,
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition:
    transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
    color 220ms ease,
    background 220ms ease,
    box-shadow 260ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 220ms ease,
    border-color 220ms ease;
}

.interactive:hover,
.feature-card:hover,
.solution-card:hover,
.mini-card:hover,
.stack-card:hover {
  transform: translateY(-3px) scale(1.008);
  box-shadow:
    var(--shadow-float),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.interactive:active {
  transform: translateY(0) scale(0.985);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0.75rem;
  z-index: 30;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 12px, 0) scale(0.985);
  transition:
    opacity 0.36s var(--header-compact-ease),
    transform 0.4s var(--header-compact-ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.mobile-link {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text-white);
  padding: 0.3rem 0;
  transition: opacity 220ms ease, color 220ms ease;
}

.mobile-link:hover {
  color: var(--accent-light);
}

/* ── RESPONSIVE: 1440px+ ── */
@media (min-width: 1440px) {
  :root {
    --section-width: min(1380px, calc(100% - 4rem));
  }
}

/* ── RESPONSIVE: ≤1180px ── */
@media (max-width: 1180px) {
  .header-nav-links {
    display: none;
  }

  .menu-trigger {
    display: inline-flex !important;
    padding: 0.6rem;
  }

  .section-grid--three,
  .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .process-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1rem;
  }

  .footer-copy {
    text-align: left;
  }
}

/* ── RESPONSIVE: ≤1024px ── */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-side {
    display: none;
  }

  .hero-main-panel {
    inset: 0.4rem;
  }

  .hero-main-content {
    min-height: auto;
    padding: 2rem;
  }

  .hero-title {
    max-width: 16ch;
  }

  .solutions-layout {
    grid-template-columns: 1fr;
  }
}

/* ── RESPONSIVE: ≤820px ── */
@media (max-width: 820px) {
  :root {
    --section-width: min(100%, calc(100% - 1.25rem));
  }

  .section-grid--three,
  .card-grid--three,
  .split-cards,
  .stack-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-main-content,
  .community-card,
  .metric-card,
  .feature-card,
  .stack-card,
  .solution-panel,
  .solution-card,
  .step-card,
  .contact-card,
  .faq-item,
  .final-cta,
  .footer-panel {
    border-radius: var(--radius-lg);
  }

  .feature-highlight {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .final-actions,
  .footer-links {
    width: 100%;
  }

  .cta-button,
  .cta-link,
  .account-button {
    width: 100%;
    justify-content: space-between;
  }

  .section-heading {
    margin-bottom: 1.75rem;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    padding: 0.4rem;
    min-width: 2.1rem;
    min-height: 2.1rem;
    justify-content: center;
  }

  .site-header.scrolled {
    padding: 0.45rem 0.75rem;
  }

  .site-header.scrolled .header-surface {
    max-width: min(1040px, calc(100% - 1.5rem));
  }
}

/* ── RESPONSIVE: ≤640px ── */
@media (max-width: 640px) {
  :root {
    --section-width: min(100%, calc(100% - 1rem));
  }

  .hero {
    padding-top: 3.75rem;
  }

  .hero-main-content,
  .contact-card,
  .final-cta {
    padding: 1.25rem;
  }

  .hero-main-panel {
    inset: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-quote p {
    font-size: 1rem;
  }

  .hero-signature span {
    width: 2rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 1rem 1.1rem;
  }

  .faq-answer p {
    padding: 0 1.1rem 1.1rem;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .metric-value,
  .step-index {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* ── RESPONSIVE: ≤480px ── */
@media (max-width: 480px) {
  :root {
    --section-width: calc(100% - 0.75rem);
    --section-gap: 2.25rem;
  }

  .hero-main-content {
    padding: 1rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .brand {
    font-size: 1.1rem;
  }

  .hero .cta-button {
    min-width: auto;
    width: 100%;
    padding: 0.8rem 0.9rem 0.8rem 1.1rem;
    font-size: 0.88rem;
  }

  .hero .cta-link {
    width: 100%;
    justify-content: space-between;
  }

  .hero-pills {
    margin-top: 1rem;
  }

  .info-pill,
  .hero .info-pill {
    padding: 0.5rem 0.75rem;
    font-size: 0.68rem;
  }

  .community-card,
  .metric-card,
  .feature-card,
  .solution-panel,
  .solution-card,
  .step-card,
  .contact-card,
  .faq-item,
  .final-cta,
  .footer-panel {
    padding: 1.15rem;
    border-radius: var(--radius);
  }

  .hero-main-content {
    border-radius: var(--radius-lg) !important;
  }

  .mobile-menu {
    inset: 0.35rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .mobile-link {
    font-size: 1.25rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.86rem;
  }

  .final-cta {
    padding: 1.75rem 1.15rem;
  }

  .footer-panel {
    padding: 1.15rem;
  }

  .hero-foot {
    padding-top: 1.5rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .stack-card {
    min-height: auto;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .interactive,
  .feature-card,
  .solution-card,
  .mini-card,
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .mobile-menu,
  .faq-answer,
  .faq-chevron,
  body::before,
  body::after,
  .background-noise,
  .background-video,
  .hero-main-panel::after,
  .site-header,
  .header-surface,
  .header-inner,
  .cta-button,
  .submit-button,
  .header-cta,
  .skip-link,
  .stack-card {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
