/*
 * Landing Gfflog System — Figma 1227:10179 (desktop 1440 px).
 * O arquivo não possui versões mobile/tablet; os ajustes abaixo de 1200 px
 * são proposta de responsividade mantendo hierarquia e conteúdo.
 */

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

picture {
  display: contents;
}

/* Com display: contents, o <source> viraria item de grid/flex. */
picture > source {
  display: none;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-button);
  background: var(--color-primary);
  font-size: 14px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

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

.is-pending {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed #f5c542;
  border-radius: 4px;
  color: #f5c542;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Tipografia compartilhada ---------- */

.eyebrow {
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.04;
}

.section-title .line {
  display: block;
}

.section-description {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.35;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-intro--center {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.notice {
  color: var(--color-text-subtle);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.text-gradient {
  background: linear-gradient(90deg, #2250be, #2a68ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, filter 0.2s;
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

.btn--pill {
  width: 100%;
  border-radius: var(--radius-pill);
}

.btn--primary {
  background: var(--color-primary);
}

.btn--primary:hover {
  filter: brightness(1.12);
}

.btn--ghost {
  border-color: var(--color-border);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-link);
  font-size: 13px;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- Barra de navegação flutuante ----------
   Inspirada na navigation-12 do React Bits Pro (referência visual); implementação própria.
   O wrapper é transparente e fixo no topo; a "pílula" (.site-header__inner) flutua sobre o hero. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  padding: var(--header-gap) clamp(16px, 3vw, 40px) 0;
  pointer-events: none; /* só a pílula recebe cliques; o resto do topo continua clicável */
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1280px, 100%);
  height: var(--header-pill);
  margin-inline: auto;
  padding: 0 10px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(7, 19, 38, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header[data-scrolled] .site-header__inner {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 19, 38, 0.9);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.site-header__brand {
  flex-shrink: 0;
}

.site-header__brand img {
  width: 91px;
  height: 36px;
}

.site-header__panel {
  display: flex;
  flex: 1;
  align-items: center;
}

.site-nav {
  margin-inline: auto;
}

.site-nav__list {
  position: relative;
  display: flex;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link[aria-current="true"] {
  color: var(--color-text);
}

/* Fundo que desliza até o item sob o mouse ou o da seção atual (landing.js). */
.site-nav__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease;
}

/* Sem JS não há indicador: o hover ganha o fundo direto no link. */
html:not(.js) .site-nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__link {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.site-header__link:hover {
  color: var(--color-text);
}

.btn--light {
  background: #ffffff;
  color: var(--color-bg);
}

.btn--light:hover {
  background: #e6edff;
}

/* A seta é branca no SVG; no botão claro ela fica escura. */
.btn--light img {
  filter: brightness(0);
}

.site-header__cta {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.site-header__toggle {
  display: none;
}

/* ---------- Hero 1227:10180 ---------- */

/* Gradiente do nó 1227:10180: raios 735x692 px num hero de 1440x1417 (sem o header),
   expressos em % para acompanhar a altura do hero em telas menores. */
.hero {
  background: radial-gradient(
    ellipse 51% 48.8% at 50% 52.2%,
    #102b60 0%,
    #0c1f43 32.5%,
    #071326 65%,
    #030916 100%
  );
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  width: min(1216px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 80px 0 56px;
}

.hero__promise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1040px;
  text-align: center;
}

/* Selo solto, sem pílula: só o texto com um ponto que pisca ao lado. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-link);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.badge__pulse {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(34, 199, 242, 0.8);
}

.badge__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
}

.motion .badge__pulse {
  animation: badge-piscar 1.6s ease-in-out infinite;
}

.motion .badge__pulse::after {
  animation: badge-onda 1.6s ease-out infinite;
}

@keyframes badge-piscar {
  50% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(34, 199, 242, 0.3);
  }
}

@keyframes badge-onda {
  from {
    opacity: 0.6;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(3);
  }
}

.hero__title {
  max-width: 906px;
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 400;
  line-height: 0.92;
}

.hero__description {
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 6px;
}

.hero__presentation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(1100px, 100%);
}

/* Janela no estilo de app (barra com três pontos) mostrando o dashboard real.
   A base some num degradê, como se a tela continuasse abaixo da dobra. */
.hero__stage {
  position: relative;
  width: 100%;
  margin-top: -40px; /* folga para o brilho de cima não ser cortado pela máscara */
  padding: 40px 4% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.hero__window {
  overflow: hidden;
  border: 1px solid rgba(144, 176, 255, 0.18);
  border-radius: 14px;
  background: #0a1220;
  /* Sombras curtas: a máscara do palco corta o que passa da borda dele. */
  box-shadow:
    0 0 0 5px rgba(47, 101, 233, 0.07),
    0 0 36px -6px rgba(47, 101, 233, 0.45);
}

.hero__window-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d1729;
}

.hero__window-dots {
  position: absolute;
  left: 14px;
  display: flex;
  gap: 7px;
}

.hero__window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.hero__window-dots i:nth-child(1) { background: #ff5f57; }
.hero__window-dots i:nth-child(2) { background: #febc2e; }
.hero__window-dots i:nth-child(3) { background: #28c840; }

.hero__window-title {
  padding: 3px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-subtle);
  font-family: var(--font-product);
  font-size: 11px;
}

.hero__screen {
  display: block;
  width: 100%;
  height: auto;
}

/* Celulares sobre os cantos de baixo da janela. */
.hero__phone {
  position: absolute;
  top: 34%;
  width: 17%;
  padding: 5px;
  border: 1px solid rgba(144, 176, 255, 0.22);
  border-radius: 30px;
  background: #050b16;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.75);
}

.hero__phone--left {
  left: 1.2%;
  transform: rotate(-4deg);
}

.hero__phone--right {
  right: 1.2%;
  transform: rotate(4deg);
}

.hero__phone-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 852;
  border-radius: 25px;
  object-fit: cover;
  object-position: top;
}

/* Entrada: a janela sobe e os celulares chegam pelos lados, logo depois. */
.motion .hero__presentation .hero__phone {
  opacity: 0;
  transition: opacity 0.8s ease 0.35s, translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}

.motion .hero__presentation .hero__phone--left { translate: -24px 32px; }
.motion .hero__presentation .hero__phone--right { translate: 24px 32px; }

.motion .hero__presentation.is-visible .hero__phone {
  opacity: 1;
  translate: 0 0;
}

.hero__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
}

.hero__signature-label {
  color: var(--color-text-subtle);
  font-size: 10px;
}

.hero__products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  color: var(--color-text-muted);
  font-family: var(--font-product);
  font-size: 17px;
  font-weight: 500;
}

/* ---------- Logo cloud ---------- */

.clients {
  padding: 24px 0 72px;
}

.clients__title {
  color: var(--color-link);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
}

/* Novas logos entram em linhas centralizadas, como no modelo. */
.clients__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 72px;
  margin-top: 44px;
}

.clients__item {
  display: grid;
  place-items: center;
  height: 110px;
}

.clients__item img {
  width: auto;
  height: var(--logo-h, 56px);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.clients__item:hover img {
  opacity: 1;
}

/* ---------- Seções ---------- */

.section {
  padding-block: var(--section-padding-y);
}

.section--surface {
  background: var(--color-surface);
}

.section--deep {
  background: var(--color-bg);
}

/* ---------- Ecosystem 1227:10334 ---------- */

.ecosystem .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ecosystem__intro {
  max-width: 754px;
}

.ecosystem__intro .section-title {
  line-height: 1.15;
}

.ecosystem__intro .section-description {
  max-width: 510px;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.product-card--featured {
  border-color: var(--color-border-primary-strong);
  background: var(--color-surface-raised);
}

.product-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__symbol {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-icon);
}

.product-card__symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__symbol--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 73, 183, 0.2);
}

.product-card__symbol--icon img {
  width: 22px;
  height: 22px;
}

.product-card__flag {
  color: var(--color-link);
  font-size: 9px;
  font-weight: 500;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 25px;
  background: var(--color-primary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.product-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__category {
  color: var(--color-text-subtle);
  font-size: 9px;
  line-height: 1.5;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.14;
}

.product-card__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 8px;
  border-radius: var(--radius-tag);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-muted);
  font-size: 9px;
  line-height: normal;
}

.product-card__action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-link);
  font-size: 11px;
  font-weight: 500;
}

a.product-card__action:hover {
  color: var(--color-text);
}

.is-disabled {
  cursor: default;
}

.ecosystem .notice {
  font-size: 11px;
}

/* ---------- Spotlight ERP 1227:10408 e Pagamentos 1262:49 ---------- */

.spotlight__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.spotlight__story {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
}

.spotlight__title {
  line-height: 0.81;
}

.spotlight__preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 552px;
  flex-shrink: 0;
}

.capabilities {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.capability {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.capability > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.capability__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.14;
}

.capability__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.preview-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-surface-raised);
}

.preview-panel--deep {
  background: var(--color-surface);
}

.preview-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-panel__module {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.preview-panel__balance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-icon);
  background: var(--color-surface);
}

