/* ==========================================================================
   Prospecly — Landing page
   Design tokens → base → componentes → seções → utilitários
   ========================================================================== */

:root {
  /* Marca */
  --brand-dark: #063B2A;
  --brand-primary: #176B43;
  --brand-green: #19C978;
  --brand-accent: #2FE58A;
  --brand-light: #DDF7E9;
  --background: #F7FAF8;
  --surface: #FFFFFF;
  --text: #081B15;
  --text-muted: #52645C;
  --border: #DCE7E1;

  /* Derivados */
  --brand-deeper: #042A1E;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --on-dark-border: rgba(255, 255, 255, 0.12);
  --gradient-dark: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
  --gradient-green: linear-gradient(135deg, var(--brand-green), var(--brand-accent));

  /* Tipografia */
  --font: "Manrope", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.35rem, 1.4rem + 4.2vw, 4.1rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.3vw, 2.9rem);
  --fs-h3: 1.125rem;
  --fs-lead: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --tracking-tight: -0.04em;

  /* Espaço e forma */
  --container: 1200px;
  --gutter: 16px;
  --section-y: clamp(3rem, 2.25rem + 2.5vw, 4.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 72px;
  --hero-pb: clamp(5.5rem, 4.5rem + 2.5vw, 7rem);      /* respiro abaixo do hero */
  --hero-overlap: clamp(3.5rem, 3rem + 1.5vw, 4.5rem); /* quanto o card de recursos sobe */

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(8, 27, 21, 0.06), 0 1px 3px rgba(8, 27, 21, 0.04);
  --shadow: 0 10px 30px -12px rgba(8, 27, 21, 0.16), 0 2px 6px rgba(8, 27, 21, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(6, 59, 42, 0.35), 0 12px 24px -12px rgba(8, 27, 21, 0.15);
  --shadow-glow: 0 10px 30px -8px rgba(25, 201, 120, 0.55);

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 350ms;
  --dur-slow: 500ms;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

h1, h2 { font-weight: 800; letter-spacing: var(--tracking-tight); line-height: 1.06; }
h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-accent);
  color: var(--brand-dark);
  font-weight: 700;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.text-accent { color: var(--brand-green); }
.on-dark .text-accent, .hero .text-accent { color: var(--brand-accent); }

/* ---------- Componente: Button ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--brand-green);
  --btn-fg: var(--brand-dark);
  background-image: var(--gradient-green);
  box-shadow: 0 6px 18px -8px rgba(25, 201, 120, 0.7);
}
/* brilho discreto que atravessa o botão no hover */
.btn--primary::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform var(--dur-slow) var(--ease);
}
.btn--primary:hover { box-shadow: var(--shadow-glow); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--dark { --btn-bg: var(--brand-dark); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--brand-primary); box-shadow: var(--shadow); }

.btn--ghost-light {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.1); }

.btn--ghost {
  --btn-fg: var(--brand-dark);
  border-color: var(--border);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--brand-green); box-shadow: var(--shadow-sm); }

.btn--sm { min-height: 42px; padding: 0.6rem 1.05rem; font-size: 0.9rem; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Componente: Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-light);
  color: var(--brand-primary);
  border: 1px solid rgba(23, 107, 67, 0.12);
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(25, 201, 120, 0.2);
}
.badge--dark {
  background: rgba(47, 229, 138, 0.1);
  color: var(--brand-accent);
  border-color: rgba(47, 229, 138, 0.25);
}

