:root {
    --ink: #211d1b;
    --blue: #006b96;
    --red: #c91622;
    --line: #d9d5d0;
    --paper: #fffefa;
    --muted: #706b67
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif
}

a {
    color: inherit;
    text-decoration: none
}

button,
input {
    font: inherit
}

.topline {
    height: 5px;
    background: var(--red)
}

.utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2.5%;
    font: 12px Arial, sans-serif;
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: .04em
}

.utility button,
.nav button,
.pill {
    border: 0;
    background: none;
    cursor: pointer
}

.brand-wrap {
    text-align: center;
    padding: 8px 12px 17px;
    border-bottom: 2px solid #1c6c37
}

.brand {
    font-size: clamp(38px, 6vw, 67px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: 1
}

.brand span {
    color: var(--red)
}

.tagline {
    font: 11px Arial, sans-serif;
    letter-spacing: .2em;
    margin-top: 8px;
    color: #4f4a46
}

.nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 17px
}

.nav button {
    font-size: inherit
}

.nav button:hover {
    color: var(--red)
}

.ticker {
    background: #092f46;
    color: white;
    padding: 11px 4%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font: 13px Arial, sans-serif
}

.ticker strong {
    color: #ffe34e
}

main {
    max-width: 1320px;
    margin: auto;
    padding: 25px 2.5%
}

.section-label {
    font: 11px Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue);
    margin-bottom: 10px
}

.columnists {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 20px 0 32px;
    border-bottom: 1px solid var(--line)
}

.columnist {
    font-size: 15px
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e7e2dc;
    margin-right: 7px;
    font: 20px Arial, sans-serif
}

.columnist b {
    color: var(--blue);
    font-size: 16px
}

.columnist p {
    font-style: italic;
    line-height: 1.35;
    margin: 8px 0 0
}

.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(240px, .75fr);
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line)
}

h1 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.03;
    letter-spacing: -.035em;
    margin: 5px 0 14px;
    font-weight: 700
}

.deck {
    font: 17px/1.45 Arial, sans-serif;
    color: var(--muted);
    margin: 0 0 18px
}

.subheads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px
}

.subheads a {
    font-size: 18px;
    line-height: 1.28
}

.subheads a:before {
    content: "➜";
    color: var(--blue);
    margin-right: 9px;
    font: 14px Arial
}

