/* ------------------------------------------------------------------ */
/* Fontes self-hospedadas (P0-A do plano de motion).                    */
/* Antes vinham do Google Fonts com display=swap e sem fallback de      */
/* métrica: quando a Sora chegava, o H1 mudava de altura e empurrava o  */
/* hero — CLS de 0.197 no desktop. Agora: woff2 variável local com      */
/* preload + um Arial ajustado (size-adjust/ascent/descent calculados   */
/* por largura média ponderada) segurando o layout até a troca.         */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora Fallback';
  src: local('Arial');
  size-adjust: 117%;
  ascent-override: 82.9%;
  descent-override: 24.79%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.48%;
  ascent-override: 90.14%;
  descent-override: 22.44%;
  line-gap-override: 0%;
}

:root {
  --vd-green-600: #059669;
  --vd-green-700: #047857;
  --vd-green-800: #065f46;
  --vd-green-900: #064536;
  --vd-green-050: #ecfdf5;
  --vd-green-100: #d1fae5;
  --vd-amber-500: #f59e0b;
  --vd-ink: #0f172a;
  --vd-ink-soft: #334155;
  --vd-muted: #58677c;
  --vd-line: #dfe6e3;
  --vd-line-strong: #cad6d1;
  --vd-paper: #f7f9f7;
  --vd-surface: #ffffff;
  --vd-warm: #f7f4ed;
  --vd-danger: #b42318;
  /* Camada semântica: componentes não precisam escolher cores isoladas. */
  --vd-background-primary: var(--vd-paper);
  --vd-background-secondary: var(--vd-warm);
  --vd-background-surface: var(--vd-surface);
  --vd-background-inverse: var(--vd-ink);
  --vd-text-primary: var(--vd-ink);
  --vd-text-secondary: var(--vd-ink-soft);
  --vd-text-muted: var(--vd-muted);
  --vd-text-inverse: #ffffff;
  --vd-text-inverse-muted: #b9c8c2;
  --vd-brand-primary: var(--vd-green-800);
  --vd-brand-hover: var(--vd-green-900);
  --vd-brand-subtle: var(--vd-green-050);
  --vd-border-default: var(--vd-line);
  --vd-border-strong: var(--vd-line-strong);
  --vd-font-display: 'Sora', 'Sora Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --vd-font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --vd-container: 1180px;
  --vd-gutter: clamp(20px, 4vw, 32px);
  --vd-radius-sm: 8px;
  --vd-radius-md: 12px;
  --vd-radius-lg: 16px;
  --vd-shadow-sm: 0 10px 34px rgba(15, 23, 42, 0.07);
  --vd-shadow-product: 0 28px 80px rgba(15, 43, 32, 0.15);
  --vd-ease: 180ms ease-out;

  /* Motion tokens (plano "Vendaí em Movimento", seção 6).
     Papéis fixos: fast = resposta ao toque; base = troca de estado local;
     entrance = revelação ao rolar; feature = SÓ hero e timeline offline.
     Sem springs de propósito: elasticidade contradiz "estável". */
  --motion-fast: 120ms;
  --motion-base: 180ms;
  --motion-entrance: 320ms;
  --motion-feature: 560ms;
  --ease-out-2: cubic-bezier(0.2, 0, 0, 1);
  --ease-in-2: cubic-bezier(0.3, 0, 0.8, 0.15);
  --ease-media: cubic-bezier(0.45, 0, 0.15, 1);
  --shift-1: 4px;
  --shift-2: 12px;
  --shift-3: 20px;
  --stagger: 60ms;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--vd-ink);
  background: var(--vd-paper);
  font-family: var(--vd-font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--vd-font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--vd-ink);
  background: #a7f3d0;
}

:focus-visible {
  outline: 3px solid var(--vd-amber-500);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 16px;
  color: #fff;
  background: var(--vd-green-900);
  border-radius: var(--vd-radius-sm);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--vd-ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding-block: clamp(76px, 9vw, 120px);
}

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

.section--warm {
  background: var(--vd-warm);
}

.section-heading {
  max-width: 770px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

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

.section-heading--center .section-index {
  justify-content: center;
}

.section-index,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--vd-green-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-index::before,
.eyebrow::before {
  width: 24px;
  height: 2px;
  background: var(--vd-green-600);
  content: '';
}

.section-heading h2,
.split-copy h2,
.offline h2,
.final-cta h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
}

.section-heading > p:last-child,
.section-lead,
.split-copy > p,
.offline__intro > p,
.final-cta__copy > p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--vd-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--vd-radius-md);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color var(--vd-ease), background-color var(--vd-ease), border-color var(--vd-ease), transform var(--vd-ease);
}

.button:hover {
  transform: translateY(-1px);
}

/* Press: o botão devolve o toque — resposta tátil de balcão (P0-B). */
.button:active {
  transform: translateY(0) scale(0.985);
  transition-duration: var(--motion-fast);
}

.button--primary {
  color: #fff;
  background: var(--vd-green-800);
}

.button--primary:hover {
  background: var(--vd-green-900);
}

.button--secondary {
  color: var(--vd-ink);
  background: transparent;
  border-color: var(--vd-line-strong);
}

.button--secondary:hover {
  background: var(--vd-surface);
  border-color: #9aacaa;
}

.button--light {
  color: var(--vd-green-900);
  background: #fff;
}

