/* ═══════════════════════════════════════════════════════════════════════════
   TRANQUILITY — tranquility.app.br · a página final (Direção 3, "A carta")
   ───────────────────────────────────────────────────────────────────────────
   Tokens: o :root de publicar/tranquility/estilo.css (o sistema de design do
   app), mais --ouro-texto — o ouro escurecido para TEXTO, porque o #C98F1F dá
   2,8:1 sobre creme. Newsreader só em manchetes e assinaturas; Roboto no corpo.
   Mobile-first: tudo é escrito para 390px; 720px e 1100px expandem.
   Contrastes medidos: nenhum texto abaixo de 4,5:1.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --verde: #1F6B44;
  --esmeralda: #1F8A54;
  --ouro: #C98F1F;
  --ouro-texto: #8A6212;   /* 5,39:1 sobre papel · 4,97:1 sobre creme */
  --creme: #FDF3DD;
  --papel: #FFFDF7;
  --sombreado: #F6EFDC;
  --tinta: #16211B;
  --linha: #E0D8C2;
  --corpo: #3D4C44;
  --apagado: #5F6E64;
  --borda-botao: #C7D6CB;
  --positivo: #1B7A3D;
  --negativo: #B3261E;
  --menta: #8FDCAF;
  --menta-corpo: #C2D2C7;
  --superficie-noturna: #1E2A23;
  --contorno-noturno: #3E4C44;
  --apagado-noturno: #8FA396;
  --serifa: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topo-h: 44px;
  --barra-h: 100px;
  --margem: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-bottom: calc(var(--barra-h) + env(safe-area-inset-bottom, 0px));
  background: var(--papel);
  color: var(--tinta);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
p, h1, h2, h3, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
section { scroll-margin-top: calc(var(--topo-h) + 8px); }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 9999px;
  background: var(--verde); color: var(--papel); font-weight: 500;
}
.pular:focus { top: 8px; }

/* ─── o topo: tira de calendário (celular) + navegação (desktop) ─── */
.topo {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,253,247,0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linha);
}
.topo__linha {
  display: flex; align-items: center; gap: 12px;
  height: var(--topo-h); padding: 0 var(--margem);
  max-width: 1240px; margin: 0 auto;
}
.marca { display: flex; align-items: center; gap: 9px; flex: none; color: var(--verde); }
.marca:hover { text-decoration: none; }
.marca svg { display: block; }
.marca b { font-size: 18px; font-weight: 700; letter-spacing: -0.4px; }
.topo .marca b { display: none; }
.marca em {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 1.3px;
  color: var(--apagado); margin-left: 2px; padding-left: 9px; border-left: 1px solid var(--linha);
}

