:root {
  --papel: #f4f1ea;
  --papel2: #ebe6db;
  --tinta: #121212;
  --cinza: #55524c;
  --fio: #1212121f;
  --ouro: #e3a21a;
  --ouro-claro: #f6d98c;
  --display: "Libre Caslon Display", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Libre Franklin", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--papel); color: var(--tinta); font-family: var(--serif); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h2, h3 { font-family: var(--sans); font-weight: 900; letter-spacing: -.025em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
section { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
.chapeu { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9a6a00; margin-bottom: .7rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.5rem; background: var(--tinta); color: var(--papel); text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: .92rem; border: 0; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; box-shadow: 4px 4px 0 var(--ouro); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ouro); }
.btn-mini { padding: .5rem .95rem; font-size: .8rem; box-shadow: none; background: var(--ouro); color: var(--tinta); }
.btn-mini:hover { box-shadow: none; transform: none; background: var(--ouro-claro); }
.btn-ouro { background: var(--ouro); color: var(--tinta); box-shadow: 4px 4px 0 var(--papel); }
.btn-ouro:hover { box-shadow: 6px 6px 0 var(--papel); }
.link { font-family: var(--sans); font-weight: 700; font-size: .9rem; text-decoration: none; border-bottom: 2px solid var(--ouro); padding-bottom: 1px; }
.marca-texto { background: linear-gradient(transparent 58%, var(--ouro-claro) 58%, var(--ouro-claro) 92%, transparent 92%); padding: 0 .08em; }

/* barra fixa */
.barra { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 2rem; padding: .7rem clamp(1.25rem, 5vw, 4rem); background: var(--tinta); color: var(--papel); }
.barra-nome { font-family: var(--sans); font-weight: 800; font-size: .95rem; text-decoration: none; }
.barra-nome span { font-weight: 400; opacity: .6; }
.barra nav { display: flex; gap: 1.5rem; margin-left: auto; }
.barra nav a { font-family: var(--sans); font-size: .84rem; text-decoration: none; opacity: .75; }
.barra nav a:hover { opacity: 1; color: var(--ouro); }

/* capa */
.capa { padding-top: clamp(1.8rem, 4vw, 3rem); max-width: 1320px; margin: 0 auto; }
.cabeca { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding-bottom: 1rem; }
.cabeca-lado { font-family: var(--sans); font-size: .76rem; line-height: 1.4; color: var(--cinza); border: 1px solid var(--fio); padding: .5rem .8rem; justify-self: start; }
.cabeca-lado b { color: var(--tinta); }
.cabeca-lado.dir { justify-self: end; text-align: right; }
.titulo-jornal { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7.6vw, 6.4rem); line-height: .95; letter-spacing: -.01em; text-align: center; white-space: nowrap; }
.fio-duplo { border-top: 3px solid var(--tinta); border-bottom: 1px solid var(--tinta); height: 7px; }
.linha-edicao { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.6rem; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .7rem 0; border-bottom: 1px solid var(--tinta); margin-bottom: clamp(2rem, 4vw, 3rem); }
.linha-edicao span + span::before { content: "◆"; color: var(--ouro); margin-right: 1.6rem; font-size: .6rem; vertical-align: 2px; }

