/* ==========================================================================
   Zentupages — Página comercial
   Tokens espelham as variáveis do Figma (modo Zentudark + coleção "Zentupages / Extensões").
   Mobile-first. Breakpoints: 768px (tablet) e 1024px (desktop). Referência: 390 e 1440.
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Cores — System (Zentudark) */
  --bg-page: #101012;               /* sys-color-bg-page */
  --surface-1: #18181b;             /* sys-color-bg-surfacePrimary */
  --surface-2: #242428;             /* sys-color-bg-surfaceSecondary */
  --text-1: #f4f4f5;                /* sys-color-text-primary */
  --text-2: #b4b4bd;                /* sys-color-text-secondary */
  --icon-1: #f4f4f5;                /* sys-color-icon-primary */
  --action: #d0ff5f;                /* sys-color-action-primary */
  --action-hover: #bff247;          /* sys-color-action-primaryHover */
  --action-pressed: #ace032;        /* sys-color-action-primaryPressed */
  --on-action: #101012;             /* sys-color-action-onPrimary */
  --secondary-hover: #35353b;       /* sys-color-action-secondaryHover */
  --brand-accent: #d0ff5f;          /* Brand Accent/logo-symbol */
  --text-special: #d0ff5f;          /* sys-color-text-special (ícones de destaque) */

  /* Cores — Extensões */
  --border-subtle: #35353b;
  --border-default: #4d4d55;
  --focus-ring: #7f7f89;
  --surface-placeholder: #242428;
  --surface-inverse: #fafafa;
  --on-inverse: #101012;
  --on-inverse-2: #5f5f69;
  --inverse-hover: #35353b;
  --inverse-pressed: #4d4d55;
  --text-3: #7f7f89;

  /* Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Sombras */
  --elevation-mockup: 0 32px 64px -8px rgb(0 0 0 / 0.55);

  /* Tipografia */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: 16px;
  --container: 1200px;
  --header-h: 72px;
  --overlap: 0px;                  /* quanto a seção Problema sobrepõe o hero antes de rolar */

  /* Movimento */
  --ease-ui: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-ui: 260ms;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --header-h: 102px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  scrollbar-color: var(--border-subtle) var(--bg-page);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  caret-color: var(--action);
}
html.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong { font-weight: inherit; color: var(--text-1); }
::selection { background: var(--action); color: var(--on-action); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--action); color: var(--on-action); font-weight: 700;
  transform: translateY(-160%); transition: transform var(--dur-ui) var(--ease-ui);
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.tone-2 { color: var(--text-2); }
.tone-inv-2 { color: var(--on-inverse-2); }

/* Quebras e trechos por breakpoint (quebras de linha intencionais do Figma) */
.br-lg, .only-md { display: none; }
@media (max-width: 767.98px) { .br-sm { display: inline; } .only-sm { display: inline; } }
@media (min-width: 768px) { .br-sm, .only-sm { display: none; } .only-md { display: inline; } }
@media (min-width: 1024px) { .br-lg { display: inline; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 16px 32px;
  border: 0; border-radius: var(--radius-pill);
  font: 700 1rem/1.25rem var(--font);
  text-align: center; cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.btn .icon { width: 20px; height: 20px; transition: transform var(--dur-ui) var(--ease-ui); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--md { min-height: 44px; padding: 12px 20px; gap: 8px; font-size: 0.875rem; line-height: 1rem; }
.btn--md .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); }
.btn--primary:active { background: var(--action-pressed); }
.btn--inverse { background: var(--on-inverse); color: var(--surface-inverse); }
.btn--inverse:hover { background: var(--inverse-hover); }
.btn--inverse:active { background: var(--inverse-pressed); }
.btn--inverse:focus-visible { outline-color: var(--on-inverse); }
.btn--block { width: 100%; }
@media (max-width: 767.98px) {
  .btn--mobile-block, .hero__cta .btn { width: 100%; padding-inline: 16px; gap: 8px; white-space: nowrap; font-size: clamp(0.875rem, 3.85vw, 1rem); }
  .btn--mobile-block .icon, .hero__cta .btn .icon { width: 18px; height: 18px; }
}

.link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 4px;
  font-weight: 700; font-size: 0.875rem; line-height: 1rem;
  text-underline-offset: 4px;
}
.link .icon { width: 18px; height: 18px; transition: transform var(--dur-ui) var(--ease-ui); }
.link:hover { text-decoration: underline; }
.link:hover .icon { transform: translateX(3px); }