/* ---------- Seções: cabeçalho padrão ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--text-muted); font-weight: 500; }
.on-dark .section-head p { color: var(--on-dark-muted); }
.on-dark { color: var(--on-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-header--solid,
.site-header.is-scrolled {
  background: rgba(6, 59, 42, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--on-dark-border);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.6);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 0.75rem; }
.site-header__logo { display: inline-flex; flex: none; }
.site-header__logo img { height: 34px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  display: inline-flex; padding: 0.5rem 0.85rem; border-radius: 10px;
  color: var(--on-dark-muted); font-size: 0.925rem; font-weight: 600;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, 0.08); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.site-header__actions .btn--sm { padding-inline: 0.85rem; }
.site-header__login { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--on-dark-border); background: rgba(255, 255, 255, 0.06); color: #fff;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 1rem var(--gutter) 1.5rem;
  background: rgba(6, 59, 42, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--on-dark-border);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open .site-header { background: rgba(6, 59, 42, 0.97); border-bottom-color: var(--on-dark-border); }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 0.25rem; color: #fff; font-weight: 700; font-size: 1.05rem;
  border-bottom: 1px solid var(--on-dark-border);
}
.mobile-menu__list .icon { color: var(--brand-accent); width: 18px; height: 18px; }
.mobile-menu__actions { display: grid; gap: 0.75rem; margin-top: 1.25rem; }

@media (min-width: 480px) {
  .site-header__login { display: inline-flex; }
  .site-header__logo img { height: 40px; }
  .site-header__actions .btn--sm { padding-inline: 1.05rem; }
}
@media (min-width: 1024px) {
  .nav { display: block; margin-left: 1rem; }
  .menu-toggle, .mobile-menu { display: none; }
  .site-header__logo img { height: 44px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(0.75rem, 0.25rem + 1.5vw, 1.5rem));
  padding-bottom: var(--hero-pb);
  background: var(--brand-deeper);
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../assets/images/bg-escritorio.webp");
  background-size: cover; background-position: center 30%;
  opacity: 0.55;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(25, 201, 120, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(4, 42, 30, 0.97) 0%, rgba(4, 42, 30, 0.88) 42%, rgba(4, 42, 30, 0.35) 100%),
    linear-gradient(180deg, transparent 60%, rgba(4, 42, 30, 0.9) 100%);
}
/* grade de pontos discreta */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(47, 229, 138, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(50% 60% at 85% 30%, #000, transparent 75%);
  mask-image: radial-gradient(50% 60% at 85% 30%, #000, transparent 75%);
}

.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__copy { max-width: 620px; }
.hero h1 { font-size: var(--fs-h1); }
.hero__lead { margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero__trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.25rem; margin-top: 2rem;
  font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.85); font-weight: 600;
}
.hero__trust li { display: flex; align-items: center; gap: 0.55rem; }

.check-dot {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(47, 229, 138, 0.16); color: var(--brand-accent);
}
.check-dot .icon { width: 12px; height: 12px; stroke-width: 3; }

/* o pé do mascote encosta no topo do card de recursos */
.hero__visual {
  position: relative; max-width: 620px; margin-inline: auto; width: 100%;
  margin-bottom: calc(var(--hero-overlap) - var(--hero-pb));
}
.hero__mascot {
  position: relative; z-index: 1;
  width: 100%;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.45));
}
.hero__glow {
  position: absolute; inset: 18% 5% 5% 22%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 201, 120, 0.45), transparent);
  filter: blur(30px);
}
/* linhas de conexão */
.hero__lines { position: absolute; inset: -6% -8% auto auto; width: 70%; z-index: 0; color: var(--brand-accent); opacity: 0.55; }

/* Chips flutuantes */
.float-chip {
  position: absolute; z-index: 2;
  display: none; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem; line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-weight: 800; font-size: 0.85rem; }
.float-chip span { color: var(--text-muted); font-weight: 600; }
.float-chip__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand-primary);
}
.float-chip__icon .icon { width: 18px; height: 18px; }
.float-chip--a { top: 8%; left: -4%; }
.float-chip--b { bottom: 18%; left: -8%; animation-delay: -2s; }
.float-chip--c { top: 2%; right: 0; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 640px) {
  .hero__ctas .btn { flex: 0 0 auto; }
  .float-chip { display: flex; }
  .hero__trust { grid-template-columns: repeat(2, max-content); }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 2rem; }
  .hero__grid { align-items: stretch; }
  .hero__copy { align-self: center; }
  .hero__visual { max-width: none; align-self: end; }
}
@media (min-width: 1280px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; }
  /* o bloco tem a largura da linha de destaques: parágrafo e destaques terminam juntos */
  .hero__body { width: min-content; max-width: 100%; }
  .hero__lead { max-width: none; }
  .hero__trust {
    display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0.45rem;
    white-space: nowrap; font-size: 0.8rem;
  }
  .hero__trust li { gap: 0.35rem; }
  .hero__trust .check-dot { width: 16px; height: 16px; }
  .hero__trust .check-dot .icon { width: 10px; height: 10px; }
}