.feature-art {
    min-height: 180px;
    background: linear-gradient(
        135deg,
        #B5121B,
        #E30613 55%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 27px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(70, 0, 0, 0.55);
}

.side-story h2 {
    font-size: 25px;
    line-height: 1.1;
    margin: 10px 0
}

.side-story p {
    font-size: 16px;
    line-height: 1.4
}

.side-story .feature-art {
    min-height: 135px;
    font-size: 22px
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 27px 22px;
    padding: 28px 0
}

.story {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px
}

.story .art {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 42px Arial, sans-serif;
    color: white;
    background: linear-gradient(135deg, #b8c9c7, #526e77);
    margin-bottom: 12px
}

.story:nth-child(2n) .art {
    background: linear-gradient(135deg, #d8c2b0, #8b6b61)
}

.story:nth-child(3n) .art {
    background: linear-gradient(135deg, #c3d6a4, #3f6a4e)
}

.category {
    font: 10px Arial, sans-serif;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .1em
}

.story h3 {
    font-size: 23px;
    line-height: 1.12;
    margin: 8px 0
}

.story p {
    font: 14px/1.45 Arial, sans-serif;
    color: var(--muted);
    margin: 0
}

.lower {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    border-top: 2px solid var(--ink);
    padding: 24px 0
}

.panel {
    padding: 15px;
    border: 1px solid var(--line)
}

.panel h2 {
    font-size: 25px;
    margin: 0 0 12px
}

.panel p {
    line-height: 1.45
}

.panel button {
    background: var(--ink);
    color: white;
    border: 0;
    padding: 10px 13px;
    cursor: pointer
}

.submit-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.submit-form input {
    min-width: 0;
    flex: 1;
    padding: 10px;
    border: 1px solid var(--line)
}

footer {
    background: #f0ede7;
    padding: 25px 3%;
    font: 12px/1.6 Arial, sans-serif;
    color: #5b5550;
    text-align: center
}

#toast {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: white;
    padding: 12px 18px;
    border-radius: 5px;
    display: none;
    font: 14px Arial, sans-serif;
    max-width: 90%;
    z-index: 10
}

@media(max-width:800px) {
    .columnists {
        grid-template-columns: repeat(2, 1fr)
    }

    .lead-grid {
        grid-template-columns: 1fr
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .lower {
        grid-template-columns: 1fr
    }

    .nav {
        gap: 12px;
        font-size: 15px
    }

    .utility {
        padding: 12px 4%
    }

    .ticker {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:460px) {
    .columnists {
        grid-template-columns: 1fr 1fr;
        gap: 15px
    }

    .columnist b {
        font-size: 14px
    }

    .columnist p {
        font-size: 14px
    }

    .news-grid {
        gap: 20px 13px
    }

    .story h3 {
        font-size: 20px
    }

    .story .art {
        height: 95px
    }

    .subheads {
        grid-template-columns: 1fr
    }

    .brand {
        font-size: 39px
    }

    .tagline {
        letter-spacing: .1em
    }
}
/* DATA BOLHA — Pesquisa eleitoral */
.data-bolha {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.data-bolha .editoria {
    color: #0876ad;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.data-bolha h2 {
    font-size: 25px;
    line-height: 1.12;
    margin: 0 0 6px;
    font-weight: 800;
}

.data-bolha .subtitulo {
    color: #555;
    font-size: 13px;
    margin-bottom: 20px;
}

.data-bolha .resultados {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.data-bolha .cartao {
    background: #f2efeb;
    padding: 14px;
    min-width: 0;
}

.data-bolha .linha-candidato {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.data-bolha .linha-candidato strong {
    font-family: Georgia, serif;
    font-size: 30px;
}

.data-bolha .barra-fundo {
    height: 7px;
    background: #d9d6d2;
    margin-bottom: 12px;
    overflow: hidden;
}

.data-bolha .barra-valor {
    display: block;
    height: 100%;
}

.data-bolha .flavio {
    width: 52%;
    background: #14779b;
}

.data-bolha .lula {
    width: 48%;
    background: #bd1727;
}

.data-bolha .detalhes {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.data-bolha .metodologia {
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.5;
    color: #555;
}

.data-bolha a {
    color: #00699b;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .data-bolha h2 {
        font-size: 21px;
    }

    .data-bolha .resultados {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .data-bolha .linha-candidato strong {
        font-size: 26px;
    }
}


/* Patrocínio satírico Banco Master */
.patrocinio-master {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    margin: -1px -1px 20px;
    background: #073568;
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    font-family: Arial, sans-serif;
}

.patrocinio-texto {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.master-logo-img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: 48px;
    object-fit: contain;
    object-position: center;
}

.master-simbolo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #ffffff;
    border-radius: 9px;
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
}

.master-nome {
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: 2px;
}

.master-nome strong {
    font-size: 23px;
    letter-spacing: 1px;
}

.patrocinio-aviso {
    font-size: 9px;
    font-weight: 700;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .patrocinio-master {
        justify-content: center;
        text-align: center;
        padding: 14px 10px;
    }

    .patrocinio-texto,
    .patrocinio-aviso {
        width: 100%;
    }

    .master-logo {
        justify-content: center;
    }
}

.art {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    background: #e8e8e8;
}

.art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.impostometro-card {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 16px 0;
    overflow: hidden;
}

.impostometro-card iframe {
    display: block;
    width: 635px;
    max-width: 100%;
    height: 211px;
    border: 0;
}

.oi-banner {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 12px auto;
    overflow: hidden;
    background: #102000;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.oi-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.oi-banner-label {
    display: block;
    padding: 6px 10px;
    background: #f2f2f2;
    color: #666;
    font: 700 8px Arial, sans-serif;
    letter-spacing: .5px;
}

@media (max-width: 480px) {
    .oi-banner {
        width: 92%;
        max-width: 360px;
        border-radius: 12px;
    }
}