.eyebrow {
  font-weight: 600; font-size: 0.8125rem; line-height: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow--muted { color: var(--text-3); }
.note { font-size: 0.875rem; color: var(--text-2); }
.lead { font-size: 1rem; color: var(--text-2); }
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-page);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-ui) var(--ease-ui);
}
.header.is-scrolled { border-bottom-color: var(--border-subtle); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-block: 12px; }
.header__logo { display: inline-flex; padding: 6px 0; }
.header__logo img { width: 162px; height: auto; }
.nav { display: none; }
.header__cta { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: auto;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  background: var(--surface-1); color: var(--icon-1); cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-ui);
}
.menu-btn:hover { background: var(--surface-2); }
.menu-btn .icon--close, .menu-btn[aria-expanded="true"] .icon--menu { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 768px) {
  .header__cta { display: inline-flex; }
  .menu-btn { margin-left: 0; }
}
@media (min-width: 1200px) {
  .header__bar { min-height: 102px; padding-block: 24px; }
  .header__logo img { width: 189px; }
  .nav { display: block; }
  .nav__pill { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: var(--surface-1); }
  .nav__link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px;
    border-radius: var(--radius-pill); color: var(--text-2);
    font-weight: 500; font-size: 1rem; line-height: 1.25rem;
    transition: background-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
  }
  .nav__link:hover, .nav__link.is-active { background: var(--surface-2); color: var(--text-1); }
  .menu-btn, .menu { display: none !important; }
}

/* Menu mobile */
.menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg-page);
  padding-bottom: 24px; overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu__panel {
  display: flex; flex-direction: column; gap: 16px;
  padding: 8px 20px 20px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--surface-1);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 320ms var(--ease-in), transform 320ms var(--ease-in);
}
.menu.is-open .menu__panel { opacity: 1; transform: none; }
.menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding-block: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 500; font-size: 1.125rem; line-height: 1.5rem;
}
.menu__link .icon { width: 20px; height: 20px; transition: transform var(--dur-ui) var(--ease-ui); }
.menu__link:hover .icon { transform: translateX(3px); }
.menu__list li { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-in), transform 400ms var(--ease-in); transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }

/* ---------- Seções (espaçamento fluido 390 → 1440) ---------- */
.section {
  --pt: 96; --ptd: 160; --pb: 96; --pbd: 160; --gap: 32; --gapd: 56;
  padding-top: clamp(calc(var(--pt) * 1px), calc(var(--pt) * 1px + (var(--ptd) - var(--pt)) * (100vw - 390px) / 1050), calc(var(--ptd) * 1px));
  padding-bottom: clamp(calc(var(--pb) * 1px), calc(var(--pb) * 1px + (var(--pbd) - var(--pb)) * (100vw - 390px) / 1050), calc(var(--pbd) * 1px));
}
.section > .container { display: flex; flex-direction: column; gap: clamp(calc(var(--gap) * 1px), calc(var(--gap) * 1px + (var(--gapd) - var(--gap)) * (100vw - 390px) / 1050), calc(var(--gapd) * 1px)); }
.stack-center { align-items: center; }
.section--band { background: var(--surface-1); border-block: 1px solid var(--border-subtle); }

