/* ===================================================================
   Grajaú na Mídia — Portal de notícias
   =================================================================== */

:root {
    --gnm-red: #d11f2a;
    --gnm-red-dark: #b3151f;
    --gnm-blue: #0d1f4c;
    --gnm-blue-light: #16306e;
    --gnm-gray: #6b7280;
    --gnm-line: #e5e7eb;
    --gnm-bg: #f4f5f7;
    --gnm-dark: #1a1a1a;
    --gnm-text: #1f2430;
    --font: "Ubuntu Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font);
    color: var(--gnm-text);
    background: var(--gnm-bg);
    margin: 0;
    line-height: 1.45;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; }

.section-spacer { margin-top: 1.75rem; }

/* ===================== TOPBAR ===================== */
.site-topbar {
    background: #fff;
    border-top: 4px solid var(--gnm-red);
    padding: .55rem 0;
    border-bottom: 1px solid var(--gnm-line);
}
.btn-menu {
    background: none;
    border: none;
    color: var(--gnm-blue);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    padding: 0;
}
.btn-menu i { font-size: 1.4rem; }

.topbar-social { gap: .65rem; }
.topbar-social a {
    color: var(--gnm-red);
    font-size: 1.05rem;
    transition: color .2s;
}
.topbar-social a:hover { color: var(--gnm-blue); }

.topbar-logo img { display: inline-block; }

.topbar-weather {
    align-items: center;
    gap: .4rem;
    color: var(--gnm-blue);
    font-weight: 700;
}
.topbar-weather i { font-size: 1.5rem; color: var(--gnm-red); }
.topbar-weather span { display: flex; flex-direction: column; line-height: 1; font-size: 1rem; }
.topbar-weather small { font-weight: 500; color: var(--gnm-gray); font-size: .62rem; }

.topbar-search { position: relative; max-width: 200px; width: 100%; }
.topbar-search input {
    border-radius: 20px;
    border: 1px solid var(--gnm-line);
    background: var(--gnm-bg);
    padding: .3rem .9rem;
    font-size: .85rem;
    height: 34px;
}
.topbar-search input:focus {
    box-shadow: none;
    border-color: var(--gnm-red);
}
.topbar-search button {
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    border: none;
    background: var(--gnm-red);
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: .8rem;
}

/* Botão de lupa (mobile) */
.btn-search-toggle {
    border: none;
    background: var(--gnm-red);
    color: #fff;
    width: 38px; height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.05rem;
}