.button--light:hover {
  background: var(--vd-green-100);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(202, 214, 209, 0.8);
  background: rgba(247, 249, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link img {
  width: 95px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 32px);
}

.desktop-nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--vd-ink-soft);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--vd-green-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--vd-ink);
  background: transparent;
  border: 1px solid var(--vd-line-strong);
  border-radius: var(--vd-radius-sm);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px) clamp(64px, 8vw, 96px);
  background:
    linear-gradient(90deg, rgba(209, 250, 229, 0.28) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(209, 250, 229, 0.28) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--vd-paper);
}

.hero::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 420px;
  height: 360px;
  background: var(--vd-green-100);
  content: '';
  opacity: 0.65;
  transform: rotate(-8deg);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}

.hero__copy {
  max-width: 610px;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.55rem, 5.4vw, 4rem);
}

.hero__lead {
  max-width: 600px;
  margin-top: 24px;
  color: var(--vd-ink-soft);
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin-top: 24px;
  color: var(--vd-muted);
  font-size: 0.86rem;
  list-style: none;
}

.hero__assurances li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__assurances li::before {
  width: 6px;
  height: 6px;
  background: var(--vd-green-600);
  border-radius: 50%;
  content: '';
}

.hero-product {
  position: relative;
  margin: 0;
}

.hero-product::before {
  position: absolute;
  inset: 18% -24px 42px 18%;
  z-index: -1;
  background: var(--vd-green-800);
  border-radius: var(--vd-radius-lg);
  content: '';
}

.product-window {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vd-line-strong);
  border-radius: var(--vd-radius-lg);
  box-shadow: var(--vd-shadow-product);
}

.product-window__bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--vd-muted);
  background: #fff;
  border-bottom: 1px solid var(--vd-line);
  font-size: 0.72rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  background: var(--vd-line-strong);
  border-radius: 50%;
}

.product-window img {
  width: 100%;
  height: auto;
}

.hero-product figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  color: var(--vd-muted);
  font-size: 0.8rem;
}

.hero-product figcaption strong {
  color: var(--vd-green-800);
  font-weight: 700;
}

/* Facts */
.facts {
  color: #fff;
  background: var(--vd-green-900);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  min-height: 114px;
  padding: 24px clamp(18px, 3vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.fact:first-child {
  border-left: 0;
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--vd-font-display);
  font-size: 1rem;
}

.fact span {
  color: #c8e9dc;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Product chapters */
.showcase {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.product-tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--vd-line-strong);
}

.product-tab {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 68px;
  padding: 14px 12px;
  color: var(--vd-muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--vd-line-strong);
  cursor: pointer;
  transition: color var(--vd-ease), background-color var(--vd-ease);
}

.product-tab span:first-child {
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  font-weight: 700;
}

.product-tab span:last-child {
  color: inherit;
  font-family: var(--vd-font-display);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.product-tab:hover {
  color: var(--vd-green-800);
  background: rgba(209, 250, 229, 0.24);
}

.product-tab[aria-selected='true'] {
  color: var(--vd-green-800);
  background: var(--vd-green-050);
}

.product-tab[aria-selected='true']::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--vd-green-600);
  content: '';
}

.product-panel {
  min-width: 0;
}

.product-panel__visual {
  overflow: clip;
  background: #fff;
  border: 1px solid var(--vd-line-strong);
  border-radius: var(--vd-radius-lg);
  box-shadow: var(--vd-shadow-sm);
}

.product-panel__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  object-position: center;
}

.product-panel__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 28px;
  padding-top: 26px;
}

.product-panel__copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.product-panel__copy p {
  max-width: 600px;
  color: var(--vd-muted);
}

.product-proof {
  padding-left: 20px;
  border-left: 2px solid var(--vd-green-100);
}

.product-proof strong {
  display: block;
  margin-bottom: 5px;
  color: var(--vd-green-800);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-proof span {
  color: var(--vd-ink-soft);
  font-size: 0.92rem;
}

/* Offline */
.offline {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--vd-ink);
}

.offline::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  mask-image: linear-gradient(to right, #000, transparent 80%);
}

.offline__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.offline .section-index {
  color: #8de0bc;
}

.offline h2 {
  max-width: 590px;
}

.offline__intro > p {
  color: #b9c8c2;
}

.offline__promise {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #d8f9ea;
  font-weight: 700;
}

.offline__promise svg {
  width: 22px;
  height: 22px;
  color: #34d399;
}

.offline-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.offline-flow::before {
  position: absolute;
  top: 22px;
  right: 15%;
  left: 15%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  content: '';
}

.offline-step {
  position: relative;
  z-index: 1;
  padding-inline: 18px;
}

.offline-step__number {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--vd-ink);
  background: #fff;
  border: 5px solid var(--vd-ink);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.offline-step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.offline-step p {
  color: #9fb0aa;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Demo */
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: stretch;
  gap: 24px;
}

.demo-player {
  overflow: clip;
  background: var(--vd-ink);
  border-radius: var(--vd-radius-lg);
  box-shadow: var(--vd-shadow-sm);
}

.demo-player video {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  object-position: center;
  background: var(--vd-background-inverse);
}

.demo-player__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 22px;
  color: #fff;
}

.demo-player__caption h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.demo-player__caption p {
  max-width: 560px;
  color: #aebbb7;
  font-size: 0.9rem;
}

.demo-duration {
  flex: 0 0 auto;
  color: #9ce7c7;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.demo-playlist {
  display: flex;
  flex-direction: column;
  background: var(--vd-surface);
  border: 1px solid var(--vd-line-strong);
  border-radius: var(--vd-radius-lg);
}

.demo-choice {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 16px 18px;
  color: var(--vd-muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--vd-line);
  cursor: pointer;
  transition: color var(--vd-ease), background-color var(--vd-ease);
}