/* Bloco de título */
.heading { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.heading__title {
  display: flex; flex-direction: column;
  font-weight: 500;
  font-size: clamp(1.875rem, 1.55rem + 1.33vw, 2.75rem);
  line-height: clamp(2.25rem, 1.85rem + 1.6vw, 3.25rem);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.heading__text { font-size: 1rem; color: var(--text-2); }
.heading--center { max-width: 880px; text-align: center; align-items: center; }
.heading--center .heading__text { max-width: 720px; }
.heading--left { text-align: left; }
.heading--w840 { max-width: 840px; }
.heading--w760 { max-width: 760px; }
.heading--w1000 { max-width: 1000px; }
@media (min-width: 1024px) {
  .heading { gap: 20px; }
  .heading__title { letter-spacing: 0; }
  .heading__text { font-size: 1.125rem; }
}
@media (max-width: 767.98px) {
  .heading--left-mobile { text-align: left; align-items: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  position: sticky; z-index: 0;
  top: var(--hero-top, 0px);           /* JS: fixa o hero quando o rodapé dele encosta no fim da tela */
  overflow-x: clip; padding-top: 32px; padding-bottom: 40px;
  transform-origin: 50% 100%;
  transform: scale(calc(1 - var(--cover, 0) * 0.06));
  filter: brightness(calc(1 - var(--cover, 0) * 0.45));
}
.hero__content { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  background: var(--surface-1);
  font-weight: 600; font-size: 0.8125rem; line-height: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
}
.chip__mark { width: 14px; height: 14px; fill: var(--brand-accent); }
.hero__title {
  display: flex; flex-direction: column; max-width: 1140px;
  font-weight: 500;
  font-size: clamp(2.125rem, 1.36rem + 3.24vw, 4.25rem);
  line-height: clamp(2.5rem, 1.83rem + 2.86vw, 4.5rem);
  letter-spacing: -0.02em;
  width: 100%;
}
.hero__text { display: flex; flex-direction: column; gap: 8px; max-width: 640px; color: var(--text-2); font-size: 1rem; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; padding-top: 8px; }
.hero__cta .btn { width: 100%; }
.micro { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.micro li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.875rem; line-height: 1rem; }
.micro .icon { width: 16px; height: 16px; }

@media (min-width: 768px) {
  .chip { padding: 8px 16px 8px 12px; }
  .chip__mark { width: 16px; height: 16px; }
  .hero__cta .btn { width: auto; }
  .micro { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
}
@media (min-width: 1024px) {
  .hero { padding-top: 56px; padding-bottom: clamp(48px, 4vw, 72px); }
  .hero__content { gap: 0; }
  .hero__title { margin-top: 32px; }
  .hero__text { margin-top: 28px; font-size: 1.125rem; }
  .hero__cta { margin-top: 40px; padding-top: 0; gap: 20px; }
  .hero__cta .note { margin-top: -8px; }
}

/* Vitrine de mockups — carrossel
   Cada mockup ocupa um "slot" (l2, l1, c, r1, r2). O JS troca o data-slot ao clicar
   e as propriedades registradas abaixo animam a troca de posição, escala e giro. */
@property --x { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --y { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --s { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --r { syntax: "<angle>";  inherits: false; initial-value: 0deg; }
@property --z { syntax: "<integer>"; inherits: false; initial-value: 1; }   /* troca de camada no meio do movimento */
@property --lift { syntax: "<number>"; inherits: false; initial-value: 0; }

.stage {
  position: relative; margin-top: 48px;
  container-type: inline-size;
  aspect-ratio: 390 / 320;
  /* tamanho do mockup central (os outros são escalas dele) */
  --top: 4.1cqw; --mw: 74.36cqw; --ma: 290 / 280;
}
.stage__inner { position: absolute; inset: 0; }
.mock {
  position: absolute; left: 50%; top: var(--top);
  width: var(--mw); aspect-ratio: var(--ma);
  display: flex; flex-direction: column;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--surface-1); box-shadow: var(--elevation-mockup);
  overflow: hidden; cursor: pointer;
  z-index: var(--z, 1);
  opacity: var(--o, 1);
  /* --x/--y em cqw (largura da vitrine); --mx/--my/--ms vêm da atração pelo cursor */
  transform:
    translateX(-50%)
    translate3d(calc(var(--x) * 1cqw + var(--mx, 0px)), calc((var(--y) - var(--lift)) * 1cqw + var(--my, 0px)), 0)
    rotate(var(--r))
    scale(calc(var(--s) * var(--ms, 1)));
  --dur: 1050ms;
  --ease-carousel: cubic-bezier(0.45, 0.05, 0.2, 1);   /* sai suave, desacelera longo no fim */
  transition:
    --x var(--dur) var(--ease-carousel), --y var(--dur) var(--ease-carousel),
    --s var(--dur) var(--ease-carousel), --r var(--dur) var(--ease-carousel),
    --z var(--dur) var(--ease-carousel),
    opacity 300ms var(--ease-ui), box-shadow 400ms var(--ease-ui);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.mock[data-slot="c"] { cursor: default; }
.mock:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.mock.is-near { box-shadow: 0 40px 80px -8px rgb(0 0 0 / 0.65); }
/* quem dá a volta some no meio do caminho e reaparece na ponta oposta */
.mock.is-wrapping { animation: mock-wrap var(--dur) var(--ease-carousel); }
@keyframes mock-wrap { 0% { opacity: var(--o, 1); } 30%, 62% { opacity: 0; } 100% { opacity: var(--o, 1); } }
/* o mockup que vai para o centro faz um leve arco para cima */
.mock.is-traveling { animation: mock-arc var(--dur) var(--ease-carousel); }
@keyframes mock-arc { 0%, 100% { --lift: 0; } 45% { --lift: 2.2; } }

.mock__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; flex: none; }
.mock__bar i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--border-default); }
.mock__url {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 70%;
  margin-left: 4px; padding: 3px 12px; border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--text-2);
  font-weight: 500; font-size: max(9px, calc(var(--mw) * 0.019)); line-height: 1.4;
  white-space: nowrap;
}
.mock__url span { overflow: hidden; text-overflow: ellipsis; }
.mock__url .icon { width: 1em; height: 1em; stroke-width: 2.25; color: var(--text-3); }
.mock__img { flex: 1; min-height: 0; background: var(--surface-placeholder); }
.mock__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* Slots — mobile: central + 2 laterais; as pontas ficam fora da tela, invisíveis */
.mock[data-slot="c"]  { --x: 0;     --y: 0;   --s: 1;    --r: 0deg;   --z: 3; }
.mock[data-slot="l1"] { --x: -39.7; --y: 6.9; --s: 0.69; --r: -8deg;  --z: 2; }
.mock[data-slot="r1"] { --x: 39.7;  --y: 6.9; --s: 0.69; --r: 8deg;   --z: 2; }
.mock[data-slot="l2"] { --x: -80;   --y: 10;  --s: 0.55; --r: -12deg; --z: 1; --o: 0; pointer-events: none; }
.mock[data-slot="r2"] { --x: 80;    --y: 10;  --s: 0.55; --r: 12deg;  --z: 1; --o: 0; pointer-events: none; }

/* Tablet e desktop: 5 mockups, proporcional à largura (referência 1440 × 560) */
@media (min-width: 768px) {
  .stage { aspect-ratio: 1440 / 560; max-width: 1440px; margin: 72px auto 0; --top: 1.67cqw; --mw: 44.44cqw; --ma: 640 / 440; }
  .mock__bar { padding: 12px 16px; }
  .mock[data-slot="l1"] { --x: -21.53; --y: 3.2; --s: 0.7344; --r: -5deg; }
  .mock[data-slot="r1"] { --x: 21.53;  --y: 3.2; --s: 0.7344; --r: 5deg; }
  .mock[data-slot="l2"] { --x: -38.19; --y: 7.9; --s: 0.5938; --r: -9deg; --o: 1; pointer-events: auto; }
  .mock[data-slot="r2"] { --x: 38.19;  --y: 7.9; --s: 0.5938; --r: 9deg;  --o: 1; pointer-events: auto; }
}

/* ---------- Problema ---------- */
.problem {
  --pt: 96; --ptd: 160; --pb: 96; --pbd: 160; --gap: 40; --gapd: 48;
  position: relative; z-index: 1;
  margin-top: calc(-1 * var(--overlap));   /* começa por cima da parte de baixo dos mockups */
  background: var(--surface-1);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -24px 48px -12px rgb(0 0 0 / 0.5);
}
@media (min-width: 768px) { .problem { border-radius: 40px 40px 0 0; } }
/* As seções seguintes também passam por cima do hero fixo */
main > .section { position: relative; z-index: 1; }
main > .section:not(.section--band):not(.problem):not(.offer) { background: var(--bg-page); }
main > .offer { background: var(--bg-page); }
.questions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.question {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  background: var(--surface-1);
  font-weight: 700; font-size: 1.25rem; line-height: 1.75rem;
}
.question__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface-2); }
.question__icon .icon { width: 22px; height: 22px; }
.closing { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 720px; }
.closing__text { color: var(--text-2); max-width: 620px; }
.closing__line { width: 1px; height: 40px; background: var(--border-default); }
.closing__strong { font-weight: 500; font-size: 1.125rem; line-height: 1.5rem; }

@media (min-width: 768px) {
  .questions { align-items: center; width: auto; }
  .question {
    padding: 0; border: 0; background: none; gap: 20px;
    font-weight: 500; letter-spacing: -0.02em;
    font-size: clamp(2.25rem, 1.15rem + 2.3vw, 3.25rem);
    line-height: clamp(2.75rem, 1.65rem + 2.3vw, 3.75rem);
  }
  .question__icon { width: 64px; height: 64px; border: 1px solid var(--border-subtle); background: var(--surface-1); }
  .question__icon .icon { width: 28px; height: 28px; }
}
@media (min-width: 1024px) {
  .closing { gap: 24px; }
  .closing__text { font-size: 1.125rem; }
  .closing__line { height: 48px; }
  .closing__strong { font-weight: 700; font-size: 1.25rem; line-height: 1.75rem; }
}

/* ---------- Benefícios (bento) ---------- */
.benefits { --pt: 80; --ptd: 120; --pb: 96; --pbd: 160; }
.bento { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 24px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--surface-1);
}
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); color: var(--icon-1); }
.card__body { display: flex; flex-direction: column; gap: 8px; }
.card__title { font-weight: 700; font-size: 1.25rem; line-height: 1.75rem; }
.card__text { color: var(--text-2); }
.card--inverse { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--on-inverse); }
.card--inverse .card__badge { background: var(--on-inverse); color: var(--surface-inverse); }
.card--inverse .card__text { color: var(--on-inverse-2); }
.card__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--on-inverse-2); color: var(--on-inverse);
  transition: background-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.card__arrow .icon { width: 18px; height: 18px; }
