﻿/* ============================================================
   FEDERAÃ‡ÃƒO DOS TRABALHADORES DA SAÃšDE - site.css
   Design tokens e componentes do portal pÃºblico
   ============================================================ */

/* === TOKENS === */
:root {
    --red: #ff0000;
    --red-dark: #cc0000;
    --red-subtle: rgba(255, 0, 0, 0.07);
    --white: #ffffff;
    --off-white: #f6f6f6;
    --text: #1c1c1c;
    --text-muted: #686868;
    --border: #e2e2e2;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.11);
    --radius: 5px;
    --transition: 0.18s ease;
}

/* === BASE === */
html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
    background-color: var(--white);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    color: var(--text);
    background-color: var(--white);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Home: ajuste de tipografia */
html.home-page {
    font-size: 16.5px;
}

@media (min-width: 768px) {
    html.home-page {
        font-size: 17.5px;
    }
}

body.home-page,
body.home-page .site-header,
body.home-page .site-footer,
body.home-page .gn-wrap,
body.home-page .gn-hero,
body.home-page .gnc-outer {
    font-family: "Myriad Pro Regular", sans-serif;
}

/* === HEADER (grid: logo | topbar / navbar) === */
.site-header {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    font-family: "Myriad Pro Regular", sans-serif;
}

/* Logo: spans topbar + navbar rows */
.site-header-logo {
    grid-column: 1;
    grid-row: 1 / 3;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 30px 10px 28px;
    text-decoration: none !important;
}

.site-header-logo-img {
    transform: translateX(68px);
    max-height: 110px;
    width: auto;
    z-index: 999
}

/* Topbar band (vermelho) */
.site-topbar-band {
    grid-column: 2;
    grid-row: 1;
    background: var(--red);
    color: var(--white);
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 17.5px;
}

    .site-topbar-band .topbar-social {
        gap: 8.75px !important;
        margin-left: 15px;
    }

    .site-topbar-band > .ms-auto {
        gap: 17.5px !important;
    }

    .site-topbar-band a {
        color: var(--white);
        text-decoration: none;
        opacity: 0.88;
        transition: opacity var(--transition);
    }

        .site-topbar-band a:hover {
            opacity: 1;
            text-decoration: underline;
        }

/* Ãcones sociais */
.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
    font-size: 15.75px;
    text-decoration: none !important;
    transition: background var(--transition);
}

    .topbar-social a:hover {
        background: rgba(255, 255, 255, 0.35);
        text-decoration: none !important;
    }

/* Links de contato */
.topbar-contact-link {
    color: var(--white);
    text-decoration: none;
    opacity: 0.88;
    font-weight: 600;
    font-size: 16.1px;
    transition: opacity var(--transition);
}

    .topbar-contact-link i {
        font-size: 18.4px;
    }

    .topbar-contact-link:hover {
        opacity: 1;
        text-decoration: underline;
        color: var(--white);
    }

/* Campo de busca */
.topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .topbar-search .form-control {
        border-radius: 0;
        border: 1px solid rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        font-size: 14.35px;
        height: 30px;
        padding: 0 11.4px;
        transition: border-color var(--transition), background var(--transition);
    }

        .topbar-search .form-control::placeholder {
            color: rgba(255, 255, 255, 0.55);
        }

        .topbar-search .form-control:focus {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.7);
            box-shadow: none;
            color: var(--white);
            outline: none;
        }

    .topbar-search .btn-buscar {
        border-radius: 0;
        background: var(--white);
        border: 1px solid var(--white);
        color: var(--red);
        font-size: 14.35px;
        font-weight: 600;
        height: 30px;
        padding: 0 14.9px;
        white-space: nowrap;
        transition: background var(--transition), color var(--transition);
    }

        .topbar-search .btn-buscar:hover {
            background: var(--off-white);
        }

.mobile-nav-search {
    display: none;
}

/* === NAVBAR BAND (branca) === */
.site-navbar-band {
    grid-column: 2;
    grid-row: 2;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 6.1px 24px !important;
}

@media (min-width: 992px) {
    .site-navbar-band .navbar-collapse {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }

        .site-navbar-band .navbar-collapse .site-main-links {
            grid-column: 2;
            margin: 0 !important;
        }

        .site-navbar-band .navbar-collapse .site-nav-cta {
            grid-column: 3;
            justify-self: end;
            margin: 0 !important;
            padding-left: 0 !important;
        }
}

