:root {
    --ink: #1a1a1a;
    --muted: #5c584f;
    --paper: #f6f3ec;
    --card: #fffdf8;
    --line: #e4ddd0;
    --red: #9f1d1d;
    --red-deep: #7c1212;
    --gold: #c4a35a;
    --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.topo-fino {
    background: #111;
    color: #f3ead7;
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    letter-spacing: .04em;
}
.topo-fino .faixa,
.masthead .faixa,
.layout {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}
.topo-fino .faixa {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 36px;
}
.topo-fino span { opacity: .85; }
.idiomas { display: flex; gap: 6px; flex-wrap: wrap; }
.idiomas a {
    text-decoration: none;
    color: #f3ead7;
    border: 1px solid transparent;
    padding: 3px 8px;
    border-radius: 99px;
}
.idiomas a.ativo {
    background: #fff;
    color: #111;
}

.masthead {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}
.masthead .faixa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0 10px;
}
.marca {
    text-decoration: none;
    min-width: 180px;
}
.marca small {
    display: block;
    font-family: "Segoe UI", sans-serif;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
}
.marca strong {
    font-size: 28px;
    letter-spacing: -.03em;
    line-height: 1;
}
.nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.nav a { text-decoration: none; color: #333; }
.nav a:hover { color: var(--red); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: "Segoe UI", sans-serif;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}
.btn:hover { background: var(--red-deep); }
.btn.claro {
    background: #fff;
    color: var(--red-deep);
}
.btn.bloco { width: 100%; }

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    padding: 28px 0 48px;
}
.artigo {
    background: var(--card);
    border: 1px solid var(--line);
    padding: clamp(18px, 3vw, 36px);
}
.kicker {
    font-family: "Segoe UI", sans-serif;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -.03em;
    margin: 10px 0 14px;
}
.meta {
    font-family: "Segoe UI", sans-serif;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 18px;
}
.idioma-nota {
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    color: #6d5b2e;
    background: #f8f1dc;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 99px;
}
.lead {
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 18px;
}
.lead strong, .artigo strong { color: var(--red-deep); }

figure { margin: 22px 0; }
.moldura {
    background: #f3efe6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.moldura img {
    width: 100%;
    height: auto;
    display: block;
}
.moldura.clara { background: #f3efe6; }
.moldura.clara img { max-height: 420px; }
figcaption {
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    color: var(--muted);
    padding-top: 8px;
}
h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    margin: 34px 0 12px;
    letter-spacing: -.02em;
}
p { margin: 0 0 14px; font-size: 18px; }
.destaque {
    background: #fbf6ea;
    border-left: 4px solid var(--red);
    padding: 16px 18px;
    margin: 18px 0;
}
.destaque strong { display: block; margin-bottom: 6px; }
.linha { list-style: none; margin: 0; padding: 0; }
.linha li {
    padding: 12px 0 12px 14px;
    border-left: 3px solid var(--red);
    margin: 0 0 10px;
    background: #faf7f2;
}
.linha strong { display: block; }
.linha p { margin: 4px 0 0; font-size: 16px; }
ul.recebe { padding-left: 18px; }
ul.recebe li { margin: 0 0 8px; font-size: 17px; }

.cta {
    background: linear-gradient(160deg, #9f1d1d, #6e1010);
    color: #fff;
    padding: 18px;
    margin: 22px 0;
}
.cta h3 { margin: 0 0 6px; font-size: 22px; }
.cta p { color: #f8e7e7; font-size: 16px; }
.cta .nota {
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    letter-spacing: .04em;
    opacity: .85;
    margin: 8px 0 0;
}

.grade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 12px 0 8px;
}
.card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px;
}
.slot {
    background: #f3efe6;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slot img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center top;
}
.card h3 { margin: 10px 0 6px; font-size: 16px; font-family: "Segoe UI", sans-serif; }
.card p { font-size: 15px; margin: 0; }

.comentarios { display: grid; gap: 10px; }
.comentario {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 10px 12px;
    background: #fff;
}
.comentario img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}
.comentario p { margin: 0; font-size: 16px; }

.lateral { align-self: start; position: sticky; top: 92px; display: grid; gap: 14px; }
.caixa, .fatos, .indice {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 16px;
}
.caixa { background: #9f1d1d; color: #fff; border: 0; }
.caixa h2 { margin: 8px 0; font-size: 26px; color: #fff; }
.selo {
    display: inline-block;
    background: #f2d48a;
    color: #3d2d08;
    font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 4px 8px;
}
.fatos h2, .indice h2 { font-size: 16px; margin: 0 0 10px; font-family: "Segoe UI", sans-serif; }
.fatos ul, .indice ul { list-style: none; margin: 0; padding: 0; }
.fatos li, .indice li { font-family: "Segoe UI", sans-serif; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.indice a { text-decoration: none; }
.ao-vivo {
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ponto {
    width: 8px; height: 8px; border-radius: 50%; background: #1f9d55;
    box-shadow: 0 0 0 0 rgba(31,157,85,.7);
    animation: pulso 1.6s infinite;
}
@keyframes pulso {
    70% { box-shadow: 0 0 0 8px rgba(31,157,85,0); }
    100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); }
}

.rodape {
    border-top: 4px solid var(--red);
    background: #161616;
    color: #d9d0c2;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    padding: 28px 16px 36px;
}
.rodape a { color: #fff; }

.barra-movel {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
    padding: 16px;
}
.modal.aberto { display: flex; }
.modal article {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 24px;
    text-align: center;
}
.modal h2 { margin-top: 0; color: var(--red); }

@media (max-width: 780px) {
    .layout { grid-template-columns: 1fr; width: min(var(--max), calc(100% - 20px)); }
    .lateral { position: static; }
    .marca strong { font-size: 22px; }
    .masthead .faixa { align-items: flex-start; flex-direction: column; }
    .grade { grid-template-columns: 1fr; }
    .barra-movel { display: block; }
    body { padding-bottom: 76px; }
    .topo-fino .faixa { align-items: flex-start; flex-direction: column; padding: 8px 0; }
    p { font-size: 17px; }
    .slot, .slot img { height: 220px; }
}
