/* Armony Mind landing
   Forma: botões, chips e setas em pílula; superfícies (painéis, bento, formulário) com raio 22px;
   campos com raio 14px. Movimento: rolagem suave (Lenis), linhas que sobem por dentro da própria
   máscara, blocos que assentam, o símbolo se desenhando, a fita métrica medindo a jornada
   horizontal. Conteúdo nunca aparece por transparência. Tudo estático com movimento reduzido. */

/* Inter (SIL OFL), hospedada no próprio site: sem pedido a terceiros e sem CSS que bloqueia
   a renderização. Um arquivo variável por subconjunto; o latin cobre o português inteiro e é o
   único pré-carregado. "Inter Fallback" é o Arial com as medidas da Inter (size-adjust e
   ascent/descent), para a troca de fonte não empurrar o texto (sem CLS). */
@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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 105.92%;
  ascent-override: 91.46%;
  descent-override: 22.77%;
  line-gap-override: 0%;
}

:root {
  --bg: #FBFBFD;
  --bg-2: #F2F3FA;
  --ink: #14172B;
  --ink-2: #474B63;
  --ink-3: #6A6E86;
  --line: rgba(20, 23, 43, 0.1);
  --line-strong: rgba(20, 23, 43, 0.22);
  --brand: #7E8CE0;
  --brand-ink: #4F5BC4;
  --brand-wash: #ECEEFC;
  --deep: #1E2350;
  --deep-ink: #F4F5FD;
  --deep-ink-2: #B9BEE8;
  --on-brand: #FFFFFF;
  --danger: #B42345;
  --scrim: rgba(20, 23, 43, 0.34);
  /* Lavanda da logo, um tom mais firme, para texto grande em destaque: contraste >= 3:1 também
     sobre o fundo cinza (#F2F3FA), onde o #7E8CE0 ficava em 2,8:1. A mesma lavanda, mais um tom
     abaixo (--cta), serve tudo que gera contato (AA com texto branco). */
  --brand-text: #6D7BD9;
  --deep-em: #A3AEF5;
  --cta: #5B67D0;
  --cta-hover: #4854C2;
  --on-cta: #FFFFFF;
  /* Painel de exemplo: verde só para variação boa (sempre com seta), barra secundária na mesma lavanda */
  --good: #18794E;
  --bar-muted: #CDD3F6;
  --warn: #C98A1B;
  --shadow-card: 0 1px 2px rgba(20, 23, 43, 0.05), 0 6px 18px -10px rgba(20, 23, 43, 0.22);

  --radius-surface: 22px;
  --radius-field: 14px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-hover: cubic-bezier(0.25, 1, 0.5, 1);

  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  --section: clamp(104px, 14vw, 192px);
  --nav-h: 68px;
}

/* Só tema claro, por decisão da marca: o site não segue o modo escuro do sistema. */
:root { color-scheme: only light; }

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

/* Regras exigidas pelo Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

h1, h2, h3, p, ol, ul, fieldset, legend { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
button { font: inherit; }
a, button, label { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--brand); color: var(--on-brand); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 40;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
}
.skip:focus { top: 12px; }

/* Tipografia */

.display {
  font-size: clamp(2.5rem, 1.1rem + 4.6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.h2 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 36ch;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.body {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.eyebrow { font-size: 15px; color: var(--brand-ink); font-weight: 500; letter-spacing: -0.005em; }
.muted { color: var(--ink-3); }
/* A cor da logo aparece pouco e só no que importa: o que se destaca é o que se lembra. */
.brand-text { color: var(--brand-text); }
/* Palavra-chave no meio do texto corrido: tamanho de texto normal, então pede AA 4,5:1. */
.brand-word { color: var(--cta); font-weight: 600; }

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--on-cta);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--cta) 70%, transparent);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    transform 500ms var(--ease-hover),
    background-color 400ms var(--ease-hover),
    color 400ms var(--ease-hover),
    box-shadow 500ms var(--ease-hover);
}
.btn:hover {
  background: var(--cta-hover);
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0);
  box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--cta) 80%, transparent);
}
.btn:active { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(0.98); transition-duration: 120ms; }