.preview-panel--deep .preview-panel__balance,
.preview-panel--deep .preview-panel__indicator {
  background: var(--color-bg);
}

.preview-panel__label {
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.7;
}

.preview-panel__value {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: normal;
  white-space: nowrap;
}

.preview-panel__demo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-subtle);
  font-size: 9px;
}

.preview-panel__tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--color-border);
}

.preview-panel__tab {
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  color: var(--color-text-subtle);
  font-size: 11px;
}

.preview-panel__tab.is-active {
  border-bottom-color: var(--color-primary);
  color: var(--color-text);
}

.preview-panel__rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.preview-panel__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-panel__indicator {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-button);
  background: var(--color-surface);
}

.preview-panel__details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.7;
}

.preview-panel__row-title {
  font-size: 12px;
}

.preview-panel__row-meta {
  color: var(--color-text-subtle);
  font-size: 9px;
}

.preview-panel__amount {
  color: var(--color-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.preview-panel__amount.is-in {
  color: var(--color-accent);
}

.preview-panel__status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 10px;
  line-height: 1.7;
}

.payment {
  padding-top: 79px;
  padding-bottom: 35px;
}

.payment__inner {
  min-height: 513px;
}

.payment__eyebrow {
  color: var(--color-text-subtle);
  font-size: 9px;
}

.payment__title {
  max-width: 473px;
  font-size: 36px;
  line-height: 0.96;
}

.payment__preview {
  width: 420px;
  flex-shrink: 0;
}

.payment__notice {
  margin-top: 61px;
  font-size: 11px;
}

/* ---------- Recursos 1227:10480 ---------- */

.resources .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.resources__title {
  line-height: 0.88;
}

.resources__description {
  font-size: 14px;
  line-height: 1.7;
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.benefit-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.benefit-card__category {
  color: var(--color-text-subtle);
  font-size: 10px;
}

.benefit-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.14;
}

.benefit-card__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

/* ---------- Feedback 1262:6 ---------- */

.feedback__intro {
  max-width: 720px;
}

.feedback__description {
  max-width: 560px;
}

.feedback__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.feedback-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  min-height: 246px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-raised);
}