.tira { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.tira__mes {
  font-family: var(--serifa); font-style: italic; font-size: 13px; color: var(--verde); white-space: nowrap;
}
.tira__dias, .tira__meses {
  flex: 1; display: flex; align-items: flex-end; justify-content: space-between; height: 14px;
}
.tira__dias span, .tira__meses span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tira__dias em, .tira__meses em {
  display: none; font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: .3px; color: var(--apagado);
}
.tira__dias i, .tira__meses i {
  display: block; width: 1px; height: 6px; background: var(--linha); border-radius: 1px;
  transform-origin: 50% 100%; transition: transform .25s ease, background-color .25s ease;
}
.tira__dias span.passou i, .tira__meses span.passou i { background: #CBBF9E; }
.tira__dias span.hoje i, .tira__meses span.hoje i { transform: scale(2, 2.33); background: var(--ouro); }
.tira__dias span.hoje em, .tira__meses span.hoje em { color: var(--ouro-texto); font-weight: 700; }
.tira__meses { display: none; }
.tira__meses em { display: block; }
.tira--ano .tira__dias { display: none; }
.tira--ano .tira__meses { display: flex; }
.tira__hoje {
  font-size: 10.5px; font-weight: 700; letter-spacing: .9px; color: var(--ouro-texto);
  white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 42px; text-align: right;
}
.nav { display: none; }

/* ─── botões ─── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 9999px;
  font-size: 17px; font-weight: 500; line-height: 1.2; text-align: center;
  background: var(--verde); color: var(--papel);
  transition: background-color .18s ease;
}
.botao:hover { background: #175134; text-decoration: none; }
.botao--vazado { background: transparent; color: var(--verde); border: 1px solid var(--borda-botao); }
.botao--vazado:hover { background: rgba(31,107,68,0.06); border-color: var(--verde); }
.botao--loja svg { flex: none; }
.botao--pequeno { min-height: 42px; padding: 0 20px; font-size: 15px; }
.acoes { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.acoes .botao { width: 100%; }
.nota-loja { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--apagado); }

/* ─── tipografia das seções ─── */
.secao { padding: 40px var(--margem); }
.secao > .miolo, .capa > .miolo, .final > .miolo { max-width: 1240px; margin: 0 auto; }
.secao--creme { background: var(--creme); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.secao--creme + .secao--creme { border-top: 0; }
.secao--tinta { background: var(--tinta); color: var(--menta-corpo); }
.rotulo {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serifa); font-style: italic; font-size: 16px; color: var(--ouro-texto);
}
.rotulo i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--ouro); flex: none; transform: translateY(-2px); }
.secao--tinta .rotulo { color: var(--menta); }
.secao--tinta .rotulo i { background: var(--menta); }
h2 {
  margin-top: 10px; font-family: var(--serifa); font-weight: 600; font-size: 32px; line-height: 1.1;
  letter-spacing: -0.4px; color: var(--verde); text-wrap: balance;
}
.secao--tinta h2 { color: var(--papel); }
.lead, .texto { margin-top: 12px; font-size: 16.5px; line-height: 1.62; color: var(--corpo); text-wrap: pretty; }
.texto + .texto { margin-top: 14px; }
.secao--tinta .lead, .secao--tinta .texto { color: var(--menta-corpo); }
.sub {
  margin-top: 28px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--apagado);
}
.miudo { font-size: 13.5px; line-height: 1.6; color: var(--apagado); }
.destaque { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--ouro); background: var(--papel);
  font-family: var(--serifa); font-size: 18px; line-height: 1.5; color: var(--tinta); text-wrap: pretty; }
.secao--creme .destaque { background: var(--papel); }

/* ─── capa ─── */
.capa { padding: 26px var(--margem) 0; }
.sobrescrito { margin-top: 22px; font-family: var(--serifa); font-style: italic; font-size: 15px; color: var(--ouro-texto); }
h1 {
  margin-top: 8px; font-family: var(--serifa); font-weight: 600; font-size: 39px; line-height: 1.06;
  letter-spacing: -0.6px; color: var(--verde); text-wrap: balance;
}
.apoio { margin-top: 16px; font-size: 16.5px; line-height: 1.62; color: var(--corpo); text-wrap: pretty; }

/* o celular Android na mão (Direção 3) */
.mao-caixa {
  margin: 26px calc(var(--margem) * -1) 0; overflow: hidden;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, #FFFDF7 0%, #FAF2DF 58%, #F3E9D1 100%);
  border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha);
}
.mao { position: relative; flex: none; width: 390px; height: 584px; overflow: hidden; }
.mao > svg { position: absolute; left: 0; top: 0; width: 390px; height: 620px; }
.mao > svg.mao-atras { z-index: 1; }
.mao > svg.mao-frente { z-index: 3; }
.mao .fone { position: absolute; z-index: 2; left: 78px; top: 8px; }
.capa figcaption { margin: 14px 0 0; font-size: 14.5px; line-height: 1.58; color: var(--apagado); }