/* Seta: o olho segue a direção que ela aponta, e ela avança quando o cursor chega */
.btn__arrow { display: inline-block; transition: transform 500ms var(--ease-smooth); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Botão magnético: segue o cursor de leve, só onde há mouse */
.btn--magnet.is-magnet { transition-duration: 200ms, 400ms, 400ms, 500ms; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px transparent; }

.btn--small { height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn--small:hover { box-shadow: none; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand { min-height: 44px; }
.brand__mark { width: 26px; height: 26px; color: var(--brand); flex: none; }
/* Assinatura na mesma Inter do site, seminegrito e compacta: sóbria, sem cantos arredondados. */
.brand__word {
  font-weight: 600;
  letter-spacing: -0.025em;
}
.brand--quiet { color: var(--ink-2); }

.nav__links { position: relative; display: flex; gap: 32px; height: 100%; align-items: center; }
.nav__links a {
  font-size: 15px;
  color: var(--ink-2);
  transition: color 400ms var(--ease-hover);
}
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--ink); }

/* Indicador da seção atual: desliza até o link ativo */
.nav__indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: var(--w, 0px);
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(var(--x, 0px)) scaleX(var(--s, 0));
  transform-origin: left center;
  transition: transform 700ms var(--ease-smooth), width 700ms var(--ease-smooth);
}

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

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 500 12px/1 var(--font);
  letter-spacing: 0.02em;
  height: 30px;
  min-width: 38px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 400ms var(--ease-hover), color 400ms var(--ease-hover);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* Botão do menu (só em telas menores) */
.menu-btn {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 500ms var(--ease-smooth);
}
.menu-btn span:first-child { transform: translateY(-3.5px); }
.menu-btn span:last-child { transform: translateY(3.5px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mmenu {
  border-top: 1px solid var(--line);
  clip-path: inset(0 0 0 0);
  transition: clip-path 600ms var(--ease-smooth);
}
.mmenu[hidden] { display: none; }
.mmenu.is-closing { clip-path: inset(0 0 100% 0); }
.mmenu__inner {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 24px;
}
.mmenu__inner a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mmenu__inner .btn { margin-top: 12px; }

/* Hero */

.hero {
  display: grid;
  align-items: center;
  min-height: min(860px, calc(100dvh - var(--nav-h)));
  padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.hero__copy { display: grid; gap: 32px; }
/* Para quem é: diz já na abertura que o primeiro produto é para academias. */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-bottom: -8px; }
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-ink); flex: none; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { display: grid; place-items: center; }

.art-mark,
.done__mark {
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--brand);
  stroke-width: 7;
  stroke-linejoin: miter;
  stroke-miterlimit: 12;
}
.art-mark { width: min(100%, 380px); }

/* Manifesto */

.manifesto {
  padding: var(--section) 0;
  background: var(--bg-2);
  text-align: center;
}
.manifesto__text {
  font-size: clamp(1.9rem, 1.1rem + 4vw, 4.75rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-inline: auto;
}
.manifesto__by { margin-top: 40px; font-size: 15px; color: var(--ink-3); }

/* Sob medida: jornada horizontal com a fita métrica marcando o avanço */

.tailored { padding: var(--section) 0 calc(var(--section) * 0.75); }
.tailored__intro { margin-top: 28px; }

.journey { margin-top: clamp(56px, 7vw, 88px); }

.tape {
  position: relative;
  height: 22px;
  border-top: 1.5px solid var(--line-strong);
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1.5px, transparent 1.5px 60px) top left / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px) top left / 100% 9px no-repeat;
}
.tape__fill {
  position: absolute;
  inset: -1.5px 0 0 0;
  border-top: 1.5px solid var(--brand);
  background:
    repeating-linear-gradient(90deg, var(--brand) 0 1.5px, transparent 1.5px 60px) top left / 100% 22px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--brand) 60%, transparent) 0 1px, transparent 1px 12px) top left / 100% 9px no-repeat;
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);
}

.journey__viewport {
  margin-top: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  outline: none;
}
.journey__viewport::-webkit-scrollbar { display: none; }
.journey__viewport:focus-visible { box-shadow: inset 0 0 0 2px var(--brand-ink); }

.journey__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline: var(--edge);
}

.panel {
  flex: none;
  width: clamp(280px, 80vw, 460px);
  min-height: clamp(260px, 42vh, 380px);
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-surface);
  background: var(--bg-2);
  scroll-snap-align: start;
  transition: background-color 700ms var(--ease-smooth);
}
.panel h3 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  transition: color 700ms var(--ease-smooth);
}
.panel p { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem); max-width: 30ch; text-wrap: pretty; }
.panel.is-active { background: var(--brand-wash); }
.panel.is-active h3 { color: var(--brand-ink); }