/* Barra de busca recolhível (mobile) */
.topbar-search-mobile {
    position: relative;
    margin-top: .6rem;
}
.topbar-search-mobile input {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--gnm-line);
    background: var(--gnm-bg);
    padding: .5rem 2.8rem .5rem 1rem;
    font-size: .9rem;
    height: 42px;
}
.topbar-search-mobile input:focus {
    box-shadow: none;
    border-color: var(--gnm-red);
}
.topbar-search-mobile button {
    position: absolute;
    right: 5px; top: 50%;
    transform: translateY(-50%);
    border: none;
    background: var(--gnm-red);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.topbar-logo-img { height: 100px; width: auto; display: inline-block; }

/* No mobile, dá mais espaço à logo (sem comprimir) */
@media (max-width: 991px) {
    .topbar-logo-img { height: 60px; }
}
@media (max-width: 575px) {
    .topbar-logo-img { height: 48px; }
}

/* ===================== NAVBAR ===================== */
.site-nav {
    background: var(--gnm-blue);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.nav-menu li a {
    display: block;
    color: #dfe5f3;
    font-size: .82rem;
    font-weight: 600;
    padding: .7rem .85rem;
    transition: background .2s, color .2s;
    border-bottom: 3px solid transparent;
}
.nav-menu li a:hover,
.nav-menu li a.active {
    color: #fff;
    background: var(--gnm-blue-light);
    border-bottom-color: var(--gnm-red);
}

/* No celular: barra única com rolagem horizontal (arrasta para ver mais) */
@media (max-width: 991px) {
    .nav-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;          /* Firefox */
    }
    .nav-menu::-webkit-scrollbar { display: none; } /* Chrome/Safari */
    .nav-menu li { flex: 0 0 auto; }
    .nav-menu li a { white-space: nowrap; }
}

/* ===================== OFFCANVAS MENU ===================== */
.menu-offcanvas { max-width: 300px; }
.menu-offcanvas .offcanvas-header { border-bottom: 3px solid var(--gnm-red); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li a {
    display: block;
    padding: .8rem .25rem;
    font-weight: 600;
    color: var(--gnm-blue);
    border-bottom: 1px solid var(--gnm-line);
    transition: color .2s, padding-left .2s;
}
.menu-list li a:hover { color: var(--gnm-red); padding-left: .5rem; }
.menu-social {
    margin-top: 1.25rem;
    display: flex;
    gap: 1rem;
    font-size: 1.3rem;
}
.menu-social a { color: var(--gnm-red); }
.menu-social a:hover { color: var(--gnm-blue); }

/* ===================== BANNER PARCEIROS ===================== */
.box-banner { position: relative; text-align: center; margin-bottom: 1.5rem; }
.banner-top { margin-top: 1.25rem; }
.banner-inline { margin: 1.75rem 0 2rem; }
.banner-side { margin-bottom: 2rem; }
.banner-tag {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translate(-50%, 100%);
    background: #c9ccd2;
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1px 8px;
    border-radius: 0 0 3px 3px;
}
.box-banner a { display: block; }
.box-banner img { width: 100%; border-radius: 4px; }

/* Faixa horizontal (banner topo / intermediário) com altura controlada */
.banner-top img,
.banner-inline img {
    max-height: 130px;
    object-fit: contain;
    background: #fff;
}
@media (max-width: 575px) {
    .banner-top img,
    .banner-inline img { max-height: 80px; }
}

/* ===================== BADGES / CATEGORIAS ===================== */
.badge-cat {
    display: inline-block;
    background: var(--gnm-red);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: .4rem;
}

/* ===================== CARD DESTAQUE ===================== */
.card-feature {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
    height: 100%;
}
.card-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.card-feature:hover img { transform: scale(1.05); }
.card-feature-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: #fff;
}
.card-feature-body .badge-cat { margin-bottom: .5rem; }
.card-feature-main { min-height: 420px; }
.card-feature-main .card-feature-body {
    padding: 2.5rem 1.4rem 1.4rem;
    background: linear-gradient(transparent, rgba(0,0,0,.45) 35%, rgba(0,0,0,.92));
}
.card-feature-main h2 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.card-feature-sm { min-height: 200px; }
.card-feature-sm h3 { font-size: 1rem; color: #fff; }

/* ===================== CARD STRIP ===================== */
.card-strip {
    display: flex;
    gap: .85rem;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--gnm-line);
    height: 100%;
    transition: box-shadow .2s;
}
.card-strip:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.card-strip img {
    width: 130px;
    min-width: 130px;
    height: 100%;
    object-fit: cover;
}
.card-strip > div { padding: .75rem .85rem .75rem 0; align-self: center; }
.card-strip h4 { font-size: .92rem; }

/* ===================== CARD MINI (destaques secundários) ===================== */
.card-mini {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.card-mini:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); transform: translateY(-3px); }
.card-mini:hover h3 { color: var(--gnm-blue); }
.card-mini > img { width: 100%; height: 130px; object-fit: cover; }
.card-mini-body { padding: .6rem .7rem .85rem; }
.card-mini-body h3 { font-size: .9rem; font-weight: 700; transition: color .2s; }

.cat-link {
    display: inline-block;
    color: var(--gnm-red);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: .25rem;
}

/* ===================== TÍTULOS DE SEÇÃO ===================== */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0 1rem;
    border-bottom: 2px solid var(--gnm-line);
    padding-bottom: .35rem;
}
.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    position: relative;
    padding-bottom: .35rem;
    margin-bottom: -.37rem;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%;
    height: 3px;
}
.section-title-red { color: var(--gnm-red); }
.section-title-red::after { background: var(--gnm-red); }
.section-title-blue { color: var(--gnm-blue); }
.section-title-blue::after { background: var(--gnm-blue); }
.section-more {
    font-size: .8rem;
    font-weight: 600;
    color: var(--gnm-gray);
    transition: color .2s;
}
.section-more:hover { color: var(--gnm-red); }