/* a moldura genérica de Android: furo de câmera e barra de gestos */
.fone {
  --sw: 212px;
  width: calc(var(--sw) + 22px); padding: 11px; border-radius: 36px; background: #10160F;
  box-shadow: 0 0 0 1px rgba(255,253,247,0.10) inset, 0 2px 0 0 rgba(255,255,255,0.06) inset,
    0 26px 46px -22px rgba(22,33,27,0.55), 0 6px 16px -8px rgba(22,33,27,0.30);
}
.tela { position: relative; width: var(--sw); border-radius: 26px; overflow: hidden; background: var(--papel); }
.tela .camera {
  position: absolute; z-index: 3; top: 8px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #10160F; box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.barra-status {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  height: 26px; padding: 0 14px; background: var(--papel);
  font-size: 10.5px; font-weight: 500; color: var(--tinta); font-variant-numeric: tabular-nums;
}
.janela { position: relative; overflow: hidden; aspect-ratio: 540 / 1096; background: var(--papel); }
.janela img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gestos { display: flex; align-items: center; justify-content: center; height: 22px; background: var(--papel); }
.gestos span { width: 34%; height: 4px; border-radius: 9999px; background: rgba(22,33,27,0.38); }

/* a demo interativa (o módulo tem o próprio CSS; aqui só o encaixe) */
.demo { margin: 28px calc(var(--margem) * -1) 0; padding: 0 12px; }
.demo-mes { margin: 0 auto; }
.demo-mes .dm-grafico { top: calc(var(--topo-h) + 12px); }

/* a carta */
.carta { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--linha); }
.carta__rotulo { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--apagado); }
.carta p + p { margin-top: 12px; }
.carta .texto { font-size: 16px; line-height: 1.68; }
.assina {
  margin-top: 18px; display: flex; align-items: center; gap: 10px;
  font-family: var(--serifa); font-style: italic; font-size: 18px; color: var(--ouro-texto);
}
.assina::before { content: ""; width: 26px; height: 1px; background: var(--ouro); flex: none; }

/* ─── figuras com o celular ─── */
.prova { margin: 28px 0 0; display: flex; flex-direction: column; align-items: center; }
.prova .fone { position: relative; }
.prova .selo {
  position: absolute; right: 22px; bottom: 44px; z-index: 4; padding: 4px 10px; border-radius: 9999px;
  background: rgba(255,253,247,0.94); border: 1px solid var(--linha);
  font-size: 10px; font-weight: 700; letter-spacing: 1.1px; color: var(--apagado);
}
.prova figcaption { margin-top: 16px; max-width: 360px; font-size: 14.5px; line-height: 1.58; color: var(--apagado); text-align: center; }
.provas { display: grid; gap: 28px; }

/* ─── dia 5: o quadro ─── */
.quadro { margin-top: 22px; background: var(--papel); border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; }
.quadro table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quadro caption { padding: 14px 16px 0; text-align: left; font-family: var(--serifa); font-style: italic; font-size: 17px; color: var(--verde); }
.quadro th {
  padding: 12px 8px 10px 16px; border-bottom: 1px solid var(--linha); text-align: right; vertical-align: bottom;
  font-size: 9.5px; font-weight: 700; letter-spacing: 1px; color: var(--apagado);
}
.quadro th:first-child { text-align: left; }
.quadro th:last-child, .quadro td:last-child { padding-right: 16px; }
.quadro th small { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; letter-spacing: 0; color: var(--apagado); }
.quadro .col-plan { color: var(--verde); }
.quadro .col-real { color: var(--ouro-texto); }
.quadro td { padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--sombreado); font-size: 14px; text-align: right; white-space: nowrap; }
.quadro td:first-child { text-align: left; white-space: normal; }
.quadro td b { font-weight: 400; color: var(--tinta); display: flex; align-items: center; gap: 8px; }
.bolinha { width: 15px; height: 15px; border-radius: 50%; border: 1.6px solid var(--apagado); flex: none; position: relative; }
tr.paga .bolinha { border-color: var(--positivo); background: var(--positivo); }
tr.paga .bolinha::after {
  content: ""; position: absolute; left: 4px; top: 1.5px; width: 4px; height: 8px;
  border: solid var(--papel); border-width: 0 1.8px 1.8px 0; transform: rotate(42deg);
}
tr.paga td b { color: var(--apagado); text-decoration: line-through; }
.quadro td small { display: block; font-size: 11px; color: var(--apagado); }
.quadro .plan { color: var(--apagado); }
.quadro .real { font-weight: 700; color: var(--tinta); }
.quadro .real.vazio { color: var(--apagado); font-weight: 400; }
.quadro__saldo { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; background: var(--sombreado); }
.quadro__saldo span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; color: var(--apagado); }
.quadro__saldo strong { font-size: 20px; color: var(--positivo); font-variant-numeric: tabular-nums; }