.card__arrow:hover { background: var(--on-inverse); color: var(--surface-inverse); }
.card__arrow:focus-visible { outline-color: var(--on-inverse); }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card { min-height: 260px; }
  .card--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card { min-height: 300px; padding: 32px; }
}

/* ---------- SEO e GEO ---------- */
.seo { --pt: 80; --ptd: 120; --pb: 80; --pbd: 120; }
.points { width: 100%; display: grid; grid-template-columns: 1fr; }
.points li { display: flex; align-items: flex-start; gap: 12px; padding-block: 16px; border-top: 1px solid var(--border-subtle); }
.check { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--icon-1); }
.check .icon { width: 14px; height: 14px; stroke-width: 2.25; }
.cta-note { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; text-align: center; }
.cta-note .note, .cta-note .lead { max-width: 620px; }
.seo .cta-note .note { max-width: 520px; }

@media (min-width: 768px) {
  .points { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
@media (min-width: 1024px) {
  .points { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .points li { padding: 8px 32px; border-top: 0; border-left: 1px solid var(--border-subtle); }
  .points li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Projetos ---------- */
.cases .container { align-items: stretch; }
.case-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.case {
  display: flex; flex-direction: column; padding: 12px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  background: var(--surface-1);
}
.case__img {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  height: 220px; border-radius: var(--radius-lg); background: var(--surface-placeholder); overflow: hidden;
  color: var(--text-3); font-weight: 500; font-size: 0.875rem; line-height: 1rem;
}
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease-in); }
.case:hover .case__img img { transform: scale(1.03); }
.case__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 12px 8px; flex: 1; }
.case__type { padding: 4px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); color: var(--text-2); font-weight: 500; font-size: 0.75rem; line-height: 1rem; }
.case__name { font-weight: 700; font-size: 1.5rem; line-height: 2rem; }
.case__text { color: var(--text-2); }
.case .link { margin-top: auto; }
.case--inverse { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--on-inverse); }
.case--inverse .case__type { border-color: var(--on-inverse-2); color: var(--on-inverse-2); }
.case--inverse .case__text { color: var(--on-inverse-2); }
.case--inverse .link:focus-visible { outline-color: var(--on-inverse); }
.center-cta { display: flex; justify-content: center; }

