/* AtestaVet, site.
   Type: Archivo (variable width and weight), served from assets/fontes.
   Icons: Phosphor (regular), as symbols in assets/icones.svg.
   Light only: white with the app icon's blue.
   Corners, one rule for the whole site: controls (buttons, fields) 10px, panels 18px,
   app screens 7px, tags 6px. */

@font-face {
  font-family: "Archivo";
  src: url("fontes/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --fundo: #ffffff;
  --superficie: #ffffff;
  --superficie-2: #f1f5fc;
  --linha: #dce4f1;
  --tinta: #0d1b33;
  --tinta-2: #43506a;
  --tinta-3: #5b6782;
  --acento: #1f57c8;
  --acento-forte: #17459f;
  --azul-escuro: #12357d;
  --sobre-acento: #ffffff;
  --acento-suave: #e7eefc;
  --erro: #b42318;
  --erro-fundo: #fdecea;
  --ok: #12703f;
  --ok-fundo: #e3f3e9;
  --sombra: 0 1px 2px rgb(13 27 51 / 0.06), 0 14px 34px -14px rgb(23 69 159 / 0.28);
  --sombra-tela: 0 2px 6px rgb(13 27 51 / 0.08), 0 30px 60px -24px rgb(23 69 159 / 0.45);

  --r-controle: 10px;
  --r-painel: 18px;
  --r-tela: 7px;
  --r-tag: 6px;
  --margem: clamp(16px, 4vw, 40px);
  --curva: cubic-bezier(0.16, 1, 0.3, 1);
  --z-topo: 10;
  --z-pular: 20;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--tinta);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--acento); text-underline-offset: 0.18em; }