.notas-col { margin-top: 18px; display: grid; gap: 14px; }
.nota-col { padding-left: 13px; border-left: 2px solid var(--linha); }
.nota-col--plan { border-left-color: var(--verde); }
.nota-col--real { border-left-color: var(--ouro); }
.nota-col b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--verde); }
.nota-col--real b { color: var(--ouro-texto); }
.nota-col p { margin-top: 5px; font-size: 15px; line-height: 1.55; color: var(--corpo); }

/* ─── dia 12: a fatura ─── */
.fatura { margin-top: 22px; background: var(--papel); border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; }
.fatura__rotulo { padding: 12px 16px; border-bottom: 1px solid var(--linha); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--apagado); }
.fatura table { width: 100%; border-collapse: collapse; }
.fatura th { padding: 10px 16px 8px; text-align: left; font-size: 9.5px; font-weight: 700; letter-spacing: 1px; color: var(--apagado); border-bottom: 1px solid var(--sombreado); }
.fatura th:nth-child(2) { text-align: right; }
.fatura td { padding: 9px 16px; border-bottom: 1px solid var(--sombreado); font-size: 13.5px; vertical-align: top; }
.fatura tr:last-child td { border-bottom: 0; }
.fatura td:first-child { font-family: ui-monospace, 'Roboto Mono', Consolas, monospace; font-size: 12.5px; letter-spacing: .2px; color: var(--tinta); }
.fatura td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fatura td:last-child { color: var(--corpo); }
.etiqueta {
  display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px;
  background: #E7F4EC; color: #14562C; font-size: 10px; font-weight: 700; letter-spacing: 1px;
}
.fez { margin-top: 24px; display: grid; gap: 14px; }
.fez li { padding-left: 14px; border-left: 2px solid var(--esmeralda); }
.fez b { display: block; font-family: var(--serifa); font-weight: 600; font-size: 19px; color: var(--verde); }
.fez p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--corpo); }

/* ─── dia 23: o fluxo ─── */
.fluxo { margin-top: 22px; background: var(--papel); border: 1px solid var(--linha); border-radius: 16px; padding: 16px 12px 14px; }
.fluxo svg { display: block; width: 100%; height: auto; overflow: visible; }
.fluxo .eixo { font-family: var(--sans); font-size: 9.5px; fill: var(--apagado); }
.fluxo .zero { stroke: #C3B694; stroke-width: 1; stroke-dasharray: 4 4; }
.fluxo .hoje { stroke: var(--ouro); stroke-width: 1; stroke-dasharray: 3 3; }
.fluxo .rot { font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .9px; fill: var(--ouro-texto); }
.fluxo .rot--neg { fill: var(--negativo); }
.fluxo .val { font-family: var(--sans); font-size: 11px; font-weight: 700; fill: var(--tinta); }
.fluxo .val--neg { fill: var(--negativo); }
.fluxo .traco { fill: none; stroke: var(--esmeralda); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease-out .1s; }
.fluxo .traco--neg { stroke: var(--negativo); transition-delay: .9s; }
.fluxo .moeda { opacity: 0; transform: translateY(-14px); transition: opacity .35s ease-out 1.5s, transform .5s cubic-bezier(.22,1,.36,1) 1.5s; }
.fluxo.ativo .traco { stroke-dashoffset: 0; }
.fluxo.ativo .moeda { opacity: 1; transform: translateY(0); }
.fluxo__tabela { margin-top: 10px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.fluxo__tabela span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .6px; color: var(--apagado); }
.fluxo__tabela strong { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--corpo); }
.fluxo__tabela .neg strong { color: var(--negativo); font-weight: 700; }
.fluxo__tabela .hoje-col strong { font-weight: 700; color: var(--tinta); }
.fluxo__legenda { margin-top: 10px; font-size: 12.5px; color: var(--apagado); line-height: 1.5; }
.ancora { margin-top: 14px; font-size: 14.5px; }
.ancora a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ─── dia 31 ─── */
.payoff { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--linha); }
.payoff b { display: block; font-family: var(--serifa); font-weight: 600; font-size: 52px; line-height: 1; letter-spacing: -1.4px; color: var(--verde); }
.payoff p { margin-top: 8px; font-family: var(--serifa); font-style: italic; font-size: 18px; color: var(--ouro-texto); }