@media (min-width: 768px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid .case:last-child { grid-column: span 2; }
  .case-grid .case:last-child .case__img { height: 280px; }
}
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .case-grid .case:last-child { grid-column: auto; }
  .case__img { height: 280px; }
}

/* ---------- Para quem é ---------- */
.formats { --pt: 80; --ptd: 120; --gapd: 64; }
.format-grid { display: grid; grid-template-columns: 1fr; width: 100%; border-block: 1px solid var(--border-subtle); }
.format { display: flex; flex-direction: column; gap: 20px; padding-block: 32px; }
.format + .format { border-top: 1px solid var(--border-subtle); }
.format__title { font-weight: 700; font-size: 1.5rem; line-height: 2rem; margin-bottom: -12px; }
.format__text { color: var(--text-2); }

.sketch {
  display: flex; flex-direction: column; gap: 8px;
  width: 220px; height: 144px; padding: 16px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-1);
}
.sketch i { display: block; height: 6px; border-radius: var(--radius-pill); background: var(--border-default); }
.sketch .s-top { width: 40px; }
.sketch .s-hero { height: 40px; border-radius: var(--radius-sm); background: var(--surface-2); }
.sketch .s-hero--short { height: 32px; }
.sketch .s-line { width: 80%; }
.sketch .s-line--short { width: 54%; }
.sketch .s-btn { width: 60px; height: 16px; background: var(--text-1); }
.sketch .s-row { display: flex; align-items: center; justify-content: space-between; }
.sketch .s-logo { width: 30px; }
.sketch .s-nav { display: flex; gap: 4px; }
.sketch .s-nav i { width: 12px; }
.sketch .s-cards { display: flex; gap: 8px; }
.sketch .s-cards i { flex: 1; height: 24px; border-radius: var(--radius-sm); background: var(--surface-2); }