.feedback-card__author {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-content: center;
  min-height: 44px;
}

.feedback-card__avatar {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  object-fit: cover;
}

.feedback-card__name,
.feedback-card__role {
  grid-column: 2;
  white-space: nowrap;
}

.feedback-card__name {
  align-self: end;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: normal;
}

.feedback-card__role {
  color: var(--color-link);
  font-size: 11px;
  line-height: normal;
}

.feedback-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-card__quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.14;
}

.feedback-card__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.feedback__notice {
  margin-top: 40px;
  font-size: 11px;
}

/* ---------- Soluções complementares 1227:10530 ---------- */

.complementary .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.complementary__title {
  line-height: 0.96;
}

.complementary__description {
  line-height: 1.7;
}

.complementary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-raised);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.solution-card__preview {
  width: 100%;
  height: auto;
  border-radius: var(--radius-icon);
}

.rotacerta-preview {
  aspect-ratio: 558 / 210;
}

/* Textos sem atributo fill usam o preto padrão do SVG, como no Figma. */
.rotacerta-preview text {
  dominant-baseline: central;
  font-family: var(--font-body);
  text-rendering: geometricPrecision; /* evita espaçamento por hinting em 6–9 px */
}

.rc-r {
  font-weight: 400;
}

.rc-m {
  font-weight: 500;
}