.site-navbar-band .nav-link {
    color: #7b7b7c;
    font-size: 15.3px;
    font-weight: 400;
    padding: 8.75px 18.4px !important;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

    .site-navbar-band .nav-link:hover,
    .site-navbar-band .nav-link:focus,
    .site-navbar-band .nav-link.active {
        color: var(--red);
        background: var(--red-subtle);
    }

    .site-navbar-band .nav-link.show {
        color: var(--red);
    }

/* BotÃ£o "Entrar" */
.btn-entrar {
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text);
    font-weight: 500;
    font-size: 15.75px;
    border-radius: 0;
    padding: 6.65px 17.5px;
    transition: border-color var(--transition), color var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

    .btn-entrar:hover {
        border-color: var(--red);
        color: var(--red);
        background: var(--red-subtle);
    }

/* BotÃ£o "Inscreva-se" */
.btn-inscreva {
    background: var(--red);
    border: 1.5px solid var(--red);
    color: var(--white);
    font-weight: 600;
    font-size: 15.75px;
    border-radius: 0;
    padding: 6.65px 17.5px;
    transition: background var(--transition), border-color var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

    .btn-inscreva:hover {
        background: var(--red-dark);
        border-color: var(--red-dark);
        color: var(--white);
    }

/* === DROPDOWN === */
.site-navbar-band .dropdown-menu {
    border: none;
    border-top: 3px solid var(--red);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    padding: 7px 0;
    min-width: 195px;
    margin-top: 2.6px;
}

.site-navbar-band .dropdown-item {
    font-size: 15.75px;
    color: var(--text);
    padding: 10.5px 21px;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition), background var(--transition);
}

    .site-navbar-band .dropdown-item:last-child {
        border-bottom: none;
    }

    .site-navbar-band .dropdown-item:hover,
    .site-navbar-band .dropdown-item:focus {
        background: var(--red-subtle);
        color: var(--red);
    }

/* === HERO === */
.site-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    background-color: #2c2c2c;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.site-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.6;
}

.site-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(30, 30, 30, 0.65) 0%, rgba(30, 30, 30, 0.1) 60%, transparent 100% );
}

.gap-inside {
    padding: 1rem;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-self: start;
}

.site-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.site-hero-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    line-height: 1.25;
}

/* === CARDS DE CONTEÃšDO === */
.site-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
}

    .site-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
        color: inherit;
    }

.site-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.site-card-body {
    padding: 1rem 1.15rem;
}

.site-card-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 0.3rem;
}

.site-card-title {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.site-card-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* === SECTION HEADERS === */
.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

    .section-title::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 1.3em;
        background: var(--red);
        border-radius: 2px;
        flex-shrink: 0;
    }

/* === FOOTER === */
.site-footer {
    background: var(--red);
    color: rgba(255, 255, 255, 0.82);
    padding: 2.5rem 0 0;
    font-size: 0.88rem;
}

    .site-footer h6 {
        color: var(--white);
        font-weight: 700;
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 0.9rem;
        padding-bottom: 0.45rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .site-footer a {
        color: rgba(255, 255, 255, 0.78);
        text-decoration: none;
        transition: color var(--transition);
        display: block;
        margin-bottom: 0.3rem;
        font-size: 0.84rem;
    }

        .site-footer a:hover {
            color: var(--white);
        }

.site-footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .site-footer-logo-col {
        align-items: center;
    }
}

.site-footer-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
}

.site-footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    margin: 0;
    text-align: right;
}

    .site-footer-copy a {
        color: rgba(255, 255, 255, 0.6);
        display: inline;
        margin-bottom: 0;
        font-size: inherit;
        text-decoration: none;
    }

        .site-footer-copy a:hover {
            color: #fff;
        }

.site-footer-logo {
    max-height: 110px;
    width: auto;
    margin-bottom: 0.85rem;
}

.site-footer-org-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    text-align: right;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.site-footer-contact-line {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    text-align: right;
    display: block;
    margin-bottom: 0.3rem;
    line-height: 1.5;
    text-decoration: none;
}

    .site-footer-contact-line:hover {
        color: var(--white);
    }

.site-footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

    .site-footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        color: var(--white) !important;
        font-size: 1rem;
        text-decoration: none !important;
        margin-bottom: 0;
        transition: background var(--transition);
    }

        .site-footer-social a:hover {
            background: rgba(255, 255, 255, 0.35);
        }

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.18);
    padding: 0.85rem 0;
    margin-top: 2rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

/* === UTILITÃRIOS === */
.text-red {
    color: var(--red) !important;
}

.bg-red {
    background-color: var(--red) !important;
}

.border-red {
    border-color: var(--red) !important;
}

/* Foco acessÃ­vel */
.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 0, 0, 0.25);
}

/* Form floating placeholders */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--text-muted);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* === RESPONSIVO â€” HEADER === */