@media (min-width: 768px) {
  .format-grid { grid-template-columns: 1fr 1fr; }
  .format { padding: 56px 56px 56px 0; }
  .format + .format { border-top: 0; border-left: 1px solid var(--border-subtle); padding-left: 56px; padding-right: 0; }
}
@media (min-width: 1024px) {
  .format { gap: 24px; }
  .format__title { font-size: 2rem; line-height: 2.5rem; margin-bottom: -12px; }
  .format__text { font-size: 1.125rem; }
  .sketch { width: 260px; height: 170px; }
  .sketch .s-top { width: 48px; }
  .sketch .s-hero { height: 52px; }
  .sketch .s-hero--short { height: 40px; }
  .sketch .s-btn { width: 72px; height: 18px; }
  .sketch .s-logo { width: 36px; }
  .sketch .s-nav i { width: 14px; }
  .sketch .s-cards i { height: 30px; }
}

/* ---------- Como funciona ---------- */
.process { --pt: 80; --ptd: 120; --gapd: 64; }
.process .container { align-items: center; }
.steps { width: 100%; display: grid; grid-template-columns: 1fr; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; align-content: start; gap: 20px; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--border-default); border-radius: 50%; background: var(--bg-page);
  font-weight: 700; font-size: 1rem; line-height: 1.25rem;
}
.step:not(:last-child)::before { content: ""; position: absolute; left: 23.5px; top: 48px; bottom: 0; width: 1px; background: var(--border-default); }
.step__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 32px; }
.step:last-child .step__body { padding-bottom: 0; }
.step__title { font-weight: 700; font-size: 1.25rem; line-height: 1.75rem; }
.step__text { color: var(--text-2); }

@media (max-width: 767.98px) { .process .container { align-items: stretch; } }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step { grid-template-columns: 1fr; gap: 24px; }
  .step::before { display: none; }
  .step__num { width: 56px; height: 56px; }
  .step__body { padding: 0; }
}
@media (min-width: 1024px) {
  .steps { position: relative; grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc(25% - 58px); height: 1px; background: var(--border-default); }
}

/* ---------- Oferta ---------- */
.offer { --pt: 16; --ptd: 40; }
.offer__card {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: var(--surface-inverse); color: var(--on-inverse);
}
.offer__title {
  display: flex; flex-direction: column;
  font-weight: 500; font-size: clamp(1.875rem, 1.55rem + 1.33vw, 2.75rem); line-height: clamp(2.25rem, 1.85rem + 1.6vw, 3.25rem); letter-spacing: -0.01em;
}
.offer__text { color: var(--on-inverse-2); }
.offer__price { display: flex; flex-direction: column; gap: 4px; }
.price { font-weight: 500; font-size: clamp(4rem, 3.26rem + 3.05vw, 6rem); line-height: clamp(4.25rem, 3.24rem + 4.19vw, 7rem); letter-spacing: -0.03em; }
.price__label { color: var(--on-inverse-2); font-weight: 500; font-size: 1rem; line-height: 1.25rem; }
.offer__list { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border-default); }
.offer__list li { display: flex; align-items: flex-start; gap: 12px; }
.check--inv { background: var(--on-inverse); color: var(--surface-inverse); }
.offer__cond { color: var(--on-inverse-2); font-size: 0.875rem; }