a:hover { color: var(--acento-forte); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; font-stretch: 115%; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.icone { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.tabular { font-variant-numeric: tabular-nums; }
.faixa { width: min(1200px, 100% - 2 * var(--margem)); margin-inline: auto; }
[hidden] { display: none !important; }

.pular { position: absolute; left: var(--margem); top: -80px; z-index: var(--z-pular); padding: 10px 16px;
  border-radius: var(--r-controle); background: var(--acento); color: var(--sobre-acento); font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; color: var(--sobre-acento); }

/* Buttons */
.botao {
  --b-fundo: var(--acento);
  --b-tinta: var(--sobre-acento);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-controle);
  background: var(--b-fundo); color: var(--b-tinta);
  font: inherit; font-weight: 600; font-stretch: 105%; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.35s var(--curva), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.botao:hover { background: var(--acento-forte); color: var(--b-tinta); transform: translateY(-1px); box-shadow: var(--sombra); }
.botao:active { transform: translateY(1px) scale(0.98); box-shadow: none; transition-duration: 0.08s; }
.botao-secundario { --b-fundo: transparent; --b-tinta: var(--tinta); border-color: var(--linha); }
.botao-secundario:hover { background: var(--superficie); border-color: var(--tinta-3); }
.botao-pequeno { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.botao[disabled] { opacity: 0.65; cursor: progress; transform: none; box-shadow: none; }
.botao-icone { width: 44px; min-height: 44px; padding: 0; }

.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-tag);
  background: var(--acento-suave); color: var(--acento); font-size: 0.78rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0; line-height: 1.5; white-space: nowrap; }

/* Header */
.topo {
  position: sticky; top: 0; z-index: var(--z-topo);
  background: color-mix(in srgb, var(--fundo) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.topo.rolou { border-bottom-color: var(--linha); }
@media (prefers-reduced-transparency: reduce) { .topo { background: var(--fundo); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.topo-linha { display: flex; align-items: center; gap: 24px; height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); text-decoration: none;
  font-weight: 700; font-stretch: 115%; font-size: 1.15rem; letter-spacing: -0.02em; }
.marca:hover { color: var(--tinta); }
.marca img { width: 32px; height: 32px; border-radius: 8px; }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a { padding: 8px 12px; border-radius: var(--r-controle); color: var(--tinta-2); text-decoration: none;
  font-weight: 500; font-size: 0.97rem; transition: color 0.2s ease, background-color 0.2s ease; }
.menu a:hover, .menu a[aria-current] { color: var(--tinta); background: var(--superficie-2); }
.topo-acao { margin-left: auto; }
.menu + .topo-acao { margin-left: 8px; }
@media (max-width: 800px) {
  .menu { display: none; }
  .menu + .topo-acao { margin-left: auto; }
}

/* Sections */
.secao { padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px); scroll-margin-top: 68px; }
.secao-tinta { background: var(--superficie-2); }
.secao-cabeca { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.secao-cabeca p { max-width: 60ch; color: var(--tinta-2); font-size: 1.125rem; }

/* Hero: the pitch on the left, two of the app's screens on the right. */
/* A soft blue glow behind the screens, which run into the bottom edge. */
.abertura { padding-block: clamp(40px, 6vw, 72px) 0; overflow: hidden; border-bottom: 1px solid var(--linha);
  background: radial-gradient(48% 70% at 78% 92%, var(--acento-suave), transparent 72%), var(--fundo); }
.abertura-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.abertura-texto { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.abertura-texto p { max-width: 34ch; color: var(--tinta-2); font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.tela { width: 100%; height: auto; border-radius: var(--r-tela); background: var(--fundo); box-shadow: var(--sombra-tela); }
.abertura-telas { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end;
  height: clamp(440px, 46vw, 600px); }
.abertura-telas .tela { grid-row: 1; align-self: start; }
.tela-tras { grid-column: 2 / 7; margin-top: 80px; transform: rotate(-4deg); }
.tela-frente { position: relative; grid-column: 6 / 12; transform: rotate(3deg); }
@media (max-width: 900px) {
  .abertura-grade { grid-template-columns: minmax(0, 1fr); }
  .abertura-texto { padding-bottom: 8px; }
  .abertura { background: radial-gradient(90% 40% at 50% 100%, var(--acento-suave), transparent 75%), var(--fundo); }
  .abertura-telas { height: 400px; max-width: 520px; width: 100%; justify-self: center; }
  .tela-tras { margin-top: 56px; }
}

/* Features: five cells of different sizes and surfaces. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.celula { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-painel); background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha); }
.celula p { max-width: 42ch; color: var(--tinta-2); }
.celula > .icone { width: 32px; height: 32px; color: var(--acento); margin-bottom: auto; }
.celula h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.c-sinal { grid-column: span 7; grid-row: span 2; min-height: 440px; background: var(--acento); color: var(--sobre-acento); box-shadow: none; }
.c-sinal h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.c-sinal p { color: color-mix(in srgb, var(--sobre-acento) 84%, transparent); font-size: 1.1rem; }
.c-sinal > .icone { position: absolute; top: -8%; right: -6%; width: 62%; height: auto; aspect-ratio: 1; margin: 0;
  color: var(--sobre-acento); opacity: 0.12; }
/* Cells with a screen: the text on top, the screen rising from the bottom edge. */
.c-carimbo, .c-relatorio, .c-lote, .c-memoria { justify-content: flex-start; padding-bottom: 0; }
.c-carimbo { grid-column: span 5; background: var(--superficie-2); box-shadow: none; }
.celula-tela { order: 3; width: min(78%, 300px); height: 220px; margin: 12px auto 0; object-fit: cover; object-position: top;
  border-radius: var(--r-tela) var(--r-tela) 0 0; box-shadow: var(--sombra-tela); }
.celula-tela-inteira { height: auto; margin-top: auto; }
.c-lote { grid-column: span 5; }
.c-memoria { grid-column: span 5; background: var(--superficie-2); box-shadow: none; }
.c-relatorio { grid-column: span 7; background: var(--acento-suave); box-shadow: none; }
.c-relatorio .celula-tela { width: min(56%, 300px); }
/* Tags on tinted cells take the page surface, or they vanish into it. */
.c-relatorio .tag, .novidade-recente .tag, .plano-premium .tag, .c-carimbo .tag { background: var(--superficie); }
@media (max-width: 860px) {
  .bento > .celula { grid-column: 1 / -1; grid-row: auto; }
  .c-sinal { min-height: 340px; }
}

/* Other documents: a compact "bonus" panel, the certificate stays the main act. */
.bonus { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-painel); background: var(--superficie-2); }
.bonus-texto { display: grid; gap: 14px; align-content: start; justify-items: start; }
.bonus-texto h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.bonus-texto p { color: var(--tinta-2); }
.bonus-texto .tag { background: var(--superficie); }
.bonus-grupos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.grupo { padding: 18px 20px; border-radius: var(--r-controle); background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }
.grupo h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; padding-bottom: 12px;
  border-bottom: 1px solid var(--linha); font-size: 1.1rem; }
.grupo h3 span { color: var(--tinta-3); font-size: 0.85rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; }
.grupo ul { list-style: none; display: grid; }
.grupo li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.95rem; line-height: 1.4; }
.grupo li .icone { width: 18px; height: 18px; margin-top: 1px; color: var(--acento); }
.grupo li .tag { margin-left: auto; }
@media (max-width: 900px) { .bonus { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .bonus-grupos { grid-template-columns: minmax(0, 1fr); } }

/* How it works: three big rows beside the finished PDF. */
.passos-grade { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.passos { list-style: none; }
.pdf { margin: 0; display: grid; gap: 12px; }
.pdf img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--sombra-tela); transform: rotate(1.5deg); }
.pdf figcaption { color: var(--tinta-3); font-size: 0.9rem; }
@media (max-width: 900px) { .passos-grade { grid-template-columns: minmax(0, 1fr); } .pdf { max-width: 460px; } }
.passo { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 8px clamp(12px, 3vw, 32px);
  align-items: baseline; padding-block: clamp(22px, 3vw, 34px); }
.passo + .passo { border-top: 1px solid var(--linha); }
.passo-num { color: var(--acento); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; font-stretch: 125%; line-height: 1;
  font-variant-numeric: tabular-nums; }
.passo h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.passo p { grid-column: 2; }
.passo p { color: var(--tinta-2); }
@media (max-width: 760px) { .passo { grid-template-columns: 3rem minmax(0, 1fr); row-gap: 8px; } }

/* Inside the app: four screens in a row; on phones, a row to swipe. */
.galeria { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.galeria li { display: grid; gap: 16px; align-content: start; }
.galeria p { color: var(--tinta-2); font-size: 0.97rem; }
.galeria strong { display: block; color: var(--tinta); font-size: 1.05rem; }
@media (max-width: 860px) {
  .galeria { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(70vw, 260px); overflow-x: auto;
    scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margem)); padding: 4px var(--margem) 20px; scrollbar-width: none; }
  .galeria li { scroll-snap-align: center; }
}

/* What's new: a horizontal track. */
.trilho-cabeca { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.trilho-cabeca .secao-cabeca { margin-bottom: 0; }
.trilho-botoes { display: flex; gap: 8px; }
@media (max-width: 760px) { .trilho-botoes { display: none; } }
.trilho { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: 16px;
  margin-top: clamp(32px, 4vw, 48px); padding-bottom: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--linha) transparent; }
.novidade { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 26px;
  border-radius: var(--r-painel); background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }
.novidade p { color: var(--tinta-2); }
.novidade .tag { align-self: flex-start; margin-bottom: auto; }
.novidade-recente { background: var(--acento-suave); box-shadow: none; }

/* Plans */
.planos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.plano { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-painel);
  background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }
.plano-premium { background: linear-gradient(170deg, var(--acento-suave), var(--superficie) 55%); box-shadow: inset 0 0 0 2px var(--acento); }
.plano-nome { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.preco { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; font-stretch: 115%; letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums; }
.preco small { margin-left: 4px; color: var(--tinta-2); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.lista-check { list-style: none; display: grid; gap: 10px; }
.lista-check li { display: flex; align-items: flex-start; gap: 10px; }
.lista-check .icone { margin-top: 0.2em; color: var(--acento); }
.plano .botao { align-self: flex-start; margin-top: auto; }
.pix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; }
.pix li { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-controle); background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha); }
.pix span { color: var(--tinta-2); font-size: 0.9rem; }
.pix strong { font-variant-numeric: tabular-nums; }
.pix small { color: var(--ok); font-weight: 600; font-size: 0.82rem; }
.plano-nota { margin-top: auto; color: var(--tinta-2); font-size: 0.95rem; }
@media (max-width: 860px) { .planos { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .pix { grid-template-columns: minmax(0, 1fr); } }

/* Sign-up */
.conta-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(40px, 7vw, 104px); align-items: start; }
.conta-grade .secao-cabeca { margin-bottom: 28px; }
.formulario { display: grid; gap: 20px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-painel);
  background: var(--superficie); box-shadow: var(--sombra), inset 0 0 0 1px var(--linha); }