/* ==========================================================================
   Recursos — FeatureCard
   ========================================================================== */
.features { padding-block: 0; }
.features__panel {
  position: relative; z-index: 2;
  margin-top: calc(-1 * var(--hero-overlap));
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.feature-grid { display: grid; gap: 1rem; }

.feature-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(221, 247, 233, 0.55), var(--surface) 55%);
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* camada escura da marca que aparece no hover */
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(47, 229, 138, 0.22), transparent 60%),
    var(--gradient-dark);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
/* linha verde que cresce na base */
.feature-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gradient-green);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 22px 40px -22px rgba(6, 59, 42, 0.6);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { transform: none; }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; }
.feature-card__num {
  padding: 0.25rem 0.55rem; border-radius: 999px;
  background: var(--brand-light); color: var(--brand-primary);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-light); color: var(--brand-primary);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-tile .icon { width: 22px; height: 22px; }
.feature-card .icon-tile {
  background: var(--gradient-dark); color: var(--brand-accent);
  box-shadow: 0 8px 18px -8px rgba(6, 59, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.feature-card h3 { font-size: var(--fs-h3); transition: color var(--dur) var(--ease); }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.55; transition: color var(--dur) var(--ease); }
.feature-card:hover .icon-tile { background: var(--gradient-green); color: var(--brand-dark); transform: rotate(-6deg) scale(1.05); }
.feature-card:hover .feature-card__num { background: rgba(47, 229, 138, 0.15); color: var(--brand-accent); }
.feature-card:hover h3 { color: #fff; }
.feature-card:hover p { color: var(--on-dark-muted); }

@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   ScreenshotMockup (janela do navegador)
   ========================================================================== */
.shot {
  position: relative;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.shot__bar {
  display: flex; align-items: center; gap: 0.75rem;
  height: 34px; padding-inline: 12px;
  background: #F1F5F3; border-bottom: 1px solid var(--border);
}
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 9px; height: 9px; border-radius: 50%; background: #CBD8D1; }
.shot__url {
  flex: 1; max-width: 360px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  height: 22px; border-radius: 6px; background: var(--surface);
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  white-space: nowrap; overflow: hidden;
}
.shot__url .icon { width: 11px; height: 11px; color: var(--brand-primary); }
.shot__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--background); }
.shot:hover { box-shadow: 0 40px 70px -24px rgba(6, 59, 42, 0.42), 0 14px 28px -14px rgba(8, 27, 21, 0.18); }

/* ==========================================================================
   Mockups do sistema (demonstração)
   ========================================================================== */
.showcase { padding-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
#como-funciona { padding-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); }
.showcase {
  background:
    radial-gradient(50% 50% at 90% 10%, rgba(25, 201, 120, 0.12), transparent 70%),
    linear-gradient(180deg, var(--background), #EEF6F1);
  overflow: hidden;
}
.tabs {
  display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none;
  padding: 0.35rem; margin: 0 auto 2rem; width: max-content; max-width: 100%;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
  padding: 0.6rem 1rem; border-radius: 10px; border: 0; background: transparent;
  font-weight: 700; font-size: 0.9rem; color: var(--text-muted);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.tab .icon { width: 17px; height: 17px; }
.tab:hover { color: var(--brand-dark); background: var(--background); }
.tab[aria-selected="true"] { background: var(--brand-dark); color: #fff; }
.tab[aria-selected="true"] .icon { color: var(--brand-accent); }

@media (max-width: 479px) {
  .tab { padding: 0.55rem 0.6rem; font-size: 0.82rem; }
  .tab .icon { display: none; }
}

.stage { position: relative; max-width: 1040px; margin-inline: auto; }
/* cartões empilhados atrás da tela ativa */
.stage::before, .stage::after {
  content: ""; position: absolute; border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow);
}
.stage::before { inset: 22px -14px -14px 22px; transform: rotate(1.6deg); opacity: 0.7; }
.stage::after { inset: 44px -28px -28px 44px; transform: rotate(3deg); opacity: 0.4; z-index: -1; }
.stage__panel { position: relative; z-index: 1; }
.stage__panel[hidden] { display: none; }
.stage__panel.is-entering { animation: panel-in var(--dur-slow) var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 639px) {
  .stage::before, .stage::after { display: none; }
}

/* ==========================================================================
   Como funciona — StepCard
   ========================================================================== */
.steps { position: relative; display: grid; gap: 1.25rem; counter-reset: step; }
/* linha que conecta as etapas: trilho (::before) e preenchimento animado (::after) */
.steps::before, .steps::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
}
.steps::before { background: var(--border); }
.steps::after {
  background: linear-gradient(180deg, var(--brand-green), var(--brand-accent));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.2s var(--ease) 0.2s;
}
.steps.is-visible::after { transform: none; }

.step-card { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; }
.step-card__num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient-dark); color: var(--brand-accent);
  font-weight: 800; font-size: 1rem;
  box-shadow: 0 0 0 6px var(--background), 0 10px 22px -8px rgba(6, 59, 42, 0.6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step-card:hover .step-card__num {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px var(--background), 0 0 0 9px rgba(25, 201, 120, 0.35), 0 12px 26px -8px rgba(6, 59, 42, 0.65);
}
.step-card__body {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(221, 247, 233, 0.55), var(--surface) 55%);
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* mesma camada escura dos cards de recursos */
.step-card__body::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 50% 0%, rgba(47, 229, 138, 0.22), transparent 60%), var(--gradient-dark);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.step-card__body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gradient-green); transform: scaleX(0);
  transition: transform var(--dur-slow) var(--ease);
}
.step-card:hover .step-card__body {
  transform: translateY(-4px); border-color: var(--brand-primary);
  box-shadow: 0 22px 40px -22px rgba(6, 59, 42, 0.6);
}
.step-card:hover .step-card__body::before { opacity: 1; }
.step-card:hover .step-card__body::after { transform: none; }
.step-card .icon-tile {
  background: var(--gradient-dark); color: var(--brand-accent);
  box-shadow: 0 8px 18px -8px rgba(6, 59, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.step-card:hover .icon-tile { background: var(--gradient-green); color: var(--brand-dark); transform: rotate(-6deg) scale(1.05); }
.step-card h3 { font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--dur) var(--ease); }
.step-card p { color: var(--text-muted); font-size: 0.95rem; transition: color var(--dur) var(--ease); }
.step-card:hover h3 { color: #fff; }
.step-card:hover p { color: var(--on-dark-muted); }

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  /* linha do centro do primeiro ao centro do último círculo */
  .steps::before, .steps::after {
    left: calc((100% - 4.5rem) / 8); right: calc((100% - 4.5rem) / 8);
    top: 27px; bottom: auto; width: auto; height: 2px;
  }
  .steps::after { background: linear-gradient(90deg, var(--brand-green), var(--brand-accent)); transform: scaleX(0); transform-origin: left; }
  .step-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; justify-items: center; gap: 1.5rem; text-align: center; }
  .step-card__body { align-items: center; width: 100%; height: 100%; }
}

