/* =========================================================
   appSync — Landing page
   Identidade "Graphite + Aurora" · referência Apple HIG
   ---------------------------------------------------------
   Sistema visual único: todos os componentes usam os tokens
   abaixo (sombras, vidro, preenchimentos, contornos, raios,
   foco). Tema claro é o padrão; o escuro é opcional
   (ativado pelo botão de tema → html[data-theme="dark"]).
   ========================================================= */

/* ---------- Tokens · tema claro (padrão) ---------- */
:root {
  /* marca */
  --ink: #1D1D1F;
  --graphite: #3E3E3E;
  --silver: #86868B;
  --mist: #F5F5F7;
  --night: #0B0B0F;
  --aurora-1: #4CE1E4;
  --aurora-2: #A98BFF;
  --aurora-3: #FF6FB5;
  --aurora-4: #FFB36B;
  --aurora: linear-gradient(92deg, var(--aurora-1) 0%, var(--aurora-2) 38%, var(--aurora-3) 70%, var(--aurora-4) 100%);

  /* superfícies e texto */
  --bg: #F5F5F7;
  --bg-alt: #FBFBFD;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --text-3: #86868B;
  --accent: var(--graphite);
  --cyan: #12B3B8;
  --pink: #E0559F;
  --violet: #8B6CF0;
  --success: #1E8E3E;
  --danger: #C9372C;

  /* contornos (quase imperceptíveis) */
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.10);

  /* preenchimentos de controles (estilo "fill" da Apple) */
  --fill: rgba(118, 118, 128, 0.10);
  --fill-hover: rgba(118, 118, 128, 0.16);
  --fill-field: rgba(118, 118, 128, 0.08);
  --selected: #FFFFFF;
  --chip-bg: rgba(255, 255, 255, 0.55);
  --chip-bg-hover: rgba(255, 255, 255, 0.82);

  /* vidro */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-solid: rgba(250, 250, 252, 0.97);   /* sem backdrop-filter */
  --glass-blur: saturate(180%) blur(20px);
  --glass-edge: inset 0 0 0 0.5px rgba(255, 255, 255, 0.6);
  --dock-bg: rgba(238, 238, 242, 0.78);      /* leve tom próprio: destaca-se sobre cartões brancos */
  --dock-indicator: rgba(255, 255, 255, 0.95);

  /* sombras: suaves, difusas, uma intenção por nível */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 20px -10px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.03), 0 20px 44px -22px rgba(0, 0, 0, 0.16);
  --shadow-float: 0 14px 44px -18px rgba(0, 0, 0, 0.20);
  --shadow-modal: 0 40px 100px -30px rgba(0, 0, 0, 0.30);

  /* foco acessível */
  --focus: #8B6CF0;

  /* raios */
  --r-card: 28px;
  --r-card-sm: 20px;
  --r-icon: 14px;
  --r-field: 12px;
  --r-pill: 999px;

  /* movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 280ms;
  --t: 600ms;

  /* decoração */
  --blob-1: rgba(169, 139, 255, 0.30);
  --blob-2: rgba(76, 225, 228, 0.26);
  --blob-3: rgba(255, 111, 181, 0.22);
  --dot: rgba(0, 0, 0, 0.13);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --dock-space: calc(96px + env(safe-area-inset-bottom));
  color-scheme: light;
}

