/* DOMUS — página de apresentação. Faixas de azulejo azul (as do programa) alternadas com páginas claras de «livro de contas». */
@font-face { font-family: Newsreader; src: url(fontes/newsreader.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(fontes/public-sans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --noite: #0b1650; --azul: #1d3a8f; --ardosia: #8a9bad; --tinta: #141c3a; --suave: #515d7c; --fundo: #f4f6f9; --papel: #fff; --risco: #d5dce8; --ocre: #e2a53a;
  --titulo: Newsreader, Georgia, "Times New Roman", serif; --texto: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='white' stroke-width='1.3'%3E%3Crect x='.5' y='.5' width='71' height='71'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3Ccircle cx='36' cy='36' r='3'/%3E%3Cpath d='M36 5c7 9 7 17 0 22-7-5-7-13 0-22zM36 67c7-9 7-17 0-22-7 5-7 13 0 22zM5 36c9-7 17-7 22 0-5 7-13 7-22 0zM67 36c-9-7-17-7-22 0 5 7 13 7 22 0z'/%3E%3Cpath d='M0 14A14 14 0 0 0 14 0M58 0a14 14 0 0 0 14 14M72 58a14 14 0 0 0-14 14M14 72A14 14 0 0 0 0 58'/%3E%3C/svg%3E");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--tinta); font: 400 1.0625rem/1.6 var(--texto); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; border-radius: 4px; }
section { scroll-margin-top: 1rem; }
.larg { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.bloco { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.saltar { position: absolute; left: -999px; } .saltar:focus { left: 1rem; top: 1rem; z-index: 9; background: #fff; padding: .6rem 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
h1, h2, h3 { font-family: var(--titulo); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 22ch; }
h3 { font-size: 1.5rem; }
.lead { font-size: 1.2rem; line-height: 1.55; max-width: 52ch; }
.intro { color: var(--suave); max-width: 60ch; margin: 1rem 0 0; font-size: 1.125rem; }
.miudo { font-size: .9rem; color: var(--suave); }

.bt { display: inline-block; padding: .8rem 1.4rem; border-radius: 8px; font-weight: 600; font-size: 1rem; line-height: 1.25; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, border-color .15s; }
.bt-cheio { background: var(--ocre); color: #1b1503; } .bt-cheio:hover { background: #f0b950; }
.bt-linha { border-color: rgba(255, 255, 255, .45); color: #fff; } .bt-linha:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.bt-azul { background: var(--azul); color: #fff; } .bt-azul:hover { background: var(--noite); }

/* faixas de azulejo */
.noite { background: var(--noite); color: #e7ecf7; position: relative; isolation: isolate; }
.noite h1, .noite h2 { color: #fff; }
.noite .miudo { color: #b3bfd6; }
.azulejo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--azulejo); opacity: .1; mask-image: linear-gradient(100deg, transparent 22%, #000 75%); -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 75%); }

.topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; }
.marca { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font: 700 1.45rem/1 Georgia, "Times New Roman", serif; letter-spacing: .16em; }
.marca svg { width: 42px; height: auto; }
.topo nav { display: flex; align-items: center; gap: 1.7rem; }
.topo nav a { color: #dbe2f2; text-decoration: none; font-size: .98rem; } .topo nav a:not(.bt):hover { color: #fff; text-decoration: underline; text-underline-offset: .35em; }
.topo nav .bt { padding: .55rem 1.1rem; color: #fff; }

.abre { padding-top: clamp(2rem, 5vw, 4.2rem); }
.abre-texto { max-width: 62rem; } .abre h1 span { display: block; }
.abre .lead { margin: 1.4rem 0 0; color: #ccd6ea; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.abre-imagem { position: relative; margin-top: clamp(2.4rem, 5vw, 4rem); padding-right: clamp(2.4rem, 9vw, 7rem); margin-bottom: -5.5rem; }
.ecra { width: 100%; border-radius: 12px; box-shadow: 0 30px 70px -18px rgba(3, 8, 34, .75), 0 0 0 1px rgba(255, 255, 255, .14); }
.tlm { position: absolute; right: 0; bottom: -2.2rem; width: clamp(96px, 20%, 220px); border-radius: clamp(14px, 2.2vw, 26px); border: clamp(4px, .6vw, 7px) solid #060c30; box-shadow: 0 24px 50px -10px rgba(3, 8, 34, .7), 0 0 0 1px rgba(255, 255, 255, .25); }
.nota-img { position: absolute; left: 0; right: 0; bottom: -8.4rem; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); font-size: .85rem; color: var(--suave); }

/* o ano: uma linha de contas com cinco lançamentos */
.ano { padding-top: 15rem; }
.linha { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 1.6rem; border-top: 2px solid var(--noite); }
.linha li { position: relative; padding-top: 1.6rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.linha li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; background: var(--ocre); border: 2px solid var(--noite); transform: rotate(45deg) scale(.8); }
.linha b { font: 600 1.15rem/1.2 var(--titulo); color: var(--noite); }
.linha span { font-size: .97rem; line-height: 1.5; color: var(--suave); }

.par { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; padding-top: 0; }
.par.inverso { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.par-texto p { color: var(--suave); margin: 1.1rem 0 0; }
.recorte { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px -20px rgba(11, 22, 80, .4), 0 0 0 1px var(--risco); position: relative; }
.recorte img { position: absolute; max-width: none; }
.r-hoje { aspect-ratio: 1560 / 490; } .r-hoje img { width: 128.2%; left: -24.8%; top: -114%; }
.r-analise { aspect-ratio: 1550 / 598; } .r-analise img { width: 129%; left: -25.1%; top: -104.4%; }

.funcoes { background: var(--papel); border-block: 1px solid var(--risco); }
.quatro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 5rem); margin-top: 3rem; }
.quatro h3 { padding-bottom: .7rem; border-bottom: 2px solid var(--noite); color: var(--noite); }
.quatro ul { list-style: none; margin: 0; padding: 0; }
.quatro li { padding: .72rem 0; border-bottom: 1px solid var(--risco); line-height: 1.45; }
.funcoes .miudo { margin: 2rem 0 0; }

.condominos { overflow: hidden; }
.dupla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.condominos .dupla { padding-top: clamp(3.5rem, 8vw, 6rem); }
.condominos .dupla > div:first-child { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.condominos .lead { color: #ccd6ea; margin: 1.2rem 0 0; }
.certos { list-style: none; padding: 0; margin: 1.8rem 0; }
.certos li { padding: .6rem 0 .6rem 1.9rem; position: relative; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.certos li::before { content: ""; position: absolute; left: .2rem; top: 1.12rem; width: 11px; height: 6px; border: solid var(--ocre); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.telefones { display: flex; justify-content: center; gap: 1.4rem; align-self: end; max-height: 600px; }
.telefones img { width: min(46%, 262px); height: auto; align-self: flex-start; border-radius: 26px; border: 7px solid #060c30; box-shadow: 0 24px 50px -10px rgba(3, 8, 34, .7), 0 0 0 1px rgba(255, 255, 255, .25); }
.telefones img + img { margin-top: 4rem; }

.tabela { overflow-x: auto; margin-top: 2.5rem; }
table { width: 100%; min-width: 46rem; border-collapse: collapse; text-align: left; }
thead th { font: 600 1.25rem/1.2 var(--titulo); color: var(--noite); padding: 0 1.2rem .8rem; border-bottom: 2px solid var(--noite); }
tbody th { font-weight: 600; width: 22%; } tbody th, tbody td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--risco); vertical-align: top; line-height: 1.45; }
tr > :first-child { padding-left: 0; }
tbody td { color: var(--suave); }

.edicoes { background: #e8edf6; }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.6rem; background: var(--papel); border-radius: 14px; box-shadow: 0 0 0 1px var(--risco); }
.tres article { padding: clamp(1.5rem, 3vw, 2.4rem); } .tres article + article { border-left: 1px solid var(--risco); }
.tres h3 { color: var(--noite); font-size: 1.75rem; }
.para { color: var(--suave); margin: .6rem 0 1.2rem; min-height: 3.2em; }
.tres ul { list-style: none; margin: 0; padding: 0; } .tres li { padding: .62rem 0; border-top: 1px solid var(--risco); line-height: 1.4; font-size: 1rem; }
.centro { text-align: center; margin: 2.4rem 0 0; }

.seg dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem clamp(1.6rem, 4vw, 3.4rem); margin: 3rem 0 0; }
.seg dt { font: 600 1.25rem/1.25 var(--titulo); color: var(--noite); } .seg dd { margin: .5rem 0 0; color: var(--suave); }

.perg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); padding-top: 0; }
details { border-bottom: 1px solid var(--risco); } details:first-child { border-top: 2px solid var(--noite); }
summary { cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 600; position: relative; list-style: none; } summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .4rem; top: .75rem; font: 400 1.6rem/1.3 var(--texto); color: var(--azul); } details[open] summary::after { content: "−"; }
details p { margin: 0 0 1.3rem; color: var(--suave); max-width: 62ch; }

.fim .dupla { align-items: start; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.fim p { color: #ccd6ea; } .fim h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.fim label { display: block; font-weight: 600; margin: 1.4rem 0 .4rem; color: #fff; }
.campo { display: flex; align-items: center; background: #fff; border-radius: 8px; max-width: 30rem; margin-bottom: 1rem; overflow: hidden; }
.campo:focus-within { outline: 3px solid var(--ocre); outline-offset: 2px; }
.campo input { flex: 1; min-width: 0; border: 0; padding: .85rem 0 .85rem 1rem; font: 500 1.05rem var(--texto); color: var(--tinta); background: none; outline: none; }
.campo span { padding: .85rem 1rem .85rem .2rem; color: var(--suave); white-space: nowrap; }
#aviso { min-height: 1.6em; margin: .9rem 0 0; } #aviso a { color: #fff; }

footer { background: #070e36; color: #b3bfd6; font-size: .92rem; }
footer .larg { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding-block: 1.5rem; } footer p { margin: 0; } footer a { color: #fff; }

@media (max-width: 900px) {
  .topo nav a:not(.bt) { display: none; }
  .linha { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--noite); padding-left: 1.6rem; gap: 1.6rem; }
  .linha li { padding-top: 0; } .linha li::before { left: calc(-1.6rem - 9px); top: 4px; }
  .par, .par.inverso, .dupla, .perg { grid-template-columns: minmax(0, 1fr); }
  .par.inverso figure { order: 2; }
  .seg dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tres { grid-template-columns: minmax(0, 1fr); } .tres article + article { border-left: 0; border-top: 1px solid var(--risco); } .para { min-height: 0; }
  .condominos .dupla > div:first-child { padding-bottom: 0; }
}
@media (max-width: 620px) {
  .quatro, .seg dl { grid-template-columns: minmax(0, 1fr); }
  .abre-imagem { padding-right: 0; margin-bottom: -4rem; }
  .ecra { width: 150%; max-width: none; }
  .tlm { width: 118px; right: 0; bottom: -2.6rem; }
  .nota-img { bottom: -7.4rem; }
  .ano { padding-top: 13.5rem; }
  .r-hoje { aspect-ratio: 1000 / 490; } .r-hoje img { width: 200%; left: -38.5%; top: -114%; }
table { min-width: 0; } thead { display: none; } table, tbody, tr, th, td { display: block; } tbody th { width: auto; }
  tbody th, tbody td { padding: 0; border: 0; } tbody tr { padding: 1rem 0; border-bottom: 1px solid var(--risco); } tbody tr:first-child { border-top: 2px solid var(--noite); }
  tbody th { font: 600 1.2rem/1.3 var(--titulo); color: var(--noite); margin-bottom: .4rem; }
  tbody td { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); padding: .22rem 0; } tbody td::before { content: attr(data-l); font-weight: 600; color: var(--tinta); }
  .telefones { max-height: 400px; gap: .8rem; } .telefones img { border-width: 5px; border-radius: 20px; width: 48%; }
  .bt { text-align: center; } .acoes .bt { flex: 1 1 100%; }
  .campo span { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