/* Tablet / mobile (â‰¤ 991px) */
@media (max-width: 1150px) and (min-width: 992px) {
    .site-navbar-band .nav-link {
        font-size: 14px;
        padding: 8px 12px !important;
    }

    .site-navbar-band .navbar-collapse .site-nav-cta {
        gap: 6px !important;
        padding-left: 10px !important;
    }

    .btn-entrar,
    .btn-inscreva {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
    }

    /* Header: colapsa para linha Ãºnica â€” logo | hamburger */
    .site-header {
        position: relative;
        grid-template-rows: auto;
    }

    /* Logo: redefine alinhamento e cancela translateX do desktop */
    .site-header-logo {
        grid-row: 1;
        justify-content: center;
        padding: 6px 14px;
    }

    .site-header-logo-img {
        transform: none;
        max-height: 52px;
    }

    /* Topbar oculta no mobile */
    .site-topbar-band {
        display: none;
    }

    /* Navbar: mesma linha do logo, sem padding vertical */
    .site-navbar-band {
        grid-row: 1;
        position: relative; /* ancora o collapse */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: stretch !important;
    }

        /* Hamburger ocupa a altura total */
        .site-navbar-band .navbar-toggler {
            align-self: stretch;
            margin-left: auto;
            border: none;
            border-radius: 0;
            padding: 0 20px;
        }

        /* Menu aberto flutua abaixo do header */
        .site-navbar-band .navbar-collapse {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--white);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            z-index: 1050;
            padding: 12px 20px 20px;
        }

    .mobile-nav-search {
        display: flex;
        width: 100%;
        margin-bottom: 12px;
    }

        .mobile-nav-search .form-control {
            flex: 1;
            min-width: 0;
            border-color: var(--border);
            background: #ffffff;
            color: var(--text);
        }

            .mobile-nav-search .form-control::placeholder {
                color: var(--text-muted);
            }

            .mobile-nav-search .form-control:focus {
                border-color: var(--red);
                background: #ffffff;
                color: var(--text);
                box-shadow: 0 0 0 0.15rem rgba(255, 0, 0, 0.14);
            }

        .mobile-nav-search .btn-buscar {
            border-color: var(--red);
            background: var(--red);
            color: #ffffff;
        }

            .mobile-nav-search .btn-buscar:hover {
                background: var(--red-dark);
                border-color: var(--red-dark);
            }

    /* Nav links: largura total no mobile */
    .site-navbar-band .nav-link {
        padding: 0.55rem 0.6rem !important;
    }

    /* BotÃµes Entrar + Inscreva-se: empilham no mobile */
    .site-navbar-band .navbar-collapse .site-nav-cta {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 8px;
        gap: 8px !important;
    }

    .btn-entrar,
    .btn-inscreva {
        width: 100%;
        text-align: center;
    }
}

/* Smartphones (â‰¤ 575px) */
@media (max-width: 575.98px) {
    .site-header-logo-img {
        max-height: 44px;
    }

    .site-hero-badge {
        font-size: 0.9rem;
        padding: 0.35rem 0.8rem;
    }
}

/* ============================================================
   GRID-NOTICIAS
   Container: 1640px centralizado
   Medidas base:
     Grandes  (slider/galeria): 654 Ã— 401px
     PadrÃ£o   (artigos/news):   316 Ã— 316px
     ColÃ´nia  (fÃ©rias):         534 Ã— 323px
     Widgets  (cal/end/rev):    305 Ã— 400px
============================================================ */

/* Hero banner */
.gn-hero {
    width: auto;
    height: auto;
    min-height: 0;
    position: relative;
    display: block;
    overflow: hidden;
    background: #d0d0d0;
    border-bottom: 4px solid var(--red);
    margin: 12px 10px 3px 10px;
    box-shadow: 2px 3px 11px -1px;
    border-radius: 5px;
}

    .gn-hero-link,
    .gn-hero picture {
        display: block;
        width: 100%;
        max-width: 100%;
    }

.gn-hero-link {
    color: inherit;
    text-decoration: none;
}

.gn-hero-img {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.gn-hero-badge {
    position: relative;
    z-index: 2;
    background: var(--red);
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 20px;
    margin: 0 0 24px 24px;
    text-decoration: none;
    display: inline-block;
}

/* Container centralizado */
.gn-wrap {
    max-width: 1640px;
    margin: 0 auto;
    padding: 20px 40px 40px;
}

/* EspaÃ§amento entre linhas */
.gn-row {
    margin-bottom: 32px;
}

/* â”€â”€ SeÃ§Ã£o topo: col1 (big+2smalls) | col2 (2smalls+big) | artigos (321px) â”€â”€ */
.gn-top {
    display: grid;
    grid-template-columns: 1fr 1fr 321px;
    gap: 24px;
    align-items: stretch;
}

.gn-col1, .gn-col2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gn-col2-vozes {
    position: static;
    width: 100%;
}

    .gn-col2-vozes > a,
    .gn-col2-vozes .gn-big {
        display: block;
        width: 100%;
    }

.gn-podcast-home {
    display: flex;
    flex-direction: column;
}

.gn-podcast-home-player {
    position: relative;
    width: 100%;
    min-height: 220px;
    /*aspect-ratio: 16 / 9;*/
    background: #000;
    overflow: hidden;
}

.gn-podcast-home-lazy,
.gn-podcast-home-frame,
.gn-podcast-home-media,
.gn-podcast-home-thumb,
.gn-podcast-home-placeholder,
.gn-podcast-home-audio {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gn-podcast-home-lazy {
    padding: 0;
    border: 0;
    background: #111;
    cursor: pointer;
}

.gn-podcast-home-frame {
    border: 0;
}

.gn-podcast-home-media,
.gn-podcast-home-thumb {
    object-fit: cover;
}

.gn-podcast-home-placeholder,
.gn-podcast-home-audio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #fff;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    background: linear-gradient(135deg, #1c1c1c, #4c0000);
}

    .gn-podcast-home-audio audio {
        width: 100%;
    }

.gn-podcast-home-lazy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.gn-podcast-home-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    width: 62px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ff0000;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    transition: transform var(--transition), background var(--transition);
}

    .gn-podcast-home-play .bi {
        font-size: 2rem;
        line-height: 1;
    }

.gn-podcast-home-lazy:hover .gn-podcast-home-play,
.gn-podcast-home-lazy:focus-visible .gn-podcast-home-play {
    background: #cc0000;
    transform: translate(-50%, -50%) scale(1.05);
}