.demo-choice:last-child {
  border-bottom: 0;
}

.demo-choice:hover,
.demo-choice[aria-pressed='true'] {
  color: var(--vd-green-800);
  background: var(--vd-green-050);
}

.demo-choice__index {
  color: var(--vd-green-700);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.demo-choice strong {
  display: block;
  color: var(--vd-ink);
  font-family: var(--vd-font-display);
  font-size: 0.93rem;
  letter-spacing: -0.015em;
}

.demo-choice small {
  color: var(--vd-muted);
  font-size: 0.76rem;
}

.demo-choice svg {
  width: 18px;
  height: 18px;
}

.demo-transcript {
  margin-top: 24px;
  padding: 0 20px;
  background: var(--vd-surface);
  border: 1px solid var(--vd-line-strong);
  border-radius: var(--vd-radius-md);
}

.demo-transcript summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  color: var(--vd-green-800);
  font-weight: 750;
  cursor: pointer;
}

.demo-transcript ol {
  padding: 0 0 18px 20px;
  color: var(--vd-muted);
}

.demo-transcript li + li {
  margin-top: 10px;
}

.demo-transcript strong {
  color: var(--vd-ink);
}

/* Origin and routine */
.origin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.origin-mark {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  background: var(--vd-green-800);
  border-radius: var(--vd-radius-lg);
}

.origin-mark::after {
  position: absolute;
  right: -24px;
  bottom: -60px;
  color: rgba(255, 255, 255, 0.09);
  font-family: var(--vd-font-display);
  font-size: 250px;
  font-weight: 700;
  line-height: 1;
  content: 'í';
}

.origin-mark p:first-child {
  position: relative;
  z-index: 1;
  color: #a7f3d0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.origin-statement {
  position: relative;
  z-index: 1;
  max-width: 490px;
  margin-top: 72px;
  font-family: var(--vd-font-display);
  font-size: clamp(1.7rem, 3.1vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.origin-copy h2 {
  max-width: 650px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.origin-copy > p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--vd-muted);
  font-size: 1.06rem;
}

.routine-list {
  margin-top: 40px;
  border-top: 1px solid var(--vd-line-strong);
}

.routine-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding-block: 22px;
  border-bottom: 1px solid var(--vd-line-strong);
}

.routine-item > span {
  color: var(--vd-green-700);
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.routine-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.routine-item p {
  color: var(--vd-muted);
  font-size: 0.93rem;
}

/* Cloud */
.cloud-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
}

.cloud-visual {
  position: relative;
  min-width: 0;
}

.cloud-visual::before {
  position: absolute;
  inset: -20px 40px 28px -20px;
  z-index: 0;
  background: var(--vd-green-100);
  border-radius: var(--vd-radius-lg);
  content: '';
}

/* Moldura de celular: emoldura CAPTURA REAL do app. O mockup anterior era
   desenhado em CSS com números inventados e foi removido de propósito no
   redesign — um frame novo só se justifica com tela de verdade dentro. */
.app-frame {
  position: relative;
  z-index: 1;
  width: min(248px, 100%);
  padding: 9px;
  background: var(--vd-ink);
  border-radius: 34px;
  box-shadow: var(--vd-shadow-product);
}

.app-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

/* #nuvem: celular ao lado dos recursos que a assinatura acrescenta. */
.app-shot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: center;
}

.cloud-map__online {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--vd-surface);
  border: 1px solid var(--vd-line);
  border-radius: var(--vd-radius-md);
}

.cloud-map__online li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--vd-line);
}

.cloud-map__online li:last-child {
  border-bottom: 0;
}

.cloud-map__online svg {
  width: 26px;
  height: 26px;
  color: var(--vd-green-700);
}

.cloud-map__online strong,
.cloud-map__online small {
  display: block;
}

.cloud-map__online strong {
  color: var(--vd-ink);
  font-size: 0.88rem;
}

.cloud-map__online small {
  margin-top: 2px;
  color: var(--vd-muted);
  font-size: 0.74rem;
}

/* #app: três telas lado a lado. Sem carrossel — o design system proíbe. */
.app-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  justify-items: center;
  margin-top: clamp(32px, 5vw, 52px);
}

.app-card {
  display: grid;
  justify-items: center;
  margin: 0;
  text-align: center;
}

.app-card figcaption {
  display: grid;
  gap: 4px;
  max-width: min(30ch, 100%);
  padding-top: 18px;
}

.app-card figcaption strong {
  color: var(--vd-ink);
  font-size: 0.95rem;
}

.app-card figcaption span {
  color: var(--vd-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.app-nota {
  margin-top: clamp(28px, 4vw, 40px);
  color: var(--vd-muted);
  font-size: 0.85rem;
  text-align: center;
}

.cloud-visual figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 12px;
  color: var(--vd-muted);
  font-size: 0.72rem;
}

.cloud-visual figcaption strong {
  color: var(--vd-green-800);
  font-weight: 700;
}

.cloud-detail {
  margin-top: 22px;
  color: var(--vd-muted);
}

.cloud-note {
  margin-top: 26px;
  padding: 16px 18px;
  color: var(--vd-green-900);
  background: var(--vd-green-050);
  border-left: 3px solid var(--vd-green-600);
  font-size: 0.91rem;
  font-weight: 650;
}

/* Pricing */
.pricing-stack {
  max-width: 1000px;
  margin-inline: auto;
}

.price-layer {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4.5vw, 50px);
  background: var(--vd-surface);
  border: 1px solid var(--vd-line-strong);
}