/* ─── o ano ─── */
.ano { margin-top: 24px; display: grid; gap: 14px; }
.ano__lado { padding: 16px; border-radius: 14px; background: var(--papel); border: 1px solid var(--linha); }
.ano__lado b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.3px; color: var(--verde); }
.ano__lado b.para-mes { color: var(--ouro-texto); }
.ano__lado p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--corpo); }
.ano__lado .chave { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 9999px; border: 1px solid var(--borda-botao); font-size: 13px; font-weight: 500; color: var(--verde); background: var(--papel); }
.ano__desenho { margin: 0 -4px; max-width: 440px; }
.ano__desenho svg { display: block; width: 100%; height: auto; }
.ano__desenho .mes { fill: var(--papel); stroke: var(--linha); }
.ano__desenho .barra { fill: var(--verde); opacity: .7; }
.ano__desenho .tx { font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .6px; fill: var(--apagado); }
.ano__desenho .seta { fill: none; stroke: var(--ouro); stroke-width: 1.8; stroke-linecap: round; }
.ano__desenho .ponta { fill: var(--ouro); }

/* ─── comprovantes: a árvore ─── */
.arvore { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--papel); border: 1px solid var(--linha);
  font-family: ui-monospace, 'Roboto Mono', Consolas, monospace; font-size: 13.5px; line-height: 1.7; color: var(--tinta); }
.arvore ul { padding-left: 20px; border-left: 1px solid var(--linha); margin-left: 6px; }
.arvore > ul { padding-left: 0; border: 0; margin: 0; }
.arvore li::before { content: ""; display: inline-block; width: 12px; height: 10px; margin-right: 6px; border-radius: 2px; background: var(--ouro); opacity: .7; vertical-align: -1px; }
.arvore li.arq::before { width: 9px; height: 11px; background: var(--apagado); opacity: .45; border-radius: 1px; }
.arvore li.fechada { color: var(--apagado); }

/* ─── e tudo mais: a grade ─── */
.grade { margin-top: 22px; display: grid; gap: 12px; }
.grade li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px 14px 14px 12px; border-radius: 14px; background: var(--papel); border: 1px solid var(--linha); }
.grade svg { width: 28px; height: 28px; margin-top: 2px; stroke: var(--verde); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.grade b { display: block; font-size: 15.5px; font-weight: 500; color: var(--tinta); }
.grade p { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--corpo); }

/* ─── privacidade ─── */
.diagrama { margin: 24px -4px 0; }
.diagrama svg { width: 100%; height: auto; display: block; }
.diagrama--largo { display: none; }
.tres { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--contorno-noturno); }
.tres p { font-family: var(--serifa); font-weight: 500; font-size: 26px; line-height: 1.28; color: var(--menta); letter-spacing: -0.2px; }
.tres p + p { margin-top: 6px; }
.tres p:last-child { color: var(--papel); }
.remate { margin-top: 22px; font-size: 15.5px; line-height: 1.62; color: var(--menta-corpo); }
.tecnica { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--contorno-noturno); font-size: 13.5px; line-height: 1.6; color: var(--apagado-noturno); }
.secao--tinta a { color: var(--menta); text-decoration: underline; text-underline-offset: 3px; }
.link-politica { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 500; }