.capa-grade { display: grid; grid-template-columns: 1.3fr .95fr .55fr; gap: clamp(1.5rem, 3vw, 2.6rem); }
.capa-grade > * + * { border-left: 1px solid var(--fio); padding-left: clamp(1.5rem, 3vw, 2.6rem); }
.manchete h2 { font-size: clamp(2.5rem, 4.8vw, 4.1rem); margin-bottom: 1.4rem; }
.linha-fina { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--cinza); margin-bottom: 2rem; }
.capa-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
.capa-foto img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: 50% 20%; filter: grayscale(.15) contrast(1.04); }
.capa-foto figcaption { font-size: .86rem; color: var(--cinza); padding-top: .7rem; border-top: 1px solid var(--tinta); margin-top: .7rem; line-height: 1.45; }
.capa-foto figcaption b { color: var(--tinta); }
.indice-tit { font-family: var(--sans); font-weight: 900; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .6rem; border-bottom: 3px solid var(--tinta); margin-bottom: .4rem; }
.indice ol { list-style: none; }
.indice li a { display: grid; grid-template-columns: 34px 1fr; gap: .4rem; padding: .7rem 0; border-bottom: 1px solid var(--fio); text-decoration: none; font-size: .93rem; line-height: 1.35; transition: color .2s; }
.indice li a:hover { color: #9a6a00; }
.indice li span { font-family: var(--sans); font-weight: 800; font-size: .76rem; color: #9a6a00; padding-top: .1rem; }
.indice-nota { margin-top: 1.4rem; background: var(--tinta); color: var(--papel); padding: 1rem 1.1rem; }
.indice-nota b { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro); }
.indice-nota p { font-size: .9rem; margin-top: .3rem; line-height: 1.45; }

/* cabeçalho de seção estilo jornal */
.sec-topo { display: flex; align-items: center; gap: .9rem; max-width: 1320px; margin: 0 auto 2rem; font-family: var(--sans); }
.sec-topo .pag { background: var(--tinta); color: var(--papel); font-weight: 800; font-size: .74rem; padding: .25rem .5rem; }
.sec-topo .secao { font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.sec-topo .fio { flex: 1; height: 1px; background: var(--tinta); }
.sec-topo-esc .pag { background: var(--ouro); color: var(--tinta); }
.sec-topo-esc .fio { background: rgba(244, 241, 234, .35); }

/* A2 fases */
.fases { background: var(--papel2); border-top: 1px solid var(--tinta); }
.fases-cab { max-width: 1320px; margin: 0 auto 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.fases-cab p { color: var(--cinza); font-size: 1.05rem; max-width: 34rem; }
.trilho { --prog: 0%; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.trilho::before, .trilho::after { content: ""; position: absolute; top: 21px; left: calc(100% / 14); height: 3px; }
.trilho::before { right: calc(100% / 14); background: #12121226; }
.trilho::after { width: calc((100% - 100% / 7) * var(--prog) / 100%); background: var(--ouro); transition: width .5s ease; }
.trilho button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .55rem; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--cinza); padding: 0 .2rem; }
.trilho button i { font-style: normal; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--papel); border: 2px solid #12121240; font-weight: 800; font-size: .95rem; color: var(--tinta); transition: all .3s; }
.trilho button:hover i { border-color: var(--tinta); }
.trilho button.passou i { background: var(--ouro); border-color: var(--ouro); }
.trilho button.on { color: var(--tinta); }
.trilho button.on i { background: var(--tinta); color: var(--ouro); border-color: var(--tinta); transform: scale(1.12); }

.quadro { max-width: 1320px; margin: 2.4rem auto 0; background: var(--papel); border: 1px solid var(--tinta); box-shadow: 8px 8px 0 var(--tinta); display: grid; grid-template-columns: 150px 1fr; }
.quadro.troca .q-corpo { animation: entra .45s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.q-num { border-right: 1px solid var(--tinta); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--display); font-size: 4.6rem; line-height: 1; background: var(--tinta); color: var(--ouro); }
.q-num small { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; color: var(--papel); opacity: .6; margin-top: .5rem; text-transform: uppercase; }
.q-corpo { padding: clamp(1.4rem, 3vw, 2.2rem); }
.q-corpo h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 1.4rem; }
.q-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 1.8rem; }
.q-cols > div { border-top: 2px solid var(--tinta); padding-top: .7rem; }
.q-cols b { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.q-cols p { font-size: 1rem; margin-top: .4rem; }
.q-erro { border-top-color: var(--ouro) !important; }
.q-erro b { color: #9a6a00; }
.q-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.q-nav { display: flex; gap: .5rem; }
.q-nav button { width: 44px; height: 44px; border: 1px solid var(--tinta); background: none; font-size: 1.1rem; cursor: pointer; transition: background .2s; }
.q-nav button:hover:not(:disabled) { background: var(--ouro); }
.q-nav button:disabled { opacity: .3; cursor: default; }

/* olho */
.olho { background: var(--tinta); color: var(--papel); text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.olho blockquote { max-width: 980px; margin: 0 auto; }
.olho p { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.12; }
.olho em { color: var(--ouro); }

/* A3 cadernos */
.cadernos > h2 { max-width: 1320px; margin: 0 auto 2.4rem; }
.col-grade { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); grid-template-rows: auto auto; border-top: 3px solid var(--tinta); }
.col { padding: 1.6rem 1.6rem 1.8rem; border-bottom: 1px solid var(--fio); border-right: 1px solid var(--fio); display: flex; flex-direction: column; }
.col h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.col p:not(.chapeu) { color: var(--cinza); font-size: .98rem; margin-bottom: 1.2rem; }
.col .link { margin-top: auto; align-self: flex-start; }
.col.destaque { grid-row: span 2; background: var(--tinta); color: var(--papel); border: 0; padding: 2.2rem; justify-content: flex-end; position: relative; overflow: hidden; }
.col.destaque::before { content: "I"; position: absolute; top: -2.4rem; right: 1rem; font-family: var(--display); font-size: 16rem; line-height: 1; color: rgba(227, 162, 26, .1); pointer-events: none; }
.col.destaque h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.col.destaque p:not(.chapeu) { color: rgba(244, 241, 234, .78); font-size: 1.05rem; }
.col.destaque .chapeu { color: var(--ouro); }
.col:nth-child(3), .col:nth-child(5) { border-right: 0; }

/* A4 perfil */
.perfil { background: #1b1a18; color: var(--papel); }
.perfil-foto { max-width: 1320px; margin: 0 auto 2.6rem; }
.perfil-foto img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 45%; }
.perfil-grade { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.3fr .8fr; gap: clamp(1.5rem, 3vw, 2.8rem); align-items: start; }
.perfil .chapeu { color: var(--ouro); }
.perfil-tit h2 em { color: var(--ouro); }
.perfil-txt p { font-size: 1.06rem; color: rgba(244, 241, 234, .82); margin-bottom: 1rem; }
.perfil-txt b { color: var(--papel); }
.capitular::first-letter { float: left; font-family: var(--display); font-size: 4.2rem; line-height: .82; padding: .3rem .55rem 0 0; color: var(--ouro); }
.ficha { list-style: none; border-top: 3px solid var(--ouro); }
.ficha li { padding: .7rem 0; border-bottom: 1px solid rgba(244, 241, 234, .16); font-size: .98rem; }
.ficha span { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 241, 234, .5); }

/* serviço + aviso */
.servico { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.servico .sec-topo { margin-left: 0; }
.passos h2 { margin-bottom: 2rem; }
.passos ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.passos li b { display: block; font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--ouro); margin-bottom: .4rem; }
.passos h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.passos p { color: var(--cinza); font-size: .95rem; }
.aviso { border: 2px solid var(--tinta); padding: 1.6rem; background: #fff8e6; position: relative; margin-top: 3.6rem; }
.aviso-tit { position: absolute; top: -.8rem; left: 1.2rem; background: var(--tinta); color: var(--ouro); font-family: var(--sans); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: .25rem .6rem; }
.aviso h3 { font-size: 1.35rem; margin: .4rem 0 .5rem; }
.aviso p { font-size: .96rem; color: var(--cinza); }
.aviso a { color: var(--tinta); font-weight: 700; }

/* perguntas */
.leitores { background: var(--papel2); }
.faq { max-width: 1000px; margin: 0 auto; border-top: 3px solid var(--tinta); }
.faq details { border-bottom: 1px solid var(--fio); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.6rem 1.2rem 0; font-family: var(--sans); font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .9rem; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ouro); font-size: 1.1rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; color: var(--cinza); max-width: 46rem; font-size: 1.02rem; }

/* expediente */
.expediente { background: var(--tinta); color: var(--papel); }
.exp-grade { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.titulo-jornal.pequeno { font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-align: left; white-space: normal; }
.exp-sub { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro); margin: .6rem 0 2rem; }
.exp-txt dl { display: grid; gap: 1.1rem; margin-bottom: 2.2rem; }
.exp-txt dt { font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 241, 234, .5); }
.exp-txt dd a { text-decoration: none; border-bottom: 1px solid var(--ouro); }
.mapa { min-height: 360px; border: 1px solid rgba(244, 241, 234, .25); }
.mapa iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) contrast(1.05); }