/* ===================== LISTA DE NOTÍCIAS ===================== */
.news-list { display: flex; flex-direction: column; gap: .85rem; }
.news-item {
    display: flex;
    gap: 1rem;
    padding: .75rem;
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.news-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
    border-color: #dfe3ea;
}
.news-item:hover h3 { color: var(--gnm-red); }
.news-item img {
    width: 190px;
    min-width: 190px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}
.news-item-body { align-self: center; }
.news-item-body h3 { font-size: 1.05rem; transition: color .2s; }

/* ===================== CARD GRID (seções temáticas) ===================== */
.card-grid {
    display: block;
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.card-grid:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); transform: translateY(-3px); }
.card-grid:hover h4 { color: var(--gnm-red); }
.card-grid img { width: 100%; height: 130px; object-fit: cover; }
.card-grid h4 { font-size: .85rem; padding: .65rem .7rem .9rem; transition: color .2s; }

/* ===================== PÁGINAS INSTITUCIONAIS ===================== */
.pagina-conteudo {
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #2a2f3a;
}
.pagina-conteudo h3 {
    color: var(--gnm-blue);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 1.5rem 0 .6rem;
}
.pagina-conteudo p { margin-bottom: 1rem; }
.pagina-conteudo ul { margin: 0 0 1rem 1.1rem; }
.pagina-conteudo li { margin-bottom: .4rem; }
.pagina-conteudo a { color: var(--gnm-red); text-decoration: underline; }

/* Anuncie */
.anuncie-card {
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.anuncie-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-3px); }
.anuncie-card i { font-size: 2.2rem; color: var(--gnm-red); }
.anuncie-card h4 { font-size: 1.05rem; font-weight: 800; color: var(--gnm-blue); margin: .6rem 0 .35rem; }
.anuncie-card p { font-size: .88rem; color: var(--gnm-gray); margin: 0; }