/* ─── perguntas ─── */
.faq { margin-top: 20px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; font-family: var(--serifa); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--verde); border-bottom: 2px solid var(--verde); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { color: var(--verde); }
.faq details p { padding: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--corpo); max-width: 720px; }

/* ─── preço: o app grátis, e os planos da leitura por IA ─── */
.planos h2 { font-size: 30px; }
.planos__grade { margin-top: 20px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .planos__grade { grid-template-columns: repeat(3, 1fr); } }
.plano { border: 1px solid var(--linha); border-radius: 14px; padding: 18px 18px 16px; background: var(--papel); }
.plano--destaque { border-color: var(--verde); box-shadow: 0 0 0 1px var(--verde) inset; }
.plano h3 { margin: 0; font-family: var(--serifa); font-weight: 500; font-size: 21px; color: var(--tinta); }
.plano__preco { margin: 8px 0 0; font-size: 26px; font-weight: 600; color: var(--verde); }
.plano__preco span { font-size: 15px; font-weight: 400; color: var(--corpo); }
.plano__ano { margin: 2px 0 0; font-size: 14px; color: var(--corpo); }
.plano p:last-child { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--corpo); }

/* ─── chamada final ─── */
.final { padding: 44px var(--margem) 40px; border-top: 1px solid var(--linha); }
.final h2 { margin-top: 0; font-size: 34px; }
.final .texto { max-width: 560px; }
.final .acoes { max-width: 420px; }

/* ─── rodapé ─── */
.rodape { padding: 30px var(--margem) 32px; border-top: 1px solid var(--linha); background: var(--sombreado); }
.rodape .miolo { max-width: 1240px; margin: 0 auto; }
.rodape__marca { display: flex; flex-direction: column; gap: 6px; }
.rodape__marca .marca b { font-size: 17px; }
.rodape__marca em { font-family: var(--serifa); font-style: italic; font-size: 15px; color: var(--ouro-texto); }
.rodape__linha { margin-top: 12px; font-size: 14px; color: var(--corpo); }
.rodape__colunas { margin-top: 24px; display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.rodape__colunas b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--apagado); margin-bottom: 8px; }
.rodape__colunas li { font-size: 14.5px; line-height: 1.5; margin-top: 4px; color: var(--corpo); }
.rodape__colunas a { color: var(--verde); }
.rodape__fim { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--linha); font-size: 12.5px; color: var(--apagado); }

/* ─── barra fixa do celular ─── */
.barra-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--margem) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,253,247,0.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--linha);
  box-shadow: 0 -10px 24px -18px rgba(22,33,27,0.5);
}
.barra-fixa .botao { width: 100%; min-height: 50px; }
.barra-fixa .nota-loja { margin-top: 7px; font-size: 11.5px; }