.price-layer:first-child {
  border-radius: var(--vd-radius-lg) var(--vd-radius-lg) 0 0;
}

.price-layer--addon {
  position: relative;
  margin-top: -1px;
  background: var(--vd-green-050);
  border-color: #9fd9bf;
  border-radius: 0 0 var(--vd-radius-lg) var(--vd-radius-lg);
}

.price-layer--addon::before {
  position: absolute;
  top: -18px;
  left: clamp(30px, 5vw, 52px);
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--vd-green-800);
  border: 4px solid var(--vd-paper);
  border-radius: 50%;
  content: '+';
  font-family: var(--vd-font-display);
  font-weight: 700;
}

.price-label {
  margin-bottom: 12px;
  color: var(--vd-green-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-layer h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.price-layer__summary > p:not(.price-label) {
  color: var(--vd-muted);
  font-size: 0.94rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--vd-font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price small {
  color: var(--vd-muted);
  font-family: var(--vd-font-body);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-options {
  margin-top: 12px;
  color: var(--vd-muted);
  font-size: 0.84rem;
}

.price-renewal {
  max-width: 390px;
  margin-top: 10px;
  color: var(--vd-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.price-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px 22px;
  padding: 0;
  list-style: none;
}

.price-includes li {
  position: relative;
  padding-left: 23px;
  color: var(--vd-ink-soft);
  font-size: 0.92rem;
}

.price-includes li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--vd-green-700);
  content: '✓';
  font-weight: 800;
}

.pricing-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1000px;
  padding: 22px 0 0;
  margin-inline: auto;
  color: var(--vd-muted);
  font-size: 0.88rem;
}

.pricing-total strong {
  color: var(--vd-ink);
}

.pricing-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* Evidence */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--vd-line-strong);
  border-left: 1px solid var(--vd-line-strong);
}

.evidence-item {
  min-height: 190px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--vd-surface);
  border-right: 1px solid var(--vd-line-strong);
  border-bottom: 1px solid var(--vd-line-strong);
}

.evidence-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.evidence-item__top span:first-child {
  color: var(--vd-green-700);
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.evidence-item__top svg {
  width: 24px;
  height: 24px;
  color: var(--vd-green-700);
}

.evidence-item h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.evidence-item p {
  max-width: 500px;
  color: var(--vd-muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 112px;
}

.faq-intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.faq-intro p {
  margin-top: 18px;
  color: var(--vd-muted);
}

.faq-list {
  border-top: 1px solid var(--vd-line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--vd-line-strong);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 20px 52px 20px 0;
  font-family: var(--vd-font-display);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.018em;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  right: 4px;
  width: 18px;
  height: 2px;
  background: var(--vd-green-800);
  content: '';
  transition: transform var(--vd-ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  max-width: 680px;
  padding: 0 52px 24px 0;
  color: var(--vd-muted);
}

/* Final CTA */
.final-cta {
  color: #fff;
  background: var(--vd-green-800);
}

.final-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta .section-index {
  color: #a7f3d0;
}

.final-cta .section-index::before {
  background: #6ee7b7;
}

.final-cta__copy > p {
  color: #bdebd8;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
}

.final-cta__actions .button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.final-cta__actions .button--secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* Footer */
.site-footer {
  color: #9aa8b8;
  background: #0b1220;
}

/* Download */
.download-page {
  min-height: 70vh;
  background: var(--vd-paper);
}

.download-hero {
  padding-block: clamp(72px, 10vw, 128px);
  border-bottom: 1px solid var(--vd-line-strong);
}

.download-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: center;
}

.download-copy h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.download-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--vd-muted);
  font-size: 1.08rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.download-panel {
  padding: clamp(28px, 4vw, 42px);
  color: #fff;
  background: var(--vd-ink);
  border-radius: var(--vd-radius-lg);
  box-shadow: var(--vd-shadow-md);
}

.download-panel__label {
  color: #8fdbc0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.download-panel ol {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  border-top: 1px solid #344156;
}

.download-panel li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding-block: 19px;
  border-bottom: 1px solid #344156;
}

.download-panel li span {
  color: #8fdbc0;
  font-size: 0.74rem;
  font-weight: 800;
}

.download-panel li p {
  color: #d3dcda;
  font-size: 0.9rem;
}

.download-panel__note {
  margin-top: 22px;
  color: #9ba9ad;
  font-size: 0.78rem;
}

.download-info {
  padding-block: 72px;
  background: var(--vd-surface);
}

.download-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 8vw, 100px);
}

.download-info h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.download-info__grid > div:last-child p {
  color: var(--vd-muted);
  font-size: 1rem;
}

.download-info__grid a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 20px;
  color: var(--vd-green-800);
  font-weight: 750;
  text-decoration: none;
}

/* Download público — dados de release carregados do catálogo da API. */
.download-hero {
  background:
    radial-gradient(circle at 83% 18%, rgba(5, 150, 105, 0.1), transparent 32%),
    linear-gradient(90deg, rgba(209, 250, 229, 0.22) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(209, 250, 229, 0.22) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--vd-paper);
}

.button--download svg {
  width: 20px;
  height: 20px;
}

.download-license-note {
  max-width: 630px;
  margin-top: 14px;
  color: var(--vd-muted);
  font-size: 0.84rem;
}

.download-live-status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--vd-green-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.download-live-status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--vd-green-600);
  border-radius: 50%;
}

.download-live-status[data-state='loading'] .download-live-status__dot {
  background: var(--vd-amber-500);
  animation: vd-respira 1.4s ease-in-out infinite;
}