.gn-podcast-home-body {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    color: #848484;
}

    .gn-podcast-home-body strong {
        min-width: 0;
        font-size: 14px;
        line-height: 1.3;
    }

.gn-podcast-home-btn {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

    .gn-podcast-home-btn:hover {
        color: #fff;
        background: #cc0000;
    }

@media (min-width: 992px) {
    .gn-col2 {
        height: 100%;
    }

    .gn-col1 .gn-smalls-row {
        margin-top: auto;
    }

    .gn-col2-vozes .gn-colonia-title {
        margin-top: 0px;
    }

    .gn-col2-vozes {
        display: flex;
        flex: 1;
        flex-direction: column;
        min-height: 0;
    }

        .gn-col2-vozes > a {
            display: flex;
            flex: 1;
            flex-direction: column;
            min-height: 0;
        }

        .gn-col2-vozes .gn-big {
            flex: 1;
            min-height: 0;
        }

        .gn-col2-vozes .gn-podcast-home {
            display: flex;
        }

        .gn-col2-vozes .gn-podcast-home-player {
            flex: 1;
            min-height: 0;
            aspect-ratio: auto;
        }

        .gn-col2-vozes .gn-big-img {
            height: 100%;
            min-height: 323px;
        }
}

/* Banner grande (col1 / col2) */
.gn-big {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition);
}

    .gn-big:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
        color: inherit;
    }

.gn-big-img {
    width: 100%;
    height: 323px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}

.gn-col1 .gn-big-img {
    object-position: center 15%;
}

.gn-big-img-ph {
    width: 100%;
    height: 323px;
    background: linear-gradient(135deg, var(--red) 0%, #1a1a1a 100%);
    border-radius: 8px 8px 0 0;
}

.gn-big-body {
    padding: 14px 18px;
    min-height: 71px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gn-big-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 2.8em;
    color: #848484;
    margin-bottom: 0;
}

    .gn-big-title a {
        color: inherit;
        text-decoration: none;
    }

        .gn-big-title a:hover {
            color: var(--red);
        }

.gn-big-date {
    font-size: 11px;
    color: var(--red);
    width: auto;
    text-align: left;
}

.gn-big-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px 14px;
}

.gn-big-more {
    margin-left: auto;
    white-space: nowrap;
}

/* Linha de 2 cards pequenos (dentro de col1/col2) */
.gn-smalls-row {
    display: flex;
    gap: 8px;
}

    .gn-smalls-row > a {
        flex: 1;
        min-width: 0;
        display: block;
    }

    .gn-smalls-row .gn-card {
        flex: 1;
        width: auto;
    }

    .gn-smalls-row .gn-card-img,
    .gn-smalls-row .gn-card-img-ph {
        width: 100%;
    }

/* Artigos */
.gn-artigos-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.gn-artigos {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: 0px 8px;
    flex: 1;
}

.gn-sec-label {
    font-size: 18px;
    font-weight: 700;
    color: #848484;
    letter-spacing: 0.01em;
    text-align: center;
    padding: 0px 14px 12px;
}

.gn-artigo-body {
    padding: 14px 0px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gn-artigo-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    border-radius: 0;
}

.gn-artigo-img-ph {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    border-radius: 0;
}

.gn-artigo-sub {
    font-size: 13px;
    font-weight: 700;
    color: #848484;
    line-height: 1.4;
    padding: 10px 0 4px;
    text-decoration: none;
    display: block;
}

    .gn-artigo-sub:hover {
        color: var(--red);
    }

.gn-mais {
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    padding: 4px 0 0;
    display: block;
    margin-top: auto;
}

    .gn-mais:hover {
        text-decoration: underline;
    }

.gn-artigo-sub:hover {
    color: var(--red);
}

.gn-mais {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    padding: 6px 0 0;
    display: block;
    margin-top: auto;
    border-bottom: solid 2px
}

    .gn-mais:hover {
        text-decoration: underline;
    }


/* Newsletter */
.gn-newsletter-outer {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.gn-newsletter {
    background: #e53935;
    padding: 28px 22px 30px;
    border-radius: 4px;
    border: 1px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gn-newsletter-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    margin: 0 0 22px;
}

.gn-newsletter form {
    display: flex;
    flex-direction: column;
}

.gn-newsletter-inputs {
    border: 1px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
}

.gn-newsletter-input {
    width: 100%;
    padding: 11px 20px;
    border: 1.5px solid #c0392b;
    border-radius: 50px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    color: #c0392b;
}

    .gn-newsletter-input::placeholder {
        color: #c0392b;
        opacity: 0.75;
    }

    .gn-newsletter-input:focus {
        border-color: rgba(0,0,0,0.15);
        box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
    }

.gn-newsletter-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    letter-spacing: 0.03em;
    transition: background var(--transition);
}

    .gn-newsletter-btn:hover {
        background: #2a2a2a;
    }

/* Card padrÃ£o 316 Ã— 316 */
.gn-card {
    width: 316px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), transform var(--transition);
}

    .gn-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
        transform: translateY(-2px);
        color: inherit;
    }

.gn-card-img {
    width: 316px;
    height: 260px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}

.gn-top .gn-smalls-row .gn-card-img {
    object-position: center 15%;
}

