/* KV Contábil · folha de estilo única (sem dependências externas; CSP: style-src 'self').
   Mundo: o mês da empresa em ordem. Branco frio, campo de tinta violeta onde o Prumo aparece,
   violeta de ação, laranja só para imposto em dado. Movimento com curvas de mola (linear()). */

/* ============================== TOKENS ============================== */
:root {
  --fundo: #FBFBFD;
  --fundo-2: #F3F2F8;
  --superficie: #FFFFFF;
  --texto: #15122B;
  --texto-2: #57536C;
  --texto-3: #6D6984;
  --linha: #E4E2EC;
  --linha-forte: #CFCBDD;

  --violeta: #5B3DF5;
  --violeta-hover: #4B2EE0;
  --violeta-claro: #EEEAFF;
  --violeta-texto: #4A2FD6;

  --tinta: #120B33;
  --tinta-2: #1C1349;
  --tinta-3: #2A1F66;
  --sobre: #F3F1FF;
  --sobre-2: #BEB6EA;

  --fat: #6E56F0;
  --imp: #E8603C;
  --ok: #4A2FD6;

  --fonte: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --conteiner: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --secao: clamp(5rem, 3.5rem + 6vw, 9rem);
  --raio: 18px;
  --raio-g: 28px;

  /* molas criticamente amortecidas (Apple: damping 1.0, response 0.3/0.4) e uma com leve sobra (0.8) */
  --mola: linear(0, 0.0681, 0.2086, 0.3633, 0.5057, 0.6256, 0.7218, 0.7961, 0.8524, 0.8941, 0.9246, 0.9467, 0.9625, 0.9737, 0.9817, 0.9873, 0.9912, 0.9939, 0.9958, 0.9971, 1);
  --mola-t: 540ms;
  --mola-rapida: linear(0, 0.0995, 0.2864, 0.472, 0.6256, 0.7423, 0.8263, 0.8848, 0.9246, 0.9511, 0.9686, 0.98, 0.9873, 0.992, 0.995, 0.9968, 1);
  --mola-rapida-t: 400ms;
  --mola-viva: linear(0, 0.0357, 0.1223, 0.235, 0.3568, 0.4762, 0.5862, 0.6829, 0.7649, 0.8321, 0.8856, 0.9269, 0.9578, 0.98, 0.9953, 1.0053, 1.0112, 1.0142, 1.0152, 1.0147, 1.0135, 1.0118, 1.01, 1.0082, 1.0065, 1.005, 1.0037, 1.0027, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sombra-papel: 0 1px 2px rgb(18 11 51 / .06), 0 12px 32px -12px rgb(18 11 51 / .18);
  --sombra-alta: 0 2px 6px rgb(18 11 51 / .08), 0 30px 60px -24px rgb(18 11 51 / .35);
}

/* ============================== BASE ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 400 1.0625rem/1.55 var(--fonte);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violeta-texto); text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fonte-display); color: inherit; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 650; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; border-radius: 6px; }
.palco :focus-visible, .rodape :focus-visible { outline-color: #A99BFF; }
::selection { background: #D9D1FF; color: var(--tinta); }

.conteiner { width: 100%; max-width: calc(var(--conteiner) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.pular:focus { top: 12px; }

/* tipografia por tamanho: tracking negativo cresce com o corpo */
h1 { font-size: clamp(2.6rem, 1.35rem + 5.4vw, 5.25rem); line-height: 1.02; letter-spacing: -0.038em; font-weight: 700; }
h2 { font-size: clamp(2rem, 1.25rem + 3.1vw, 3.5rem); line-height: 1.05; letter-spacing: -0.032em; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; font-weight: 650; }
.lede { font-size: clamp(1.1875rem, 1.05rem + .55vw, 1.4375rem); line-height: 1.42; letter-spacing: -0.012em; color: var(--texto-2); font-weight: 450; max-width: 38em; }
.lede strong { color: var(--texto); }

/* ============================== BOTÕES ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.5em; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform var(--mola-rapida-t) var(--mola-rapida), background-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-p { background: var(--violeta); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .2) inset, 0 8px 20px -10px rgb(91 61 245 / .7); }
.btn-sm { min-height: 38px; padding: 0 1.05em; font-size: .9375rem; }
.btn-largo { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; }
/* resposta no toque (pointer-down), soltura rápida */
.btn:active { transform: scale(.97); transition-duration: 100ms; transition-timing-function: var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-p:hover { background: var(--violeta-hover); }
}
.btn[disabled] { opacity: .6; cursor: progress; }

.link-seta { display: inline-flex; align-items: center; gap: .2em; font-weight: 600; color: var(--violeta-texto); text-decoration: none; letter-spacing: -0.01em; }
.link-seta svg { width: 1em; height: 1em; transition: transform var(--mola-rapida-t) var(--mola-rapida); }
.link-seta:hover { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .link-seta:hover svg { transform: translateX(3px); } }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ============================== TOPO (material translúcido) ============================== */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 251 253 / .86);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgb(21 18 43 / .07);
  view-transition-name: topo;
}
.topo-barra { display: flex; align-items: center; gap: 24px; height: 60px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.0625rem; }
.marca-simbolo { width: 30px; height: 30px; flex: none; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--texto-2); text-decoration: none; font-size: .9375rem; transition: color 150ms ease, background-color 150ms ease; }
.nav a:hover { color: var(--texto); background: rgb(21 18 43 / .05); }
.nav a[aria-current="page"] { color: var(--texto); font-weight: 600; }
.topo-acoes { display: none; align-items: center; gap: 18px; }
.link-area { color: var(--texto-2); text-decoration: none; font-size: .9375rem; }
.link-area:hover { color: var(--texto); }