.download-live-status[data-state='error'] {
  color: var(--vd-danger);
}

.download-live-status[data-state='error'] .download-live-status__dot {
  background: var(--vd-danger);
}

.download-release-card {
  padding: clamp(26px, 4vw, 38px);
  color: #fff;
  background: #0f1d2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vd-radius-lg);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.download-release-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.download-version {
  margin-top: 7px;
  font-family: var(--vd-font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.download-release-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding-inline: 11px;
  color: #d1fae5;
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.download-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid #344156;
  border-left: 1px solid #344156;
}

.download-metadata div {
  min-width: 0;
  padding: 17px;
  border-right: 1px solid #344156;
  border-bottom: 1px solid #344156;
}

.download-metadata dt {
  color: #92a4af;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.download-metadata dd {
  margin: 4px 0 0;
  color: #edf7f3;
  font-size: 0.88rem;
  font-weight: 650;
}

.download-hash {
  margin-top: 24px;
}

.download-hash > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8fdbc0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.download-hash button,
.download-inline-error button {
  min-height: 36px;
  padding-inline: 11px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--vd-radius-sm);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
}

.download-hash code {
  display: block;
  padding: 13px;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #c8d6dc;
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--vd-radius-sm);
  font-size: 0.72rem;
  line-height: 1.55;
}

.download-file {
  margin-top: 14px;
  overflow-wrap: anywhere;
  color: #92a4af;
  font-size: 0.75rem;
}

.download-trust {
  color: #fff;
  background: var(--vd-green-800);
}

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

.download-trust__grid > div {
  display: grid;
  align-content: center;
  min-height: 116px;
  padding: 24px clamp(18px, 3vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.download-trust__grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.download-trust strong {
  font-family: var(--vd-font-display);
  font-size: 0.88rem;
}

.download-trust span {
  margin-top: 5px;
  color: #bdebd8;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.download-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 50px;
  align-items: end;
}

.download-section-heading h2,
.download-two-columns h2 {
  max-width: 680px;
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.download-section-heading > p,
.download-section-copy {
  color: var(--vd-muted);
}

.download-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin-top: 48px;
  list-style: none;
  border-top: 1px solid var(--vd-line-strong);
  border-left: 1px solid var(--vd-line-strong);
}

.download-step-grid li {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--vd-surface);
  border-right: 1px solid var(--vd-line-strong);
  border-bottom: 1px solid var(--vd-line-strong);
}

.download-step-grid li > span,
.download-path-label {
  color: var(--vd-green-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-step-grid h3 {
  margin-top: 48px;
  font-size: 1.08rem;
}

.download-step-grid p {
  margin-top: 12px;
  color: var(--vd-muted);
  font-size: 0.87rem;
}

.download-step-grid code,
.download-faq-section code {
  overflow-wrap: anywhere;
  color: var(--vd-ink-soft);
  font-size: 0.82em;
}

.download-requirements,
.download-security,
.download-paths {
  background: var(--vd-warm);
}

.download-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.download-section-copy {
  max-width: 520px;
  margin-top: 22px;
}

.download-check-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--vd-line-strong);
}

.download-check-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 22px 8px 22px 34px;
  border-bottom: 1px solid var(--vd-line-strong);
}

.download-check-list li::before {
  position: absolute;
  top: 25px;
  left: 4px;
  width: 17px;
  height: 17px;
  color: #fff;
  background: var(--vd-green-700);
  border-radius: 50%;
  content: '✓';
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
}

.download-check-list strong {
  font-size: 0.92rem;
}

.download-check-list span {
  color: var(--vd-muted);
  font-size: 0.86rem;
}

.download-notes-section,
.download-history-section,
.download-faq-section {
  background: var(--vd-surface);
}

.download-notes {
  padding-left: 30px;
  border-left: 3px solid var(--vd-green-600);
}

.download-notes h3 {
  margin: 26px 0 9px;
  color: var(--vd-ink);
  font-size: 1rem;
}

.download-notes h3:first-child {
  margin-top: 0;
}

.download-notes p,
.download-notes li,
.download-security-copy > p {
  color: var(--vd-muted);
}

.download-notes p + p,
.download-notes ul + p {
  margin-top: 12px;
}

.download-notes ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.download-notes li + li {
  margin-top: 8px;
}

.download-warning {
  padding: 24px;
  margin-top: 28px;
  color: #5d4105;
  background: #fff7df;
  border: 1px solid #ecd18e;
  border-radius: var(--vd-radius-md);
}

.download-warning strong {
  color: #6d4b04;
}

.download-warning p {
  margin-top: 7px;
  font-size: 0.88rem;
}

.download-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.download-history-item {
  position: relative;
  padding: 25px;
  background: var(--vd-paper);
  border: 1px solid var(--vd-line-strong);
  border-radius: var(--vd-radius-md);
}

.download-history-item > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.download-history-item time,
.download-history-item > span {
  color: var(--vd-green-700);
  font-size: 0.72rem;
  font-weight: 750;
}

.download-history-item p {
  display: -webkit-box;
  min-height: 48px;
  margin: 14px 0 18px;
  overflow: hidden;
  color: var(--vd-muted);
  font-size: 0.85rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.download-placeholder {
  color: var(--vd-muted);
}

.download-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--vd-line-strong);
  border-left: 1px solid var(--vd-line-strong);
}

.download-path-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: clamp(25px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.5);
  border-right: 1px solid var(--vd-line-strong);
  border-bottom: 1px solid var(--vd-line-strong);
}

.download-path-grid h3 {
  margin-top: 34px;
  font-size: 1.22rem;
}