/* ═══ 720px: tablet e celular deitado ═══ */
@media (min-width: 720px) {
  :root { --margem: 40px; --topo-h: 56px; }
  body { padding-bottom: 0; font-size: 17px; }
  .barra-fixa { display: none; }
  .topo .marca b { display: inline; }
  .topo__linha { gap: 24px; }
  .tira__mes { font-size: 15px; }
  .tira__dias, .tira__meses { height: 26px; }
  .tira__dias em { display: block; }
  .tira__dias span:not(.marcado) em { visibility: hidden; }
  .tira__dias i, .tira__meses i { height: 7px; }
  .tira__dias span.hoje i, .tira__meses span.hoje i { height: 16px; }
  .nav { display: flex; align-items: center; gap: 22px; flex: none; }
  .nav a:not(.botao) { display: none; font-size: 15px; font-weight: 500; color: var(--verde); }
  .acoes { flex-direction: row; align-items: center; }
  .acoes .botao { width: auto; }
  .nota-loja { text-align: left; }
  .secao { padding: 64px var(--margem); }
  h1 { font-size: 54px; letter-spacing: -1px; }
  h2 { font-size: 42px; letter-spacing: -0.8px; }
  .lead, .texto { max-width: 640px; font-size: 18px; }
  .apoio { max-width: 520px; font-size: 18px; }
  .capa { padding-top: 40px; }
  .capa__grade { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
  .mao-caixa { margin: 0; border-radius: 22px; border: 1px solid var(--linha); }
  .capa figcaption { text-align: center; max-width: 390px; margin-left: auto; margin-right: auto; }
  .demo { margin: 40px 0 0; padding: 0; }
  .carta { max-width: 560px; }
  .notas-col { grid-template-columns: 1fr 1fr; gap: 28px; }
  .par { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
  .par .prova { margin-top: 22px; }
  .provas { grid-template-columns: 1fr 1fr; }
  .prova .fone { --sw: 240px; }
  .quadro td, .fatura td { font-size: 15px; }
  .fez { grid-template-columns: 1fr 1fr; gap: 22px 32px; }
  .fluxo { padding: 22px 20px 18px; }
  .fluxo__tabela span { font-size: 10.5px; }
  .fluxo__tabela strong { font-size: 13px; }
  .ano { grid-template-columns: 1fr 1fr; }
  .ano__desenho { grid-column: 1 / -1; margin: 0; }
  .grade { grid-template-columns: 1fr 1fr; }
  .diagrama--estreito { display: none; }
  .diagrama--largo { display: block; max-width: 1040px; margin-left: auto; margin-right: auto; }
  .fecho { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--contorno-noturno); }
  .fecho .tres { margin-top: 0; padding-top: 0; border-top: 0; }
  .fecho .remate { margin-top: 0; }
  .tres p { font-size: 36px; }
  .payoff b { font-size: 84px; letter-spacing: -2.4px; }
  .final { padding: 72px var(--margem); }
  .final h2 { font-size: 44px; }
  .rodape__colunas { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 700px; }
  .rodape__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
}

/* ═══ 1100px: o monitor ═══ */
@media (min-width: 1100px) {
  :root { --margem: 64px; }
  .topo__linha { gap: 36px; }
  .nav { gap: 26px; }
  .nav a:not(.botao) { display: inline; }
  .tira { max-width: 520px; }
  h1 { font-size: 64px; letter-spacing: -1.3px; }
  h2 { font-size: 50px; letter-spacing: -1px; }
  .secao { padding: 80px var(--margem); }
  .capa { padding-top: 56px; }
  .capa__grade { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .capa__texto { padding-right: 24px; }
  .mao-caixa { padding: 24px 0 0; }
  .mao { transform: scale(1.18); transform-origin: top center; margin-bottom: 105px; }
  .demo { margin-top: 56px; }
  .par { grid-template-columns: 1fr 340px; gap: 72px; }
  .prova .fone { --sw: 260px; }
  .provas { max-width: 900px; }
  .tres p { font-size: 42px; }
  .grade { grid-template-columns: repeat(4, 1fr); }
  .lado-a-lado { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .lado-a-lado > * { margin-top: 0; }
  .lado-a-lado .quadro, .lado-a-lado .fluxo, .lado-a-lado .fatura { margin-top: 24px; }
  .final__grade { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
  .final .acoes { margin-top: 0; }
}

/* ─── quem pediu menos movimento: tudo vira estado final ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tira__dias i, .tira__meses i, .botao, .faq summary::after { transition: none; }
  .fluxo .traco { transition: none; stroke-dashoffset: 0; }
  .fluxo .moeda { transition: none; opacity: 1; transform: none; }
}