.campo { display: grid; gap: 8px; }
.campo label { font-weight: 600; font-size: 0.95rem; }
.campo input {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--linha); border-radius: var(--r-controle);
  background: var(--fundo); color: var(--tinta); font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.campo input:hover { border-color: var(--tinta-3); }
.campo input:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 22%, transparent); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.campo-ajuda { color: var(--tinta-3); font-size: 0.9rem; }
.campo-erro { display: flex; align-items: center; gap: 6px; color: var(--erro); font-size: 0.9rem; font-weight: 500; }
.campo-erro:empty { display: none; }
.aviso { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-controle); font-weight: 500; }
.aviso .icone { margin-top: 0.15em; }
.aviso-erro { background: var(--erro-fundo); color: var(--erro); }
.aviso-ok { background: var(--ok-fundo); color: var(--ok); }
.aviso-neutro { background: var(--superficie-2); color: var(--tinta); }
.formulario-campos { display: grid; gap: 20px; }
.formulario .botao { width: 100%; }
.formulario-nota { color: var(--tinta-3); font-size: 0.9rem; }
.conta-pronta { display: grid; gap: 14px; justify-items: start; }
.conta-pronta > .icone { width: 40px; height: 40px; color: var(--ok); }
.conta-pronta p { color: var(--tinta-2); }
@media (max-width: 860px) { .conta-grade { grid-template-columns: minmax(0, 1fr); } }