.download-path-grid article > p:not(.download-path-label) {
  margin-top: 13px;
  color: var(--vd-muted);
  font-size: 0.88rem;
}

.download-path-grid a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--vd-green-800);
  font-weight: 800;
  text-decoration: none;
}

.download-inline-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  color: var(--vd-danger);
  background: #fff5f3;
  border: 1px solid #f0b8ad;
  border-radius: var(--vd-radius-sm);
}

.download-inline-error button {
  flex: 0 0 auto;
}

.download-release-card[aria-busy='true'] .download-version,
.download-release-card[aria-busy='true'] .download-metadata dd,
.download-release-card[aria-busy='true'] .download-hash code {
  opacity: 0.68;
}

.download-hash button:focus-visible,
.download-inline-error button:focus-visible,
.download-history-item:focus-within {
  outline: 3px solid rgba(16, 185, 129, 0.35);
  outline-offset: 3px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) repeat(3, minmax(140px, 0.6fr));
  gap: 40px;
  padding-block: 64px;
}

.footer-brand img {
  width: 98px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: #9aa8b8;
  font-size: 0.9rem;
}

.footer-col h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--vd-font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: #b9c3cf;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-bottom strong {
  color: #d6dde5;
  font-weight: 600;
}

@media (max-width: 1060px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a:nth-last-child(2) {
    display: none;
  }

  .hero__grid,
  .offline__layout,
  .cloud-layout {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .origin-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-actions .button--secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    top: 73px;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100dvh - 73px);
    padding: 18px var(--vd-gutter) 28px;
    overflow-y: auto;
    background: var(--vd-paper);
    border-bottom: 1px solid var(--vd-line-strong);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform var(--motion-base) var(--ease-out-2), visibility var(--motion-base);
  }

  .mobile-nav[data-open='true'] {
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding-inline: 4px;
    color: var(--vd-ink-soft);
    border-bottom: 1px solid var(--vd-line);
    font-family: var(--vd-font-display);
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-nav .button {
    margin-top: 18px;
    color: #fff;
    border: 0;
  }

  .hero__grid,
  .offline__layout,
  .origin-layout,
  .cloud-layout,
  .faq-layout,
  .final-cta__layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 720px;
  }

  .download-hero__grid,
  .download-info__grid,
  .download-two-columns,
  .download-section-heading {
    grid-template-columns: 1fr;
  }

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

  .download-path-grid {
    grid-template-columns: 1fr;
  }

  .download-path-grid article {
    min-height: 250px;
  }

  .hero-product {
    width: min(100%, 720px);
  }

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

  .fact:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .fact:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--vd-line-strong);
    scrollbar-width: thin;
  }

  .product-tab {
    min-width: 150px;
    border-top: 1px solid var(--vd-line-strong);
    border-right: 1px solid var(--vd-line-strong);
    border-bottom: 0;
  }

  .product-tab[aria-selected='true']::before {
    inset: auto 0 0;
    width: auto;
    height: 3px;
  }

  .offline__layout {
    gap: 56px;
  }

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

  .demo-playlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-choice:nth-child(odd) {
    border-right: 1px solid var(--vd-line);
  }

  /* Em duas colunas, a última linha não leva divisor — e um item sozinho
     nela ocupa a largura inteira em vez de deixar meia célula vazia. */
  .demo-choice:last-child,
  .demo-choice:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
  }

  .demo-choice:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .origin-mark {
    min-height: 360px;
  }

  .origin-statement {
    margin-top: 56px;
  }

  .cloud-visual {
    order: 2;
  }

  .faq-intro {
    position: static;
  }

  .final-cta__actions {
    width: min(100%, 360px);
  }

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 72px;
  }

  .section {
    padding-block: 72px;
  }

  .site-header .button--primary {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .mobile-nav {
    top: 65px;
    max-height: calc(100dvh - 65px);
  }

  .hero {
    padding-block: 52px 64px;
    background:
      linear-gradient(90deg, rgba(209, 250, 229, 0.24) 1px, transparent 1px) 0 0 / 48px 48px,
      linear-gradient(rgba(209, 250, 229, 0.24) 1px, transparent 1px) 0 0 / 48px 48px,
      var(--vd-paper);
  }

  .hero__grid {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .download-hero {
    padding-block: 58px 72px;
  }

  .download-copy h1 {
    font-size: clamp(2.5rem, 13vw, 3.45rem);
  }

  .download-actions {
    display: grid;
  }

  .download-actions .button {
    width: 100%;
  }

  .download-trust__grid,
  .download-step-grid,
  .download-history {
    grid-template-columns: 1fr;
  }

  .download-trust__grid > div {
    min-height: 94px;
    padding-inline: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    border-left: 0;
  }

  .download-trust__grid > div:first-child {
    border-top: 0;
  }

  .download-trust__grid > div:last-child {
    border-right: 0;
  }

  .download-release-card__top,
  .download-history-item > div,
  .download-inline-error {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-metadata {
    grid-template-columns: 1fr;
  }

  .download-step-grid li {
    min-height: 220px;
  }

  .download-step-grid h3 {
    margin-top: 30px;
  }

  .download-check-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .download-notes {
    padding-left: 20px;
  }

  .download-inline-error button {
    width: 100%;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__assurances {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-product::before {
    inset: 14% -14px 58px 12%;
  }

  .product-window__bar {
    min-height: 36px;
  }

  .product-window__bar > span:last-child {
    display: none;
  }

  .hero-product figcaption {
    display: block;
    font-size: 0.75rem;
  }

  .hero-product figcaption span {
    display: block;
    margin-top: 3px;
  }

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

  .fact {
    min-height: auto;
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .fact:first-child {
    border-top: 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .split-copy h2,
  .offline h2,
  .final-cta h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .product-panel__copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-tabs {
    margin-inline: calc(var(--vd-gutter) * -1);
    padding-inline: var(--vd-gutter);
    scroll-padding-inline: var(--vd-gutter);
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    grid-template-columns: 28px 1fr;
    min-width: 128px;
    min-height: 58px;
    padding: 10px;
  }

  .product-proof {
    padding: 16px 0 0;
    border-top: 2px solid var(--vd-green-100);
    border-left: 0;
  }

  .offline__layout {
    gap: 44px;
  }

  .offline-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .offline-flow::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
    width: 1px;
    height: auto;
  }

  .offline-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 0;
  }

  .offline-step__number {
    margin-bottom: 0;
  }

  .offline-step h3 {
    margin-top: 2px;
  }

  .offline-step p {
    grid-column: 2;
    margin-top: -20px;
  }

  .demo-player__caption {
    display: block;
    padding: 17px;
  }

  .demo-duration {
    display: block;
    margin-top: 10px;
  }

  .demo-playlist {
    order: -1;
    display: flex;
    flex-direction: row;
    margin-inline: calc(var(--vd-gutter) * -1);
    padding-inline: var(--vd-gutter);
    overflow-x: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    scroll-padding-inline: var(--vd-gutter);
    scrollbar-width: none;
  }

  .demo-playlist::-webkit-scrollbar {
    display: none;
  }

  .demo-choice,
  .demo-choice:nth-child(odd),
  .demo-choice:nth-child(3) {
    flex: 0 0 214px;
    min-height: 72px;
    padding: 12px 14px;
    background: var(--vd-surface);
    border: 1px solid var(--vd-line-strong);
    border-right: 0;
    border-bottom: 1px solid var(--vd-line-strong);
  }

  .demo-choice:last-child {
    border-right: 1px solid var(--vd-line-strong);
    border-bottom: 1px solid var(--vd-line-strong);
  }

  .origin-mark {
    min-height: 330px;
    padding: 30px;
  }

  .origin-statement {
    margin-top: 48px;
  }

  .routine-item {
    grid-template-columns: 34px 1fr;
  }

  .cloud-visual::before {
    inset: -12px 26px 18px -12px;
  }

  .app-gallery {
    grid-template-columns: 1fr;
  }

  .app-shot {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .app-frame {
    width: min(240px, 74vw);
  }

  .price-layer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }

  .price-includes {
    grid-template-columns: 1fr;
  }

  .pricing-total {
    display: block;
  }

  .pricing-actions {
    display: grid;
    margin-top: 20px;
  }

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

  .evidence-item {
    min-height: auto;
  }

  .faq-list summary {
    min-height: 70px;
    padding-right: 38px;
    font-size: 0.97rem;
  }

  .faq-answer {
    padding-right: 32px;
  }

  .final-cta__layout {
    gap: 34px;
  }

  .final-cta__actions {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
    padding-block: 52px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
    padding-block: 22px;
  }

  .footer-bottom span {
    display: block;
  }

  .footer-bottom span + span {
    margin-top: 5px;
  }
}

@media (max-width: 360px) {
  :root {
    --vd-gutter: 18px;
  }

  .brand-link img {
    width: 88px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .product-tab {
    min-width: 138px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .hero__actions,
  .final-cta,
  .site-footer,
  video {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding-block: 32px;
    break-inside: avoid;
  }
}

/* ================================================================== */
/* Motion — plano "Vendaí em Movimento" (30/08/2026).                  */
/* Regras do sistema: só transform/opacity; estados escondidos existem */
/* apenas sob .anim-armada (classe que o site.js adiciona — se o JS    */
/* falhar, a página fica 100% visível) e sob preferência de movimento  */
/* normal; tudo roda uma vez. O bloco global de reduced-motion no fim  */
/* do arquivo continua valendo como segunda trava.                     */

/* --- P0-C · crossfade dos capítulos da seção Produto -------------- */
.product-panel__visual {
  position: relative;
}

.product-panel__overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
}

html.js .product-panel__overlay.entrando {
  opacity: 1;
  transition: opacity 240ms var(--ease-media);
}

html.js .panel-copy-anim {
  transition: opacity var(--motion-base) var(--ease-out-2), transform var(--motion-base) var(--ease-out-2);
}

html.js .panel-copy-anim.saindo {
  opacity: 0;
  transition-duration: 90ms;
  transition-timing-function: var(--ease-in-2);
}

html.js .panel-copy-anim.preparada {
  opacity: 0;
  transform: translateY(var(--shift-1));
  transition: none;
}

/* --- P0-D · playlist de demonstrações ----------------------------- */
.demo-choice {
  position: relative;
}

.demo-choice::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--vd-green-600);
  content: '';
  transform: scaleY(0);
  transform-origin: top;
}

.demo-choice[aria-pressed='true']::before {
  transform: scaleY(1);
}

html.js .demo-choice::before {
  transition: transform var(--motion-base) var(--ease-out-2);
}

html.js .demo-player video {
  transition: opacity var(--motion-base) var(--ease-media);
}

/* --- P1 · indicador da tab ativa cresce --------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .product-tab[aria-selected='true']::before {
    animation: vd-barra-v var(--motion-base) var(--ease-out-2);
    transform-origin: top;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  html.js .product-tab[aria-selected='true']::before {
    animation-name: vd-barra-h;
    transform-origin: left;
  }
}

/* --- P1-A · revelação ao rolar (uma vez, 12 px, 320 ms) ------------ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal.anim-armada {
    opacity: 0;
    transform: translateY(var(--shift-2));
  }

  html.js .reveal.anim-armada.visivel {
    opacity: 1;
    transform: none;
    transition: opacity var(--motion-entrance) var(--ease-out-2), transform var(--motion-entrance) var(--ease-out-2);
  }

  html.js .reveal.reveal-atraso-1.anim-armada.visivel {
    transition-delay: var(--stagger);
  }

  html.js .reveal-fila.anim-armada > * {
    opacity: 0;
    transform: translateY(var(--shift-2));
  }

  html.js .reveal-fila.anim-armada.visivel > * {
    opacity: 1;
    transform: none;
    transition: opacity var(--motion-entrance) var(--ease-out-2), transform var(--motion-entrance) var(--ease-out-2);
  }

  html.js .reveal-fila.anim-armada.visivel > :nth-child(2) {
    transition-delay: var(--stagger);
  }

  html.js .reveal-fila.anim-armada.visivel > :nth-child(n + 3) {
    transition-delay: calc(var(--stagger) * 2);
  }
}

@media (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  /* Tela curta já sequencia pela rolagem: deslocamento menor, sem stagger. */
  html.js .reveal.anim-armada,
  html.js .reveal-fila.anim-armada > * {
    transform: translateY(var(--shift-1));
  }

  html.js .reveal.reveal-atraso-1.anim-armada.visivel,
  html.js .reveal-fila.anim-armada.visivel > :nth-child(2),
  html.js .reveal-fila.anim-armada.visivel > :nth-child(n + 3) {
    transition-delay: 0ms;
  }
}

/* --- P1-B · sequência de entrada do hero (storyboard S1) ----------- */
/* O H1 e a janela do produto são candidatos a LCP: animam SÓ transform, */
/* nunca opacidade — o primeiro paint deles é o definitivo.             */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero .eyebrow {
    animation: vd-surge var(--motion-entrance) var(--ease-out-2) backwards;
  }

  html.js .hero h1 {
    animation: vd-assenta var(--motion-entrance) var(--ease-out-2) backwards;
  }

  html.js .hero__lead {
    animation: vd-surge var(--motion-entrance) var(--ease-out-2) 60ms backwards;
  }

  html.js .hero__actions {
    animation: vd-surge var(--motion-entrance) var(--ease-out-2) 120ms backwards;
  }

  html.js .hero__assurances {
    animation: vd-surge var(--motion-entrance) var(--ease-out-2) 180ms backwards;
  }

  html.js .hero-product {
    animation: vd-assenta-suave var(--motion-feature) var(--ease-out-2) 120ms backwards;
  }
}

/* --- P1-C · timeline offline (storyboard S2, o único espetáculo) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js #offline.anim-armada .offline-step {
    opacity: 0.35;
  }

  html.js #offline.anim-armada .offline__promise {
    opacity: 0;
  }

  html.js #offline.anim-armada.viva .offline-step {
    animation: vd-acende var(--motion-entrance) var(--ease-out-2) both;
  }

  html.js #offline.anim-armada.viva .offline-step:nth-child(2) {
    animation-delay: 560ms;
  }

  html.js #offline.anim-armada.viva .offline-step:nth-child(3) {
    animation-delay: 1120ms;
  }

  html.js #offline.anim-armada.viva .offline-step:first-child .offline-step__number {
    animation: vd-pulso 240ms var(--ease-out-2) 80ms;
  }

  html.js #offline.anim-armada.viva .offline__promise {
    animation: vd-surge-final var(--motion-base) var(--ease-out-2) 1440ms both;
  }
}

@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  /* A linha que liga os passos só desenha no layout horizontal. */
  html.js #offline.anim-armada .offline-flow::before {
    transform: scaleX(0);
    transform-origin: left;
  }

  html.js #offline.anim-armada.viva .offline-flow::before {
    animation: vd-desenha 800ms var(--ease-out-2) 320ms both;
  }
}