.journey__controls { display: flex; gap: 8px; margin-top: 24px; }

.arrow {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 18px;
  cursor: pointer;
  transition: background-color 400ms var(--ease-hover), transform 400ms var(--ease-hover), color 400ms var(--ease-hover);
}
.arrow:hover:not(:disabled) { background: var(--bg-2); transform: translateY(-1px); }
.arrow:disabled { color: var(--ink-3); cursor: default; box-shadow: inset 0 0 0 1px var(--line); }

/* Modo fixado: a rolagem vertical move a jornada na horizontal (só desktop com Lenis) */
.journey.is-pinned { height: var(--journey-h, auto); }
.journey.is-pinned .journey__pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100dvh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  overflow: hidden;
}
.journey.is-pinned .journey__viewport { overflow: visible; scroll-snap-type: none; min-width: 0; }
.journey.is-pinned .journey__track { will-change: transform; }
.journey.is-pinned .journey__controls { display: none; }

/* Modelos */

.models { padding: var(--section) 0; background: var(--bg-2); }
.models__intro { margin-top: 28px; }

.stack { margin-top: clamp(56px, 7vw, 96px); display: grid; }
.stack__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px;
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.stack__name {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.stack__row p { color: var(--ink-2); max-width: 46ch; }

/* Armony Gym */

.gym { padding: var(--section) 0; }
.gym__head { display: grid; gap: 24px; }
.gym__head .h2 { max-width: none; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand-wash);
  color: var(--ink-2);
  font-size: 14px;
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-ink); flex: none; }

.bento {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cell {
  border-radius: var(--radius-surface);
  background: var(--bg-2);
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 280px;
  transition: transform 700ms var(--ease-hover);
}
.cell h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.18; text-wrap: balance; }
.cell p { color: var(--ink-2); max-width: 42ch; }

.cell--number {
  grid-column: span 2;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  align-content: space-between;
}
.cell .cell__figure {
  font-size: clamp(4.5rem, 2rem + 10vw, 10.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.88;
  color: var(--brand-text);
  font-variant-numeric: tabular-nums;
  max-width: none;
}
.cell__foot { display: grid; gap: 10px; }
.cell .cell__text { font-size: 1.125rem; color: var(--ink); max-width: 40ch; }
.cell .cell__source { font-size: 13px; color: var(--ink-3); }

.cell--deep { background: var(--deep); }
.cell--deep h3 { color: var(--deep-ink); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); }
.cell--deep p { color: var(--deep-ink-2); }
.cell--deep .deep-em { color: var(--deep-em); }

.cell--wide { grid-column: span 2; }

/* Convite do piloto: o pedido de ação logo depois da prova */
.pilot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: var(--radius-surface);
  background: var(--brand-wash);
}
.pilot__text {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  max-width: 44ch;
  text-wrap: balance;
}
.pilot__muted { color: var(--ink-2); font-weight: 400; }

/* Contato */

.contact { padding: var(--section) 0 calc(var(--section) * 0.9); border-top: 1px solid var(--line); }
.contact__inner { display: grid; justify-items: center; text-align: center; gap: 28px; }
.contact__inner .h2 { max-width: none; }
.contact__inner .body { max-width: 44ch; }
.contact__mark { width: 44px; height: 44px; color: var(--brand); margin-bottom: 4px; }
.contact__email { font-size: 15px; color: var(--ink-3); }
.contact__email a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink-2); transition: color 400ms var(--ease-hover); }
.contact__email a:hover { color: var(--brand-ink); }

/* Rodapé */

.foot { padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 24px; margin-left: auto; }
.foot__links a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; color: var(--ink-2); transition: color 400ms var(--ease-hover); }
.foot__links a:hover { color: var(--ink); }
.foot__copy { font-size: 14px; color: var(--ink-3); }
.form__privacy a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Atalho de contato no alcance do polegar (só no celular) */

.dock { display: none; }

/* Painel de contato */

.sheet {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}
html:has(.sheet[open]) { overflow: hidden; }