/* ---------- Tokens · tema escuro (opcional) ---------- */
:root[data-theme="dark"] {
  --bg: #0B0B0F;
  --bg-alt: #101015;
  --surface: #16161A;
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #86868B;
  --accent: #E8E8ED;
  --cyan: #4CE1E4;
  --pink: #FF6FB5;
  --violet: #A98BFF;
  --success: #4CD964;
  --danger: #FF6B5E;

  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);

  --fill: rgba(118, 118, 128, 0.22);
  --fill-hover: rgba(118, 118, 128, 0.30);
  --fill-field: rgba(118, 118, 128, 0.18);
  --selected: rgba(255, 255, 255, 0.16);
  --chip-bg: rgba(255, 255, 255, 0.05);
  --chip-bg-hover: rgba(255, 255, 255, 0.09);

  --glass: rgba(28, 28, 32, 0.70);
  --glass-strong: rgba(28, 28, 32, 0.86);
  --glass-solid: rgba(24, 24, 28, 0.97);
  --glass-edge: inset 0 0 0 0.5px rgba(255, 255, 255, 0.07);
  --dock-bg: rgba(36, 36, 40, 0.72);
  --dock-indicator: rgba(255, 255, 255, 0.12);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 24px -12px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.25), 0 24px 48px -22px rgba(0, 0, 0, 0.6);
  --shadow-float: 0 16px 48px -18px rgba(0, 0, 0, 0.7);
  --shadow-modal: 0 40px 100px -30px rgba(0, 0, 0, 0.8);

  --focus: #A98BFF;

  --blob-1: rgba(169, 139, 255, 0.26);
  --blob-2: rgba(76, 225, 228, 0.16);
  --blob-3: rgba(255, 111, 181, 0.20);
  --dot: rgba(255, 255, 255, 0.09);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-padding-bottom: var(--dock-space); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: rgba(139, 108, 240, 0.22); color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill);
}
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  background: linear-gradient(92deg, var(--text) 0%, var(--text-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.07; font-weight: 700; letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead {
  margin: 18px 0 0;
  font-size: clamp(18px, 2.1vw, 21px); line-height: 1.45; color: var(--text-2);
  max-width: 640px; text-wrap: pretty;
}
.grad-text {
  background-image: var(--aurora);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-shift 8s ease-in-out infinite;
}
@keyframes grad-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Superfícies ----------
   .glass = cartão de conteúdo (sólido: melhor leitura).
   O vidro translúcido fica reservado a navegação, controles e modal. */
.glass {
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

/* ---------- Controles: base comum ---------- */
.icon-btn {
  position: relative;
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-pill);
  color: var(--text); background: var(--fill);
  transition: background-color var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.icon-btn:hover { background: var(--fill-hover); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botões (sistema único) ----------
   Vidro transparente com contorno interno quase imperceptível,
   sombra difusa discreta e movimento lento. */
.gbtn-wrap {
  position: relative; z-index: 2; display: inline-block; vertical-align: middle;
  font-size: clamp(15px, 0.55vw + 12px, 18px);
  border-radius: var(--r-pill);
}
.gbtn-wrap--sm { font-size: 14px; }
.gbtn-wrap--block { display: block; width: 100%; }
.gbtn {
  all: unset; box-sizing: border-box; display: inline-block; position: relative; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--r-pill);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), inset 0 0 0 1px var(--line), var(--shadow-xs);
  transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.gbtn-wrap--block .gbtn { display: block; width: 100%; }
.gbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.gbtn[disabled] { cursor: progress; }
.gbtn__inner {
  display: flex; align-items: center; justify-content: center; gap: 0.9em;
  padding: 0.875em 1.5em;
  user-select: none; -webkit-user-select: none;
}
.gbtn-wrap--sm .gbtn__inner { padding: 0.6em 1.15em; }
.gbtn__label {
  display: block; white-space: nowrap;
  font-weight: 500; font-size: 1em; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--text);
}
/* CTA principal: mesma estrutura, mais presença */
.gbtn-wrap--cta .gbtn { background: var(--glass-strong); box-shadow: var(--glass-edge), inset 0 0 0 1px var(--line), var(--shadow-1); }
.gbtn-wrap--cta .gbtn__inner { padding: 0.45em 0.45em 0.45em 1.6em; justify-content: center; gap: 1.1em; }
.gbtn-wrap--block .gbtn__inner { padding-inline: 0.45em; }   /* equilibra o centro com a seta */
.gbtn-wrap--block .gbtn__label { padding-left: 3.4em; }
.gbtn__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 2.3em; height: 2.3em; border-radius: 50%;
  background: var(--ink);
  transition: transform var(--t) var(--ease);
}
.gbtn__icon svg { width: 0.8em; height: 0.8em; fill: #FFFFFF; transition: transform var(--t) var(--ease); }
:root[data-theme="dark"] .gbtn__icon { background: #F5F5F7; }
:root[data-theme="dark"] .gbtn__icon svg { fill: var(--ink); }

@media (hover: hover) {
  .gbtn:hover { background: var(--glass-strong); transform: translateY(-1px); box-shadow: var(--glass-edge), inset 0 0 0 1px var(--line), var(--shadow-1); }
  .gbtn-wrap--cta .gbtn:hover { background: var(--surface); box-shadow: var(--glass-edge), inset 0 0 0 1px var(--line), var(--shadow-2); }
  .gbtn:hover .gbtn__icon { transform: scale(1.05); }
  .gbtn:hover .gbtn__icon svg { transform: translateX(1px); }
}
.gbtn:active { transform: scale(0.985); transition-duration: var(--t-fast); }

/* enviando: pulso Aurora discreto */
.gbtn.is-loading { animation: gbtn-glow 2.4s ease-in-out infinite; }
@keyframes gbtn-glow {
  0%, 100% { box-shadow: var(--glass-edge), inset 0 0 0 1px var(--line), 0 0 0 4px rgba(76, 225, 228, 0.14); }
  50%      { box-shadow: var(--glass-edge), inset 0 0 0 1px var(--line), 0 0 0 6px rgba(255, 111, 181, 0.14); }
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: box-shadow var(--t) var(--ease), background-color .5s ease;
  will-change: transform;
}
.nav.is-scrolled { box-shadow: 0 0.5px 0 var(--line-strong); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter);
  height: 60px; display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo { height: 21px; width: auto; }
.logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: none; }
:root[data-theme="dark"] .logo--light { display: block; }
.nav__links { display: flex; gap: 28px; margin-inline: auto; }
.nav__links a { font-size: 14px; color: var(--text-2); transition: color .2s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__links + .nav__tools { margin-left: 0; }

/* seletor de idioma (controle segmentado) */
.seg {
  position: relative; display: inline-flex; padding: 3px; border-radius: var(--r-pill);
  background: var(--fill);
}
.seg button {
  position: relative; z-index: 1; min-width: 36px; height: 28px; padding: 0 8px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: var(--text); }
.seg button:focus-visible { outline-offset: 1px; }
.seg__pill {
  position: absolute; top: 3px; left: 0; height: 28px; width: 36px; border-radius: var(--r-pill);
  background: var(--selected); box-shadow: var(--shadow-xs);
  will-change: transform, width;
}

/* botão de tema: ícones sol/lua */
#themeBtn svg { position: absolute; transition: transform .7s var(--ease), opacity .4s ease; }
.i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .i-moon { opacity: 1; transform: none; }

.nav__burger { display: none; }
.nav__burger span {
  position: absolute; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease);
}
.nav__burger span:first-child { transform: translateY(-3.5px); }
.nav__burger span:last-child { transform: translateY(3.5px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 24px; gap: 4px; box-shadow: inset 0 0.5px 0 var(--line-strong); }
.mobile-menu a { padding: 14px 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; box-shadow: 0 0.5px 0 var(--line-strong); }
.mobile-menu[hidden] { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__tools .gbtn-wrap { display: none; }
  .nav__burger { display: inline-grid; }
}
@media (max-width: 380px) {
  .seg button { min-width: 30px; padding: 0 5px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 120px 0 96px;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
/* textura da marca: grade pontilhada */
.hero::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, var(--dot) 1px, transparent 1.5px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.hero__aura {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%);
}
.hero > .hero__aura { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform;
  animation: float 18s ease-in-out infinite;
}
.b1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: var(--blob-1); }
.b2 { width: 40vmax; height: 40vmax; right: -12vmax; top: 6vmax; background: var(--blob-2); animation-delay: -6s; animation-duration: 22s; }
.b3 { width: 36vmax; height: 36vmax; left: 30%; bottom: -22vmax; background: var(--blob-3); animation-delay: -11s; animation-duration: 26s; }
@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33% { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); }
  66% { transform: translate3d(-3vmax, 2vmax, 0) scale(.94); }
}
.hero__aura--soft .blob { opacity: .55; }

.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  margin: 0; font-size: clamp(36px, 6vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title .grad-text {
  padding-bottom: .08em;
  background-image: linear-gradient(92deg, var(--ink) 0%, var(--graphite) 30%, var(--aurora-2) 62%, var(--aurora-3) 82%, var(--aurora-4) 100%);
}
:root[data-theme="dark"] .hero__title .grad-text {
  background-image: linear-gradient(92deg, #FFFFFF 0%, #D2D2D7 28%, var(--aurora-1) 52%, var(--aurora-2) 72%, var(--aurora-3) 100%);
}
.hero .lead { margin-inline: auto; }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* seletor de desafios */
.pain { margin-top: 44px; width: 100%; max-width: 860px; }
.pain__label { margin: 0 0 14px; font-size: 15px; color: var(--text-3); }
.pain__chips {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  text-align: left;
}
/* cards de desafio: compactos, vidro sutil */
.chip {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px;
  min-height: 104px; padding: 14px 14px 13px;
  border-radius: var(--r-card-sm);
  text-align: left; color: var(--text-2);
  background: var(--chip-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--glass-edge), var(--shadow-xs);
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    translate var(--t) var(--ease);
  will-change: transform;
}
.chip__icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--fill); color: var(--text);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.chip__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip__label {
  font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (hover: hover) {
  .chip:hover { color: var(--text); background: var(--chip-bg-hover); translate: 0 -2px; box-shadow: var(--glass-edge), var(--shadow-1); }
  .chip:hover .chip__icon { transform: scale(1.04); }
}
.chip[aria-selected="true"] {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--glass-edge), var(--shadow-1);
}
.chip[aria-selected="true"] .chip__label { font-weight: 600; }
.chip[aria-selected="true"] .chip__icon { background: var(--ink); color: #FFFFFF; }
:root[data-theme="dark"] .chip[aria-selected="true"] { background: var(--selected); }
:root[data-theme="dark"] .chip[aria-selected="true"] .chip__icon { background: #F5F5F7; color: var(--ink); }
.chip:focus-visible { outline-offset: 2px; }
@media (max-width: 640px) {
  .pain__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .chip { min-height: 96px; padding: 12px; gap: 10px; }
  .chip__icon { width: 30px; height: 30px; border-radius: 10px; }
  .chip__icon svg { width: 16px; height: 16px; }
  .chip__label { font-size: 13.5px; }
}

.answer {
  margin-top: 22px; border-radius: var(--r-card); padding: 32px clamp(20px, 4vw, 44px);
  text-align: left;
  overflow: clip; overflow-clip-margin: 32px;   /* anima a altura sem cortar sombras internas */
}
.answer__inner { will-change: transform, opacity; padding-bottom: 4px; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  background: var(--fill); color: var(--text);
}
.answer__title { margin: 14px 0 8px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.answer__text { margin: 0 0 22px; color: var(--text-2); font-size: 17px; max-width: 680px; }
@media (max-width: 640px) {
  .answer .gbtn-wrap--cta, .sheet .gbtn-wrap--cta { display: flex; justify-content: center; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px;
  background: var(--text-3); animation: wheel 2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 760px) { .scroll-hint { display: none; } }

/* ---------- Propósito (revelação por palavra) ---------- */
.manifesto { padding: clamp(96px, 16vh, 180px) 0; text-align: center; }
.manifesto__title { margin-bottom: 28px; }
.manifesto__text {
  margin: 0 auto; max-width: 980px;
  font-size: clamp(22px, 3.3vw, 40px); line-height: 1.22; font-weight: 700; letter-spacing: -0.03em;
  text-wrap: balance;
}
.manifesto__text .w { opacity: .14; transition: opacity .25s linear; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__close { margin: 36px 0 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.025em; }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(88px, 12vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- Capacidade (4 diferenciais objetivos, sem números) ---------- */
.cap__tagline { margin: 20px 0 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.cap__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px;
}
.cap__item { padding-top: 22px; box-shadow: inset 0 1px 0 var(--line-strong); }
.cap__ic {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--fill); color: var(--text); margin-bottom: 16px;
}
.cap__n { float: right; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cap__ic svg, .feat__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap__item h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.cap__item p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 980px) { .cap__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 640px) {
  /* lista compacta: ícone à esquerda, texto à direita */
  .cap__grid { grid-template-columns: 1fr; gap: 0; }
  .cap__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px 0; }
  .cap__ic { grid-row: 1 / span 2; margin: 0; }
  .cap__n { display: none; }
  .cap__item h3 { margin-top: 1px; }
}
/* chamada comercial no cabeçalho de seção */
.section__cta { margin-top: 26px; }
.sol-note { margin: 22px 0 0; font-size: 13.5px; color: var(--text-3); text-align: center; }

/* ---------- Soluções: 7 áreas ----------
   Desktop: 2 + 3 + 2 por linha (grade de 6 colunas).
   Tablet: 2 colunas (a última ocupa a linha toda). Mobile: 1 coluna. */
.sol-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.sol {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 3;
  display: flex; flex-direction: column;
  border-radius: var(--r-card); padding: clamp(24px, 2.6vw, 34px);
  background: var(--surface); box-shadow: var(--shadow-1);
  transition: box-shadow var(--t) var(--ease), translate var(--t) var(--ease);
  --mx: 50%; --my: 50%;
}
.sol--s3, .sol--s4, .sol--s5 { grid-column: span 2; }
@media (min-width: 981px) { .sol--s3 .sol__head, .sol--s4 .sol__head, .sol--s5 .sol__head { font-size: clamp(22px, 1.9vw, 26px); } }
@media (hover: hover) { .sol:hover { box-shadow: var(--shadow-2); translate: 0 -2px; } }
.tile__glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--t) var(--ease); pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), color-mix(in srgb, var(--aurora-2) 8%, transparent), transparent 50%);
}
.sol:hover .tile__glow { opacity: 1; }
.sol__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tile__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-icon); }
.tile__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-teal   { background: color-mix(in srgb, var(--cyan) 12%, transparent); color: var(--cyan); }
.ic-pink   { background: color-mix(in srgb, var(--pink) 12%, transparent); color: var(--pink); }
.ic-violet { background: color-mix(in srgb, var(--violet) 12%, transparent); color: var(--violet); }
.sol__num { font-size: 13px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sol__kicker { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sol__head { margin: 0 0 6px; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.12; letter-spacing: -0.032em; font-weight: 700; text-wrap: balance; }
.sol__name { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.012em; }
.sol__text { margin: 0 0 14px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.sol__apps { margin: 0 0 22px; color: var(--text-3); font-size: 13.5px; line-height: 1.6; }
.sol__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sol__more {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 6px 2px; border-radius: 8px;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}
.sol__more:hover { color: var(--text); text-decoration-color: currentColor; }
@media (max-width: 980px) {
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol, .sol--s3, .sol--s4, .sol--s5 { grid-column: span 1; }
  .sol--s7 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .sol-grid { grid-template-columns: 1fr; gap: 14px; }
  .sol--s7 { grid-column: auto; }
  .sol { padding: 22px; }
  .sol__top { margin-bottom: 16px; }
  .sol__apps { margin-bottom: 18px; }
}

/* ---------- Novas possibilidades (chips editoriais) ---------- */
.poss__head { margin-inline: auto; text-align: center; }
.poss__head .lead { margin-inline: auto; }
.poss__chips {
  list-style: none; margin: 0 auto; padding: 0; max-width: 940px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.poss__chips li {
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; font-weight: 500; color: var(--text); letter-spacing: -0.012em;
}
@media (max-width: 640px) {
  .poss__chips { gap: 6px; }
  .poss__chips li { padding: 7px 12px; font-size: 13.5px; }
  .biz__tags { gap: 6px; }
  .biz__tags li { padding: 6px 11px; font-size: 13px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .04em; }
}

/* ---------- Diferenciais (grade editorial, sem cards) ---------- */
.feats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px;
}
.feat { padding-top: 22px; box-shadow: inset 0 1px 0 var(--line-strong); }
.feat__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fill); color: var(--text); margin-bottom: 16px; }
.feat h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; letter-spacing: -0.022em; font-weight: 600; }
.feat p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Novos negócios ---------- */
.biz__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-card); padding: clamp(32px, 6vw, 72px) clamp(22px, 6vw, 80px);
  background: var(--surface); box-shadow: var(--shadow-1);
  text-align: center;
}
.biz__aura {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 15% 0%, color-mix(in srgb, var(--aurora-2) 14%, transparent), transparent 70%),
    radial-gradient(50% 60% at 90% 100%, color-mix(in srgb, var(--aurora-1) 12%, transparent), transparent 70%);
}
.biz__card .h2 { max-width: 760px; margin-inline: auto; }
.biz__sub { margin: 18px auto 0; max-width: 640px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.biz__text { margin: 10px auto 0; max-width: 620px; color: var(--text-2); font-size: clamp(16px, 1.8vw, 18px); line-height: 1.5; }
.biz__tags { list-style: none; margin: 24px 0 30px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.biz__tags li { padding: 7px 13px; border-radius: var(--r-pill); background: var(--fill); font-size: 13.5px; font-weight: 500; color: var(--text); }

/* ---------- Contato: ações ---------- */
.contact__lead2 { margin: 12px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.5; max-width: 520px; }
.contact__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact__actions .gbtn-wrap { font-size: 16px; }
.form__title { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.024em; font-weight: 600; }

/* ---------- Modal: aplicações ---------- */
.sheet__grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sheet__label { flex-basis: 100%; margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sheet__app { padding: 8px 13px; border-radius: var(--r-pill); background: var(--fill-field); font-size: 14.5px; font-weight: 500; }

@media (max-width: 640px) {
  .contact__actions .gbtn-wrap { flex: 1 1 auto; }
  .contact__actions .gbtn-wrap .gbtn { width: 100%; display: block; }
  .biz__tags { margin: 20px 0 24px; }
}

/* ---------- Processo: timeline editorial ----------
   Mobile/tablet: vertical (número à esquerda, texto à direita).
   Desktop (≥ 861px): horizontal, 4 etapas proporcionais.
   Os conectores pertencem a cada etapa, então continuam ligando
   os indicadores mesmo com mais linhas de texto ou outro idioma. */
.steps {
  --marker: 40px;
  --step-gap: 28px;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; max-width: 640px;
}
.step {
  position: relative;
  display: grid; grid-template-columns: var(--marker) 1fr; column-gap: 18px; align-items: start;
  padding-bottom: var(--step-gap);
}
.step:last-child { padding-bottom: 0; }
.step__n {
  grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: var(--marker); height: var(--marker); border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 13px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums;
  color: var(--text);
  position: relative; z-index: 1;
}
.step h3 { margin: 8px 0 4px; font-size: 19px; line-height: 1.25; letter-spacing: -0.022em; font-weight: 600; }
.step p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
/* conector: linha base fina + preenchimento Aurora revelado na rolagem */
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: ""; position: absolute; pointer-events: none;
  left: calc(var(--marker) / 2 - 0.5px); width: 1px;
  top: calc(var(--marker) + 6px); bottom: 6px;
}
.step:not(:last-child)::before { background: var(--line-strong); }
.step:not(:last-child)::after {
  background: linear-gradient(180deg, var(--aurora-2), var(--aurora-3));
  opacity: .55;
  transform-origin: top; transform: scaleY(0);
  transition: transform 1.1s var(--ease) .15s;
}
.step.is-in:not(:last-child)::after { transform: scaleY(1); }

@media (min-width: 861px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; max-width: none; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step__n { grid-row: auto; margin-bottom: 18px; }
  .step h3 { margin: 0 0 6px; font-size: 21px; }
  .step p { font-size: 16px; }
  .step:not(:last-child)::before,
  .step:not(:last-child)::after {
    top: calc(var(--marker) / 2 - 0.5px); bottom: auto; height: 1px; width: auto;
    left: calc(var(--marker) + 12px); right: -16px;   /* termina 12px antes do próximo indicador */
  }
  .step:not(:last-child)::after {
    background: linear-gradient(90deg, var(--aurora-2), var(--aurora-3));
    transform-origin: left; transform: scaleX(0);
  }
  .step.is-in:not(:last-child)::after { transform: scaleX(1); }
}

/* ---------- Diferenciais ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { border-radius: var(--r-card-sm); padding: 28px; }
.why__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--fill); color: var(--text); margin-bottom: 18px; }
.why__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.025em; }
.why__item p { margin: 0; color: var(--text-2); font-size: 16px; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.contact__list svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color var(--t-fast) ease; }
.contact__list a:hover { text-decoration-color: currentColor; }

.form { border-radius: var(--r-card); padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: -0.005em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  padding: 13px 16px; border-radius: var(--r-field);
  background-color: var(--fill-field); border: 0; outline: none;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2386868B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  background-color: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent);
}
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 1px var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 13px; color: var(--text-3); text-align: center; }
.form__status { margin: 0; min-height: 1.4em; text-align: center; font-weight: 500; }
.form__status.ok { color: var(--success); }
.form__status.err { color: var(--danger); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer {
  padding: 72px 0 calc(32px + var(--dock-space));   /* espaço para o menu flutuante */
  box-shadow: inset 0 0.5px 0 var(--line-strong); background: var(--bg-alt);
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer__tag { margin: 0; color: var(--text-2); font-size: 15px; max-width: 340px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.footer__col a { font-size: 14px; color: var(--text-2); width: fit-content; transition: color .2s ease; }
.footer__col a:hover { color: var(--text); }
.footer__info { margin: 4px 0 0; font-size: 13px; color: var(--text-3); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 20px; box-shadow: inset 0 0.5px 0 var(--line-strong); }
.footer__copy { margin: 0; color: var(--text-3); font-size: 12px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 10px 28px -12px rgba(37, 211, 102, 0.6);
}
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 700px) {
  .wa-float { width: 52px; height: 52px; }
  .dock-on .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }   /* sobe só quando o menu aparece */
}

/* ---------- Modal / folha (vidro) ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0;
}
.sheet {
  position: relative; width: min(760px, 100%); max-height: min(86vh, 860px); overflow: auto; overscroll-behavior: contain;
  border-radius: var(--r-card); padding: clamp(28px, 4vw, 48px);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--shadow-modal); will-change: transform, opacity; touch-action: pan-y;
}
.sheet__grab { display: none; }
.sheet__close { position: absolute; top: 16px; right: 16px; }
.sheet__title { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.035em; }
.sheet__lead { margin: 0 0 28px; color: var(--text-2); font-size: 18px; }
@media (max-width: 640px) {
  .modal { place-items: end center; padding: 0; }
  .sheet { width: 100%; max-height: 92vh; border-radius: var(--r-card) var(--r-card) 0 0; padding-top: 34px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .sheet__grab { display: block; position: absolute; top: 0; left: 0; right: 0; height: 28px; cursor: grab; touch-action: none; }
  .sheet__grab span { display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--line-strong); margin: 10px auto 0; }
}
body.is-locked { overflow: hidden; }

/* =========================================================
   MENU FLUTUANTE — Liquid Glass
   Uma única peça de vidro: superfície translúcida contínua,
   desfoque real do conteúdo atrás (backdrop-filter), sem
   bordas externas; destaque do item ativo integrado ao vidro.
   ========================================================= */
.dock {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 95;
  transform: translate(-50%, 160%); will-change: transform;
  border-radius: var(--r-pill);
  background: var(--dock-bg);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--glass-edge), var(--shadow-float);
}
.dock__items { position: relative; display: flex; gap: 4px; padding: 6px 8px; }
.dock__blob {   /* destaque do item ativo */
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 76px; z-index: 0;
  border-radius: var(--r-pill);
  background: var(--dock-indicator);
  box-shadow: var(--shadow-xs);
  pointer-events: none;
}
.dock__items a {
  position: relative; z-index: 1;
  display: grid; justify-items: center; align-content: center; gap: 3px;
  min-width: 76px; min-height: 52px; padding: 7px 12px 6px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.dock__items a:hover { color: var(--text); }
.dock__items a.is-active { color: var(--text); font-weight: 600; }
.dock__items a:focus-visible { outline-offset: -2px; }
.dock__items svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock__items span { white-space: nowrap; }
@media (max-width: 420px) {
  .dock { width: calc(100% - 32px); }
  .dock__items { gap: 2px; padding: 6px; }
  .dock__items a { min-width: 0; flex: 1; padding-inline: 6px; font-size: 11px; }
}

/* ---------- Ritmo vertical no mobile ----------
   Os paddings fluidos tinham mínimo alto (88px + 88px entre seções,
   16vh no Propósito). No celular o respiro passa a ~112px entre seções;
   tablet e desktop mantêm os valores anteriores. */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 32px; }
  .manifesto { padding: 64px 0; }
  .manifesto__title { margin-bottom: 20px; }
  .manifesto__close { margin-top: 24px; }
  .hero { min-height: 0; padding: 96px 0 40px; }
  .hero__ctas { margin-top: 20px; }
  .pain { margin-top: 32px; }
  .scroll-hint { display: none; }   /* sem função em telas de toque */
  .contact__list { margin-top: 24px; }
  .footer { padding-top: 48px; }
  .footer__bottom { margin-top: 40px; }
}

/* WhatsApp: sai de cena enquanto a timeline está visível no celular */
.wa-float { transition: bottom var(--t) var(--ease), transform var(--t) var(--ease), opacity var(--t-fast) ease; }
@media (max-width: 860px) {
  .wa-hide .wa-float { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }
}

/* ---------- Sem suporte a backdrop-filter: superfícies opacas ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav, .dock, .sheet, .gbtn { background: var(--glass-solid); }
  .chip { background: var(--surface); }
}

/* ---------- Estado inicial para revelação (JS ativo) ---------- */
.js .reveal { opacity: 0; }
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } .nav, .dock, .wa-float { display: none; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; }
  .manifesto__text .w { opacity: 1; }
}