/* --- P2-A · pulso do rótulo enquanto o vídeo carrega ---------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .demo-duration.carregando {
    animation: vd-respira 900ms ease-in-out infinite alternate;
  }
}

/* --- P1-D · FAQ abre deslizando (progressivo: Chrome 129+; nos       */
/* demais navegadores abre seco, como hoje) --------------------------- */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  .faq-list details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: content-visibility var(--motion-base) allow-discrete, block-size var(--motion-base) var(--ease-out-2);
  }

  .faq-list details[open]::details-content {
    block-size: auto;
  }
}

/* --- quadros ------------------------------------------------------- */
@keyframes vd-surge {
  from {
    opacity: 0;
    transform: translateY(var(--shift-2));
  }
}

@keyframes vd-surge-final {
  from {
    opacity: 0;
    transform: translateY(var(--shift-1));
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes vd-assenta {
  from {
    transform: translateY(var(--shift-2));
  }
}

@keyframes vd-assenta-suave {
  from {
    transform: translateY(8px);
  }
}

@keyframes vd-barra-v {
  from {
    transform: scaleY(0);
  }
}

@keyframes vd-barra-h {
  from {
    transform: scaleX(0);
  }
}

@keyframes vd-acende {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

@keyframes vd-desenha {
  to {
    transform: scaleX(1);
  }
}

@keyframes vd-pulso {
  50% {
    transform: scale(1.15);
  }
}

@keyframes vd-respira {
  to {
    opacity: 0.45;
  }
}