.sheet::backdrop {
  background: var(--scrim);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sheet__panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(560px, calc(100% - 24px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-surface);
  background: var(--bg);
  box-shadow: 0 30px 80px -20px rgba(20, 23, 43, 0.35), inset 0 0 0 1px var(--line);
  transform: translate3d(0, 0, 0);
  transition: transform 700ms var(--ease-smooth);
}
.sheet.is-entering .sheet__panel { transform: translate3d(calc(100% + 24px), 0, 0); transition: none; }
.sheet.is-closing .sheet__panel { transform: translate3d(calc(100% + 24px), 0, 0); transition-duration: 450ms; }

.sheet__grab { display: none; }

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.sheet__title {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}
.sheet__sub { margin-top: 10px; color: var(--ink-2); }

.close {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-2);
  cursor: pointer;
  transition: transform 500ms var(--ease-smooth), background-color 400ms var(--ease-hover);
}
.close:hover { transform: rotate(90deg); }
.close span {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
}
.close span:first-child { transform: rotate(45deg); }
.close span:last-child { transform: rotate(-45deg); }

/* Formulário */

.form { display: grid; gap: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field label,
.field legend {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.field legend { margin-bottom: 8px; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius-field);
  background: var(--bg-2);
  color: var(--ink);
  font: 400 16px/1.4 var(--font);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 400ms var(--ease-hover), background-color 400ms var(--ease-hover);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover,
.field textarea:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--brand-ink), 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--danger); }

.field__error { font-size: 14px; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }

.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 15px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 400ms var(--ease-hover), color 400ms var(--ease-hover), box-shadow 400ms var(--ease-hover), transform 400ms var(--ease-hover);
}
.chip:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.chip input:checked + span { background: var(--cta); color: var(--on-cta); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.97); }
.chips[data-invalid="true"] .chip span { box-shadow: inset 0 0 0 1px var(--danger); }

.form__error {
  padding: 14px 16px;
  border-radius: var(--radius-field);
  background: color-mix(in srgb, var(--danger) 9%, var(--bg));
  color: var(--ink);
  font-size: 15px;
}
.form__error a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 6px;
}
.form__privacy { font-size: 13.5px; color: var(--ink-3); max-width: 30ch; }
.form__submit { min-width: 132px; }
.form__submit[aria-busy="true"] { pointer-events: none; background: var(--cta-hover); }
.form__submit[aria-busy="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 800ms linear infinite;
}

.done { display: grid; justify-items: start; gap: 18px; padding-top: 8px; }
.done[hidden] { display: none; }
.done__mark { width: 72px; margin-bottom: 12px; stroke-width: 9; }
.done__title { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; outline: none; }
.done__body { color: var(--ink-2); max-width: 36ch; }
.done .btn { margin-top: 12px; }

/* O que o dono quer ouvir */

.promises {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.promises li { padding-top: 20px; border-top: 2px solid var(--brand); }
.promises h3 {
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.promises p { margin-top: 10px; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }

/* Duas interfaces: seletor aluno/dono e chave WhatsApp/Dashboard */

.persona {
  display: inline-flex;
  justify-self: start;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.persona button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 400ms var(--ease-hover), color 400ms var(--ease-hover), box-shadow 400ms var(--ease-hover);
}
.persona button:hover { color: var(--ink); }
.persona button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 23, 43, 0.08), 0 4px 14px -6px rgba(20, 23, 43, 0.18);
}
.demo__panel { display: grid; gap: 24px; }

.chat__who { min-width: 0; flex: 1; }
.channel {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  flex: none;
}
.channel button {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 400ms var(--ease-hover), color 400ms var(--ease-hover);
}
.channel button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.chat__head { grid-row: 1; }
.chat__tabs { grid-row: 2; }
.chat__body, .dash { grid-row: 3; }
.chat__caption { grid-row: 4; }

/* Dashboard de exemplo do dono: cabe inteiro na moldura, sem rolagem.
   Estreito (celular): KPIs 2x2 e uma coluna, "Hoje" fica de fora.
   Largo: KPIs em linha e duas colunas (gráfico | resumo). */