.rodape { background: #0a0a0a; color: rgba(244, 241, 234, .5); text-align: center; font-family: var(--sans); font-size: .78rem; padding: 1.8rem 1.25rem 5.5rem; display: grid; gap: .3rem; }
.wa-flut { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45); transition: transform .25s; }
.wa-flut:hover { transform: scale(1.07); }
.wa-flut svg { width: 30px; height: 30px; fill: #fff; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.vis { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .capa-grade { grid-template-columns: 1fr 1fr; }
  .indice { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--fio); padding-top: 1.5rem; }
  .indice ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (max-width: 860px) {
  .barra nav { display: none; }
  .barra { justify-content: space-between; }
  .barra-nome span { display: none; }
  .cabeca { grid-template-columns: 1fr 1fr; }
  .titulo-jornal { grid-column: 1 / -1; grid-row: 1; font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .cabeca-lado.dir { justify-self: end; }
  .linha-edicao { gap: .2rem .9rem; font-size: .66rem; }
  .linha-edicao span + span::before { margin-right: .9rem; }
  .capa-grade, .fases-cab, .perfil-grade, .servico, .exp-grade { grid-template-columns: 1fr; }
  .capa-grade > * + * { border-left: 0; padding-left: 0; }
  .capa-foto { order: -1; }
  .indice ol { grid-template-columns: 1fr; }
  .trilho { grid-template-columns: repeat(7, 86px); overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .trilho::before, .trilho::after { left: calc(1.25rem + 43px); }
  .trilho::before { right: auto; width: calc(86px * 6); }
  .trilho::after { width: calc(86px * 6 * var(--prog) / 100%); }
  .quadro { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--tinta); }
  .trilho button { font-size: .74rem; }
  .col.destaque::before { font-size: 11rem; top: -1.6rem; }
  .q-num { flex-direction: row; gap: .8rem; font-size: 2.6rem; padding: .8rem 1.2rem; justify-content: flex-start; border-right: 0; }
  .q-num small { margin: 0; }
  .q-cols { grid-template-columns: 1fr; gap: 1rem; }
  .col-grade { grid-template-columns: 1fr; }
  .col { border-right: 0; }
  .col.destaque { grid-row: auto; min-height: 300px; }
  .perfil-foto img { aspect-ratio: 4 / 3; }
  .passos ol { grid-template-columns: 1fr; }
  .aviso { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