.menu { margin-left: auto; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 999px; cursor: pointer; color: var(--texto); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 24px; height: 24px; grid-area: 1 / 1; transition: opacity 160ms ease, transform var(--mola-rapida-t) var(--mola-rapida); }
.menu-fechar { opacity: 0; transform: rotate(-45deg) scale(.8); }
.menu[open] .menu-abrir { opacity: 0; transform: rotate(45deg) scale(.8); }
.menu[open] .menu-fechar { opacity: 1; transform: none; }
.menu-painel {
  position: absolute; left: 0; right: 0; top: 60px;
  padding: 8px var(--gutter) 24px;
  background: var(--fundo); /* sólido: vidro claro sobre vidro claro perde a leitura */
  border-bottom: 1px solid var(--linha);
  box-shadow: 0 24px 40px -24px rgb(18 11 51 / .25);
  transform-origin: top center;
}
.menu-painel li a { display: block; padding: 14px 2px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--texto); text-decoration: none; border-bottom: 1px solid var(--linha); }
.menu-painel li a[aria-current="page"] { color: var(--violeta-texto); }
.menu-painel .btn { margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu-painel { animation: painel-desce var(--mola-rapida-t) var(--mola-rapida) both; }
  .menu[open] .menu-painel li { animation: item-desce var(--mola-rapida-t) var(--mola-rapida) both; }
  .menu[open] .menu-painel li:nth-child(2) { animation-delay: 30ms; }
  .menu[open] .menu-painel li:nth-child(3) { animation-delay: 60ms; }
  .menu[open] .menu-painel li:nth-child(4) { animation-delay: 85ms; }
  .menu[open] .menu-painel li:nth-child(5) { animation-delay: 110ms; }
  .menu[open] .menu-painel li:nth-child(6) { animation-delay: 130ms; }
}
@keyframes painel-desce { from { opacity: 0; transform: translateY(-8px) scaleY(.97); } }
@keyframes item-desce { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) { .menu summary svg, .pergunta-seta, .link-seta svg { transition: opacity 160ms ease; } }
@media (min-width: 1000px) {
  .nav, .topo-acoes { display: flex; }
  .nav { margin-left: auto; }
  .menu { display: none; }
}

/* ============================== SEÇÕES ============================== */
.secao { padding-block: var(--secao); }
.secao-cinza { background: var(--fundo-2); }
.cabeca-secao { max-width: 44rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.cabeca-secao .lede { margin-top: 1rem; }
.etiqueta { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--fundo-2); color: var(--texto-2); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }

/* ============================== HERO ============================== */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(4rem, 3rem + 5vw, 8rem); overflow: clip; }
.hero-grade { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero .lede { margin-top: 1.5rem; max-width: 33em; }
.hero .acoes { margin-top: 2rem; }
.fatos { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--texto-2); font-size: .9375rem; }
.fatos li { display: inline-flex; align-items: center; gap: 6px; }
.fatos svg { width: 16px; height: 16px; color: var(--violeta); flex: none; }
@media (min-width: 960px) { .hero-grade { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* --- O mês (calendário fiscal) --- */
.mes {
  margin: 0; justify-self: center; width: 100%; max-width: 420px;
  background: var(--superficie); border-radius: var(--raio-g);
  padding: 22px 22px 18px; box-shadow: var(--sombra-alta);
  border: 1px solid rgb(21 18 43 / .05);
}
.mes-topo { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.mes-topo h2 { font-size: 1.375rem; letter-spacing: -0.02em; }
.mes-topo h2 span { color: var(--texto-3); font-weight: 500; }
.mes-semana, .mes-dias { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.mes-semana { color: var(--texto-3); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 4px; }
.mes-dias { row-gap: 2px; }
.d { display: grid; place-items: center; aspect-ratio: 1; font-size: .875rem; color: var(--texto); font-variant-numeric: tabular-nums; position: relative; }
.d span { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; }
.d-aviso span::after, .d-vence span::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 999px; background: var(--violeta); }
.d-vence span::after { background: var(--texto-3); }
.d-pago span { background: var(--violeta-claro); color: var(--violeta-texto); font-weight: 700; }
.d-hoje span { background: var(--violeta); color: #fff; font-weight: 700; }
.agenda { margin-top: 14px; border-top: 1px solid var(--linha); }
.ag { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.ag time { font-size: .8125rem; font-weight: 600; color: var(--texto-3); font-variant-numeric: tabular-nums; }
.ag b { display: block; font-size: .9375rem; letter-spacing: -0.01em; }
.ag div span { font-size: .8125rem; color: var(--texto-2); }
.ag-icone { width: 20px; height: 20px; color: var(--violeta); }
.selo-ok { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 6px; border-radius: 999px; background: var(--violeta-claro); color: var(--violeta-texto); font-size: .75rem; font-weight: 700; }
.selo-ok svg { width: 14px; height: 14px; }
.selo-hoje { padding: 4px 9px; border-radius: 999px; background: var(--violeta); color: #fff; font-size: .75rem; font-weight: 700; }
.mes figcaption { margin-top: 12px; font-size: .75rem; line-height: 1.45; color: var(--texto-3); }

/* Orquestração de entrada do mês: dias por semana, depois as marcas, depois a agenda.
   Conteúdo é visível por padrão; só anima quando o usuário aceita movimento. */
@media (prefers-reduced-motion: no-preference) {
  .mes { animation: aparelho-entra 900ms var(--ease-out) 80ms both; }
  .d { animation: dia-entra 420ms var(--ease-out) both; }
  .s1 { animation-delay: 220ms; } .s2 { animation-delay: 270ms; } .s3 { animation-delay: 320ms; } .s4 { animation-delay: 365ms; } .s5 { animation-delay: 405ms; }
  .d-aviso span::after, .d-vence span::after { animation: ponto-entra var(--mola-t) var(--mola-viva) both; }
  .d-aviso span::after { animation-delay: 620ms; }
  .d-vence span::after { animation-delay: 940ms; }
  .d-pago span { animation: marca-entra var(--mola-t) var(--mola-viva) 780ms both; }
  .d-hoje span { animation: marca-entra var(--mola-t) var(--mola-viva) 1100ms both; }
  .ag { animation: linha-entra 520ms var(--ease-out) both; }
  .ag-aviso { animation-delay: 640ms; } .ag-pago { animation-delay: 800ms; } .ag-hoje { animation-delay: 1120ms; }
  .selo-ok { animation: marca-entra var(--mola-t) var(--mola-viva) 900ms both; }
  .hero-texto > * { animation: texto-sobe 800ms var(--ease-out) both; }
  .hero-texto > :nth-child(2) { animation-delay: 70ms; }
  .hero-texto > :nth-child(3) { animation-delay: 130ms; }
  .hero-texto > :nth-child(4) { animation-delay: 180ms; }
}
@keyframes aparelho-entra { from { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); } }
@keyframes texto-sobe { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@keyframes dia-entra { from { opacity: 0; transform: translateY(6px); } }
@keyframes ponto-entra { from { opacity: 0; transform: scale(.4); } }
@keyframes marca-entra { from { opacity: 0; transform: scale(.85); } }
@keyframes linha-entra { from { opacity: 0; transform: translateX(-10px); } }

/* ============================== PALCO DO PRUMO ============================== */
.palco { background: var(--tinta); color: var(--sobre); padding-block: var(--secao); position: relative; }
.palco-cabeca { max-width: 46rem; margin-inline: auto; text-align: center; }
.sobretitulo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; color: var(--sobre-2); margin-bottom: 1rem; }
.sobretitulo svg { width: 20px; height: 20px; color: #A99BFF; }
.palco h2 { color: #fff; }
.palco .lede { color: var(--sobre-2); margin: 1.25rem auto 0; }

.historia { margin-top: clamp(3rem, 2rem + 4vw, 6rem); display: grid; gap: 40px; }
.historia-aparelho { display: grid; justify-items: center; gap: 14px; }
.legenda-exemplo { font-size: .8125rem; color: var(--sobre-2); text-align: center; }

/* aparelho: moldura com reflexo de borda (luz batendo no material) */
.celular {
  --w: 300px;
  margin: 0; width: var(--w); aspect-ratio: 300 / 600;
  padding: 11px; border-radius: 52px;
  background: linear-gradient(160deg, #3B3170, #17103D 40%, #241A59);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .09) inset, 0 50px 100px -40px rgb(0 0 0 / .8), 0 30px 80px -30px rgb(91 61 245 / .45);
  position: relative;
}
.celular::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #05030F; z-index: 3; }
.celular-tela { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #F6F5FB; color: var(--texto); display: flex; flex-direction: column; }
.app-barra { white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 58px 18px 10px; font-size: .75rem; color: var(--texto-2); }
.app-nome { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--texto); font-size: .9375rem; letter-spacing: -0.01em; }
.app-nome svg { width: 18px; height: 18px; color: var(--violeta); }

/* Sem JS e sem animação por rolagem: as telas viram um carrossel com snap (tudo alcançável). */
.telas { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.telas::-webkit-scrollbar { display: none; }
.app-abas { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px 22px; border-top: 1px solid var(--linha); background: rgb(255 255 255 / .85); font-size: .625rem; color: var(--texto-3); text-align: center; }
.app-abas span { display: grid; justify-items: center; gap: 3px; }
.app-abas svg { width: 20px; height: 20px; }
.app-abas .ativa { color: var(--violeta); font-weight: 600; }
.t { scroll-snap-align: start; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.t-titulo { font-size: .8125rem; font-weight: 600; color: var(--texto-2); letter-spacing: 0; font-family: var(--fonte); }
.t-valor { font-family: var(--fonte-display); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.t-sub { font-size: .75rem; line-height: 1.45; color: var(--texto-2); }
.t-lista, .t-guias { background: #fff; border-radius: 14px; padding: 2px 12px; box-shadow: 0 1px 2px rgb(18 11 51 / .05); }
.t-lista li, .t-guias li { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; font-size: .75rem; border-bottom: 1px solid var(--linha); }
.t-lista li:last-child, .t-guias li:last-child { border-bottom: 0; }
.t-lista b { font-weight: 600; }
.t-total { font-weight: 700; }
.t-total span { color: var(--texto); }
.t-guias b { display: block; font-size: .8125rem; }
.t-guias div span { color: var(--texto-2); }
.t-guias .num { font-weight: 600; }

.grafico { width: 100%; height: auto; background: #fff; border-radius: 14px; padding: 8px 4px 2px; font-family: var(--fonte); }
.grafico .grade line { stroke: #ECEAF3; stroke-width: 1; }
.grafico .grade line.base { stroke: #CFCBDD; }
.grafico text { font-size: 9.5px; fill: var(--texto-2); }
.grafico .rotulo-valor { font-weight: 700; fill: var(--texto); }
.legenda { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .6875rem; color: var(--texto-2); }
.legenda span { display: inline-flex; align-items: center; gap: 5px; }
.legenda i { width: 10px; height: 10px; border-radius: 3px; }
.lg-fat { background: var(--fat); }
.lg-imp { background: var(--imp); }

.regua { position: relative; height: 12px; border-radius: 999px; overflow: visible; margin-top: 18px; display: flex; gap: 2px; }
.regua-v { flex: 0 0 calc(70% - 1px); background: #E5E1F5; border-radius: 999px 0 0 999px; }
.regua-iii { flex: 1; background: var(--violeta-claro); border-radius: 0 999px 999px 0; }
.regua-linha { position: absolute; left: 70%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--texto); border-radius: 2px; }
.regua-ponto { position: absolute; left: 77.5%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 999px; background: var(--violeta); box-shadow: 0 0 0 3px #F6F5FB; }
.regua-rotulos { display: grid; grid-template-columns: 70% 0 1fr; font-size: .6875rem; color: var(--texto-2); }
.regua-rotulos span:nth-child(2) { text-align: center; font-weight: 700; color: var(--texto); white-space: nowrap; transform: translateX(-50%); width: max-content; }
.regua-rotulos span:nth-child(3) { text-align: right; font-weight: 700; color: var(--violeta-texto); }
.t-pilula { align-self: start; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 6px 11px 6px 8px; border-radius: 999px; background: var(--violeta-claro); color: var(--violeta-texto); font-size: .75rem; font-weight: 700; }
.t-pilula svg { width: 14px; height: 14px; }
.notificacao { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 18px; background: rgb(255 255 255 / .9); box-shadow: 0 10px 24px -12px rgb(18 11 51 / .35), 0 0 0 1px rgb(18 11 51 / .04); font-size: .75rem; margin-bottom: 6px; }
.notificacao > svg { width: 30px; height: 30px; flex: none; padding: 6px; border-radius: 8px; background: var(--violeta); color: #fff; }
.notificacao b { display: block; font-size: .8125rem; }
.notificacao span { color: var(--texto-2); }

/* passos do texto */
.passos-historia { display: grid; gap: 20px; }
.ph { padding: 22px; border-radius: var(--raio); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
.ph-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 600; color: #B8ACFF; margin-bottom: .6rem; }
.ph-tag svg { width: 18px; height: 18px; }
.ph h3 { color: #fff; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -0.024em; line-height: 1.15; }
.ph p:last-child { margin-top: .65rem; color: var(--sobre-2); }
.palco-rodape { margin: clamp(3rem, 2rem + 3vw, 5rem) auto 0; max-width: 40rem; display: flex; gap: 14px; align-items: flex-start; justify-content: center; color: var(--sobre-2); }
.palco-rodape b { color: #fff; }
.palco-rodape svg { width: 24px; height: 24px; flex: none; color: #A99BFF; margin-top: 1px; }

/* ---- Modo história: telas sobrepostas, celular fixo. ----
   Liga por CSS puro quando há animação por rolagem (sem salto de layout) ou, nos demais,
   pelo JS (.js.sem-sda), que escolhe a tela com IntersectionObserver. */
@media (min-width: 900px) {
  .historia { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .historia-aparelho { position: sticky; top: max(84px, calc(50vh - 330px)); order: 2; }
  .passos-historia { gap: 0; }
  .ph { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 4px; background: none; border: 0; }
  .ph h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
  .ph p:last-child { font-size: 1.1875rem; max-width: 26em; }
}
.js.sem-sda .historia .telas { display: grid; grid-template-areas: "tela"; overflow: hidden; scroll-snap-type: none; }
.js.sem-sda .historia .t { grid-area: tela; opacity: 0; transform: translateY(18px) scale(.985); filter: blur(4px); transition: opacity 260ms ease, transform var(--mola-t) var(--mola), filter 260ms ease; }
.js.sem-sda .historia[data-ativa="1"] .t1, .js.sem-sda .historia[data-ativa="2"] .t2,
.js.sem-sda .historia[data-ativa="3"] .t3, .js.sem-sda .historia[data-ativa="4"] .t4,
.js.sem-sda .historia:not([data-ativa]) .t1 { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .js.sem-sda .historia .t { transform: none; filter: none; transition: opacity 200ms ease; } }
@media (max-width: 899px) {
  .js.sem-sda .historia-aparelho { position: sticky; top: 68px; z-index: 0; }
  .js.sem-sda .celular { zoom: .74; }
  .js.sem-sda .passos-historia { position: relative; z-index: 1; gap: 0; }
  .js.sem-sda .ph { min-height: 80vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 3vh; background: none; border: 0; }
  .ph h3 { font-size: 1.375rem; } .ph p:last-child { font-size: 1rem; }
  .js.sem-sda .ph-corpo { padding: 18px 20px; border-radius: var(--raio); background: rgb(30 21 78 / .9); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); }
}

/* Animação por rolagem (Chrome/Edge e Safari recentes): cada passo dirige a sua tela. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .historia { timeline-scope: --p1, --p2, --p3, --p4; }
    .historia .telas { display: grid; grid-template-areas: "tela"; overflow: hidden; scroll-snap-type: none; }
    .historia .t { grid-area: tela; animation-timing-function: linear; animation-fill-mode: both; animation-range: cover 0% cover 100%; will-change: opacity, transform; }
    .ph:nth-child(1) { view-timeline: --p1 block; }
    .ph:nth-child(2) { view-timeline: --p2 block; }
    .ph:nth-child(3) { view-timeline: --p3 block; }
    .ph:nth-child(4) { view-timeline: --p4 block; }
    .t1 { animation-name: tela-sai; animation-timeline: --p1; }
    .t2 { animation-name: tela-passa; animation-timeline: --p2; }
    .t3 { animation-name: tela-passa; animation-timeline: --p3; }
    .t4 { animation-name: tela-chega; animation-timeline: --p4; }
    @media (min-width: 900px) { .ph-corpo { animation: passo-foco linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; } }
    .t2 .grafico path, .t2 .grafico rect.seg-imp { transform-box: fill-box; transform-origin: bottom; animation: barra-cresce linear both; animation-timeline: --p2; animation-range: cover 8% cover 40%; }
    .regua-ponto { animation: ponto-desliza linear both; animation-timeline: --p3; animation-range: cover 10% cover 42%; }
    @media (max-width: 899px) {
      .historia-aparelho { position: sticky; top: 68px; z-index: 0; }
      .celular { zoom: .74; }
      .passos-historia { position: relative; z-index: 1; gap: 0; }
      .ph { min-height: 80vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 3vh; background: none; border: 0; }
  .ph h3 { font-size: 1.375rem; } .ph p:last-child { font-size: 1rem; }
      .ph-corpo { padding: 18px 20px; border-radius: var(--raio); background: rgb(30 21 78 / .9); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); }
    }
  }
}
@keyframes tela-sai { 0%, 62% { opacity: 1; transform: none; filter: none; } 80%, 100% { opacity: 0; transform: translateY(-22px) scale(.985); filter: blur(6px); } }
@keyframes tela-passa { 0%, 18% { opacity: 0; transform: translateY(22px) scale(.985); filter: blur(6px); } 36%, 62% { opacity: 1; transform: none; filter: none; } 80%, 100% { opacity: 0; transform: translateY(-22px) scale(.985); filter: blur(6px); } }
@keyframes tela-chega { 0%, 18% { opacity: 0; transform: translateY(22px) scale(.985); filter: blur(6px); } 36%, 100% { opacity: 1; transform: none; filter: none; } }
@keyframes passo-foco { 0% { opacity: .5; } 34%, 64% { opacity: 1; } 100% { opacity: .5; } }
@keyframes barra-cresce { from { transform: scaleY(0); } }
@keyframes ponto-desliza { from { transform: translateX(-80px); } }

/* ============================== FATOR R ============================== */
.fator-grade { display: grid; gap: 48px; align-items: center; }
.fator-grade h2 { max-width: 15em; }
.fator-grade .lede { margin-top: 1.25rem; }
.fator-grade p + p { margin-top: 1rem; }
.fator-grade > div > p:not(.lede):not(.nota-legal) { color: var(--texto-2); max-width: 38em; }
.nota-legal { font-size: .875rem; color: var(--texto-3); max-width: 40em; }
.anexos { margin: 0; background: var(--superficie); border-radius: var(--raio-g); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sombra-papel); display: grid; gap: 26px; }
.anexos figcaption { font-size: .875rem; font-weight: 600; color: var(--texto-2); }
.anexo-cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.anexo-cab b { font-size: 1.125rem; }
.anexo-cab .num { font-family: var(--fonte-display); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.anexo p { margin-top: 8px; font-size: .875rem; color: var(--texto-2); }
.trilho { height: 14px; border-radius: 999px; background: var(--fundo-2); overflow: hidden; }
.barra-anexo { display: block; height: 100%; border-radius: 999px; transform-origin: left; }
.anexo-v .barra-anexo { width: 100%; background: #A8A3BC; }
.anexo-iii .barra-anexo { width: 38.7%; background: var(--violeta); }
.anexo-iii .anexo-cab .num { color: var(--violeta-texto); }
@media (min-width: 900px) { .fator-grade { grid-template-columns: 1.1fr .9fr; gap: 72px; } }

/* ============================== PREÇOS ============================== */
.tabela-precos { border-top: 1px solid var(--linha-forte); }
.linha-preco { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; padding: clamp(22px, 2vw, 30px) 0; border-bottom: 1px solid var(--linha); }
.lp-nome h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); letter-spacing: -0.022em; }
.lp-nome p { margin-top: 6px; color: var(--texto-2); max-width: 36em; font-size: 1rem; }
.lp-valor { text-align: right; white-space: nowrap; }
.lp-valor .num { display: block; font-family: var(--fonte-display); font-size: clamp(2rem, 1.6rem + 1.8vw, 3.25rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.lp-valor small { font-size: .875rem; color: var(--texto-3); }
.precos-extras { display: grid; gap: 0; padding-top: 8px; }
.precos-extras li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.precos-extras b { font-size: 1.0625rem; color: var(--violeta-texto); }
.precos-extras li > span { color: var(--texto-2); }
.precos-pe { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; align-items: center; color: var(--texto-2); }
@media (max-width: 560px) {
  .linha-preco { grid-template-columns: 1fr; }
  .lp-valor { text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .lp-valor .num { display: inline; }
  .precos-extras li { grid-template-columns: 1fr; gap: 2px; }
}

/* ============================== CAMINHOS ============================== */
.caminhos { display: grid; gap: 20px; }
.caminho { background: var(--superficie); border-radius: var(--raio-g); padding: clamp(26px, 3vw, 44px); box-shadow: var(--sombra-papel); display: flex; flex-direction: column; align-items: flex-start; }
.caminho-selo { padding: 5px 12px; border-radius: 999px; background: var(--violeta-claro); color: var(--violeta-texto); font-weight: 700; font-size: .875rem; margin-bottom: 18px; }
.caminho h3 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -0.028em; }
.caminho > p:not(.caminho-selo) { margin-top: 6px; color: var(--texto-2); }
.trilha { margin: 26px 0 30px; display: grid; gap: 0; align-content: start; counter-reset: passo; flex: 1; }
.trilha li { position: relative; display: grid; gap: 3px; align-content: start; padding: 0 0 22px 46px; counter-increment: passo; }
.trilha li::before { content: counter(passo); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: var(--superficie); box-shadow: 0 0 0 1px var(--linha-forte) inset; color: var(--texto); font-weight: 700; font-size: .875rem; z-index: 1; }
.trilha li::after { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1px; background: var(--linha-forte); transform-origin: top; }
.trilha li:last-child { padding-bottom: 0; }
.trilha li:last-child::after { content: none; }
.trilha b { font-size: 1.0625rem; letter-spacing: -0.01em; }
.trilha span { color: var(--texto-2); font-size: .9875rem; }
@media (min-width: 860px) { .caminhos { grid-template-columns: 1fr 1fr; } }

/* ============================== KATY ============================== */
.katy-grade { display: grid; gap: 40px; align-items: center; }
.katy-grade .lede { margin-top: 1.25rem; }
.katy-grade p:not(.lede) { margin-top: 1rem; color: var(--texto-2); max-width: 38em; }
.katy-grade .acoes { margin-top: 2rem; }
.cartao-katy {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 4 / 5; border-radius: 36px;
  background: radial-gradient(120% 90% at 30% 10%, #3A2A9C 0%, var(--tinta-2) 55%, var(--tinta) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  box-shadow: var(--sombra-alta);
}
.katy-iniciais { width: 128px; height: 128px; border-radius: 999px; display: grid; place-items: center; background: var(--violeta); font-family: var(--fonte-display); font-size: 3.25rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 18px; box-shadow: 0 0 0 6px rgb(255 255 255 / .08); }
.cartao-katy b { font-size: 1.5rem; letter-spacing: -0.02em; }
.cartao-katy span:last-child { color: var(--sobre-2); }
@media (min-width: 860px) { .katy-grade { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* ============================== PERGUNTAS (acordeão) ============================== */
.faq-grade { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grade { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-grade h2 { position: sticky; top: 96px; } }
.perguntas { border-top: 1px solid var(--linha-forte); }
.perguntas details { border-bottom: 1px solid var(--linha-forte); }
.perguntas summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; }
.perguntas summary::-webkit-details-marker { display: none; }
.pergunta-seta { width: 20px; height: 20px; flex: none; color: var(--texto-3); transform: rotate(90deg); transition: transform var(--mola-rapida-t) var(--mola-rapida); }
.perguntas details[open] .pergunta-seta { transform: rotate(-90deg); }
.resposta { padding: 0 0 24px; color: var(--texto-2); max-width: 40em; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .perguntas { interpolate-size: allow-keywords; }
    .perguntas details::details-content { height: 0; overflow: clip; opacity: 0; transition: height 300ms var(--ease-out), opacity 220ms ease, content-visibility 300ms allow-discrete; }
    .perguntas details[open]::details-content { height: auto; opacity: 1; }
  }
}

/* ============================== CONTATO / FICHA ============================== */
.secao-contato { background: var(--fundo-2); }
.contato-grade { display: grid; gap: 40px; align-items: start; }
.contato-lado .lede { margin-top: 1.25rem; }
.canais { margin-top: 2rem; display: grid; gap: 18px; }
.canais li { display: flex; gap: 14px; align-items: flex-start; }
.canais > li > svg { width: 22px; height: 22px; color: var(--violeta); flex: none; margin-top: 2px; }
.canais b { display: block; font-size: 1.0625rem; }
.canais span { color: var(--texto-2); font-size: .9375rem; }
.lista-sinal { margin-top: 1.5rem; display: grid; gap: 10px; align-content: start; }
.lista-sinal li { display: flex; gap: 10px; align-items: flex-start; }
.lista-sinal svg { width: 20px; height: 20px; color: var(--violeta); flex: none; margin-top: 2px; }
@media (min-width: 960px) { .contato-grade { grid-template-columns: .9fr 1.1fr; gap: 72px; } .contato-lado { position: sticky; top: 100px; } }

.ficha { background: var(--superficie); border-radius: var(--raio-g); padding: clamp(20px, 3vw, 36px); box-shadow: var(--sombra-papel); display: grid; gap: 18px; }
.ficha-topo h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.ficha-topo p { color: var(--texto-3); font-size: .9375rem; margin-top: 2px; }
/* grupo de campos no estilo lista agrupada: rótulo dentro da célula */
.grupo { border: 1px solid var(--linha-forte); border-radius: 16px; overflow: hidden; background: var(--superficie); }
.f { position: relative; border-bottom: 1px solid var(--linha); }
.grupo > .f:last-child { border-bottom: 0; }
.f label, .f-cidade label { display: block; padding: 10px 14px 0; font-size: .8125rem; font-weight: 600; color: var(--texto-2); }
.f input, .f select, .f textarea {
  display: block; width: 100%; border: 0; background: transparent; padding: 4px 14px 12px; min-height: 44px; font-size: 1.0625rem; color: var(--texto); border-radius: 0; appearance: none;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2357536C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.f textarea { min-height: 96px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: #77738C; }
.f:focus-within { background: #FAF9FF; }
.f :focus-visible { outline: none; }
.f:focus-within::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--violeta); border-radius: inherit; pointer-events: none; }
.grupo > .f:first-child:focus-within::after { border-radius: 16px 16px 0 0; }
.grupo > .f:last-child:focus-within::after { border-radius: 0 0 16px 16px; }
.f-cidade { display: grid; grid-template-columns: 1fr 92px; }
.f-cidade > div { position: relative; }
.f-cidade > div + div { border-left: 1px solid var(--linha); }
.f-cidade input, .f-cidade select { display: block; width: 100%; border: 0; background: transparent; padding: 4px 14px 12px; min-height: 44px; font-size: 1.0625rem; }
.opcional { font-weight: 400; color: var(--texto-3); }
[aria-invalid="true"] { background: #FFF4F1 !important; }
.f:has([aria-invalid="true"]) label { color: #B3381A; }

.escolhas { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.escolhas legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .9375rem; }
.escolha { position: relative; cursor: pointer; }
.escolha input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.escolha span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--linha-forte); font-size: .9375rem; font-weight: 500; line-height: 1.25; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform var(--mola-rapida-t) var(--mola-rapida); }
.escolha:active span { transform: scale(.98); transition-duration: 100ms; }
.escolha input:checked + span { background: var(--violeta-claro); border-color: var(--violeta); color: var(--violeta-texto); font-weight: 650; }
.escolha input:focus-visible + span { outline: 3px solid var(--violeta); outline-offset: 2px; }
.escolhas:has([aria-invalid="true"]) span { border-color: #D0563A; }
.consentimento { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--texto-2); cursor: pointer; }
.consentimento input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--violeta); }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 12px; font-size: .9375rem; background: var(--violeta-claro); color: var(--texto); }
.form-status[data-tipo="erro"] { background: #FFF0EC; color: #8E2B13; }
.ficha-rodape { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--texto-3); }
.ficha-rodape svg { width: 16px; height: 16px; flex: none; }
.pote-de-mel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) { .escolhas { grid-template-columns: 1fr; } }

/* ============================== RODAPÉ ============================== */
.rodape { background: var(--tinta); color: var(--sobre-2); padding-block: 64px 32px; font-size: .9375rem; }
.rodape .marca { color: #fff; }
.rodape-grade { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.rodape-sobre { grid-column: 1 / -1; max-width: 26rem; }
.rodape-sobre p { margin-top: 14px; }
.rodape h2 { font-family: var(--fonte); font-size: .8125rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.rodape ul { display: grid; gap: 8px; }
.rodape a { color: var(--sobre-2); text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8125rem; }
@media (min-width: 860px) { .rodape-grade { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .rodape-sobre { grid-column: auto; } }

.zap-fixo { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--violeta); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -12px rgb(91 61 245 / .8); transition: transform var(--mola-rapida-t) var(--mola-rapida); }
.zap-fixo svg { width: 22px; height: 22px; }
.zap-fixo[hidden] { display: none; }
.zap-fixo:active { transform: scale(.96); transition-duration: 100ms; }

/* ============================== PÁGINAS INTERNAS ============================== */
.hero-interna { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.hero-interna h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.5rem); max-width: 13em; }
.hero-interna .lede { margin-top: 1.25rem; }
.hero-interna .acoes { margin-top: 2rem; }
.ficha-protocolo { margin: 0; justify-self: center; width: 100%; max-width: 400px; background: var(--superficie); border-radius: var(--raio-g); padding: 24px; box-shadow: var(--sombra-alta); border: 1px solid rgb(21 18 43 / .05); }
.fp-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--linha); }
.fp-topo b { display: block; font-size: 1.125rem; letter-spacing: -0.015em; }
.fp-topo small { color: var(--texto-3); font-size: .8125rem; }
.fp-campos { margin: 0; }
.fp-campos div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linha); font-size: .9375rem; }
.fp-campos dt { color: var(--texto-2); }
.fp-campos dd { margin: 0; font-weight: 600; text-align: right; }
.fp-total { align-items: baseline; }
.fp-total dd { font-family: var(--fonte-display); font-size: 2rem; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.fp-status { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fp-status p { font-size: .8125rem; color: var(--texto-3); }
@media (prefers-reduced-motion: no-preference) {
  .ficha-protocolo { animation: aparelho-entra 900ms var(--ease-out) 80ms both; }
  .ficha-protocolo .selo-ok { animation-delay: 700ms; }
  .hero-interna .conteiner > div > *, .hero-interna .hero-texto > * { animation: texto-sobe 800ms var(--ease-out) both; }
  .hero-interna .hero-texto > :nth-child(2) { animation-delay: 70ms; }
  .hero-interna .hero-texto > :nth-child(3) { animation-delay: 130ms; }
  .hero-interna .hero-texto > :nth-child(4) { animation-delay: 180ms; }
}
.preco-destaque { margin-top: 1.75rem; display: flex; align-items: baseline; gap: 10px; }
.preco-destaque .num { font-family: var(--fonte-display); font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--violeta-texto); }
.preco-destaque small { color: var(--texto-2); font-size: 1rem; }

.inclusos { display: grid; gap: 0; border-top: 1px solid var(--linha-forte); }
.inclusos li { align-content: start; display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; padding: 20px 0; border-bottom: 1px solid var(--linha); }
.inclusos svg { width: 22px; height: 22px; color: var(--violeta); grid-row: span 2; margin-top: 2px; }
.inclusos b { font-size: 1.125rem; letter-spacing: -0.015em; }
.inclusos span { color: var(--texto-2); }
@media (min-width: 860px) { .inclusos { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

.passos-grade { display: grid; gap: 40px; }
@media (min-width: 900px) { .passos-grade { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.passos-grade .trilha { margin: 0; }

/* planos */
.planos { display: grid; gap: 16px; }
.plano { position: relative; background: var(--superficie); border-radius: var(--raio-g); padding: 28px; box-shadow: var(--sombra-papel); display: flex; flex-direction: column; border: 1px solid transparent; }
.plano-destaque { border-color: var(--violeta); box-shadow: 0 0 0 1px var(--violeta), var(--sombra-papel); }
.plano h3 { font-size: 1.5rem; letter-spacing: -0.022em; }
.plano h3 small { display: block; font-size: .875rem; font-weight: 600; color: var(--texto-3); letter-spacing: 0; margin-bottom: 2px; }
.plano-para { margin-top: 8px; color: var(--texto-2); font-size: .9375rem; min-height: 3em; }
.plano-preco { margin: 20px 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.plano-preco .num { font-family: var(--fonte-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plano-preco small { color: var(--texto-3); }
.plano .lista-sinal { margin: 0 0 26px; flex: 1; font-size: .9375rem; }
.plano .btn { width: 100%; white-space: nowrap; padding-inline: 1em; }
.lp-texto { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem) !important; letter-spacing: -0.02em !important; }
.simulador-aviso { margin-top: 12px; color: var(--sobre-2); font-size: .875rem; }
.plano .btn-sec { background: var(--fundo-2); color: var(--texto); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .plano .btn-sec:hover { background: #E8E6F1; } }
@media (min-width: 700px) { .planos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .planos { grid-template-columns: repeat(4, 1fr); } }

.avulsos-grade { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .avulsos-grade { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.avulsos .linha-preco .lp-valor .num { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem); }
.avulsos .lp-nome h3 { font-size: 1.1875rem; }
.simulador { background: var(--tinta); color: var(--sobre); border-radius: var(--raio-g); padding: clamp(24px, 3vw, 36px); box-shadow: var(--sombra-alta); }
.simulador h3 { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; }
.simulador > p { color: var(--sobre-2); margin-top: 6px; }
.simulador-campos { margin-top: 22px; display: grid; grid-template-columns: 1fr 92px; gap: 12px; }
.simulador label { display: block; font-size: .8125rem; font-weight: 600; color: var(--sobre-2); margin-bottom: 6px; }
.simulador select, .simulador input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .07); color: #fff; font-size: 1rem; appearance: none; }
.simulador select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23BEB6EA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 36px; }
.simulador option { color: var(--texto); background: #fff; }
.simulador-resultado { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }
.simulador output { display: block; font-family: var(--fonte-display); font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.simulador-resultado > span { color: var(--sobre-2); font-size: .9375rem; }
.simulador-detalhe { margin-top: 10px; font-size: .875rem; color: var(--sobre-2); }

/* texto longo (privacidade, termos) */
.texto-longo { max-width: 44rem; }
.texto-longo h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 2.5rem 0 .75rem; }
.texto-longo p, .texto-longo li { color: var(--texto-2); }
.texto-longo p + p { margin-top: .9rem; }
.texto-longo ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .6rem; margin-top: .75rem; }
.texto-longo strong { color: var(--texto); }
.atualizado { font-size: .875rem; color: var(--texto-3) !important; }

/* páginas simples (obrigado, 404) */
.pagina-simples { min-height: 70vh; display: grid; align-items: center; text-align: center; }
.pagina-simples .conteiner { display: grid; justify-items: center; }
.pagina-simples .lede { margin: 1.25rem auto 0; }
.pagina-simples .acoes { margin-top: 2rem; justify-content: center; }
.sinal-grande { width: 88px; height: 88px; border-radius: 999px; display: grid; place-items: center; background: var(--violeta-claro); color: var(--violeta); margin-bottom: 28px; }
.sinal-grande svg { width: 44px; height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .sinal-grande { animation: marca-entra var(--mola-t) var(--mola-viva) 120ms both; }
  .sinal-grande .traco { stroke-dasharray: 24; stroke-dashoffset: 24; animation: traco 420ms var(--ease-out) 380ms forwards; }
}
@keyframes traco { to { stroke-dashoffset: 0; } }

/* ============================== REVELAÇÃO AO ROLAR ============================== */
/* 1) Navegadores com animação por rolagem: progresso ligado à posição (sem JS). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-revelar] { animation: revela linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .barra-anexo { animation: barra-enche linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
    .trilha li::after { animation: linha-desce linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
  }
}
/* 2) Sem isso: IntersectionObserver (assets/kv.js) adiciona .visto; a animação fica pausada até lá. */
.js.sem-sda [data-revelar].ao-rolar,
.js.sem-sda .barra-anexo.ao-rolar { animation-play-state: paused; }
.js.sem-sda [data-revelar].ao-rolar.visto,
.js.sem-sda .barra-anexo.ao-rolar.visto { animation-play-state: running; }
@media (prefers-reduced-motion: no-preference) {
  .js.sem-sda [data-revelar].ao-rolar { animation: revela 700ms var(--ease-out) both; }
  .js.sem-sda .barra-anexo.ao-rolar { animation: barra-enche 900ms var(--mola) 150ms both; }
}
@keyframes revela { from { opacity: 0; transform: translateY(18px); filter: blur(5px); } }
@keyframes barra-enche { from { transform: scaleX(0); } }
@keyframes linha-desce { from { transform: scaleY(0); } }

/* ============================== TRANSIÇÃO ENTRE PÁGINAS ============================== */
@view-transition { navigation: auto; }
::view-transition-group(topo) { animation: none; }
::view-transition-old(root) { animation: vt-sai 180ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-entra 420ms var(--ease-out) both; }
@keyframes vt-sai { to { opacity: 0; filter: blur(3px); } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ============================== PREFERÊNCIAS ============================== */
@media (prefers-reduced-transparency: reduce) {
  .topo, .menu-painel { background: var(--fundo); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --texto-2: #2E2A45; --texto-3: #3F3B57; --linha: #A9A4BF; }
  .topo { background: var(--fundo); backdrop-filter: none; border-bottom-color: var(--texto); }
}
@media (forced-colors: active) {
  .btn, .escolha span, .grupo { border: 1px solid CanvasText; }
}
@media print {
  .topo, .rodape, .zap-fixo, .ficha { display: none; }
  *, *::before, *::after { animation: none !important; }
}