.chat.is-dash { height: auto; min-height: clamp(500px, 46vw, 580px); }
/* O aviso de exemplo vai para a barra do painel; a legenda some para caber sem rolagem */
.chat.is-dash .chat__caption { display: none; }
.dash {
  position: relative;
  min-height: 0;
  display: grid;
  align-content: start;
  background: var(--bg-2);
  container-type: inline-size;
  line-height: 1.3;
}
.dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 0;
}
.dash__heading { display: grid; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; min-width: 0; }
.dash__period { font-size: 11.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.dash__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px 14px 14px;
}
.dash__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kpi, .dash__card {
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.kpi { border-radius: var(--radius-field); padding: 7px 10px; min-width: 0; }
.kpi__label { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__value {
  margin: 1px 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.kpi__delta { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.kpi__delta.is-good { color: var(--good); font-weight: 600; }

.dash__card { border-radius: var(--radius-field); padding: 10px 12px 6px; min-width: 0; }
.dash__title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }

/* Situação dos alunos: uma barra empilhada (351 · 52 · 9) com legenda numérica */
.base { display: grid; align-content: center; gap: 8px; padding-bottom: 10px; }
.meter {
  display: grid;
  grid-template-columns: 351fr 52fr minmax(6px, 9fr);
  gap: 2px;
  height: 10px;
}
.meter span { border-radius: 2px; }
.meter span:first-child { border-radius: 5px 2px 2px 5px; }
.meter span:last-child { border-radius: 2px 5px 5px 2px; }
.meter__ok { background: var(--brand); }
.meter__late { background: var(--warn); }
.meter__risk { background: var(--danger); }
.base__legend { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 0; }
.base__legend div { min-width: 0; }
.base__legend dt { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.base__legend dd { margin: 1px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--brand); }
.dot--late { background: var(--warn); }
.dot--risk { background: var(--danger); }

/* Hoje: o que o chefe de gabinete separou para o dono decidir */
.today { display: none; }
.today__count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-wash);
  color: var(--brand-ink);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.today__list { display: grid; gap: 7px; margin: 6px 0 4px; padding: 0; list-style: none; }
.today__list li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink);
}
.today__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.today__list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.today__list em {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 10.5px;
  font-style: normal;
  color: var(--ink-2);
  white-space: nowrap;
}

@container (min-width: 440px) {
  .dash__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; }
  .dash__kpis { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .today { display: block; }
}
@container (min-width: 600px) {
  .today__list li { font-size: 12.5px; }
}

.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__tick { fill: var(--ink-3); font: 10px var(--font); }
.chart__area { fill: var(--brand); fill-opacity: 0.1; }
.chart__line, .chart__forecast {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart__forecast { stroke-dasharray: 4 5; }
.chart__dot { fill: var(--brand); stroke: var(--bg); stroke-width: 2; }
.chart__dot--hollow { fill: var(--bg); stroke: var(--brand); }
.chart__label { fill: var(--ink); font: 600 11px var(--font); }
.chart__label--muted { fill: var(--ink-3); font-weight: 400; }
.chart__cross { stroke: var(--ink-3); stroke-width: 1; }
.chart__hit { fill: transparent; cursor: crosshair; }
.bar { fill: var(--bar-muted); transition: fill 300ms var(--ease-hover); }
.bar--peak, .bar.is-hover { fill: var(--brand); }
.chart__tip {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  box-shadow: 0 8px 20px -8px rgba(20, 23, 43, 0.45);
}

/* Armony no dashboard: o ícone da marca na barra do painel abre a conversa sem sair dele */
.ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px 0 6px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--on-cta);
  font: 600 13px var(--font);
  cursor: pointer;
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--cta) 85%, transparent), 0 1px 3px rgba(20, 23, 43, 0.12);
  transition: transform 400ms var(--ease-hover), background-color 400ms var(--ease-hover);
}
.ask-btn svg {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--on-cta) 18%, transparent);
}
.ask-btn:hover { transform: translateY(-1px); background: var(--cta-hover); }
.ask-btn:active { transform: scale(0.98); }
.ask-btn[aria-expanded="true"] { background: var(--cta-hover); }