/* ==========================================================================
   Diferenciais
   ========================================================================== */
/* seções vizinhas com o mesmo fundo: o respiro não se soma */
.edge { padding-block: 0; }

.edge__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 2.5rem; align-items: center;
  padding: clamp(1.75rem, 1rem + 3.5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--brand-deeper);
  color: #fff;
}
.edge__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 20% 60%, rgba(25, 201, 120, 0.28), transparent 70%),
    linear-gradient(135deg, var(--brand-deeper), var(--brand-dark) 60%, #0A4A34);
}
.edge__visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); transition: transform var(--dur-slow) var(--ease); }
.edge__visual:hover img { transform: translateY(-4px) scale(1.01); }
.edge__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); margin-top: 1rem; }
.edge__list { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.edge-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--on-dark-border);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.edge-item:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(47, 229, 138, 0.35); }
.edge-item .icon-tile { background: rgba(47, 229, 138, 0.12); color: var(--brand-accent); }
.edge-item:hover .icon-tile { background: var(--brand-accent); color: var(--brand-dark); }
.edge-item h3 { font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.edge-item p { margin-top: 0.3rem; color: var(--on-dark-muted); font-size: 0.94rem; }

@media (min-width: 1024px) {
  .edge__panel { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; }
}

/* ==========================================================================
   Dashboard / Indicadores
   ========================================================================== */
.insights { overflow-x: clip; }
.insights__grid > * { min-width: 0; }
.insights__grid { display: grid; gap: 3rem; align-items: center; }
.insights__copy h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.insights__copy > p { margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--text-muted); }
.metric-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: 2rem; }
.metric {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 0.85rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 700; line-height: 1.3; min-width: 0;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.metric:hover { border-color: rgba(25, 201, 120, 0.55); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.metric .icon { width: 18px; height: 18px; color: var(--brand-green); }
.insights__visual { position: relative; }
.insights__visual .shot__img { aspect-ratio: 1440 / 1420; }
.insights__visual::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; z-index: -1; border-radius: 40px;
  background: var(--gradient-dark); opacity: 0.12; filter: blur(2px);
}

@media (min-width: 1024px) {
  .insights__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}

/* ==========================================================================
   Preço — PricingCard
   ========================================================================== */
.pricing {
  background: var(--brand-dark);
  color: #fff; overflow: hidden; isolation: isolate;
}
.pricing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/images/bg-abstrato.webp") center / cover no-repeat;
  opacity: 0.55;
}
.pricing__grid { display: grid; gap: 3rem; align-items: center; }
.pricing__copy h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.pricing__copy p { margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 480px; }
.pricing__note {
  display: flex; align-items: center; gap: 0.6rem; margin-top: 2rem;
  font-size: var(--fs-sm); color: var(--on-dark-muted);
}
.pricing__note .icon { color: var(--brand-accent); width: 18px; height: 18px; }