.rc-b {
  font-weight: 700;
}

.linkaele-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 210px; /* altura fixa com corte, como no nó 1227:10559 */
  padding: 18px;
  overflow: hidden;
  background: var(--color-surface);
}

.linkaele-preview__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 40px;
  background: var(--color-primary-deep);
}

.linkaele-preview__headline {
  font-size: 11px;
  font-weight: 500;
}

.linkaele-preview__link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  font-size: 9px;
  line-height: normal;
}

.solution-card__story {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-card__category {
  color: var(--color-link);
  font-size: 9px;
}

.solution-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.14;
}

.solution-card__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.solution-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--color-link);
  font-size: 12px;
}

a.solution-card__action:hover {
  color: var(--color-text);
}

/* ---------- Planos 1227:10612 ---------- */

.plans {
  padding-bottom: 61px;
}

.plans__intro {
  max-width: 720px;
}

.plans__title {
  line-height: 0.93;
}

.plans__description {
  max-width: 558px;
  line-height: 1.7;
}

.billing-toggle {
  display: flex;
  width: max-content;
  margin: 40px auto 0;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
}

/* Sem JS o seletor não funcionaria: fica só o preço mensal. */
html:not(.js) .billing-toggle {
  display: none;
}

.billing-toggle__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  font: 500 13px/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.billing-toggle__option:hover {
  color: var(--color-text);
}

.billing-toggle__option.is-active {
  background: var(--color-primary);
  color: var(--color-text);
}

.billing-toggle__discount {
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(45, 222, 60, 0.14);
  color: var(--color-success);
  font-size: 11px;
  font-weight: 600;
}

.billing-toggle__option.is-active .billing-toggle__discount {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-text);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.billing-toggle + .plans__grid {
  margin-top: 47px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(7, 19, 38, 0.5);
}

/* Plano em destaque: o degradê diagonal (o mesmo azul que o Custom tinha no Figma)
   passa devagar pelo card, indo e voltando. */
.plan-card--featured {
  border-color: var(--color-primary);
  background: linear-gradient(
    146deg,
    rgba(7, 19, 38, 0.5) 20%,
    rgba(26, 70, 140, 0.6) 50%,
    rgba(7, 19, 38, 0.5) 80%
  );
  background-size: 260% 260%;
  background-position: 0% 0%;
}

.motion .plan-card--featured {
  animation: plano-degrade 9s ease-in-out infinite alternate;
}

@keyframes plano-degrade {
  to {
    background-position: 100% 100%;
  }
}

.plan-card__ribbon {
  position: absolute;
  top: 0;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 74px;
  height: 72px;
  padding-top: 12px;
  background: url("../img/icons/ribbon.svg") no-repeat center / 74px 72px;
  text-align: center;
}

.plan-card__ribbon span {
  font-size: 14px;
  font-style: italic;
  line-height: 1.14;
}

.plan-card__ribbon strong {
  margin-top: 2px;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
}

.plan-card__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card__positioning {
  color: var(--color-text-subtle);
  font-size: 9px;
}

.plan-card--featured .plan-card__positioning {
  color: var(--color-accent);
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.14;
}

.plan-card__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 35px;
  line-height: 1;
  white-space: nowrap;
}

.plan-card__period {
  color: var(--color-text-subtle);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.7;
}