.ask {
  position: absolute;
  top: 54px;
  right: 14px;
  z-index: 3;
  width: min(300px, calc(100% - 28px));
  display: grid;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 24px 60px -18px rgba(20, 23, 43, 0.45), 0 0 0 1px var(--line);
  transform-origin: top right;
}
.ask__head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; box-shadow: 0 1px 0 var(--line); }
.ask__avatar { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--brand-wash); color: var(--brand); flex: none; }
.ask__name { flex: 1; font-size: 14px; font-weight: 600; }
.ask__close { position: relative; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }
.ask__close span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: var(--ink); }
.ask__close span:first-child { transform: rotate(45deg); }
.ask__close span:last-child { transform: rotate(-45deg); }
.ask__body { display: flex; flex-direction: column; gap: 8px; min-height: 132px; margin: 0; padding: 12px; list-style: none; }
.ask__body .msg { font-size: 14px; max-width: 88%; }
.ask__input {
  margin: 0 12px 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Demonstração: a hora real do visitante + uma conversa de matrícula */

.demo {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.demo__copy { display: grid; gap: 24px; }

.clock {
  display: grid;
  gap: 6px;
  font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}
.clock__time { color: var(--brand-text); font-variant-numeric: tabular-nums; }

/* Balões de conversa usam raio 18px, a única exceção documentada ao sistema de forma */
.chat {
  margin: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: clamp(500px, 46vw, 580px);
  border-radius: var(--radius-surface);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}
.chat__avatar {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand);
  flex: none;
}
.chat__name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.chat__meta { font-size: 12.5px; color: var(--ink-3); }

.chat__tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.chat__tabs::-webkit-scrollbar { display: none; }
.chat__tabs button {
  flex: none;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background-color 400ms var(--ease-hover), color 400ms var(--ease-hover), box-shadow 400ms var(--ease-hover);
}
.chat__tabs button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.chat__tabs button[aria-pressed="true"] { background: var(--cta); color: var(--on-cta); box-shadow: none; }

.chat__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 18px;
  list-style: none;
  overflow: hidden;
}

.msg {
  max-width: 84%;
  padding: 9px 13px 7px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  flex: none;
}
.msg--in {
  align-self: flex-start;
  background: var(--bg);
  color: var(--ink);
  border-bottom-left-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line);
  transform-origin: bottom left;
}
.msg--out {
  align-self: flex-end;
  background: var(--cta);
  color: var(--on-cta);
  border-bottom-right-radius: 6px;
  transform-origin: bottom right;
}
.msg__time { display: block; margin-top: 2px; text-align: right; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.msg--out .msg__time { color: var(--on-cta); }
.msg__code {
  display: block;
  margin: 6px 0 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-2);
  font: 12.5px/1.35 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  word-break: break-all;
  color: var(--ink-2);
}
.msg__list {
  display: grid;
  gap: 3px;
  margin: 6px 0 2px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.msg__list span:last-child { color: var(--brand-ink); font-weight: 600; }

.msg__buttons { display: grid; margin: 8px -13px -7px; }
.msg__buttons span {
  display: block;
  padding: 10px 12px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brand-ink);
  box-shadow: 0 -1px 0 var(--line);
  transition: background-color 400ms var(--ease-hover);
}
.msg__buttons span.is-picked { background: var(--brand-wash); }
/* Botão de link: a seta indica que abre fora da conversa */
.msg__buttons span.is-link::after { content: " \2197"; }

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  flex: none;
}
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }

.chat__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--ink-3);
  background: var(--bg);
  box-shadow: 0 -1px 0 var(--line);
}
.chat__replay {
  border: 0;
  background: transparent;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  min-height: 32px;
  cursor: pointer;
}
@media (pointer: coarse) { .chat__replay { min-height: 44px; padding: 0 4px; } }
.chat__replay:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Formulário em duas etapas */

.tape--mini { height: 10px; margin-bottom: 26px; }
.tape--mini,
.tape--mini .tape__fill {
  background-size: 100% 10px, 100% 5px;
}
.tape--mini .tape__fill { transition: clip-path 700ms var(--ease-smooth); }

.form[data-current="1"] .step[data-step="2"],
.form[data-current="2"] .step[data-step="1"] { display: none; }
.step { display: grid; gap: 22px; }

.field .step__question {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.chips--big .chips__list { display: grid; gap: 10px; }
.chips--big .chip span { width: 100%; min-height: 56px; padding: 0 20px; font-size: 16px; border-radius: var(--radius-field); }
.step__next { justify-self: start; }

.step__back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 14.5px;
  cursor: pointer;
  transition: color 400ms var(--ease-hover);
}
.step__back:hover { color: var(--ink); }
@media (pointer: coarse) { .step__back { min-height: 44px; } }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* Lembra na segunda etapa o que foi escolhido na primeira; "Voltar" troca. */
.step__choice { font-size: 14px; color: var(--ink-3); }
.step__choice strong { color: var(--ink); font-weight: 500; }

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

.done__steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
  color: var(--ink-2);
}
.done__steps li::marker { color: var(--brand-text); font-weight: 600; }

/* Páginas jurídicas e 404 */

.legal__back { font-size: 15px; color: var(--ink-2); transition: color 400ms var(--ease-hover); }
.legal__back:hover { color: var(--ink); }