.gn-card-img-ph {
    width: 316px;
    height: 220px;
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    border-radius: 8px 8px 0 0;
}

.gn-card-body {
    padding: 10px 12px;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.gn-card-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--red);
    margin-bottom: 4px;
}

.gn-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #848484;
    margin-bottom: 6px;
    flex: 1;
}

.gn-card-date {
    font-size: 11px;
    color: var(--red);
    width: 100%;
    text-align: right;
}

/* â”€â”€ Linha 3: 3 Ã— colÃ´nia (534 Ã— 323) â”€â”€ */
.gn-row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
}

.gn-colonia-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition);
}

    .gn-colonia-link:hover {
        transform: translateY(-2px);
    }

        .gn-colonia-link:hover .gn-colonia-title {
            color: var(--red);
        }

.gn-colonia-title {
    font-size: 18px;
    font-weight: 700;
    color: #848484;
    border-bottom: 2px solid var(--red);
    padding: 10px 14px 8px;
    margin: 0 0 10px;
    letter-spacing: 0.01em;
}

.gn-colonia-img {
    width: 100%;
    aspect-ratio: 534 / 322;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-top: 0;
}

.gn-colonia-img-ph {
    width: 100%;
    aspect-ratio: 534 / 322;
    border-radius: 8px;
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
}

/* â”€â”€ Linha 4: galeria (636Ã—394) | cal (305Ã—394) | end (305Ã—394) | revista (301Ã—394) â”€â”€ */
.gn-row4 {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1fr));
    gap: 31px;
    align-items: start;
}