/* Install: a blue band. The button installs where the browser allows; the cards say how elsewhere. */
.secao-azul { background: linear-gradient(160deg, var(--acento), var(--azul-escuro)); color: var(--sobre-acento); }
.instalar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.instalar-texto { display: grid; gap: 18px; justify-items: start; }
.instalar-texto p { max-width: 40ch; color: rgb(255 255 255 / 0.85); font-size: 1.125rem; }
.botao-branco { --b-fundo: #ffffff; --b-tinta: var(--azul-escuro); }
.botao-branco:hover { background: #eef3fd; }
.botao-contorno-branco { --b-fundo: transparent; --b-tinta: #ffffff; border-color: rgb(255 255 255 / 0.55); }
.botao-contorno-branco:hover { background: rgb(255 255 255 / 0.1); border-color: #ffffff; }
.secao-azul :focus-visible { outline-color: #ffffff; }
.instalar-dica { padding: 14px 16px; border-radius: var(--r-controle); background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25); color: #ffffff !important; font-size: 1rem !important; }
.aparelhos { list-style: none; display: grid; gap: 12px; }
.aparelhos li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-painel);
  background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.aparelhos .icone { width: 28px; height: 28px; margin-top: 2px; }
.aparelhos strong { display: block; font-size: 1.1rem; }
.aparelhos p { color: rgb(255 255 255 / 0.82); }
/* The visitor's own device comes first, in white. */
.aparelhos li.seu { order: -1; background: #ffffff; color: var(--tinta); box-shadow: var(--sombra); }
.aparelhos li.seu .icone { color: var(--acento); }
.aparelhos li.seu p { color: var(--tinta-2); }
.aparelhos li.seu strong::after { content: "Seu aparelho"; margin-left: 10px; padding: 2px 8px; border-radius: var(--r-tag);
  background: var(--acento-suave); color: var(--acento); font-size: 0.75rem; font-weight: 600; vertical-align: 2px; }
@media (max-width: 860px) { .instalar { grid-template-columns: minmax(0, 1fr); } }

/* About */
.sobre { display: grid; gap: 28px; }
.sobre > * { max-width: 58rem; }
.sobre-frase { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 500; font-stretch: 110%; line-height: 1.2; letter-spacing: -0.02em;
  text-wrap: balance; }
.sobre-autor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; color: var(--tinta-2); }
.sobre-autor a { display: inline-flex; align-items: center; gap: 6px; }

/* Footer */
.rodape { padding-block: 32px 40px; border-top: 1px solid var(--linha); color: var(--tinta-2); font-size: 0.95rem; }
.rodape-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rodape a { color: var(--tinta-2); text-decoration: none; }
.rodape a:hover { color: var(--tinta); text-decoration: underline; }
.rodape .marca { font-size: 1rem; }
.rodape .marca img { width: 24px; height: 24px; border-radius: 6px; }

/* Single-message pages: e-mail confirmed, not found. */
.recado { min-height: 100vh; min-height: 100dvh; display: grid; align-content: center; justify-items: start; gap: 20px;
  width: min(36rem, 100% - 2 * var(--margem)); margin-inline: auto; padding-block: 48px; }
.recado img { width: 64px; height: 64px; border-radius: 16px; }
.recado p { color: var(--tinta-2); font-size: 1.125rem; }

/* Privacy policy */
.documento { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 42rem); gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 112px); }
.documento-indice { position: sticky; top: 92px; align-self: start; display: grid; gap: 4px; font-size: 0.95rem; }
.documento-indice a { padding: 6px 10px; border-radius: var(--r-controle); color: var(--tinta-2); text-decoration: none; }
.documento-indice a:hover { background: var(--superficie-2); color: var(--tinta); }
.documento article { display: grid; gap: 18px; }
.documento article > p:first-of-type { color: var(--tinta-2); font-size: 1.15rem; }
.documento h2 { margin-top: 28px; font-size: 1.5rem; scroll-margin-top: 92px; }
.documento ul { display: grid; gap: 8px; padding-left: 1.2em; }
.documento li::marker { color: var(--acento); }
.documento .atualizado { color: var(--tinta-3); font-size: 0.92rem; }
@media (max-width: 760px) {
  .documento { grid-template-columns: minmax(0, 1fr); }
  .documento-indice { display: none; }
}

/* Payment page (the app opens it with a one-time link). */
.pagamento { display: grid; gap: 24px; width: min(32rem, 100% - 2 * var(--margem)); margin-inline: auto; padding-block: 40px 56px; }
.pagamento-topo { display: grid; gap: 10px; justify-items: start; }
.pagamento-topo img { width: 56px; height: 56px; border-radius: 14px; }
.pagamento-topo h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); }
.pagamento-topo p { color: var(--tinta-2); }
.carregando { display: grid; gap: 10px; }
.carregando span { height: 64px; border-radius: var(--r-controle); background: linear-gradient(90deg, var(--superficie-2), var(--superficie), var(--superficie-2));
  background-size: 200% 100%; animation: brilho 1.4s linear infinite; }