.legal {
  max-width: calc(68ch + var(--gutter) * 2);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(64px, 9vw, 112px);
  color: var(--ink-2);
}
.legal h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}
.legal__date { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
.legal h2 {
  margin-top: 40px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.legal p, .legal ul { margin-top: 14px; }
.legal ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.legal a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-page .foot { border-top: 1px solid var(--line); }
.foot__links a[aria-current="page"] { color: var(--ink); }

.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  text-align: center;
}
.notfound__mark { width: 72px; color: var(--brand); }
.notfound .h2 { max-width: 20ch; }

/* Movimento */

.reveal .line { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal .line {
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
  }
  .js .reveal .line > span {
    display: inline-block;
    transform: translate3d(0, 110%, 0);
    transition: transform 1500ms var(--ease-smooth);
    transition-delay: calc(var(--ln, 0) * 110ms);
  }
  .js .reveal.is-in .line > span { transform: none; }

  .js .rise {
    transform: translate3d(0, 40px, 0);
    transition: transform 1600ms var(--ease-smooth);
    transition-delay: calc(180ms + var(--k, 0) * 120ms);
  }
  .js .rise.is-in { transform: none; }

  /* Todas as logos surgem do mesmo jeito: o traço se desenha, na mesma ordem e no mesmo ritmo */
  .js .mark-draw path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  .js .mark-draw.is-in path {
    animation: draw 2200ms var(--ease-draw) forwards;
    animation-delay: calc(250ms + var(--i, 0) * 320ms);
  }

  .cell:hover { transform: translateY(-4px); }

  /* Cada mensagem chega como no celular: sobe e assenta, sem transparência */
  .msg, .typing { animation: pop 460ms var(--ease-smooth) both; }
  .typing span { animation: dot 1100ms var(--ease-hover) infinite; }
  .typing span:nth-child(2) { animation-delay: 140ms; }
  .typing span:nth-child(3) { animation-delay: 280ms; }

  /* Etapa nova entra deslizando da direita */
  .step { animation: step-in 520ms var(--ease-smooth); }

  /* Painel: os cartões assentam em sequência; os gráficos se desenham depois */
  .dash__bar, .kpi, .dash__card { animation: pop 560ms var(--ease-smooth) both; }
  .kpi:nth-child(2) { animation-delay: 40ms; }
  .kpi:nth-child(3) { animation-delay: 80ms; }
  .kpi:nth-child(4) { animation-delay: 120ms; }
  .dash__card:nth-child(2) { animation-delay: 160ms; }
  .dash__card:nth-child(3) { animation-delay: 200ms; }
  .dash__card:nth-child(4) { animation-delay: 240ms; }
  .dash__card:nth-child(5) { animation-delay: 280ms; }

  .meter span { transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease-smooth) 400ms; }
  .meter .meter__late { transition-delay: 700ms; }
  .meter .meter__risk { transition-delay: 850ms; }
  .meter.is-live span { transform: none; }

  .chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-draw) 250ms; }
  .chart__area, .chart__forecast {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1400ms var(--ease-draw) 250ms;
  }
  .chart__forecast { transition-delay: 1350ms; transition-duration: 600ms; }
  .chart .chart__dot, .chart .chart__label { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 460ms var(--ease-smooth) 1500ms; }
  .chart .chart__dot--hollow, .chart .chart__label--muted { transition-delay: 1850ms; }
  .chart .bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 900ms var(--ease-smooth) calc(var(--d, 0ms) + 200ms), fill 300ms var(--ease-hover); }
  .chart.is-live .chart__line { stroke-dashoffset: 0; }
  .chart.is-live .chart__area, .chart.is-live .chart__forecast { clip-path: inset(0 0 0 0); }
  .chart.is-live .chart__dot, .chart.is-live .chart__label, .chart.is-live .bar { transform: none; }

  .ask:not([hidden]) { animation: ask-in 420ms var(--ease-smooth) both; }
  .ask-btn.is-nudge { animation: nudge 900ms var(--ease-smooth); }

  @supports (animation-timeline: view()) {
    .hero__art {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sheet__panel, .mmenu, .nav__indicator, .dock { transition: none; }
}

/* Toque: alvos maiores e resposta física ao dedo */
@media (pointer: coarse) {
  .lang button { height: 36px; min-width: 44px; }
  .chat__tabs button { height: 44px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span { left: 14px; right: 14px; }
  .btn:active { transform: scale(0.97); transition-duration: 120ms; }
  .cell:active, .panel:active { transform: scale(0.985); transition: transform 160ms var(--ease-hover); }
  .arrow:active { transform: scale(0.94); }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { to { transform: translate3d(0, 18%, 0) scale(0.94); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: translate3d(0, 12px, 0) scale(0.96); } to { transform: none; } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
@keyframes step-in { from { transform: translate3d(28px, 0, 0); } to { transform: none; } }
@keyframes ask-in { from { transform: translate3d(0, -10px, 0) scale(0.9); } to { transform: none; } }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateY(-6px) scale(1.06); } 55% { transform: translateY(0) scale(0.98); } 75% { transform: translateY(-2px); } }

/* Responsivo */

@media (max-width: 1080px) {
  .nav__links { gap: 24px; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .menu-btn { display: inline-block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__art { order: -1; justify-items: start; }
  .art-mark { width: 112px; }
  .stack__row { grid-template-columns: 1fr; gap: 12px; }
  .demo { grid-template-columns: 1fr; }
  .chat { height: 540px; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--number, .cell--wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --nav-h: 60px; --section: 88px; }
  .nav__end .btn--small { display: none; }
  .nav__end { gap: 8px; }

  /* Abertura ocupa a tela; o botão principal fica embaixo, onde o polegar alcança */
  .hero {
    display: flex;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  }
  .hero__grid { flex: 1; grid-template-rows: auto 1fr; gap: 32px; }
  .hero__copy { align-self: end; gap: 24px; }
  .art-mark { width: 120px; }
  .hero__ctas { flex-direction: column; }
  .hero__eyebrow { font-size: 14px; letter-spacing: -0.01em; }
  .hero__ctas .btn { width: 100%; height: 56px; font-size: 17px; }

  .manifesto__by { margin-top: 28px; }
  .tailored__intro, .models__intro { margin-top: 20px; }
  .journey { margin-top: 40px; }
  .journey__viewport { margin-top: 24px; }
  .panel { width: 82vw; min-height: 240px; }
  .journey__controls { margin-top: 20px; }
  .stack { margin-top: 40px; }
  .bento { margin-top: 40px; }

  .dock {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 15;
    transform: translate3d(0, calc(100% + 32px), 0);
    transition: transform 650ms var(--ease-smooth);
    pointer-events: none;
  }
  .dock.is-visible { transform: none; pointer-events: auto; }
  .dock__btn { width: 100%; height: 56px; font-size: 17px; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--cta) 75%, transparent); }
  .bento { grid-template-columns: 1fr; }
  .cell--number, .cell--wide { grid-column: auto; }
  .cell { min-height: 0; }
  .pilot { flex-direction: column; align-items: stretch; }
  .pilot .btn { width: 100%; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .foot__links { margin-left: 0; }
  .foot__links a { display: inline-flex; align-items: center; min-height: 44px; }

  /* Painel como folha nativa: alça para arrastar, enviar sempre à mão */
  .sheet__panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: calc(100dvh - 12px);
    padding: 0 22px;
    border-radius: var(--radius-surface) var(--radius-surface) 0 0;
  }
  .sheet.is-entering .sheet__panel,
  .sheet.is-closing .sheet__panel { transform: translate3d(0, 100%, 0); }
  .sheet__grab {
    display: flex;
    justify-content: center;
    padding: 10px 0 14px;
    touch-action: none;
    cursor: grab;
  }
  .sheet__grab span { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); }
  .sheet__head { margin-bottom: 24px; touch-action: none; }
  .sheet__title { font-size: 1.625rem; }
  .form { gap: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .form__foot {
    position: sticky;
    bottom: 0;
    z-index: 1;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
    margin: 4px -22px 0;
    padding: 12px 22px calc(14px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
  }
  .form__submit { width: 100%; height: 56px; font-size: 17px; }
  .step__next { justify-self: stretch; height: 56px; font-size: 17px; }
  .demo { margin-top: 48px; gap: 28px; }
  .chat { height: 560px; }
  .promises { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .persona { justify-self: stretch; }
  .persona button { flex: 1; }
  .chat__head { padding: 12px 14px; gap: 10px; }
  .form__privacy { max-width: none; text-align: center; font-size: 12.5px; }
  .done { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .done .btn { width: 100%; height: 56px; }
}

@media (max-width: 380px) {
  .brand__word { font-size: 16px; }
  .lang button { min-width: 34px; padding: 0 8px; }
}