.plan-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plans:not(.is-anual) [data-anual],
.plans.is-anual [data-mensal] {
  display: none;
}

/* Algarismos com largura fixa enquanto o valor conta até o novo preço. */
.plan-card__amount {
  font-variant-numeric: tabular-nums;
}

.plan-card__price-note s {
  color: var(--color-text-subtle);
}

.plan-card__discount {
  align-self: center;
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(45, 222, 60, 0.14);
  color: var(--color-success);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.plan-card__price--custom {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 32px;
  line-height: normal;
}

.plan-card__price-note {
  color: var(--color-text-subtle);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.7;
}

.plan-card__divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--color-border);
}

.plan-card__includes {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 59px;
  padding: 0 0 0 23.5px;
  border-radius: var(--radius-button);
  background: rgba(3, 9, 22, 0.36);
}

.plan-card__includes--simple {
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0;
}

.plan-card__includes p {
  display: flex;
  flex-direction: column;
  white-space: nowrap; /* como no Figma: o texto pode ocupar o padding direito */
}

.plan-card__includes-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: normal;
}

.plan-card__includes-note {
  color: var(--color-success);
  font-size: 13px;
  line-height: 1.7;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.plan-card__features img {
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  margin-top: 43px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.plan-guidance__content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 780px;
}

.plan-guidance__content > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-guidance__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.14;
}

.plan-guidance__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.plans__notice {
  margin-top: 40px;
}

/* ---------- Sobre 1227:10703 ---------- */

.about__inner {
  display: flex;
  align-items: center;
  gap: 96px;
}

.about__story {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.about__title {
  line-height: 0.89;
}

.about__text {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.35;
}

.approach {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 520px;
  flex-shrink: 0;
  padding: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-surface-raised);
}

.approach__label {
  color: var(--color-accent);
  font-size: 10px;
}

.approach__steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.approach__step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.approach__step > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.approach__number {
  color: var(--color-primary);
  font-size: 23px;
  line-height: normal;
}

.approach__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.14;
}

.approach__text {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- FAQ 1227:10730 ---------- */

.faq__inner {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

/* Painel da esquerda: chamada para o comercial com dois números do ecossistema. */
.faq__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
}

.faq__title {
  line-height: 1;
}

.faq__description {
  line-height: 1.7;
}

.faq__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: stretch;
  margin: 12px 0;
  border-block: 1px solid var(--color-border);
}

.faq__stats > div {
  padding: 22px 0;
}

.faq__stats > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--color-border);
}

.faq__stats dt {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.faq__stats dd {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
}

.faq__action {
  height: 48px;
  border-radius: var(--radius-pill);
}

.faq__note {
  color: var(--color-text-subtle);
  font-size: 12px;
}

/* Perguntas em duas colunas independentes (como masonry). */
.faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.faq__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  transition: background-color 0.3s, border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item[open] {
  border-color: var(--color-border-faq-open);
  background: var(--color-surface-raised);
}

.faq-item__question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 88px; /* duas linhas: os cards da mesma linha ficam com a mesma altura fechados */
  padding: 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question > span {
  flex: 1;
}

.faq-item__icon {
  flex-shrink: 0;
  margin-top: 2px;
  transition: rotate 0.3s ease;
}

/* O "+" gira e vira "×" com a pergunta aberta. */
.faq-item.is-aberto .faq-item__icon,
html:not(.js) .faq-item[open] .faq-item__icon {
  rotate: 45deg;
}

.faq-item__answer {
  padding: 0 22px 22px;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- Convite 1227:10765 ---------- */

.invitation {
  padding: 24px 0 96px;
}

.invitation__panel {
  overflow: hidden;
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(ellipse 55% 90% at 78% 0%, rgba(47, 101, 233, 0.24), transparent 70%),
    linear-gradient(180deg, #0b1a33 0%, #071326 100%);
}

.invitation__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: center;
  gap: 48px;
  padding: 72px 64px 56px;
}

.invitation__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.invitation__title {
  max-width: 540px;
}

.invitation__description {
  max-width: 480px;
  line-height: 1.7;
}

.invitation__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.invitation__btn {
  height: 48px;
  border-radius: var(--radius-pill);
}

.invitation__reassurance {
  color: var(--color-text-subtle);
  font-size: 12px;
  line-height: 1.6;
}

/* Notificações empilhadas: as de cima mais estreitas e apagadas, como um histórico. */
.invitation__feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feed-item,
.feed-status {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(13, 27, 51, 0.85);
  font-size: 13px;
}

.feed-item {
  padding: 13px 16px;
}

.feed-item:nth-child(1) {
  width: 86%;
  opacity: 0.4;
}

.feed-item:nth-child(2) {
  width: 93%;
  opacity: 0.7;
}

.feed-item:nth-child(3) {
  border-color: rgba(144, 176, 255, 0.22);
  background: rgba(20, 39, 72, 0.95);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
}

.feed-item__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(47, 101, 233, 0.18);
  color: var(--color-link);
  font-size: 10px;
  font-weight: 600;
}

.feed-item__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-item__text strong {
  color: var(--color-text);
  font-weight: 600;
}

.feed-item__time {
  flex: none;
  color: var(--color-text-subtle);
  font-size: 11px;
}

.feed-status {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 15px 18px;
  white-space: nowrap;
  color: var(--color-text-muted);
}

.feed-status strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}

