:root {
    --navy: #0b1f3a;
    --ink: #1b2a41;
    --gold: #f5b025;
    --gold-dark: #94650a;
    --gold-soft: #c9a14a;
    --paper: #fbf8f1;
    --paper-2: #f3eee2;
    --white: #fffdf8;
    --muted: #5d6675;
    --line: #e3dccd;
    --verde: #1f6b45;
    --serif: 'Merriweather', Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

header { background: var(--navy); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 62px; }
.logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.5px; }
.logo img { width: 34px; height: 34px; object-fit: contain; }
.logo b { color: var(--gold); font-weight: 800; }
.desktop-menu { display: flex; align-items: center; gap: 1.6rem; }
.desktop-menu a { color: #cfd6e1; font-size: 0.86rem; font-weight: 500; }
.desktop-menu a:hover { color: #fff; }
.desktop-menu a.destaque { color: var(--navy); background: var(--gold); font-weight: 800; padding: 0.42rem 0.95rem; border-radius: 5px; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.mobile-menu { display: none; background: var(--navy); padding: 0.5rem 1.25rem 1rem; }
.mobile-menu a { display: block; padding: 0.6rem 0; color: #cfd6e1; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-menu.active { display: block; }

.trilha { font-size: 0.8rem; color: var(--muted); padding-top: 1.4rem; }
.trilha ol { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.trilha li + li::before { content: "/"; margin-right: 0.35rem; color: #a6a9b0; }
.trilha a { color: var(--gold-dark); font-weight: 600; }

.olho { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.8rem; }
.titulo { font-family: var(--serif); font-weight: 900; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; color: var(--navy); letter-spacing: -0.4px; }
.texto { color: var(--muted); font-size: 1.02rem; max-width: 40rem; margin-top: 0.9rem; }
.secao { padding: 4.6rem 0; }
.secao.branca { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.heroi { padding: 2.2rem 0 4rem; }
.heroi-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.heroi h1 { font-family: var(--serif); font-weight: 900; color: var(--navy); line-height: 1.05; }
.heroi h1 .grande { display: block; font-size: clamp(2.5rem, 6.2vw, 4.4rem); letter-spacing: -1.5px; }
.heroi h1 .grande::after { content: ""; display: block; width: 76px; height: 3px; background: var(--gold); margin-top: 1.2rem; }
.heroi h1 .sub { display: block; font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; margin-top: 1rem; }
.heroi h1 .sub i { font-style: normal; color: var(--gold-dark); }
.heroi .lead { font-size: 1.05rem; color: var(--muted); max-width: 34rem; margin-top: 1.1rem; }
.heroi .aka { font-size: 0.92rem; color: var(--ink); margin-top: 0.8rem; }
.heroi-acao { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin-top: 1.9rem; }
.btn-comprar { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 1rem; padding: 0.95rem 1.7rem; border-radius: 6px; min-height: 52px; white-space: nowrap; box-shadow: 0 3px 0 var(--gold-dark); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-comprar:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--gold-dark); }
.btn-comprar:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gold-dark); }
.btn-comprar .preco { padding-left: 0.7rem; border-left: 1px solid rgba(11,31,58,0.3); font-weight: 700; }
.mini-nota { font-size: 0.86rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.45rem; }
.mini-nota i { color: var(--gold-dark); }
.capa { justify-self: center; width: 100%; max-width: 330px; }
.capa img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(11,31,58,0.55), 14px 14px 0 var(--paper-2); }

.numeros-faixa { background: var(--navy); color: #fff; padding: 2.6rem 0; }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.numeros li { padding: 0.3rem 1rem; }
.numeros li + li { border-left: 1px solid rgba(255,255,255,0.16); }
.numeros b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.numeros span { display: block; margin-top: 0.6rem; font-size: 0.92rem; color: rgba(255,255,255,0.78); }

.duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.4rem; align-items: start; }
.vem li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--line); font-size: 0.97rem; }
.vem li:last-child { border-bottom: 1px solid var(--line); }
.vem li i { position: absolute; left: 0.2rem; top: 1.15rem; font-size: 0.85rem; color: var(--gold-dark); }
.arts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.arts li { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 0.25rem 0.7rem; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.nota-arts { font-size: 0.86rem; color: var(--muted); margin-top: 0.8rem; }

.exemplo { margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 6px; padding: 1.6rem 1.7rem; max-width: 820px; }
.exemplo .num-q { font-size: 0.74rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-dark); }
.exemplo .enunciado { margin-top: 0.6rem; color: var(--ink); font-size: 1rem; }
.exemplo ol.alts { margin-top: 1rem; }
.exemplo ol.alts li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: 0.45rem 0; font-size: 0.96rem; border-top: 1px dashed var(--line); }
.exemplo ol.alts li b { color: var(--navy); }
.exemplo details { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.exemplo summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.exemplo summary::-webkit-details-marker { display: none; }
.exemplo summary i { color: var(--gold-dark); font-size: 0.8rem; transition: transform 0.2s ease; }
.exemplo details[open] summary i { transform: rotate(180deg); }
.exemplo .coment li { padding: 0.55rem 0; font-size: 0.93rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.exemplo .coment li b { color: var(--navy); }
.exemplo .coment li.certa b { color: var(--verde); }
.exemplo .gab-final { margin-top: 0.9rem; font-weight: 800; color: var(--verde); }

.matricula-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 4rem; align-items: center; margin-top: 2.4rem; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 6px; padding: 2.4rem 2rem 1.8rem; text-align: center; box-shadow: 0 30px 60px -40px rgba(11,31,58,0.55); }
.price-card h3 { font-family: var(--serif); font-weight: 900; font-size: 1.2rem; color: var(--navy); line-height: 1.3; }
.price-card .sub-card { font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }
.price-tag { display: flex; justify-content: center; align-items: flex-start; gap: 0.25rem; font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 3.6rem; line-height: 1; margin: 1.3rem 0 0.3rem; }
.price-tag small { font-size: 1.1rem; margin-top: 0.55rem; }
.price-tag sup { font-size: 1.4rem; margin-top: 0.4rem; }
.pag-unico { font-size: 0.82rem; color: var(--muted); }
.benefits-list { text-align: left; margin: 1.5rem 0 1.4rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.benefits-list li { position: relative; padding: 0.42rem 0 0.42rem 28px; font-size: 0.93rem; line-height: 1.45; }
.benefits-list li > i { position: absolute; left: 1px; top: 0.64rem; width: 16px; text-align: center; color: var(--gold-dark); font-size: 0.85rem; }
.btn-matricula { display: flex; width: 100%; align-items: center; justify-content: center; gap: 0.6rem; background: var(--gold); color: var(--navy); font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; font-size: 0.96rem; padding: 1rem; border-radius: 6px; min-height: 56px; box-shadow: 0 3px 0 var(--gold-dark); }
.pag { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8rem; color: var(--muted); margin-top: 1.1rem; }
.pag span { display: inline-flex; align-items: center; gap: 0.35rem; }
.garantias li { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.garantias li:last-child { border-bottom: 1px solid var(--line); }
.garantias strong { display: block; font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 1.08rem; }
.garantias small { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; }

.faq { max-width: 780px; margin-top: 2rem; }
details.recolhe { border-bottom: 1px solid var(--line); }
details.recolhe:first-child { border-top: 1px solid var(--line); }
details.recolhe > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.7rem; padding: 1.05rem 0.2rem; font-weight: 700; font-size: 0.98rem; color: var(--navy); }
details.recolhe > summary::-webkit-details-marker { display: none; }
details.recolhe > summary .seta { margin-left: auto; color: var(--gold-dark); font-size: 0.8rem; transition: transform 0.2s ease; }
details.recolhe[open] > summary .seta { transform: rotate(180deg); }
details.recolhe .corpo { padding: 0 0.2rem 1.15rem; color: var(--muted); font-size: 0.93rem; }
details.recolhe .corpo a { color: var(--gold-dark); font-weight: 700; border-bottom: 1px solid var(--gold-soft); }

.relacionados { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.rel { display: flex; flex-direction: column; gap: 0.3rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 4px; padding: 1.2rem 1.2rem 1.1rem; transition: border-color 0.15s ease, transform 0.15s ease; }
.rel:hover { border-top-color: var(--gold); transform: translateY(-2px); }
.rel strong { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 1.08rem; }
.rel small { color: var(--muted); font-size: 0.86rem; }
.rel .ir { margin-top: 0.5rem; font-size: 0.84rem; font-weight: 800; color: var(--gold-dark); }
.ver-todos { margin-top: 1.6rem; }
.ver-todos a { color: var(--gold-dark); font-weight: 800; border-bottom: 1px solid var(--gold-soft); }

.loja-topo { padding: 2.2rem 0 1.6rem; }
.loja-topo h1 { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; letter-spacing: -1px; }
.loja-topo .lead { color: var(--muted); font-size: 1.05rem; max-width: 44rem; margin-top: 1rem; }
.selos { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.2rem; font-size: 0.9rem; color: var(--ink); }
.selos span { display: inline-flex; align-items: center; gap: 0.45rem; }
.selos i { color: var(--gold-dark); }
.ferramentas { position: sticky; top: 62px; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.busca { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 0.9rem; min-height: 48px; }
.busca i { color: var(--muted); }
.busca input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 0.7rem 0; }
.busca:focus-within { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(245,176,37,0.25); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }
.chip { font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.85rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.conta { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
.grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; padding: 1.8rem 0 3.6rem; }
.card-lei { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card-lei:hover { box-shadow: 0 22px 40px -30px rgba(11,31,58,0.6); transform: translateY(-2px); }
.card-lei .thumb { display: block; background: var(--paper-2); padding: 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.card-lei .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 679; object-fit: cover; object-position: top; border-radius: 3px 3px 0 0; box-shadow: 0 -2px 14px -6px rgba(11,31,58,0.35); }
.card-lei .info { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1rem 1.1rem; flex: 1; }
.card-lei .cat { font-size: 0.68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); }
.card-lei h2 { font-family: var(--serif); font-weight: 900; font-size: 1.12rem; line-height: 1.25; color: var(--navy); }
.card-lei h2 small { display: block; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-top: 0.2rem; }
.card-lei .det { font-size: 0.82rem; color: var(--muted); }
.card-lei .rodape-card { margin-top: auto; padding-top: 0.8rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.card-lei .valor { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 1.25rem; }
.card-lei .acoes { display: flex; gap: 0.5rem; width: 100%; }
.card-lei .acoes a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 5px; font-weight: 800; font-size: 0.88rem; }
.card-lei .ver { border: 1px solid var(--line); color: var(--navy); }
.card-lei .comprar { background: var(--gold); color: var(--navy); box-shadow: 0 2px 0 var(--gold-dark); }
.sem-resultado { padding: 2rem 0 4rem; color: var(--muted); }
.sem-resultado button { font: inherit; font-weight: 800; color: var(--gold-dark); background: none; border: none; border-bottom: 1px solid var(--gold-soft); cursor: pointer; padding: 0; }
.passos3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem; margin-top: 2.2rem; }
.passos3 li { border-top: 2px solid var(--navy); padding-top: 1.2rem; }
.passos3 .n { display: block; font-family: var(--serif); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--navy); }
.passos3 strong { display: block; margin-top: 0.8rem; color: var(--navy); font-size: 1.03rem; }
.passos3 p { color: var(--muted); font-size: 0.94rem; margin-top: 0.3rem; }
.lista-leis { columns: 2; column-gap: 2.4rem; margin-top: 1.6rem; max-width: 900px; }
.lista-leis li { break-inside: avoid; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.lista-leis a { color: var(--navy); font-weight: 600; }
.lista-leis span { color: var(--muted); }

footer { background: var(--navy); color: #aeb8c8; padding: 2.4rem 0; font-size: 0.82rem; }
footer .footer-logo { display: flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 800; margin-bottom: 0.7rem; }
footer .footer-logo img { width: 30px; height: 30px; }
footer .footer-logo b { color: var(--gold); }
footer .copyright-line { margin-top: 0.8rem; opacity: 0.75; }

.barra-compra { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -22px rgba(11,31,58,0.55); padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); align-items: center; gap: 0.8rem; transform: translateY(110%); transition: transform 0.25s ease; }
.barra-compra.on { transform: none; }
.barra-compra .bc-txt { flex: 1; min-width: 0; line-height: 1.25; }
.barra-compra .bc-txt b { display: block; font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 1.15rem; }
.barra-compra .bc-txt small { display: block; font-size: 0.74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-compra .btn-comprar { min-height: 46px; padding: 0.65rem 1.2rem; font-size: 0.95rem; }

@media (max-width: 1020px) {
    .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .heroi-grid, .duas { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .capa { max-width: 260px; }
    .matricula-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; gap: 2.4rem; }
    .relacionados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .desktop-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
    .card-lei .thumb { padding: 0.7rem 0.7rem 0; }
    .card-lei .info { padding: 0.8rem 0.75rem 0.9rem; }
    .card-lei h2 { font-size: 1rem; }
    .card-lei h2 small { font-size: 0.84rem; }
    .card-lei .acoes { flex-direction: column; }
    .secao { padding: 3.4rem 0; }
    .heroi { padding: 1.6rem 0 3rem; }
    .heroi-acao .btn-comprar { width: 100%; }
    .numeros li { padding: 0.2rem 0.4rem; }
    .numeros span { font-size: 0.76rem; line-height: 1.35; }
    .exemplo { padding: 1.2rem 1rem; }
    .passos3 { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
    .lista-leis { columns: 1; }
    .price-card { padding: 2.2rem 1.2rem 1.5rem; }
    .price-tag { font-size: 3.2rem; }
    .barra-compra { display: flex; }
    body.com-barra { padding-bottom: 72px; }
    .ferramentas { top: 62px; }
}
@media (max-width: 520px) {
    .relacionados { grid-template-columns: minmax(0, 1fr); }
    .btn-comprar { white-space: normal; text-align: center; }
}
@media (max-width: 360px) {
    .grade { grid-template-columns: minmax(0, 1fr); }
    .card-lei { flex-direction: row; }
    .card-lei .thumb { width: 38%; flex: none; padding: 0.6rem; border-bottom: none; border-right: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-comprar, .card-lei, .rel, .barra-compra { transition: none; }
}