.anuncie-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .9rem;
    padding: .65rem 1.25rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: opacity .2s, background .2s, color .2s;
    cursor: pointer;
}
.btn-cta:hover { opacity: .9; }
.btn-cta-whats { background: #25d366; color: #fff; }
.btn-cta-mail  { background: var(--gnm-blue); color: #fff; }
.btn-cta-outline { background: transparent; color: var(--gnm-red); border-color: var(--gnm-red); }
.btn-cta-outline:hover { background: var(--gnm-red); color: #fff; opacity: 1; }

/* Contato */
.contato-card, .contato-info {
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
}
.contato-card-title { font-size: 1.2rem; font-weight: 800; color: var(--gnm-blue); margin-bottom: .25rem; }
.contato-form .form-label { font-weight: 600; font-size: .85rem; margin-bottom: .25rem; }
.contato-form .form-control:focus { border-color: var(--gnm-red); box-shadow: 0 0 0 .2rem rgba(209,31,42,.12); }
.contato-info { background: var(--gnm-blue); color: #fff; }
.contato-info .contato-card-title { color: #fff; }
.contato-item {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: .9rem;
}
.contato-item i { font-size: 1.3rem; color: #fff; opacity: .85; margin-top: .1rem; }
.contato-item a { color: #fff; text-decoration: underline; }
.contato-social { display: flex; gap: .75rem; margin-top: 1.1rem; font-size: 1.3rem; }
.contato-social a {
    width: 40px; height: 40px;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; font-size: 1.05rem;
    transition: background .2s, border-color .2s;
}
.contato-social a:hover { background: var(--gnm-red); border-color: var(--gnm-red); }

/* ===================== PÁGINAS INTERNAS ===================== */
.fs-7 { font-size: .8rem; }

.breadcrumb-portal {
    background: transparent;
    padding: .25rem 0 .75rem;
    margin: 0;
}
.breadcrumb-portal a { color: var(--gnm-red); text-decoration: none; }
.breadcrumb-portal a:hover { text-decoration: underline; }
.breadcrumb-portal .breadcrumb-item.active { color: var(--gnm-gray); }
.breadcrumb-portal .breadcrumb-item + .breadcrumb-item::before { color: #c0c4cc; }

.news-date {
    font-size: .78rem;
    color: var(--gnm-gray);
    margin: .4rem 0 0;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.news-date i { color: var(--gnm-red); }

.pagination-portal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.75rem 0 .5rem;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--gnm-blue);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: .5rem 1.1rem;
    border-radius: 6px;
    transition: background .2s, opacity .2s;
}
.page-btn:hover { background: var(--gnm-red); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-info { font-size: .85rem; color: var(--gnm-gray); font-weight: 600; }

/* ===================== PÁGINA DE NOTÍCIA ===================== */
.badge-cat-blue { background: var(--gnm-blue); }

.noticia-titulo {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--gnm-blue);
    margin: .25rem 0 .5rem;
}
.noticia-subtitulo {
    font-size: 1.1rem;
    color: var(--gnm-gray);
    font-style: italic;
    margin-bottom: 1rem;
}
.noticia-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    font-size: .82rem;
    color: var(--gnm-gray);
    border-top: 1px solid var(--gnm-line);
    border-bottom: 1px solid var(--gnm-line);
    padding: .65rem 0;
    margin-bottom: 1.25rem;
}
.noticia-meta i { color: var(--gnm-red); margin-right: .15rem; }

.noticia-hero {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    object-fit: cover;
}

.noticia-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.share-buttons { display: flex; gap: .5rem; }
.btn-share {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.05rem;
    transition: transform .2s, opacity .2s;
}
.btn-share:hover { transform: translateY(-2px); opacity: .9; color: #fff; }
.btn-share-facebook { background: #1877f2; }
.btn-share-whatsapp { background: #25d366; }
.btn-share-twitter  { background: #111; }
.btn-share-linkedin { background: #0a66c2; }

.audio-player-noticia {
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gnm-blue);
}
.audio-button {
    background: none;
    border: none;
    color: var(--gnm-red);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.audio-button:hover { color: var(--gnm-blue); }

.noticia-texto {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #2a2f3a;
}
.noticia-texto p { margin-bottom: 1.1rem; }
.noticia-texto img { max-width: 100%; height: auto; border-radius: 6px; margin: 1rem 0; }

/* Figuras e legendas (editor TinyMCE) — sempre centralizadas e sem float */
.noticia-texto figure,
.noticia-texto figure.image,
.noticia-texto figure.align-left,
.noticia-texto figure.align-right,
.noticia-texto figure.align-center {
    display: block;
    float: none;
    width: auto !important;
    max-width: 100%;
    margin: 1.5rem auto;
    text-align: center;
}
.noticia-texto figure img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.noticia-texto figcaption {
    display: block;
    margin: .5rem auto 0;
    max-width: 100%;
    padding: .5rem .85rem;
    font-size: .85rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
    background: var(--gnm-bg);
    border-left: 3px solid var(--gnm-red);
    border-radius: 0 4px 4px 0;
}

.noticia-texto h2, .noticia-texto h3 { color: var(--gnm-blue); margin: 1.5rem 0 .75rem; }
.noticia-texto a { color: var(--gnm-red); text-decoration: underline; }
.noticia-texto blockquote {
    border-left: 4px solid var(--gnm-red);
    background: #faf3f3;
    padding: .85rem 1.1rem;
    margin: 1.25rem 0;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

/* Chamada do canal do WhatsApp */
.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .3);
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
}
.whatsapp-cta-icon {
    flex: 0 0 auto;
    width: 52px; height: 52px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
}
.whatsapp-cta-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.whatsapp-cta-text strong { font-size: 1.05rem; font-weight: 800; }
.whatsapp-cta-text small { font-size: .85rem; opacity: .92; }
.whatsapp-cta-arrow { font-size: 1.4rem; flex: 0 0 auto; opacity: .85; transition: transform .2s; }
.whatsapp-cta:hover .whatsapp-cta-arrow { transform: translateX(4px); }

@media (max-width: 575px) {
    .whatsapp-cta { padding: .85rem 1rem; gap: .75rem; }
    .whatsapp-cta-icon { width: 44px; height: 44px; font-size: 1.4rem; }
    .whatsapp-cta-text strong { font-size: .95rem; }
    .whatsapp-cta-text small { font-size: .78rem; }
}

.galeria-header { font-size: 1.2rem; font-weight: 800; color: var(--gnm-blue); margin-bottom: .75rem; }
.galeria-thumb {
    width: 100%; height: 80px; object-fit: cover;
    border-radius: 6px; border: 2px solid transparent;
    transition: border-color .2s;
}
.galeria-thumb:hover { border-color: var(--gnm-red); }

@media (max-width: 575px) {
    .noticia-titulo { font-size: 1.5rem; }
    .noticia-texto { font-size: 1rem; }
}

/* ===================== SIDEBAR WIDGETS ===================== */
.widget {
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.widget-head {
    background: var(--gnm-blue);
    color: #fff;
    font-weight: 700;
    padding: .6rem 1rem;
    font-size: 1.05rem;
}
.widget-body { padding: 1rem; }

/* Enquete */
.poll-question { font-weight: 600; margin-bottom: .75rem; }
.poll-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
    font-size: .92rem;
    cursor: pointer;
}
.poll-option input { accent-color: var(--gnm-red); }
.btn-poll {
    margin-top: .85rem;
    width: 100%;
    background: var(--gnm-red);
    color: #fff;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    padding: .55rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.btn-poll:hover { background: var(--gnm-red-dark); }

/* Resultado da enquete (widget) */
.poll-result { margin-bottom: .7rem; }
.poll-result-top {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .25rem;
}
.poll-result-top .enquete-pct { color: var(--gnm-red); }
.poll-bar {
    height: 10px;
    background: var(--gnm-line);
    border-radius: 6px;
    overflow: hidden;
}
.poll-bar-fill {
    height: 100%;
    background: var(--gnm-red);
    border-radius: 6px;
    transition: width .5s ease;
}
.poll-total {
    font-size: .8rem;
    color: var(--gnm-gray);
    text-align: right;
    margin: .5rem 0 0;
}
.poll-total i { color: var(--gnm-red); }

/* ===================== PÁGINA DE ENQUETE ===================== */
.enquete-box {
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}
.enquete-icon { font-size: 2.6rem; color: var(--gnm-red); display: block; margin-bottom: .5rem; }
.enquete-pergunta { font-size: 1.35rem; font-weight: 800; color: var(--gnm-blue); margin-bottom: .25rem; }
.enquete-ativa-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--gnm-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.enquete-opcao {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    margin-bottom: .6rem;
    border: 1px solid var(--gnm-line);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.enquete-opcao input { accent-color: var(--gnm-red); transform: scale(1.25); }
.enquete-opcao:hover { border-color: var(--gnm-red); background: #fcf4f4; }
.enquete-opcao:has(input:checked) {
    border-color: var(--gnm-red);
    background: #fcf0f0;
    box-shadow: 0 0 0 2px rgba(209, 31, 42, .18);
}
.enquete-box .btn-poll { width: 100%; }

.enquete-anterior {
    background: #fff;
    border: 1px solid var(--gnm-line);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.enquete-anterior-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    background: var(--gnm-bg);
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--gnm-line);
}
.enquete-anterior-head h4 { font-size: 1rem; font-weight: 700; color: var(--gnm-blue); margin: 0; }
.enquete-anterior-head small { color: var(--gnm-gray); }
.enquete-anterior-body { padding: 1rem; }

/* Mais Lidas */
.most-item {
    display: flex;
    gap: .85rem;
    align-items: center;
    padding: .85rem 0;
    border-bottom: 1px solid var(--gnm-line);
}
.most-item:first-child { padding-top: .25rem; }
.most-item:last-child { border-bottom: none; padding-bottom: .25rem; }
.most-item:hover p { color: var(--gnm-blue); }
.most-rank {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    background: var(--gnm-blue);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 50%;
    transition: background .2s;
}
.most-item:nth-child(1) .most-rank { background: var(--gnm-red); }
.most-item:hover .most-rank { background: var(--gnm-red); }
.most-item p {
    font-size: .86rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================== VÍDEOS ===================== */
.videos-section {
    background: var(--gnm-dark);
    color: #fff;
    padding: 2.5rem 0;
    margin-top: 2.5rem;
}
.videos-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
}
.video-feature {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
}
.video-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-feature:hover img { transform: scale(1.04); }
.video-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem 1.25rem 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,.92));
}
.video-caption h3 { font-size: 1.3rem; line-height: 1.3; }
.video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.75);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.1rem;
    backdrop-filter: blur(2px);
    transition: transform .2s, background .2s, border-color .2s;
}
.video-feature:hover .video-play,
.video-row:hover .video-play {
    transform: translate(-50%,-50%) scale(1.12);
    background: var(--gnm-red);
    border-color: var(--gnm-red);
}
.video-play.sm { width: 44px; height: 44px; font-size: 1.4rem; border-width: 2px; }

.video-list { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; justify-content: center; }
.video-row {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}
.video-thumb {
    position: relative;
    min-width: 200px;
    width: 200px;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-row:hover .video-thumb img { transform: scale(1.05); }
.video-row h3 { font-size: 1.08rem; line-height: 1.35; align-self: center; transition: color .2s; }
.video-row:hover h3 { color: #ff5a63; }

@media (max-width: 575px) {
    .video-thumb { min-width: 130px; width: 130px; }
    .video-row h3 { font-size: .95rem; }
}

/* ===================== FOOTER ===================== */
.site-footer { background: #2b2b2b; color: #cfd2d6; }
.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1 1 480px;
}
.footer-logo {
    width: 120px;
    height: 120px;
    min-width: 120px;
    background: #fff;
    border-radius: 50%;
    object-fit: contain;
    padding: .9rem;
}
.footer-brand p { margin: 0; font-size: .88rem; line-height: 1.6; max-width: 460px; }
.footer-brand strong { color: #fff; }

.footer-social-block { text-align: center; }
.footer-social { display: flex; gap: 1rem; font-size: 1.55rem; justify-content: center; }
.footer-social a {
    color: #fff;
    width: 42px; height: 42px;
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    transition: background .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: var(--gnm-red); border-color: var(--gnm-red); color: #fff; }
.footer-social-label {
    display: block;
    margin-top: .65rem;
    font-size: .75rem;
    color: #9aa0a6;
}

.footer-copy { font-weight: 700; color: #fff; font-size: .95rem; }

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
    justify-content: center;
}
.footer-menu a {
    color: #cfd2d6;
    font-size: .85rem;
    font-weight: 600;
    transition: color .2s;
    position: relative;
}
.footer-menu a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,.25);
}
.footer-menu a:hover { color: var(--gnm-red); }

.footer-copy-bar {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1rem 0 .25rem;
    font-size: .82rem;
    color: #9aa0a6;
}

.footer-bottom {
    background: #1d1d1d;
    padding: .7rem 0;
    font-size: .78rem;
    color: #9aa0a6;
}
.footer-bottom .footer-dev img { opacity: .85; transition: opacity .2s; }
.footer-bottom .footer-dev:hover img { opacity: 1; }

@media (max-width: 767px) {
    .footer-main { flex-direction: column; text-align: center; gap: 1.75rem; }
    .footer-brand { flex-direction: column; flex-basis: auto; }
    .footer-brand p { max-width: none; }
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 991px) {
    .card-feature-main { min-height: 300px; }
    .card-feature-main h2 { font-size: 1.2rem; }
    .video-feature img { height: 240px; }
}
@media (max-width: 575px) {
    .news-item img { width: 120px; min-width: 120px; height: 85px; }
    .news-item-body h3 { font-size: .92rem; }
    .card-strip img { width: 100px; min-width: 100px; }
    .section-title { font-size: 1.15rem; }
    .footer-brand { flex-direction: column; text-align: center; }
}