.feed-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(45, 222, 60, 0.7);
}

.motion .feed-status__dot {
  animation: badge-piscar 1.6s ease-in-out infinite;
}

/* Faixa de recursos: anda para a esquerda sem parar e some nas pontas. */
.invitation__marquee {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.motion .marquee__track {
  animation: marquee 40s linear infinite;
}

.invitation__marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* Metade do trilho = uma lista + um gap, para a volta encaixar sem salto. */
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.marquee__pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.marquee__pill::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- Footer 1227:10778 ---------- */

/* Sem caixa: o rodapé segue o fundo da página, logo abaixo do convite. */
.site-footer__panel {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 0 0 48px;
}

.site-footer__sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.site-footer__title {
  color: var(--color-text-subtle);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: normal;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
}

.site-footer__links a {
  transition: color 0.2s;
}

.site-footer__links a:hover,
.site-footer__social a:hover {
  color: var(--color-link);
}

.site-footer__product {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer__chip {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__chip img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.site-footer__brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__brand {
  display: inline-flex;
}

.site-footer__logo {
  width: 52px;
  height: 52px;
}

.site-footer__social {
  display: flex;
  gap: 8px;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin-top: -40px;
  color: var(--color-text-subtle);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- Responsivo (proposta; não há frames mobile no Figma) ---------- */

@media (max-width: 1199px) {
  :root {
    --gutter: 40px;
    --section-padding-y: 88px;
  }

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

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

  .spotlight__inner,
  .about__inner {
    gap: 48px;
  }

  .spotlight__preview {
    width: min(480px, 45%);
  }

  .payment__preview {
    width: min(420px, 42%);
  }

  .approach {
    width: min(460px, 45%);
  }

  .faq__inner {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
  }

  .faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .faq__column {
    display: contents;
  }

  .faq-item__question {
    min-height: 0;
  }

}

@media (max-width: 1023px) {
  .invitation__body {
    grid-template-columns: minmax(0, 1fr);
    padding: 56px 40px 44px;
  }

  .invitation__feed {
    width: min(440px, 100%);
    justify-self: center;
  }

  :root {
    --header-gap: 12px;
    --header-pill: 56px;
  }

  .site-header__inner {
    padding: 0 8px 0 18px;
  }

  .site-header__brand img {
    width: 81px;
    height: 32px;
  }

  .site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .site-header__toggle:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-header__toggle-bar,
  .site-header__toggle-bar::before,
  .site-header__toggle-bar::after {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s, opacity 0.2s;
  }

  .site-header__toggle-bar {
    position: relative;
  }

  .site-header__toggle-bar::before,
  .site-header__toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .site-header__toggle-bar::before {
    top: -6px;
  }

  .site-header__toggle-bar::after {
    top: 6px;
  }

  [data-menu-open] .site-header__toggle-bar {
    background: transparent;
  }

  [data-menu-open] .site-header__toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
  }

  [data-menu-open] .site-header__toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Menu aberto: card arredondado separado, logo abaixo da pílula. */
  .site-header__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: var(--color-surface); /* sólido: com transparência o título do hero aparecia atrás */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }

  /* visibility tira os links do Tab com o menu fechado; o atraso deixa o fade terminar. */
  .js .site-header__panel {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .js [data-menu-open] .site-header__panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-nav {
    margin: 0;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 2px;
  }

  .site-nav__indicator {
    display: none;
  }

  .site-nav__link {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .site-nav__link[aria-current="true"] {
    background: rgba(255, 255, 255, 0.07);
  }

  /* Ponto à direita do item ativo, como na referência. */
  .site-nav__link[aria-current="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text);
    transform: translateY(-50%);
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 6px;
    padding: 14px 8px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-text);
    font-weight: 600;
  }

  .site-header__cta {
    width: 100%;
    height: 48px;
  }

  .hero__title {
    font-size: clamp(40px, 7.4vw, 68px);
  }

  .section-title {
    font-size: clamp(32px, 5vw, 44px);
  }

  .spotlight__inner,
  .about__inner {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .faq__column {
    display: flex;
  }

  .faq-item__question {
    min-height: 88px;
  }

  .spotlight__preview,
  .payment__preview,
  .approach {
    width: 100%;
  }

  .payment__inner {
    min-height: 0;
  }

  .payment {
    padding-top: var(--section-padding-y);
  }

  .payment__notice {
    margin-top: 40px;
  }

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

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

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --section-padding-y: 64px;
  }

  .hero__inner {
    gap: 32px;
    padding: 48px 0 40px;
  }

  .hero__description {
    font-size: 16px;
  }

  .hero__actions,
  .invitation__actions {
    flex-direction: column;
    align-self: stretch;
  }

  .hero__stage {
    margin-top: -16px;
    padding: 16px 0 18%;
  }

  .hero__window {
    border-radius: 10px;
  }

  .hero__window-bar {
    height: 24px;
  }

  .hero__window-dots {
    left: 9px;
    gap: 5px;
  }

  .hero__window-dots i {
    width: 7px;
    height: 7px;
  }

  .hero__window-title {
    padding: 1px 10px;
    font-size: 9px;
  }

  .hero__phone {
    top: 30%;
    width: 27%;
    padding: 3px;
    border-radius: 18px;
  }

  .hero__phone--left { left: 3%; }
  .hero__phone--right { right: 3%; }

  .hero__phone-screen {
    border-radius: 15px;
  }

  .ecosystem__intro .section-title {
    line-height: 1.04;
  }

  .ecosystem__grid,
  .resources__grid,
  .feedback__grid,
  .complementary__grid,
  .plans__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-card {
    min-height: 0;
  }

  .preview-panel {
    gap: 20px;
    padding: 20px;
  }

  .preview-panel__value {
    font-size: 32px;
  }

  .plan-guidance {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-guidance__content {
    align-items: flex-start;
  }

  .approach {
    padding: 24px;
  }

  .invitation {
    padding-bottom: 64px;
  }

  .invitation__body {
    padding: 40px 20px 32px;
  }

  .invitation__btn {
    width: 100%;
  }

  .feed-item,
  .feed-status {
    font-size: 12px;
  }

  .feed-item__time {
    display: none;
  }

  .faq__intro {
    padding: 28px 22px;
  }

  .clients {
    padding: 8px 0 48px;
  }

  .clients__grid {
    gap: 12px 32px;
    margin-top: 28px;
  }

  .clients__item {
    height: 80px;
  }

  .clients__item img {
    height: calc(var(--logo-h, 56px) * 0.62);
  }

  .faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .faq__column {
    display: contents;
  }

  .faq-item__question {
    min-height: 0;
  }

  .site-footer__panel {
    gap: 48px;
    padding: 16px 0 36px;
  }

  .site-footer__sitemap {
    gap: 36px 20px;
  }

  .site-footer__links {
    font-size: 14px;
  }

  .site-footer__legal {
    margin-top: -24px;
  }
}

/* ---------- Animações de navegação ---------- */

/* Botões sobem 1 px; setas deslizam no sentido que apontam. */
.btn {
  transition: background-color 0.2s, border-color 0.2s, filter 0.2s, translate 0.2s ease;
}

.btn:hover {
  translate: 0 -1px;
}

.btn:active {
  translate: 0 0;
}

.btn img,
.text-link img,
.product-card__action img,
.solution-card__action img {
  transition: translate 0.2s ease;
}

:is(.btn, .text-link, a.solution-card__action):hover img[src*="arrow-right"] {
  translate: 3px 0;
}

a.product-card__action:hover img[src*="arrow-up-right"] {
  translate: 2px -2px;
}

/* Resposta do FAQ: a altura é animada pelo landing.js; o texto acompanha com um fade. */
.faq-item__answer {
  transition: opacity 0.3s ease;
}

.motion .faq-item:not(.is-aberto) .faq-item__answer {
  opacity: 0;
}

/* Entrada ao rolar: só com a classe .motion (sem "reduzir movimento" e com JS ativo). */
.motion [data-reveal],
.motion [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(16px);
  transition-property: opacity, transform, background-color, border-color;
  transition-duration: 0.6s, 0.6s, 0.2s, 0.2s;
  transition-timing-function: ease-out, cubic-bezier(0.2, 0.7, 0.2, 1), ease, ease;
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0s, 0s;
}

.motion [data-reveal].is-visible,
.motion [data-reveal-group] > .is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Efeitos adaptados do React Bits (reactbits.dev) ----------
   Ports em CSS/JS puro; a lógica em JS fica em assets/landing/js/efeitos.js.
   Tudo condicionado a .motion (JS ativo e sem "reduzir movimento"). */

/* GradientText: o gradiente de "ecossistema." flui devagar, ida e volta. */
.motion .text-gradient {
  background-image: linear-gradient(90deg, #2250be, #2a68ff, #22c7f2, #2a68ff, #2250be);
  background-size: 300% 100%;
  animation: gradient-text 8s ease-in-out infinite alternate;
}

@keyframes gradient-text {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

/* ShinyText: brilho atravessa o selo do hero e pausa um instante entre as passagens. */
.motion .shiny-text {
  background-image: linear-gradient(120deg, var(--color-link) 40%, #ffffff 50%, var(--color-link) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text 3s ease-in-out infinite;
}

@keyframes shiny-text {
  from {
    background-position: 0% 0;
  }

  66%,
  to {
    background-position: 100% 0;
  }
}

/* SpotlightCard: camadas de luz e de borda injetadas pelo JS. */
.has-spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight__light,
.spotlight__edge {
  position: absolute;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.spotlight__light {
  inset: 0;
  z-index: -1;
}

/* Fica sobre a borda de 1 px do card; a máscara deixa só o anel visível. */
.spotlight__edge {
  inset: -1px;
  z-index: 1;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* BlurText: cada palavra dos títulos de seção entra com desfoque. */
.blur-word {
  display: inline-block;
}

.motion .blur-text:not(.is-blurred) .blur-word {
  opacity: 0;
}

/* CountUp: algarismos com largura fixa enquanto contam. */
[data-count-up] {
  font-variant-numeric: tabular-nums;
}

/* Aurora: canvas WebGL atrás do conteúdo do hero. */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__aurora {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 70%;
  pointer-events: none;
}

.hero__aurora canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

/* O hero sobe por trás da barra flutuante: o gradiente e a aurora começam no topo da página. */
.hero {
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