.pricing-card {
  position: relative;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}
.pricing-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--gradient-green); filter: blur(22px); opacity: 0.35;
}
.pricing-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pricing-card__name { font-weight: 800; letter-spacing: 0.14em; font-size: var(--fs-sm); color: var(--brand-primary); }
.pricing-card__price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 1.25rem; color: var(--brand-dark); }
.pricing-card__currency { font-size: 1.5rem; font-weight: 800; }
.pricing-card__value { font-size: clamp(3.2rem, 2.5rem + 3vw, 4.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.pricing-card__period { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }
.pricing-card__desc { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.95rem; }
.pricing-card__list {
  display: grid; gap: 0.75rem; margin: 1.75rem 0 2rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.pricing-card__list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.95rem; }
.pricing-card__list .check-dot { background: var(--brand-light); color: var(--brand-primary); }

@media (min-width: 560px) { .pricing-card__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pricing__grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }

/* ==========================================================================
   FAQ — FAQItem
   ========================================================================== */
.faq__grid { display: grid; gap: 0.75rem; max-width: 880px; margin-inline: auto; }
.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.faq-item:hover { border-color: rgba(25, 201, 120, 0.55); }
.faq-item[open] { border-color: rgba(25, 201, 120, 0.55); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem;
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand-primary);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-item[open] summary .icon { transform: rotate(180deg); background: var(--brand-dark); color: var(--brand-accent); }
.faq-item__answer { padding: 0 1.35rem 1.25rem; color: var(--text-muted); font-size: 0.97rem; }
.faq-item__answer a { color: var(--brand-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   CTA final — CTASection
   ========================================================================== */
.cta { padding-top: 0; }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
  border-radius: var(--radius-xl);
  background: var(--brand-dark);
  color: #fff;
}
.cta__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/images/bg-abstrato.webp") center / cover no-repeat;
  opacity: 0.8;
}
.cta__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4, 42, 30, 0.92) 30%, rgba(4, 42, 30, 0.35));
}
.cta__copy { padding: clamp(2rem, 1.25rem + 3.5vw, 4rem); max-width: 620px; }
.cta__copy h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.cta__copy p { margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--on-dark-muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.cta__actions .btn { flex: 1 1 200px; }
.cta__visual { align-self: end; padding-inline: 1.5rem; }
.cta__visual img {
  width: 100%; max-width: 520px; margin-inline: auto;
  /* suaviza as bordas retas da mesa */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

@media (min-width: 640px) { .cta__actions .btn { flex: 0 0 auto; } }
@media (min-width: 1024px) {
  .cta__panel { grid-template-columns: 1.1fr 1fr; }
  .cta__visual { padding: 2rem 2rem 0 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-dark); color: var(--on-dark-muted);
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 60% at 100% 100%, rgba(25, 201, 120, 0.22), transparent 70%),
    radial-gradient(35% 50% at 0% 0%, rgba(47, 229, 138, 0.08), transparent 70%),
    linear-gradient(180deg, var(--brand-dark), var(--brand-deeper));
}
/* símbolo oficial em marca d'água */
.site-footer__mark {
  position: absolute; z-index: -1; right: -60px; bottom: -90px;
  width: min(420px, 70vw); opacity: 0.07; pointer-events: none;
  transform: rotate(-8deg);
}
/* linha verde no topo */
.site-footer::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 229, 138, 0.55), transparent);
}

.footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 3rem; }
.footer__brand { grid-column: 1 / -1; max-width: 420px; }
.footer__logo { height: 56px; width: auto; }
.footer__tagline { margin-top: 1.25rem; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.footer__desc { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.6; }
.footer__col h2 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem;
}
.footer__col h2::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--brand-green); }
.footer__col li + li { margin-top: 0.75rem; }
.footer__col a {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer__col a::after {
  content: "→"; color: var(--brand-accent); opacity: 0; transform: translateX(-4px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__col a:hover::after { opacity: 1; transform: none; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding-block: 1.5rem; border-top: 1px solid var(--on-dark-border);
  font-size: var(--fs-sm);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Links legais do rodapé ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--fs-xs); }
.footer__legal a { color: rgba(255, 255, 255, 0.55); transition: color var(--dur-fast) var(--ease); }
.footer__legal a:hover { color: var(--brand-accent); }

/* ==========================================================================
   Páginas legais (Política de Privacidade, Termos de Uso)
   ========================================================================== */
.legal { padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 2vw, 4rem)) 0 clamp(3.5rem, 3rem + 2vw, 5rem); }
.legal__body { max-width: calc(760px + var(--gutter) * 2); color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
.legal__body h1 { color: var(--text); font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }
.legal__meta { margin-top: 0.75rem; font-size: var(--fs-sm); font-weight: 700; color: var(--brand-primary); }
.legal__lead { margin-top: 1.5rem; font-size: 1.075rem; color: var(--text); }
.legal__body h2 {
  margin-top: 2.75rem; color: var(--text);
  font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.3;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal__body h3 { margin-top: 1.5rem; color: var(--text); font-size: 1.02rem; }
.legal__body p { margin-top: 0.9rem; }
.legal__body ul { margin-top: 0.9rem; display: grid; gap: 0.55rem; }
.legal__body ul li { position: relative; padding-left: 1.25rem; }
.legal__body ul li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green);
}
.legal__body strong { color: var(--text); font-weight: 700; }
.legal__body a { color: var(--brand-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--brand-dark); }
.legal__toc {
  margin-top: 2rem; padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.legal__toc > p { margin: 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-primary); }
.legal__toc ol { margin-top: 0.75rem; display: grid; gap: 0.35rem; counter-reset: toc; }
.legal__toc li { counter-increment: toc; font-size: 0.95rem; }
.legal__toc li::before { content: counter(toc) ". "; color: var(--text-muted); font-weight: 700; }
.legal__toc a { text-decoration: none; font-weight: 600; }
.legal__toc a:hover { text-decoration: underline; }
@media (min-width: 640px) { .legal__toc ol { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--gradient-green); color: var(--brand-dark);
  box-shadow: 0 10px 24px -8px rgba(6, 59, 42, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur), box-shadow var(--dur-fast) var(--ease);
}
.to-top[hidden] { display: inline-flex; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top.is-visible:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow), 0 0 0 4px rgba(255, 255, 255, 0.35); }
.to-top .icon { width: 22px; height: 22px; stroke-width: 2.4; transition: transform var(--dur-fast) var(--ease); }
.to-top:hover .icon { transform: translateY(-2px); }

/* ==========================================================================
   Revelação no scroll
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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