@media (min-width: 768px) { .offer__card { padding: 48px; border-radius: var(--radius-xl); } }
@media (min-width: 1024px) {
  .offer__card {
    grid-template-columns: 1fr 440px; column-gap: 80px; row-gap: 32px; align-items: start;
    padding: 80px;
  }
  .offer__title, .offer__text, .offer__price, .offer__cta, .offer__cond { grid-column: 1; }
  .offer__title { letter-spacing: 0; }
  .offer__cta { justify-self: start; }
  .offer__list { grid-column: 2; grid-row: 1 / span 5; gap: 20px; padding: 8px 0 8px 56px; border-top: 0; border-left: 1px solid var(--border-default); }
  .offer__text { font-size: 1.125rem; }
  .price { letter-spacing: 0; }
  .price__label { font-size: 1.125rem; line-height: 1.5rem; }
  .offer__cond { font-size: 1rem; }
}

/* ---------- Dúvidas ---------- */
.faq { --pt: 80; --ptd: 120; }
.faq .faq__grid { gap: 24px; }
.faq__list { border-top: 1px solid var(--border-subtle); }
.qa { border-bottom: 1px solid var(--border-subtle); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 44px; padding-block: 24px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 1.125rem; line-height: 1.5rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -2px; }
.qa__toggle {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--border-subtle); border-radius: 50%;
  transition: background-color var(--dur-ui) var(--ease-ui), transform 320ms var(--ease-move);
}
.qa__toggle .icon { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity var(--dur-ui) var(--ease-ui), transform 320ms var(--ease-move); }
.qa__toggle .icon--minus { opacity: 0; transform: rotate(-90deg); }
.qa summary:hover .qa__toggle { background: var(--surface-1); }
.qa[open] .qa__toggle { background: var(--surface-2); }
.qa[open] .qa__toggle .icon--plus { opacity: 0; transform: rotate(90deg); }
.qa[open] .qa__toggle .icon--minus { opacity: 1; transform: none; }
.qa__answer { padding-bottom: 24px; color: var(--text-2); }
.qa[open] .qa__answer { animation: qa-in 420ms var(--ease-in); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
  .faq .faq__grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
  .qa__answer { padding-right: 64px; }
}

/* ---------- Chamada final ---------- */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--border-subtle); --gap: 32; --gapd: 40; }
.final > .container { position: relative; z-index: 1; }
.final__mark {
  position: absolute; left: 50%; top: 50%; width: 361px; height: 355px;
  transform: translate(-50%, -50%); fill: var(--brand-accent); opacity: 0.18; pointer-events: none;
}
.final__highlight {
  width: 100%; padding: 12px 20px; text-align: center;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-1);
  font-weight: 500; font-size: 1.125rem; line-height: 1.5rem;
}
@media (min-width: 768px) {
  .final__mark { width: 608px; height: 598px; }
  .final__highlight { width: auto; padding: 12px 24px; border-radius: var(--radius-pill); }
}

/* ---------- Footer ---------- */
.footer { padding: 48px 0 32px; background: var(--surface-1); border-top: 1px solid var(--border-subtle); }
.footer__top { display: flex; flex-direction: column; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__brand p { color: var(--text-2); max-width: 320px; }
.footer__domain { font-weight: 500; line-height: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: 24px; }
.footer__links ul { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); text-underline-offset: 4px; transition: color var(--dur-ui) var(--ease-ui); }
.footer__links a:hover, .footer__domain:hover { color: var(--text-1); text-decoration: underline; }
.footer__base { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-subtle); color: var(--text-2); font-size: 0.875rem; }