@keyframes brilho { to { background-position: -200% 0; } }
.status { color: var(--tinta-2); font-weight: 500; }
.formas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: calc(var(--r-controle) + 6px); background: var(--superficie-2); }
.forma { min-height: 44px; border: 0; border-radius: var(--r-controle); background: transparent; color: var(--tinta-2); font: inherit; font-weight: 600; cursor: pointer; }
.forma[aria-selected="true"] { background: var(--superficie); color: var(--tinta); box-shadow: var(--sombra); }
.painel-pagamento { display: grid; gap: 16px; }
.painel-pagamento > .botao { width: 100%; }
.painel-texto { color: var(--tinta-2); }
#brick-cartao { min-height: 120px; }
.periodos { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.periodos legend { margin-bottom: 6px; padding: 0; }
.periodo { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: var(--r-controle);
  background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); cursor: pointer; transition: box-shadow 0.2s ease; }
.periodo:hover { box-shadow: inset 0 0 0 1px var(--tinta-3); }
.periodo:has(input:checked) { box-shadow: inset 0 0 0 2px var(--acento); }
.periodo input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--acento); }
.periodo-texto { flex: 1; display: grid; min-width: 0; }
.periodo-nome { font-weight: 600; }
.periodo-extra { color: var(--ok); font-size: 0.9rem; font-weight: 600; }
.periodo-extra:empty { display: none; }
.periodo-preco { font-weight: 700; font-variant-numeric: tabular-nums; }
.pix-codigo { display: grid; gap: 16px; }
#pix-qr { justify-self: center; width: 220px; height: 220px; padding: 10px; border-radius: var(--r-controle); background: #fcfdfe; image-rendering: pixelated; }
#pix-texto { width: 100%; padding: 12px 14px; border: 1px solid var(--linha); border-radius: var(--r-controle); background: var(--fundo);
  color: var(--tinta); font: 0.88rem/1.45 ui-monospace, "SFMono-Regular", Menlo, monospace; resize: none; word-break: break-all; }
.sucesso { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-painel); background: var(--ok-fundo); color: var(--tinta); }
.sucesso h2 { font-size: 1.5rem; color: var(--ok); }
.pagamento-nota { color: var(--tinta-3); font-size: 0.92rem; }

/* Entrances: elements rise into place as they reach the screen. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revelar] { opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s var(--curva), transform 0.7s var(--curva); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-revelar].visivel { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Documents the app makes: example PDFs. */
.trilho-docs { grid-auto-columns: minmax(250px, 300px); margin-top: 24px; }
.trilho-docs > li { scroll-snap-align: start; }
.doc { display: grid; gap: 12px; align-content: start; height: 100%; padding: 12px; border-radius: var(--r-controle); background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha); color: inherit; text-decoration: none; }
.doc:hover { box-shadow: inset 0 0 0 1px var(--acento); }
.doc:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
.doc img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: contain; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--linha); }
.novidades-lista { list-style: none; display: grid; gap: 24px; margin-top: 24px; }
.novidades-lista h2 { font-size: 1.15rem; margin-bottom: 4px; }
.doc-texto { display: grid; gap: 4px; justify-items: start; align-content: start; }
.doc-texto .tag { margin-bottom: 4px; }
.doc-texto strong { color: var(--tinta); line-height: 1.25; }
.doc-texto small { color: var(--tinta-2); font-size: 0.9rem; }
.docs-grupo { margin-top: clamp(28px, 4vw, 44px); }
.docs-grupo .trilho-cabeca { align-items: center; }
.docs-grupo h3 { font-size: 1.15rem; }
.docs-grupo .trilho-docs { margin-top: 16px; }