/* Galeria */
.gn-galeria {
    width: 100%;
    height: 394px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.gn-galeria-label {
    font-size: 18px;
    font-weight: 700;
    color: #848484;
    letter-spacing: 0.01em;
    border-bottom: 2px solid var(--red);
    padding: 10px 14px 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.gn-galeria-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.gn-galeria-slide-link {
    position: relative;
    z-index: 1;
}

.gn-galeria-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gn-galeria-overlay {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 48px 22px 18px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.gn-galeria-titulo {
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.gn-galeria-ver-mais {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid var(--red);
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    pointer-events: auto;
    transition: background var(--transition), border-color var(--transition);
}

    .gn-galeria-ver-mais:hover,
    .gn-galeria-ver-mais:focus-visible {
        border-color: var(--red-dark);
        background: var(--red-dark);
        color: #fff;
    }

.gn-galeria-img-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #888 0%, #555 100%);
}

/* Widget base */
.gn-widget {
    width: 100%;
    height: 394px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.gn-widget-revista {
    width: 100%;
}

.gn-widget-label {
    font-size: 18px;
    font-weight: 700;
    color: #848484;
    letter-spacing: 0.01em;
    border-bottom: 2px solid var(--red);
    padding: 10px 14px 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.gn-calendar-widget {
    width: 100%;
    height: 394px;
    display: flex;
    flex-direction: column;
}

    .gn-calendar-widget .gnc-outer {
        flex: 1;
        height: auto;
    }

/* CalendÃ¡rio */
.gn-cal-body {
    padding: 10px 14px;
}

.gn-cal-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 12px;
}

.gn-cal-day {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.gn-cal-info {
    font-size: 9px;
    line-height: 1.5;
}

.gn-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
}

    .gn-cal-grid div {
        padding: 1px 0;
    }

.gn-cal-today {
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    margin: auto;
}

/* EndereÃ§o */
.gn-end-body {
    padding: 0 14px 12px;
}

.gn-end-city {
    font-size: 13px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 6px;
}

.gn-end-addr {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Revista SaÃºde */
.gn-revista-slider {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.gn-revista-slide {
    display: none;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

    .gn-revista-slide.ativo {
        display: block;
    }

.gn-revista-img {
    flex: 1;
    object-fit: cover;
    width: 100%;
    min-height: 0;
    display: block;
}

.gn-revista-slider .gn-revista-img {
    height: 100%;
}

.gn-revista-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 30px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    color: rgba(161, 0, 0, 0.72);
    opacity: 0.72;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.gn-revista-prev {
    left: 8px;
}

.gn-revista-next {
    right: 8px;
}

.gn-revista-nav:hover,
.gn-revista-nav:focus-visible {
    background: rgba(255, 255, 255, 0.84);
    color: var(--red);
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
}

.gn-revista-nav:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.gn-revista-img-ph {
    flex: 1;
    background: linear-gradient(160deg, var(--red) 0%, #990000 55%, #330000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center;
    padding: 16px;
    line-height: 1.3;
}

.gn-wrap {
    background: transparent;
}

/* ============================================================
   RESPONSIVO â€” GRID CONTEÃšDO
============================================================ */

/* Desktops mÃ©dios / notebooks largos (â‰¤ 1440px) */
@media (max-width: 1440px) {
    .gn-wrap {
        padding: 20px 24px 36px;
    }

    .gn-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px;
    }

    .gn-row4 {
        gap: 20px;
    }
}

/* Notebooks (â‰¤ 1280px): sidebar desce para baixo do topo */
@media (max-width: 1280px) {
    .gn-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

        .gn-top > .gap-inside {
            grid-column: 1 / -1;
            padding: 0;
        }

    .gn-artigos-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: stretch;
    }

    .gn-newsletter-outer {
        height: 100%;
    }

    .gn-newsletter {
        min-height: 100%;
    }

    .gn-row4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gn-galeria {
        grid-column: 1 / -1;
    }
}

/* Tablet / mobile (â‰¤ 991px) */
@media (max-width: 991.98px) {

    /* Container */
    .gn-wrap {
        padding: 16px 16px 28px;
    }

    /* SeÃ§Ã£o topo: empilha as 3 colunas */
    .gn-top {
        grid-template-columns: 1fr;
    }

        .gn-top > .gap-inside {
            grid-column: auto;
        }

    .gap-inside {
        padding: 0;
    }

    /* Banners grandes */
    .gn-big-img,
    .gn-big-img-ph {
        width: 100%;
        height: 220px;
    }

    /* Cards pequenos: lado a lado â†’ empilhados */
    .gn-smalls-row {
        flex-direction: column;
    }

        .gn-smalls-row > a {
            width: 100%;
        }

        .gn-smalls-row .gn-card {
            width: 100%;
        }

    /* Card padrÃ£o */
    .gn-card {
        width: 100%;
    }

    .gn-card-img,
    .gn-card-img-ph {
        width: 100%;
        height: 180px;
    }

    /* Artigos */
    .gn-artigos-wrap {
        width: 100%;
        display: flex;
        grid-template-columns: none;
    }

    .gn-artigos {
        border-radius: 8px 8px 0 0;
    }

    .gn-artigo-img,
    .gn-artigo-img-ph {
        height: 200px;
    }

    .gn-newsletter-outer {
        border-radius: 8px;
    }

    /* Linha 3 â€“ colÃ´nias */
    .gn-row3 {
        grid-template-columns: 1fr;
    }

    .gn-colonia-img,
    .gn-colonia-img-ph {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    /* Linha 4 â€“ galeria + widgets */
    .gn-row4 {
        grid-template-columns: 1fr;
    }

    .gn-galeria {
        height: auto;
    }

    .gn-galeria-slider {
        height: 260px;
        max-height: 260px
    }

    .gn-galeria-img,
    .gn-galeria-img-ph {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gn-widget,
    .gn-widget-revista,
    .gn-calendar-widget {
        height: auto;
    }

    .gn-revista-slider,
    .gn-revista-img {
        aspect-ratio: 4 / 5;
    }

    /* Calendar widget */
    .gnc-outer {
        height: auto;
        border-radius: 12px;
    }

    .gnc-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 72px 12px 12px;
        height: auto;
        min-height: 240px;
    }
}

/* Smartphones (â‰¤ 575px) */
@media (max-width: 575.98px) {
    .gn-wrap {
        padding: 12px 12px 24px;
    }

    .gn-row {
        margin-bottom: 20px;
    }

    .gn-top {
        gap: 14px;
    }

    .gn-big-img,
    .gn-big-img-ph {
        height: 180px;
    }

    .gn-card-img,
    .gn-card-img-ph {
        height: 150px;
    }

    .gn-galeria-slider {
        height: 200px;
    }

    .gn-newsletter-title {
        font-size: 15px;
    }
}

/* Smartphones pequenos (â‰¤ 420px) */
@media (max-width: 420px) {
    .gn-wrap {
        padding: 10px 10px 20px;
    }

    .gn-big-body {
        padding: 10px 12px;
        min-height: 62px;
    }

    .gn-big-footer {
        padding: 0 12px 12px;
        gap: 8px;
    }

    .gn-big-title {
        font-size: 13.5px;
    }

    .gn-card-body {
        padding: 9px 10px;
    }

    .gn-card-title {
        font-size: 12.5px;
    }

    .gn-galeria-slider {
        height: 180px;
    }

    .gn-galeria-overlay {
        gap: 10px;
        padding: 38px 12px 12px;
    }

    .gn-galeria-titulo {
        font-size: 14px;
    }

    .gn-galeria-ver-mais {
        padding: 7px 12px;
        font-size: 0.76rem;
    }
}

/* CKEditor content images */
.ni-body {
    display: flow-root;
}

    .ni-body figure.image {
        margin: 1.25rem 0;
        max-width: 100%;
    }

        .ni-body figure.image img {
            display: block;
            width: 100%;
            height: auto;
            margin: 0;
            border-radius: var(--radius);
        }

        .ni-body figure.image.image_resized {
            display: block;
            box-sizing: border-box;
            max-width: 100%;
        }

            .ni-body figure.image.image_resized > figcaption {
                display: block;
            }

        .ni-body figure.image figcaption {
            margin-top: 0.5rem;
            font-size: 0.875rem;
            line-height: 1.5;
            color: var(--text-muted);
            text-align: center;
        }

    .ni-body figure.image-style-side,
    .ni-body figure.image-style-align-left,
    .ni-body figure.image-style-align-right {
        max-width: min(44%, 360px);
    }

    .ni-body figure.image-style-side,
    .ni-body figure.image-style-align-right {
        float: right;
        margin: 0 0 1rem 1.5rem;
    }

    .ni-body figure.image-style-align-left {
        float: left;
        margin: 0 1.5rem 1rem 0;
    }

    .ni-body figure.image-style-block {
        float: none;
        clear: both;
        margin: 1.25rem 0;
    }

    .ni-body img.image-inline {
        display: inline-block;
        vertical-align: middle;
        max-width: 100%;
        margin: 0 4px;
    }

@media (max-width: 767.98px) {
    .ni-body figure.image-style-side,
    .ni-body figure.image-style-align-left,
    .ni-body figure.image-style-align-right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
}

/* ============================================================
   CALENDAR WIDGET â€” gnc-*
   Split background: redâ†’coral (top 50%) | white (bottom 50%)
   Calendar card floats centered over the dividing line
============================================================ */

/* Outer container: the split background */
.gnc-outer {
    font-family: 'Outfit', system-ui, sans-serif;
    position: relative;
    width: 100%;
    height: 394px;
    background: linear-gradient(to bottom, #e53935 0%, #ff7043 50%, #ffffff 50% );
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Date info â€” rendered directly on the red-coral area */
.gnc-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 16px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 1;
}

.gnc-top-left {
    display: flex;
    flex-direction: column;
}

.gnc-dow {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.gnc-daynum {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0;
}

.gnc-monyear {
    display: none;
}

/* White floating calendar card */
.gnc-card {
    position: absolute;
    top: 86px;
    left: 14px;
    right: 14px;
    bottom: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 -6px 22px rgba(0,0,0,0.07), 0 8px 28px rgba(0,0,0,0.11);
    padding: 12px 14px 8px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Month navigation */
.gnc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.gnc-nav-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.gnc-nav-btn {
    background: none;
    border: none;
    font-size: 21px;
    color: #c0c0c0;
    cursor: pointer;
    padding: 0 3px;
    line-height: 1;
    font-family: inherit;
    transition: color 0.15s;
}

    .gnc-nav-btn:hover {
        color: var(--red);
    }

/* Weekday labels */
.gnc-wdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 3px;
    flex-shrink: 0;
}

    .gnc-wdays span {
        font-size: 8px;
        font-weight: 700;
        color: #ccc;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding: 2px 0;
    }

/* Day grid */
.gnc-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    flex: 1;
    align-content: start;
}

.gnc-day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 400;
    color: #484848;
    width: 26px;
    height: 26px;
    margin: 2px auto;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
}

    .gnc-day:hover:not(.gnc-today):not(.gnc-other) {
        background: rgba(255,0,0,0.07);
        color: var(--red);
    }

.gnc-today {
    background: var(--red) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,0,0,0.38);
}

.gnc-other {
    color: #ddd;
    cursor: default;
    font-weight: 300;
}

/* ============================================================
   FEEDBACK FLUTUANTE + MODAL CONTATO
============================================================ */
.site-floating-message-wrap {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2200;
    width: min(430px, calc(100vw - 32px));
}

.site-floating-message {
    margin: 0;
    border: 1px solid #f1d3d3;
    border-left: 4px solid var(--red);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: #fff;
    color: #3a3a3a;
    font-weight: 600;
    font-size: 0.92rem;
    padding-right: 2.4rem;
}

    .site-floating-message.alert-danger {
        border-left-color: #b90000;
        background: #fff6f6;
    }

    .site-floating-message.alert-success {
        border: 1px solid #bfe7cb;
        border-left-color: #2f9e44;
        background: #eafaf0;
        color: #1f5130;
    }

    .site-floating-message .btn-close {
        top: 0.35rem;
        right: 0.55rem;
    }

@media (max-width: 991.98px) {
    .site-floating-message-wrap {
        top: 10px;
        left: 10px;
        right: 10px;
        width: auto;
    }
}

.contact-modal-dialog {
    max-width: 760px;
}

.contact-modal-content {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-modal-header {
    background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    border-bottom: 0;
    padding: 14px 20px;
}

.contact-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.9;
}

.contact-modal-body {
    background: #fff;
    padding: 20px;
}

.contact-modal-label {
    color: #565656;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-modal-input {
    border: 1px solid #dedede;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.94rem;
}

.contact-modal-textarea {
    border-radius: 14px;
    min-height: 140px;
    resize: vertical;
}

.contact-modal-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.14rem rgba(255, 0, 0, 0.2);
}

.contact-modal-footer {
    border-top: 1px solid #efefef;
    padding: 14px 20px 18px;
    background: #fff;
}

.contact-modal-btn-secondary {
    border-radius: 999px;
    padding: 8px 18px;
}

.contact-modal-btn-primary {
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .contact-modal-btn-primary:hover {
        background: var(--red-dark);
        border-color: var(--red-dark);
        color: #fff;
    }

    .contact-modal-btn-primary:disabled {
        background: var(--red-dark);
        border-color: var(--red-dark);
        color: #fff;
        cursor: wait;
        opacity: 0.8;
    }

@media (max-width: 575.98px) {
    .contact-modal-dialog {
        margin: 0.65rem;
    }

    .contact-modal-body {
        padding: 15px 14px 10px;
    }

    .contact-modal-footer {
        padding: 10px 14px 14px;
    }

    .contact-modal-btn-secondary,
    .contact-modal-btn-primary {
        flex: 1;
    }
}

/* === COOKIE CONTROL PANEL === */
.cookie-floating-button[hidden],
.cookie-preference-alert[hidden] {
    display: none !important;
}

.cookie-floating-button {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1070;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 30px rgba(8, 26, 48, 0.24);
    font-size: 1.65rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

    .cookie-floating-button:hover,
    .cookie-floating-button:focus {
        background: var(--red-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 16px 36px rgba(8, 26, 48, 0.30);
    }

.cookie-floating-icon {
    width: 34px;
    height: 34px;
    display: block;
}

.cookie-icon-base {
    fill: #ffd68a;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linejoin: round;
}

.cookie-icon-chip {
    fill: #7b3f18;
}

.cookie-preference-alert {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1070;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: min(520px, calc(100vw - 44px));
    padding: 20px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(8, 26, 48, 0.24);
    color: #1c3556;
}

.cookie-alert-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
}

    .cookie-alert-icon .cookie-floating-icon {
        width: 30px;
        height: 30px;
    }

.cookie-alert-content h2 {
    margin: 0 0 7px;
    color: #11345a;
    font-size: 1.06rem;
    font-weight: 800;
}

.cookie-alert-content p {
    margin: 0;
    color: #46586d;
    font-size: 0.91rem;
    line-height: 1.55;
}

.cookie-alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cookie-alert-primary,
.cookie-alert-secondary {
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.cookie-alert-primary {
    order: 2;
    border: 1px solid var(--red);
    background: var(--red);
    color: #fff;
}

    .cookie-alert-primary:hover,
    .cookie-alert-primary:focus {
        border-color: var(--red-dark);
        background: var(--red-dark);
        color: #fff;
    }

.cookie-alert-secondary {
    order: 1;
    border: 1px solid #d4deea;
    background: #fff;
    color: #123d68;
}

    .cookie-alert-secondary:hover,
    .cookie-alert-secondary:focus {
        border-color: #123d68;
        background: #f4f7fb;
        color: #123d68;
    }

.cookie-control-panel[hidden] {
    display: none !important;
}

.cookie-control-panel {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: rgba(13, 28, 52, 0.42);
}

.cookie-control-card {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(8, 26, 48, 0.22);
    padding: 30px;
    color: #1c3556;
}

.cookie-control-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.cookie-control-kicker {
    margin: 0 0 6px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-control-header h2 {
    margin: 0;
    color: #11345a;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
}

.cookie-control-section + .cookie-control-section {
    margin-top: 30px;
}

.cookie-control-section h3 {
    margin: 0 0 10px;
    color: #123d68;
    font-size: 1.08rem;
    font-weight: 800;
}

.cookie-control-intro {
    margin: 0 0 18px;
    color: #3e5064;
    font-size: 0.96rem;
    line-height: 1.65;
}

.cookie-control-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-control-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 19px 20px;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
}

.cookie-control-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .cookie-control-copy strong {
        color: #122f52;
        font-size: 1rem;
        font-weight: 800;
    }

    .cookie-control-copy span,
    .cookie-control-empty {
        color: #46586d;
        font-size: 0.93rem;
        line-height: 1.55;
    }

.cookie-control-empty {
    margin: 0;
    padding: 18px 20px;
    background: #f7f9fc;
    border: 1px dashed #d7e1ec;
    border-radius: 16px;
}

.cookie-switch {
    flex: 0 0 auto;
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 30px;
    margin: 0;
}

    .cookie-switch input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .cookie-switch span {
        position: absolute;
        inset: 0;
        cursor: pointer;
        border-radius: 999px;
        background: #cdd7e4;
        transition: background var(--transition);
    }

        .cookie-switch span::before {
            content: "";
            position: absolute;
            top: 4px;
            left: 4px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 2px 8px rgba(18, 47, 82, 0.22);
            transition: transform var(--transition);
        }

    .cookie-switch input:checked + span {
        background: var(--red);
    }

        .cookie-switch input:checked + span::before {
            transform: translateX(24px);
        }

    .cookie-switch input:disabled + span {
        cursor: not-allowed;
        opacity: 0.86;
    }

.cookie-control-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
}

.cookie-accept-all {
    min-width: 190px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    padding: 13px 24px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: background var(--transition), transform var(--transition);
}

    .cookie-accept-all:hover,
    .cookie-accept-all:focus {
        background: var(--red-dark);
        color: #fff;
        transform: translateY(-1px);
    }

@media (max-width: 575.98px) {
    .cookie-control-panel {
        padding: 12px;
    }

    .cookie-floating-button {
        left: 14px;
        bottom: 14px;
        width: 50px;
        height: 50px;
        font-size: 1.45rem;
    }

    .cookie-preference-alert {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 16px;
        gap: 12px;
    }

    .cookie-alert-icon {
        width: 42px;
        height: 42px;
    }

    .cookie-alert-actions {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .cookie-alert-primary,
    .cookie-alert-secondary {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 0.78rem;
        line-height: 1.15;
        text-align: center;
    }

    .cookie-control-card {
        max-height: calc(100vh - 24px);
        border-radius: 18px;
        padding: 22px 18px;
    }

    .cookie-control-item {
        gap: 16px;
        padding: 16px;
    }

    .cookie-control-actions {
        justify-content: stretch;
    }

    .cookie-accept-all {
        width: 100%;
    }
}