@media (min-width: 768px) {
  .footer__links { flex-direction: row; gap: 80px; }
  .footer__links a { white-space: nowrap; }
  .footer__base { flex-direction: row; justify-content: space-between; margin-top: 48px; }
}
@media (min-width: 1024px) {
  .footer { padding: 64px 0 40px; }
  .footer__top { flex-direction: row; justify-content: space-between; }
  .footer__brand { gap: 16px; }
}

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-in), transform 1s var(--ease-in);
  transition-delay: var(--d, 0ms);
}
.js .stage:not(.is-in) .mock { opacity: 0; }
.js .stage.is-in:not(.is-ready) .mock { transition: opacity 1.1s var(--ease-in) var(--d, 0ms); }
.js .stage .mock[data-slot="c"] { --d: 120ms; }
.js .stage .mock[data-slot="l1"], .js .stage .mock[data-slot="r1"] { --d: 260ms; }
.js .stage .mock[data-slot="l2"], .js .stage .mock[data-slot="r2"] { --d: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .stage .mock { opacity: var(--o, 1) !important; }
  .menu__panel, .menu__list li { opacity: 1; transform: none; }
}

/* ---------- Ícones em destaque (sys-color-text-special no Figma) ---------- */
.micro .icon,
.question__icon,
.points .check,
.card:not(.card--inverse) .card__badge { color: var(--text-special); }
.card--inverse .card__badge { color: var(--icon-1); }

/* ---------- Botão contornado ---------- */
.btn--outline { background: transparent; color: var(--text-1); box-shadow: inset 0 0 0 1px var(--border-default); }
.btn--outline:hover { background: var(--surface-2); }
.btn--outline:active { background: var(--border-subtle); }

/* Rodapé: botão com cara de link */
.footer__btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none;
  font: inherit; color: var(--text-2); cursor: pointer; text-underline-offset: 4px;
  transition: color var(--dur-ui) var(--ease-ui);
}
.footer__btn:hover { color: var(--text-1); text-decoration: underline; }

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed; z-index: 60;
  left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px; border-radius: var(--radius-lg);
  background: var(--surface-1); border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 64px -16px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .02);
  color: var(--text-2); font-size: 0.875rem; line-height: 1.375rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 420ms var(--ease-in), transform 520ms var(--ease-in);
}
.cookie[hidden] { display: none; }
.cookie.is-open { opacity: 1; transform: none; }
.cookie__text { display: flex; flex-direction: column; gap: 6px; }
.cookie__title { display: flex; align-items: center; gap: 10px; color: var(--text-1); font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
.cookie__mark { width: 18px; height: 18px; flex: none; fill: var(--text-special); }
.cookie a { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--text-special); text-underline-offset: 3px; }
.cookie a:hover { color: var(--text-special); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__actions .btn { width: 100%; }
@media (min-width: 768px) {
  .cookie { left: 24px; right: auto; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: 560px; padding: 24px; }
  .cookie__actions { display: flex; justify-content: flex-end; }
  .cookie__actions .btn { width: auto; min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .cookie { transition: opacity 200ms linear; transform: none; } }

/* ---------- Página legal ---------- */
.legal { padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 8vw, 120px); }
.legal__inner { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.legal__head { display: flex; flex-direction: column; gap: 12px; padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--border-subtle); }
.legal__head h1 { color: var(--text-1); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; }
.legal__head p { color: var(--text-2); font-size: 1rem; line-height: 1.625rem; }
.legal__updated { color: var(--text-3) !important; font-size: 0.875rem !important; }
.legal__body { color: var(--text-2); font-size: 1rem; line-height: 1.75rem; }
.legal__body h2 { color: var(--text-1); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.3; font-weight: 500; margin: clamp(40px, 5vw, 56px) 0 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { color: var(--text-1); font-size: 1.0625rem; font-weight: 500; margin: 24px 0 8px; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 12px; }
.legal__body ul { display: flex; flex-direction: column; gap: 8px; padding-left: 0; list-style: none; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-special); }
.legal__body strong { color: var(--text-1); font-weight: 500; }
.legal__body a { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--text-special); text-underline-offset: 3px; transition: color var(--dur-ui) var(--ease-ui); }
.legal__body a:hover { color: var(--text-special); }
.legal__body .btn { margin-top: 16px; text-decoration: none; }
.legal__table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.875rem; line-height: 1.375rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border-subtle); }
.legal__table th { color: var(--text-1); font-weight: 500; }
@media (max-width: 559.98px) {
  .legal__table thead { display: none; }
  .legal__table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
  .legal__table td { display: block; padding: 2px 0; border: 0; }
  .legal__table td:first-child { color: var(--text-1); font-weight: 500; }
}
.legal__body code { font-size: 0.875em; color: var(--text-1); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.legal__table + p, .legal__body .btn + p { margin-top: 20px; }
