@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Montserrat:wght@700;800;900&display=swap');

:root {
    --primary: #174799;
    /* Azul Escuro Oficial */
    --primary-dark: #0f3370;
    /* Azul mais escuro para gradientes */
    --primary-mid: #1173c9;
    /* Azul Médio Oficial */
    --primary-light: #00caff;
    /* Azul Claro Oficial */
    --accent: #ffbb00;
    /* Amarelo Oficial */
    --accent-rose: #f17cb0;
    /* Rosa Oficial */
    --primary-pink: #f17cb0;
    /* Rosa/Magenta Oficial */
    --text-color: #333;
    --font-base: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* --- Tipografia: Montserrat para titulos, menus e botoes --- */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title,
.single-titulo,
.noticia-destaque-titulo,
.noticia-item-titulo,
.sidebar-box-title span,
.noticias-lista-label,
.widget-title,
.footer-widget .widget-title {
    font-family: var(--font-heading);
}

.header-menu a,
.hero-button,
.btn-proposicoes,
.btn-ver-todas,
.sidebar-ver-todas,
.noticia-leia-mais,
.single-nav-dir,
.single-nav-title,
.single-categoria,
.single-meta-item,
.single-breadcrumb,
.noticia-data,
.single-tags-label,
.single-share-label,
.noticias-lista-label,
.sidebar-box-title span,
.noticias-lista-label,
.menu-toggle {
    font-family: var(--font-heading);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    height: 50px;
    width: auto;
}

.header-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.header-menu a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.header-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-menu a:hover::after {
    width: 100%;
}

.header-menu a:hover {
    color: var(--primary-dark);
}

@media (min-width: 769px) {
    .header-menu {
        display: flex !important;
    }
}

.menu-toggle {
    display: none;
    /* Esconde o botÃ£o perdido no desktop */
}

/* Hero with Texture */
.hero-section {
    background: transparent;
    position: relative;
    height: 500px;
    /* Proporção 1920x500 */
    display: flex;
    align-items: flex-end;
    /* Alinha o container na parte inferior */
    padding-bottom: 100px;
    /* Altura fixa do botão ao rodapé: 100px */
    overflow: hidden;
    box-sizing: border-box;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 2;
    /* Fica acima da imagem de fundo */
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* Centraliza o texto verticalmente com a imagem */
    width: 100%;
}

.hero-text {
    flex: 1;
    padding-bottom: 0;
    max-width: 550px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-button {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    font-family: var(--font-base);
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.hero-button:hover {
    background: var(--accent-rose);
    color: #fff;
    transform: translateY(-3px);
}

/* Removido o container de imagem lateral do Hero */

/* ==========================================================================
   SEÇÃO: MINI-BIOGRAFIA PREMIUM (SPLIT-CANVAS & STORIES)
   ========================================================================== */
.trajectory-section {
    position: relative;
    background-color: #e0eff3; /* Tom de azul claro solicitado pelo usuário */
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), padding 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px 0;
    overflow: hidden;
}

.trajectory-section * {
    box-sizing: border-box;
}

/* Barra de Cores Oficial no topo da seção */
.head-color-bar {
    display: flex;
    width: 100%;
    height: 8px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.head-color-bar span {
    flex: 1;
}

/* Transição suave para tom escuro de gala no Desktop */
.trajectory-section.dark-mode {
    background-color: var(--primary-dark) !important;
    padding: 35px 0 !important;
}

.trajectory-premium-container {
    display: flex;
    gap: 80px;
}

.trajectory-image-premium { 
    flex: 1; 
    position: relative; 
}

.sticky-avatar-box {
    position: sticky;
    top: 120px;
    width: 100%;
    max-width: 450px;
    height: 560px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}

.sticky-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trajectory-text-premium-wrapper {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.trajectory-text-premium {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.trajectory-text-premium .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.desktop-only-btn-container {
    margin-top: 5px;
    display: flex;
    justify-content: flex-start;
}

.narrative-block .desktop-only-btn-container {
    transform: translateY(25px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-block.visible .desktop-only-btn-container {
    transform: translateY(0);
    opacity: 1;
}

.mobile-only-btn-container {
    display: none !important;
}

/* Efeito de Reveal por Rolagem (Desktop) */
.narrative-block {
    opacity: 0.15;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.concept-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.trajectory-section.dark-mode .section-title { 
    color: #ffffff !important; 
}

.trajectory-text-premium p {
    font-size: 18px;
    line-height: 1.8;
}

.trajectory-section.dark-mode .trajectory-text-premium p { 
    color: #cbd5e0; 
}

/* Ajuste dos contadores originais para transição dark */
.trajectory-section.dark-mode .counter-number {
    color: var(--accent) !important;
}
.trajectory-section.dark-mode .counter-text {
    color: #ffffff !important;
}

.mobile-story-indicators, .story-nav-overlay { 
    display: none; 
}

/* ==========================================================================
   INTERACTIVE STORIES ENGINE (MOBILE VIEWPORT)
   ========================================================================== */
@media (max-width: 992px) {
    .trajectory-section {
        padding: 0 !important;
        height: 100vh;
        background-color: var(--primary-dark) !important;
        display: flex;
        align-items: flex-end;
        user-select: none;
        -webkit-user-select: none;
    }

    .trajectory-premium-container { 
        padding: 0 !important; 
        margin: 0 !important;
        width: 100% !important; 
        max-width: 100% !important; 
        height: 100%; 
        position: absolute; 
        top: 0; 
        left: 0; 
        flex-direction: column; 
    }
    
    .trajectory-image-premium { 
        position: absolute; 
        width: 100%; 
        height: 100%; 
        top: 0; 
        left: 0; 
        z-index: 1; 
    }
    
    .sticky-avatar-box { 
        position: relative; 
        top: 0; 
        max-width: 100%; 
        height: 100%; 
        border-radius: 0; 
        box-shadow: none; 
    }
    
    /* Gradiente de fundo para legibilidade dos cards */
    .sticky-avatar-box::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(to top, rgba(15,51,112,1) 25%, rgba(15,51,112,0.4) 75%, transparent);
    }

    .trajectory-text-premium-wrapper {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
        pointer-events: none;
    }

    .trajectory-text-premium {
        position: absolute;
        bottom: 110px; /* Alinhado acima do botão */
        left: 0;
        width: 100%;
        flex-direction: row;
        gap: 0;
        overflow: hidden;
        pointer-events: auto;
    }

    .narrative-block {
        flex: 0 0 100%;
        width: 100%;
        padding: 0 20px;
        opacity: 0 !important;
        transform: scale(0.96) !important;
        transition: opacity 0.4s ease, transform 0.4s ease !important;
        display: none;
    }

    .narrative-block.active-story {
        display: flex;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    /* Glassmorphism Efeito Moderno de Transparência */
    .glass-card {
        background: rgba(15, 51, 112, 0.60); /* Fundo com 60% de opacidade para efeito translúcido ideal */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        padding: 16px 16px; /* Padding ultra compacto */
        width: 100%;
        min-height: auto; /* Altura flexível baseada no conteúdo */
        height: auto;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); /* Sombreamento mais forte para destacar */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Centralização horizontal e vertical de elementos */
    }

    #canvasSection .glass-card .section-title { 
        font-size: 24px; 
        color: #ffffff !important; 
        text-align: center !important; 
        margin: 0 !important; /* Reseta margens para centralização perfeita vertical e horizontal */
        padding: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    #block0 .glass-card {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        min-height: 120px; /* Garante área de respiro para centralização visual do título principal */
    }
    .glass-card p { 
        font-size: 15px; 
        line-height: 1.7; 
        color: #ffffff !important; 
        margin: 0 !important; /* Zera margens externas para evitar espelhamento de vazios */
        width: 100%;
    }

    /* O segundo story (História) que possui o parágrafo longo fica justificado */
    #block1 p {
        text-align: justify !important;
    }
    
    /* Adaptação dos contadores para caber no card de vidro */
    .glass-card .bio-counters { width: 100%; gap: 10px; justify-content: space-between; }
    .glass-card .counter-number { font-size: 20px; color: var(--accent) !important; }
    .glass-card .counter-text { font-size: 11px; color: #ffffff !important; }

    /* Barras estilo Instagram */
    .mobile-story-indicators {
        display: flex;
        position: absolute;
        top: 24px;
        left: 20px;
        right: 20px;
        z-index: 4;
        gap: 6px;
    }

    .indicator-bar { flex: 1; height: 3px; background-color: rgba(255, 255, 255, 0.25); border-radius: 2px; overflow: hidden; }
    .indicator-bar-fill { width: 0%; height: 100%; background-color: #ffffff; }

    /* Camadas de toque para avançar/voltar */
    .story-nav-overlay { display: flex; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
    .nav-tap-zone { flex: 1; height: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .nav-tap-zone.zone-left { max-width: 35%; }

    .desktop-only-btn-container {
        display: none !important;
    }

    .mobile-only-btn-container {
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 100%;
        z-index: 10;
        display: flex !important;
        justify-content: center;
        pointer-events: auto;
    }
}

.section-background1 {
    background: #e0eff3;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    /* Reduzido de 50px */
}

/* Flags - Cards Parallelogram com Paleta Oficial */
.flags-section {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5px 0 120px;
    /* Reduzido padding superior de acordo com a solicitação do usuário */
    /* Extra padding inferior para dar espaço ao wavy */
    position: relative;
}

.flags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Efeito Paralelogramo (skewX no container, contra-inclinação no inner) */
.flag-item {
    background: rgba(255, 255, 255, 0.12);
    /* Branco translucido sobre azul */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 4px solid var(--accent);
    /* Linha amarela no rodapé */
    border-radius: 8px;
    transform: skewX(-6deg);
    /* Efeito parallelogram */
    overflow: hidden;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    cursor: default;
}

.flag-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: skewX(-6deg) translateY(-8px);
    /* Mantém o skew ao flutuar */
    border-bottom-color: var(--primary-pink);
}

/* Inner cancela o skew para o conteúdo ficar reto */
.flag-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 25px;
    transform: skewX(6deg);
    /* Contra-inclinação */
    text-align: center;
}

.flag-item .icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 12px;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    display: block;
}

.flag-item h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.flag-item:hover .icon {
    color: var(--primary-pink);
    transform: scale(1.2);
    /* Cresce levemente ao hover */
}

.flag-item:hover h3 {
    color: var(--primary);
}

/* Botão Proposições - Centralizado e com destaque */
.flags-action {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-proposicoes {
    background: var(--accent-rose) !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    padding: 18px 55px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 30px rgba(241, 124, 176, 0.5) !important;
}

.btn-proposicoes:hover {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 8px 30px rgba(255, 187, 0, 0.5) !important;
}

/* Wavy Divider - colado no BOTTOM da flags-section */
.hero-wavy-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.hero-wavy-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}


/* =========================================== */
/* SECAO NOTICIAS */
/* =========================================== */
.noticias-section {
    background: #fff;
    padding: 0px 0 50px;
}

.noticias-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--primary);
}

.btn-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-ver-todas:hover {
    background: var(--accent-rose);
}

.noticias-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* --- BANNER DESTAQUE --- */
.noticia-destaque {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.noticia-destaque-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.noticia-destaque-img {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.4s ease;
}

.noticia-destaque-sem-img {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
}

.noticia-destaque-link:hover .noticia-destaque-img {
    transform: scale(1.03);
}

.noticia-destaque-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.noticia-destaque-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
}

.noticia-data {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.noticia-destaque-titulo {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
}

.noticia-destaque-resumo {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.noticia-leia-mais {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-rose);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    transition: 0.3s;
}

.noticia-destaque-link:hover .noticia-leia-mais {
    background: var(--accent);
    color: var(--primary-dark);
}

/* --- LISTA DE NOTICIAS (coluna direita) --- */
.noticias-lista {
    display: flex;
    flex-direction: column;
}

.noticias-lista-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: block;
    margin-bottom: 15px;
}

.noticia-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    transition: 0.25s;
}

.noticia-item:last-child {
    border-bottom: none;
}

.noticia-item:hover {
    transform: translateX(5px);
}

.noticia-item-img {
    width: 100px;
    min-width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticia-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.noticia-item:hover .noticia-item-img img {
    transform: scale(1.08);
}

.noticia-item-sem-img {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: #fff;
    font-size: 1.5rem;
}

.noticia-item-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.noticia-item .noticia-data {
    color: var(--primary-mid);
    margin-bottom: 0;
}

.noticia-item-titulo {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    margin: 0;
    transition: color 0.25s;
}

.noticia-item:hover .noticia-item-titulo {
    color: var(--primary-mid);
}

/* Botoes legados */
.button-link,
.button-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.button-link:hover,
.button-primary:hover {
    background: var(--accent-rose);
}


/* Footer & Social Icons - Agora Azul em DegradÃª */
.site-footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    /* #174799 → #0f3370 */
    padding: 60px 0 30px;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-widget .widget-title {
    color: var(--accent);
    /* TÃ­tulos em Amarelo para destacar no azul */
    margin-bottom: 20px;
    font-weight: 800;
}

.footer-widget p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget .fas {
    color: var(--accent);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--accent-rose);
    border-color: var(--accent-rose);
    transform: translateY(-3px);
}

.site-info {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Modal Corrected */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    line-height: 0;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 8px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .hero-section {
        height: 450px;
        padding-bottom: 80px;
        /* Mantém a proporção no tablet */
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        min-height: 568px;
        padding-top: 60px;
        padding-bottom: 40px;
        /* Deixa o botão mais baixo na tela */
        display: flex;
        align-items: flex-end;
        /* Alinha o container na parte inferior */
    }

    /* Removido o overlay no mobile */

    .flags-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .flags-section .section-title {
        font-size: clamp(0.85rem, 4.5vw, 1.25rem) !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .flag-item-inner {
        padding: 15px 10px;
    }

    .flag-item .icon {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .flag-item h3 {
        font-size: 0.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Reduzido de 40px */
    }

    .site-footer {
        padding: 20px 0 30px;
        /* Reduzido de 60px 0 30px */
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        padding-top: 40px;
        padding-bottom: 0;
        /* Permite que o botão encoste na base (afastado pelo padding-bottom da seção) */
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .flags-section {
        padding: 10px 0 70px;
        /* Conforme solicitado pelo usuário */
    }

    .noticias-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .noticia-item-titulo {
        font-size: 0.85rem;
    }

    .noticia-item .noticia-data {
        font-size: 0.7rem;
    }

    .hero-wavy-divider svg {
        height: 40px;
        /* Altura reduzida da onda no mobile para poupar espaço */
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 25px;
        /* Reduzido no mobile */
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle .line {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary);
        margin: 5px 0;
    }

    .header-menu {
        display: none;
        /* Oculta o menu por padrão no mobile */
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 80px;
        /* Logo abaixo do cabeçalho de 80px */
        left: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #f0f0f0;
        z-index: 9999;
        padding: 10px 0;
    }

    .main-navigation.menu-open .header-menu {
        display: flex !important;
        /* Força exibição vertical quando aberto */
    }

    .header-menu li {
        width: 100%;
    }

    .header-menu a {
        display: block;
        padding: 15px 25px;
        font-size: 0.95rem;
        color: var(--primary);
        border-bottom: 1px solid #f9f9f9;
        text-align: left;
    }

    .header-menu a:hover {
        background-color: #f7f9fc;
        color: var(--primary-dark);
    }

    .header-menu a::after {
        display: none;
        /* Remove linha decorativa horizontal do hover no mobile */
    }
}

/* ================================================================ */
/* PAGINA DE NOTICIA INDIVIDUAL (single.php)                        */
/* ================================================================ */

/* Hero da Noticia */
.single-hero {
    min-height: 420px;
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
    /* #0f3370 para #174799 */
    background-size: cover;
    background-position: center top;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    margin-top: 0;
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 51, 112, 0.97) 0%, rgba(23, 71, 153, 0.75) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.single-hero.no-bg-image .single-hero-overlay {
    background: transparent;
}

.single-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 45px;
}

/* Breadcrumb */
.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.single-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.single-breadcrumb a:hover {
    color: var(--accent);
}

.crumb-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.crumb-current {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

/* Categoria badge */
.single-categoria {
    display: inline-block;
    background: var(--primary-mid);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    transition: background 0.3s ease;
}

.single-categoria:hover {
    background: var(--primary-mid);
    color: #fff;
}

/* Titulo da noticia no hero */
.single-titulo {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 20px;
    max-width: 820px;
}

/* Meta (data, autor) */
.single-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.single-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Layout principal: conteudo + sidebar */
.single-body {
    background: #f5f7fa;
    padding: 50px 0 70px;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 35px;
    align-items: start;
}

/* Coluna principal */
.single-main {
    background: #fff;
    border-radius: 16px;
    padding: 45px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Excerpt / Resumo destacado */
.single-excerpt {
    background: linear-gradient(135deg, rgba(23, 71, 153, 0.05) 0%, rgba(0, 202, 255, 0.06) 100%);
    border-left: 5px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 20px 25px;
    margin-bottom: 35px;
    position: relative;
}

.single-quote-icon {
    color: var(--primary);
    opacity: 0.25;
    font-size: 2rem;
    position: absolute;
    top: 12px;
    left: 15px;
}

.single-excerpt p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.7;
    margin: 0;
    padding-left: 30px;
}

/* Conteudo do post */
.single-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3a3a3a;
}

.single-content p {
    margin-bottom: 1.4em;
}

.single-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    margin: 2em 0 0.7em;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f4;
}

.single-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1.5em 0 0.5em;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.single-content blockquote {
    border-left: 4px solid var(--accent);
    background: #fffbf0;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
    margin: 1.5em 0;
}

.single-content a {
    color: var(--primary-mid);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.single-content a:hover {
    color: var(--accent-rose);
}

/* Tags */
.single-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.single-tags-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.single-tag {
    display: inline-block;
    background: #f0f4ff;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(23, 71, 153, 0.15);
    transition: 0.25s;
}

.single-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* Compartilhar */
.single-share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.single-share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.single-share-links {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.share-fb {
    background: #1877f2;
}

.share-tw {
    background: #1da1f2;
}

.share-wa {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* Navegacao entre posts */
.single-nav-posts {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.single-nav-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    background: #f5f7fa;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
    padding: 16px 22px;
    max-width: 48%;
    transition: 0.25s;
}

.single-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.single-nav-dir {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-mid);
    letter-spacing: 0.07em;
    transition: color 0.25s;
}

.single-nav-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    transition: color 0.25s;
}

.single-nav-next {
    text-align: right;
}

.single-nav-btn:hover .single-nav-dir,
.single-nav-btn:hover .single-nav-title {
    color: #fff;
}

/* SIDEBAR */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Box: Sobre Davi */
.sidebar-about {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
}

.sidebar-about-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sidebar-about-img img {
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.sidebar-about-info h3 {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.sidebar-about-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 16px;
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sidebar-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.sidebar-social a:hover {
    background: var(--accent-rose);
}

/* Box titulo */
.sidebar-box-title {
    display: flex;
    align-items: center;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-box-title span {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--primary);
}

/* Item de noticia na sidebar */
.sidebar-noticia-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.25s;
}

.sidebar-noticia-item:last-of-type {
    border-bottom: none;
}

.sidebar-noticia-item:hover {
    transform: translateX(4px);
}

.sidebar-noticia-img {
    width: 72px;
    min-width: 72px;
    height: 55px;
    border-radius: 7px;
    overflow: hidden;
}

.sidebar-noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sidebar-noticia-item:hover .sidebar-noticia-img img {
    transform: scale(1.08);
}

.sidebar-noticia-sem-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.sidebar-noticia-texto {
    flex: 1;
}

.sidebar-noticia-data {
    display: block;
    font-size: 0.72rem;
    color: var(--primary-mid);
    font-weight: 700;
    margin-bottom: 4px;
}

.sidebar-noticia-texto h4 {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    margin: 0;
    transition: color 0.25s;
}

.sidebar-noticia-item:hover h4 {
    color: var(--primary-mid);
}

.sidebar-ver-todas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    transition: 0.3s;
}

.sidebar-ver-todas:hover {
    background: var(--accent-rose);
}

/* Responsivo */
@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
    }

    .single-main {
        padding: 30px 25px;
    }

    .single-nav-posts {
        flex-direction: column;
    }

    .single-nav-btn {
        max-width: 100%;
    }

    .single-nav-next {
        text-align: left;
    }
}

/* ================================================================ */
/* PAGINA /NOTICIAS — ARQUIVO DE POSTS (archive.php)               */
/* ================================================================ */

/* HERO */
.arquivo-hero {
    min-height: 240px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.arquivo-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.arquivo-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 36px;
    padding-bottom: 32px;
}

.arquivo-hero-titulo {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 10px 0 8px;
    font-family: var(--font-heading);
}

.arquivo-hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin: 0 0 22px;
    max-width: 600px;
}

/* Barra de Busca */
.arquivo-search {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.arquivo-hero-titulo--busca {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.arquivo-hero-titulo .busca-termo {
    color: var(--accent);
}

.arquivo-search-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: background 0.3s, border-color 0.3s;
}

.arquivo-search-wrap:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.arquivo-search-icon {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 16px;
    font-size: 0.95rem;
}

.arquivo-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-base);
    padding: 14px 0;
}

.arquivo-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.arquivo-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    padding: 0 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    letter-spacing: 0.06em;
}

.arquivo-search-btn:hover {
    background: var(--accent-rose);
    color: #fff;
}

/* CORPO */
.arquivo-body {
    background: #f5f7fa;
    padding: 55px 0 20px;
}

/* Vazio */
.arquivo-vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    color: #aaa;
}

.arquivo-vazio>i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-light);
}

.arquivo-vazio-textos {
    margin-bottom: 22px;
    max-width: 520px;
}

.arquivo-vazio-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #666;
}

.arquivo-vazio-titulo strong {
    font-weight: 800;
    color: #444;
}

.arquivo-vazio-icones {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.arquivo-vazio-sub {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #888;
}

.arquivo-vazio .btn-ver-todas {
    background: var(--accent-rose);
    color: #fff;
    font-size: 0.75rem;
    padding: 7px 16px;
    gap: 5px;
    letter-spacing: 0.04em;
}

.arquivo-vazio .btn-ver-todas i {
    font-size: 0.65rem;
}

.arquivo-vazio .btn-ver-todas:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* ---- DESTAQUE ---- */
.arquivo-destaque {
    margin-bottom: 45px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.13);
}

.arquivo-destaque-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.arquivo-destaque-img {
    height: 440px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

.arquivo-destaque-link:hover .arquivo-destaque-img {
    transform: scale(1.02);
}

.arquivo-destaque-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 80, 0.95) 0%, rgba(10, 30, 80, 0.35) 55%, transparent 100%);
}

.arquivo-destaque-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 40px;
    z-index: 2;
}

.arquivo-badge {
    display: inline-block;
    background: var(--primary-mid);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    transition: background 0.3s ease;
}

.arquivo-badge:hover {
    background: var(--primary-mid);
    color: #fff;
}

.arquivo-destaque-titulo {
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 14px;
    max-width: 800px;
    font-family: var(--font-heading);
}

.arquivo-destaque-resumo {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 700px;
}

.arquivo-destaque-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.arquivo-destaque-meta span:first-child {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.arquivo-destaque-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-rose) !important;
    color: #fff !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 10px 22px;
    border-radius: 50px;
    transition: 0.3s;
}

.arquivo-destaque-link:hover .arquivo-destaque-btn {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
}

/* ---- GRID DE CARDS ---- */
.arquivo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.arquivo-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.arquivo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

.arquivo-card-img-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.arquivo-card-img {
    height: 210px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.arquivo-card:hover .arquivo-card-img {
    transform: scale(1.06);
}

.arquivo-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-mid);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.arquivo-card-badge:hover,
.arquivo-card:hover .arquivo-card-badge,
.arquivo-destaque-link:hover .arquivo-badge {
    background: var(--primary-mid) !important;
    color: #fff !important;
}

.arquivo-card-body {
    padding: 22px 25px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.arquivo-card-data {
    font-size: 0.75rem;
    color: var(--primary-mid);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arquivo-card-titulo {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
    font-family: var(--font-heading);
}

.arquivo-card-titulo a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.25s;
}

.arquivo-card:hover .arquivo-card-titulo a {
    color: var(--primary-mid);
}

.arquivo-card-resumo {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 18px;
}

.arquivo-card-leia {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.25s, border-color 0.25s;
}

.arquivo-card-leia:hover {
    color: var(--accent-rose);
    border-color: var(--accent-rose);
}

/* ---- PAGINAÇÃO ---- */
.arquivo-paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.arquivo-pag-item a,
.arquivo-pag-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    text-decoration: none;
    border: 2px solid #e4e8ef;
    transition: 0.25s;
}

.arquivo-pag-item a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.arquivo-pag-item .current,
.arquivo-pag-item span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.arquivo-pag-item .prev,
.arquivo-pag-item .next {
    background: var(--accent-rose);
    color: #fff;
    border-color: var(--accent-rose);
}

.arquivo-pag-item .prev:hover,
.arquivo-pag-item .next:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .arquivo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .arquivo-hero-titulo {
        font-size: 2rem;
    }

    .arquivo-destaque-img {
        height: 280px;
    }

    .arquivo-destaque-info {
        padding: 20px;
    }

    .arquivo-destaque-titulo {
        font-size: 1.4rem;
    }

    .arquivo-grid {
        grid-template-columns: 1fr;
    }

    .arquivo-search-wrap {
        max-width: 100%;
    }

    .projetos-secao-titulo {
        font-size: 1.1rem;
        padding: 14px 18px;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================ */
/* PÁGINA /PROJETOS — LEIS E PROJETOS                              */
/* ================================================================ */

/* Hero com banner editável */
.projetos-hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary-dark);
    min-height: 220px;
    max-height: 520px;
}

.projetos-hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
}

.projetos-hero-banner-overlay {
    display: none;
}

.projetos-hero-banner-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-bottom: 18px;
}

.projetos-hero-banner-nav .single-breadcrumb {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.projetos-hero-banner-nav .single-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
}

.projetos-hero-banner-nav .single-breadcrumb a:hover {
    color: var(--accent);
}

.projetos-hero-banner-nav .single-breadcrumb .crumb-current {
    color: #fff;
    text-shadow: none;
}

.projetos-hero-banner-nav .single-breadcrumb .crumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.projetos-body {
    padding-top: 10px;
}

.projetos-secao {
    margin-bottom: 20px;
}

.projetos-secao:last-child {
    margin-bottom: 20px;
}

.projetos-secao-header {
    margin-bottom: 26px;
}

.projetos-secao-titulo {
    margin: 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(23, 71, 153, 0.2);
}

.projetos-secao-desc {
    margin: 12px 0 0;
    color: #666;
    font-size: 0.95rem;
    max-width: 720px;
    line-height: 1.55;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.projetos-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.projetos-card--has-link {
    cursor: pointer;
}

.projetos-card--has-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.projetos-card-link,
.projetos-card-link-placeholder {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.projetos-card-corpo {
    flex: 1;
    padding: 20px 20px 16px;
    background: #fff;
}

.projetos-card-link-placeholder .projetos-card-corpo {
    padding-bottom: 20px;
}

.projetos-card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.projetos-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 50px;
    line-height: 1;
}

.projetos-card-tag--numero {
    background: var(--primary);
    color: #fff;
    border: none;
}

.projetos-card-tag--aprovado {
    background: var(--accent);
    color: var(--primary-dark);
}

.projetos-card-tag--aprovado i {
    font-size: 0.62rem;
}

.projetos-card-titulo {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.35;
    margin: 0 0 10px;
}

.projetos-card--has-link:hover .projetos-card-titulo {
    color: var(--primary);
}

.projetos-card-resumo {
    font-size: 0.86rem;
    color: var(--text-color);
    line-height: 1.55;
    margin: 0;
}

.projetos-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-dark);
    background: var(--accent);
    padding: 0 16px;
    transition: background 0.2s, color 0.2s;
}

.projetos-card-cta i {
    font-size: 0.7rem;
}

.projetos-card--has-link:hover .projetos-card-cta {
    background: var(--accent-rose);
    color: #fff;
}

.projetos-vazio {
    padding: 50px 0;
}

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

/* ============================================================
   PÁGINA SOBRE (ABOUT & CONTACT)                               */
/* ============================================================ */
.page-sobre {
    background: #fdfdfd;
}

.sobre-historia-section {
    padding: 0px 0;
}

.sobre-historia-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .sobre-historia-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.sobre-title {
    color: var(--primary-dark);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.sobre-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background: var(--accent-rose);
    border-radius: 2px;
}

.sobre-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

.sobre-text p {
    margin-bottom: 20px;
}

.sobre-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.sobre-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sobre-image-backdrop {
    position: absolute;
    top: 25px;
    left: 25px;
    right: -25px;
    bottom: -25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    z-index: 1;
}

@media (max-width: 768px) {
    .sobre-image-backdrop {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }
}

/* Redes Sociais e WhatsApp Section */
.redes-whatsapp-section {
    padding: 0 0 80px;
}

/* Bloco 1: Redes Sociais */
.bloco-redes-sociais {
    padding: 60px 0;
}

.titulo-redes h2 {
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 5px;
}

.subtitle-redes {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.redes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.redes-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bloco-sombra {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 15px;
}

.bloco-sombra i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.bloco-sombra:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    background: var(--primary);
}

.bloco-sombra:hover i {
    color: #fff;
    transform: scale(1.1);
}

.legenda_redes {
    color: #555;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
}

/* Bloco 2: WhatsApp */
.bloco-whatsapp-davi {
    padding-top: 20px;
}

.zap-wrapper {
    background: linear-gradient(135deg, var(--accent-rose) 0%, #d84587 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(241, 124, 176, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zap-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 40px;
    color: #fff;
    max-width: 800px;
    line-height: 1.2;
}

.zap-form-group {
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: center;
}

@media (max-width: 576px) {
    .zap-form-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        gap: 15px;
    }
}

.zap-input-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.zap-input-field input {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
    outline: none;
    width: 100%;
    cursor: default;
}

.btn-zap-davi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 800;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .btn-zap-davi {
        width: 100%;
        justify-content: center;
    }

    .zap-input-field {
        padding-left: 0;
        justify-content: center;
    }

    .zap-input-field input {
        text-align: center;
    }
}

.btn-zap-davi:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer Colored Line */
.footer-color-bar {
    display: flex;
    width: 100%;
    height: 8px;
}

.footer-color-bar span {
    flex: 1;
}

.fcb-1 {
    background: var(--primary-light);
}

.fcb-2 {
    background: var(--primary-mid);
}

.fcb-3 {
    background: var(--primary);
}

.fcb-4 {
    background: var(--primary-dark);
}

.fcb-5 {
    background: var(--accent);
}

.fcb-6 {
    background: var(--accent-rose);
}

/* ==========================================================================
   SEÇÃO: REDES SOCIAIS (SOBRE)
   ========================================================================= */
.sobre-redes-section {
    padding: 20px 0 70px;
    background-color: #ffbb00;
    /* Cor diferenciada para separar da história f7f9fc */
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.sobre-redes-titulo {
    text-align: center;
    margin-bottom: 40px;
}

.sobre-redes-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.sobre-redes-subtitle {
    font-family: var(--font-base);
    font-size: 1.1rem;
    color: #555;
}

.sobre-redes-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
    margin: 0 auto;
    gap: 30px;
}

.sobre-redes-links li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.sobre-redes-link-card {
    padding: 15px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sobre-redes-link-card:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    background-color: var(--primary-light);
}

.sobre-redes-link-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.sobre-redes-legenda {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

@media (max-width: 768px) {
    .sobre-redes-section {
        padding: 15px 0 55px;
    }

    .sobre-redes-links {
        gap: 20px;
    }

    .sobre-redes-links li {
        width: 100px;
    }

    .sobre-redes-link-card {
        width: 80px;
        height: 80px;
    }

    .sobre-redes-link-card img {
        width: 36px;
        height: 36px;
    }
}

/* ==========================================================================
   SEÇÃO: WHATSAPP FALE COMIGO (SOBRE)
   ========================================================================== */
.sobre-whatsapp-section {
    padding: 0 0 20px;
    background-color: transparent;
}

.sobre-whatsapp-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px 60px;
    border-radius: 24px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(23, 71, 153, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: -50px auto 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.sobre-whatsapp-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    gap: 30px;
}

.sobre-whatsapp-left {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sobre-whatsapp-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sobre-whatsapp-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.sobre-whatsapp-subtitle {
    font-family: var(--font-base);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 480px;
}

.sobre-whatsapp-photo {
    display: flex;
    justify-content: center;
    margin-bottom: -15px;
    /* Deixa a imagem sobrepor levemente o botão amarelo */
    position: relative;
    z-index: 2;
    /* Seta acima da borda do botão */
}

.sobre-whatsapp-photo img {
    max-height: 220px;
    /* Tamanho do Davi proporcional */
    width: auto;
    display: block;
}

.sobre-whatsapp-action-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
    /* Seta abaixo do braço/celular do Davi */
}

.sobre-whatsapp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 3px solid var(--accent);
    border-radius: 50px;
    padding: 12px 35px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.sobre-whatsapp-action:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-rose);
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 187, 0, 0.2);
}

.sobre-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-whatsapp-icon svg {
    width: 36px;
    height: 36px;
}

.sobre-whatsapp-icon svg path {
    fill: var(--accent);
    transition: fill 0.3s ease;
}

.sobre-whatsapp-action:hover .sobre-whatsapp-icon svg path {
    fill: var(--accent-rose);
}

.sobre-whatsapp-link {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
}

.sobre-whatsapp-ddd {
    font-size: 1.25rem;
    font-weight: 700;
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 6px;
    margin-right: 10px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.sobre-whatsapp-action:hover .sobre-whatsapp-ddd {
    background-color: var(--accent-rose);
    color: #fff;
}

@media (max-width: 768px) {
    .sobre-whatsapp-section {
        padding: 0 0 20px;
    }

    .sobre-whatsapp-card {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        padding: 40px 20px;
        border-radius: 16px;
        margin-top: -40px;
        position: relative;
        z-index: 10;
    }

    .sobre-whatsapp-content {
        flex-direction: column;
        max-width: 600px;
        gap: 0;
    }

    .sobre-whatsapp-left {
        max-width: 100%;
    }

    .sobre-whatsapp-right {
        width: 100%;
        align-items: center;
    }

    .sobre-whatsapp-title {
        font-size: 1.6rem;
        margin-bottom: 6px;
        text-align: center;
    }

    .sobre-whatsapp-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
        text-align: center;
    }

    .sobre-whatsapp-photo img {
        max-height: 180px;
    }

    .sobre-whatsapp-action {
        padding: 8px 20px;
        width: 100%;
        max-width: 320px;
        gap: 10px;
    }

    .sobre-whatsapp-link {
        font-size: 1.5rem;
    }

    .sobre-whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }

    .sobre-whatsapp-ddd {
        font-size: 0.95rem;
        padding: 1px 6px;
        margin-right: 6px;
    }
}

/* ============================================================
   SEÇÃO DE TAGS (NOTÍCIAS)
   ============================================================ */
.single-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.single-tags-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-right: 5px;
}

.single-tag {
    display: inline-block;
    background-color: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
}

.single-tag:hover {
    background-color: var(--primary-mid);
    color: #fff;
    border-color: var(--primary-mid);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   SEÇÃO DE COMENTÁRIOS (COMMENTS)
   ============================================================ */
.comments-area {
    margin: 50px 0;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.comments-title,
.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title span {
    color: var(--primary-mid);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list .comment {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.comment-list .comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Nested Comments (Replies) */
.comment-list .children {
    list-style: none;
    padding-left: 50px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .comment-list .children {
        padding-left: 20px;
    }
}

.comment-body {
    display: flex;
    gap: 20px;
    position: relative;
}

@media (max-width: 576px) {
    .comment-body {
        flex-direction: column;
        gap: 12px;
    }
}

.comment-meta {
    flex-shrink: 0;
    text-align: center;
}

.comment-meta img.avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.comment-body:hover img.avatar {
    transform: scale(1.05);
}

.comment-content-wrapper {
    flex-grow: 1;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.comment-content-wrapper::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -8px;
    width: 15px;
    height: 15px;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transform: rotate(45deg);
}

@media (max-width: 576px) {
    .comment-content-wrapper::before {
        display: none;
    }
}

.comment-author-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-author-name cite {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.comment-author-name cite a {
    color: inherit;
    text-decoration: none;
}

.comment-author-name cite a:hover {
    color: var(--primary-mid);
}

.comment-metadata {
    font-size: 0.78rem;
    color: #64748b;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-metadata a:hover {
    color: var(--primary-mid);
}

.comment-content {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #334155;
}

.comment-content p {
    margin: 0 0 10px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.comment-reply-link:hover {
    background-color: var(--primary-mid);
    color: #fff;
    border-color: var(--primary-mid);
    box-shadow: 0 4px 6px -1px rgba(17, 115, 201, 0.15);
}

/* Form de comentários */
.comment-respond {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

.comment-notes,
.logged-in-as {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 20px;
}

.logged-in-as a {
    color: var(--primary-mid);
    text-decoration: none;
    font-weight: 600;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.comment-form p {
    margin: 0 0 20px 0;
}

.comment-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--primary-dark);
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-mid);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(17, 115, 201, 0.15);
}

.comments-submit-btn {
    background-color: var(--primary-mid);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(17, 115, 201, 0.2);
}

.comments-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(17, 115, 201, 0.3);
}

.comments-submit-btn:active {
    transform: translateY(0);
}

.cancel-comment-reply-link {
    font-size: 0.8rem;
    color: #ef4444;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
    border-bottom: 1px dashed #ef4444;
}

.cancel-comment-reply-link:hover {
    border-bottom-style: solid;
}

/* =========================================== */
/* BOTAO PRODUCAO LEGISLATIVA (PROJETOS)       */
/* =========================================== */
.projetos-footer-action {
    display: flex;
    justify-content: center;
    margin: 60px 0 20px;
    width: 100%;
}

.btn-producao-legislativa {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 25px rgba(23, 71, 153, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-producao-legislativa:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #ffa600 100%);
    color: var(--primary-dark);
    box-shadow: 0 12px 30px rgba(255, 187, 0, 0.4);
    transform: translateY(-3px);
}

.btn-producao-legislativa i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-producao-legislativa:hover i {
    transform: translate(2px, -2px);
}

/* =========================================== */
/* MARCA D'ÁGUA MAPA DO ES (HERO)             */
/* =========================================== */
.hero-map-watermark {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: auto;
    opacity: 0.045;
    /* 4.5% opacidade sutil */
    pointer-events: none;
    z-index: 2;
    /* Acima do background do Hero */
}

.hero-map-watermark svg {
    width: 100%;
    height: auto;
    fill: none;
    stroke: #ffffff;
    stroke-width: 0.6px;
    stroke-linejoin: round;
}

/* Ajuste fino para notebooks e telas médias */
@media (max-width: 1366px) {
    .hero-map-watermark {
        width: 250px;
        right: 4%;
    }
}

/* Ocultar em telas muito pequenas para evitar poluição visual */
@media (max-width: 768px) {
    .hero-map-watermark {
        display: none;
    }
}

/* =========================================== */
/* CONTADORES DA BIOGRAFIA (MINI BIO)          */
/* =========================================== */
.bio-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 5px;
    margin-bottom: 0px;
    width: 100%;
}

.bio-counter-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bio-counter-item .counter-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-pink);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.bio-counter-item .counter-text {
    font-family: var(--font-base);
    font-size: 0.95rem;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
}

/* Responsividade em Telas Médias / Notebooks */
@media (max-width: 1200px) {
    .bio-counter-item .counter-number {
        font-size: 2.4rem;
    }

    .bio-counter-item .counter-text {
        font-size: 0.85rem;
    }
}

/* Responsividade em Dispositivos Móveis */
@media (max-width: 768px) {
    .bio-counters {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .bio-counter-item {
        align-items: center;
        text-align: center;
    }
}

/* ================================================================ */
/* PÁGINA CANAL DE DENÚNCIAS (page-denuncie.php)                    */
/* ================================================================ */

/* Hero da Página Denuncie */
.denuncie-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

/* Textura de veludo com SVG noise filter */
.denuncie-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.denuncie-hero-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.denuncie-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.denuncie-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.denuncie-breadcrumb a:hover {
    color: var(--accent);
}

.denuncie-breadcrumb .crumb-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.denuncie-breadcrumb .crumb-current {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

/* Título e subtítulo do Hero */
.denuncie-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 12px;
}

.denuncie-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 700px;
    line-height: 1.5;
}

/* Corpo e Layout */
.denuncie-body {
    background: #f5f7fa;
    padding: 50px 0 75px;
}

.denuncie-card {
    background: #fff;
    border-radius: 16px;
    padding: 45px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Cabeçalho de descrição do formulário */
.denuncie-header-desc {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.denuncie-header-desc h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 12px;
}

.denuncie-header-desc p {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 15px;
}

.denuncie-header-desc p:last-child {
    margin-bottom: 0;
}

.privacy-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    background-color: rgba(23, 71, 153, 0.06);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 8px 8px 0;
    padding: 15px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.privacy-note i {
    color: var(--primary-mid);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Grupos do Formulário */
.denuncie-form-group {
    margin-bottom: 22px;
}

.denuncie-form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.required-asterisk {
    color: #ef4444;
}

.denuncie-form input[type="text"],
.denuncie-form input[type="email"],
.denuncie-form input[type="tel"],
.denuncie-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--primary-dark);
    background-color: #f8fafc;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.denuncie-form input[type="text"]:focus,
.denuncie-form input[type="email"]:focus,
.denuncie-form input[type="tel"]:focus,
.denuncie-form textarea:focus {
    outline: none;
    border-color: var(--primary-mid);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(17, 115, 201, 0.15);
}

.denuncie-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.denuncie-form-row .col-12 {
    flex: 1 1 100%;
}

.denuncie-form-row .col-6 {
    flex: 1;
}

.form-help-info {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Seletor Switch (Toggle Box) */
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background-color: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    margin-bottom: 25px;
}

.toggle-label-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 34px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.switch-toggle input:checked+.slider-toggle {
    background-color: var(--primary-mid);
}

.switch-toggle input:focus+.slider-toggle {
    box-shadow: 0 0 1px var(--primary-mid);
}

.switch-toggle input:checked+.slider-toggle:before {
    transform: translateX(26px);
}

/* Transições e Animações dos Campos */
.identification-fields-wrapper {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.25s ease-out, margin 0.3s ease-out;
}

.slide-up {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-bottom: 0 !important;
    pointer-events: none;
}

.slide-down {
    max-height: 400px !important;
    opacity: 1 !important;
    margin-bottom: 25px !important;
    pointer-events: auto;
}

/* Estilo do Upload de Arquivo */
.file-upload-container {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.file-upload-container:hover,
.file-upload-container.dragover {
    border-color: var(--primary-mid);
    background-color: rgba(17, 115, 201, 0.04);
}

.file-upload-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-upload-area {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    padding: 15px;
    text-align: center;
    pointer-events: none;
    z-index: 5;
}

.file-upload-area i {
    font-size: 2rem;
    color: var(--primary-mid);
    transition: transform 0.25s ease;
}

.file-upload-container:hover .file-upload-area i,
.file-upload-container.dragover .file-upload-area i {
    transform: translateY(-4px);
}

.file-upload-area.has-file {
    color: var(--primary-dark);
}

.file-upload-area.has-file i {
    color: #2ecc71;
}

/* Alertas de Feedback */
.denuncie-alert {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 35px;
    border-left: 5px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.denuncie-alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.denuncie-alert-content {
    flex-grow: 1;
}

.denuncie-alert-content strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.denuncie-alert-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.denuncie-alert-success {
    background-color: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.denuncie-alert-success .denuncie-alert-icon {
    color: #10b981;
}

.denuncie-alert-error {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.denuncie-alert-error .denuncie-alert-icon {
    color: #ef4444;
}

/* Botão Enviar */
.submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-denuncie-submit {
    background-color: var(--primary-mid);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(17, 115, 201, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-denuncie-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 51, 112, 0.35);
}

.btn-denuncie-submit:active {
    transform: translateY(0);
}

.btn-denuncie-submit i {
    font-size: 1.1rem;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .denuncie-hero {
        padding: 50px 0;
    }

    .denuncie-body {
        padding: 30px 0 50px;
    }

    .denuncie-card {
        padding: 30px 20px;
    }

    .denuncie-form-row {
        flex-direction: column;
        gap: 0;
    }

    .denuncie-form-row .col-6 {
        flex: 1 1 100%;
        width: 100%;
    }

    .toggle-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 18px;
    }

    .submit-container {
        justify-content: center;
    }

    .btn-denuncie-submit {
        width: 100%;
        justify-content: center;
    }

    .privacy-note {
        flex-direction: column;
        gap: 6px;
    }
}

/* ================================================================ */
/* SEÇÃO: NOSSA EQUIPE & ORGANOGRAMA (page-sobre.php)              */
/* ================================================================ */

.sobre-equipe-section {
    background-color: #f8fafc;
    padding: 10px 0 10px;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.sobre-equipe-titulo {
    margin-bottom: 45px;
    text-align: center;
}

.sobre-equipe-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 10px;
}

.sobre-equipe-subtitle {
    font-size: 1.05rem;
    color: #555;
    margin: 0;
}

/* Grid de Membros */
.sobre-equipe-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 25px; /* Vertical gap 30px, Horizontal gap 25px */
    margin-bottom: 45px;
}

/* Card base com dimensionamento dinâmico */
.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    height: auto; /* Permite que o card encolha sem a foto */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    width: 155px; /* Fixed width on desktop/flex layout */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(23, 71, 153, 0.1);
    border-color: var(--primary-pink);
}

.team-member-image {
    width: 60px; /* Reduced to 60px */
    height: 60px; /* Reduced to 60px */
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
    border: 2px solid #f0f4ff;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quando NÃO houver foto, encolhe o card para o tamanho do texto com respiro sutil */
.team-card.no-photo {
    padding: 16px 20px;
    min-height: unset;
}

.team-member-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #002244; /* Azul escuro do tema */
    margin-bottom: 4px;
    font-weight: 700;
}

.team-member-info p {
    font-family: var(--font-base);
    font-size: 13px;
    color: #718096; /* Cinza de apoio */
    margin: 0;
}

/* Badges de Nível */
.nivel-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.nivel-badge.nivel-1 {
    background-color: #fff3e0;
    color: #e65100;
}

.nivel-badge.nivel-2 {
    background-color: #e8f0fe;
    color: #174799;
}

.nivel-badge.nivel-3 {
    background-color: #e6fffa;
    color: #006d5b;
}

/* Seção de Ação */
.sobre-equipe-action {
    display: flex;
    justify-content: center;
}

.btn-organograma-trigger {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(23, 71, 153, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-organograma-trigger:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #ffa600 100%);
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(255, 187, 0, 0.35);
    transform: translateY(-2px);
}

.btn-organograma-trigger:active {
    transform: translateY(0);
}

.btn-organograma-trigger i {
    font-size: 1.1rem;
}

/* ================================================================ */
/* MODAL E ARVORE DO ORGANOGRAMA                                    */
/* ================================================================ */

.equipe-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 51, 112, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.equipe-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.equipe-modal-container {
    background-color: #f8fafc;
    border-radius: 16px;
    width: fit-content;
    min-width: 320px;
    max-width: 95%;
    margin: 0 auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 51, 112, 0.35);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.equipe-modal-overlay.active .equipe-modal-container {
    transform: scale(1);
}

.equipe-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.equipe-modal-close:hover {
    color: var(--primary-dark);
}

.equipe-modal-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.equipe-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.equipe-modal-header p {
    font-family: var(--font-base);
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.equipe-modal-body {
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    display: flex;
}

/* Árvore Organograma */
.organograma-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    flex-shrink: 0;
    margin: 0 auto;
    padding: 10px 0;
}

.organograma-level {
    display: flex;
    gap: 12px;
    width: max-content;
    flex-shrink: 0;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
}

.organograma-level:not(.level-0),
.organograma-sub-level {
    padding-top: 12px; /* Spacing for horizontal branch line */
}

/* Horizontal branch line connecting multiple cards/branches */
/* Horizontal lines for level branches (Level 2) */
.organograma-level:not(.level-0) > .organograma-branch::after,
.organograma-level:not(.level-0) > .organograma-card::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -6px;
    right: -6px;
    height: 2px;
    background-color: #cbd5e1;
    z-index: 1;
}

.organograma-level:not(.level-0) > .organograma-branch:first-child::after,
.organograma-level:not(.level-0) > .organograma-card:first-child::after {
    left: 50%;
    right: -6px;
}

.organograma-level:not(.level-0) > .organograma-branch:last-child::after,
.organograma-level:not(.level-0) > .organograma-card:last-child::after {
    left: -6px;
    right: 50%;
}

.organograma-level:not(.level-0) > .organograma-branch:only-child::after,
.organograma-level:not(.level-0) > .organograma-card:only-child::after {
    display: none !important;
}

/* Horizontal lines for sub-level cards (Level 3) */
.organograma-sub-level > .organograma-card::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -6px;
    right: -6px;
    height: 2px;
    background-color: #cbd5e1;
    z-index: 1;
}

.organograma-sub-level > .organograma-card:first-child::after {
    left: 50%;
    right: -6px;
}

.organograma-sub-level > .organograma-card:last-child::after {
    left: -6px;
    right: 50%;
}

.organograma-sub-level > .organograma-card:only-child::after {
    display: none !important;
}

/* Vertical branch line from horizontal line to card */
.organograma-level:not(.level-0) .organograma-card::before,
.organograma-sub-level .organograma-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 2px;
    height: 12px;
    background-color: #cbd5e1;
    transform: translateX(-50%);
    z-index: 1;
}

/* Connectors inside branches */
.organograma-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.organograma-sub-connector {
    width: 2px;
    height: 12px;
    background-color: #cbd5e1;
    position: relative;
    z-index: 1;
}

.organograma-sub-level {
    display: flex;
    gap: 12px;
    width: max-content;
    flex-shrink: 0;
    flex-wrap: nowrap;
    position: relative;
}

/* Conector vertical para filiais sem cargo de chefia no Nível 2 */
.organograma-branch.no-chief-branch::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 2px;
    height: 12px;
    background-color: #cbd5e1;
    transform: translateX(-50%);
    z-index: 1;
}

/* Divisor e cargo secundário para modelo Multi-Role */
.node-internal-divider {
    width: 80%;
    height: 1px;
    background-color: #e2e8f0;
    margin: 6px 0;
}

.organograma-card.multi-role-card {
    padding-bottom: 10px;
}

.role-secondary {
    font-size: 0.66rem !important;
    font-weight: 600;
    color: #64748b;
}

.organograma-connector {
    width: 2px;
    height: 15px; /* Meet the horizontal branch line */
    background-color: #cbd5e1;
    position: relative;
    z-index: 1;
}

/* Cards do Organograma */
.organograma-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 8px;
    width: 120px; /* Reduzido de 140px para caber melhor no desktop */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    position: relative; /* Essential for connector pseudo-elements */
}

.organograma-card:hover {
    box-shadow: 0 8px 20px rgba(15, 51, 112, 0.08);
    border-color: #cbd5e1;
}

.organograma-card h4 {
    font-family: var(--font-heading);
    margin: 0 0 4px;
    line-height: 1.3;
    font-size: 0.78rem;
    color: var(--primary-dark);
}

.organograma-card .role {
    font-family: var(--font-base);
    margin: 0;
    line-height: 1.4;
    font-size: 0.66rem;
    color: #64748b;
}

/* Card Avatar */
.card-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-avatar i {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Níveis do Organograma */
/* Nível 0 - Vereador (Topo) */
.level-0 .organograma-card {
    background: #fff;
    color: var(--primary-dark);
    border: 2px solid var(--accent);
    box-shadow: 0 8px 20px rgba(15, 51, 112, 0.1);
    transform: scale(1.05); /* Ligeiramente maior para denotar a liderança */
}

.level-0 .organograma-card h4 {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.88rem;
}

.level-0 .organograma-card .role {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
}

.level-0 .card-avatar {
    border-color: var(--accent);
    width: 34px;
    height: 34px;
    background-color: #f1f5f9;
}

.level-0 .card-avatar i {
    color: var(--accent);
    font-size: 0.95rem;
}

/* Nível 1 - Chefia (Chefe de Gabinete) */
.level-1 .organograma-card {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.level-1 .organograma-card h4 {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.78rem;
}

.level-1 .organograma-card .role {
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 600;
}

.level-1 .card-avatar {
    border-color: #e2e8f0;
    background-color: #f1f5f9;
}

.level-1 .card-avatar i {
    color: #94a3b8;
}

/* Nível 2 - Assessoria */
.level-2 .organograma-card h4 {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.level-2 .organograma-card .role {
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 600;
}

/* Nível 3 - Apoio */
.level-3 .organograma-card h4 {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
}

.level-3 .organograma-card .role {
    color: #64748b;
    font-size: 0.66rem;
}

/* Placeholder Cards */
.organograma-card.placeholder-card {
    border: 1.5px dashed #cbd5e1;
    background-color: #f1f5f9;
    box-shadow: none;
}

.organograma-card.placeholder-card h4 {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
}

.organograma-card.placeholder-card .role {
    color: #cbd5e1;
    font-size: 0.8rem;
}

/* Responsividade do Organograma */
@media (max-width: 768px) {
    .sobre-equipe-section {
        padding: 10px 0 20px;
    }

    .sobre-equipe-title {
        font-size: 1.8rem;
    }

    .sobre-equipe-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px; /* Vertical gap 20px, Horizontal gap 15px */
    }

    .team-card {
        padding: 15px 10px;
        width: 100%;
        max-width: 140px; /* Leave breathing room on mobile */
        margin: 0 auto;
    }

    .team-card.no-photo {
        padding: 15px 10px;
        min-height: unset;
    }

    .equipe-modal-container {
        padding: 25px 20px;
    }

    .equipe-modal-header h2 {
        font-size: 1.4rem;
    }

    .equipe-modal-body {
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }

    .organograma-tree {
        min-width: max-content;
        padding: 10px 20px;
    }
}

/* ==========================================================================
   INTERACTIVE UX: SWIPE GESTURE INDICATOR
   ========================================================================== */
.scroll-indicator-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Crucial: Não bloqueia interações ou cliques do usuário no modal */
    z-index: 999;
    display: none; /* Hidden on desktop by default */
    justify-content: center;
    align-items: flex-end; /* Posicionado na parte inferior para alcance natural do polegar */
    padding-bottom: 25vh; /* Distância ideal da borda inferior */
    background: rgba(0, 0, 0, 0.01);
    box-sizing: border-box;
}

/* Only show on mobile/tablet viewports where scrolling might occur */
@media (max-width: 1024px) {
    .equipe-modal-overlay.active .scroll-indicator-overlay {
        display: flex;
        /* Dispara o sumiço completo da camada após a animação do gesto acabar */
        animation: fadeOutIndicator 0.4s ease forwards;
        animation-delay: 6.2s; /* Aumentado para 6.2s para dar tempo de visualização suave */
    }
}

.equipe-modal-overlay.active .hand-swipe-icon {
    font-size: 42px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    
    /* Executa o movimento de vai-e-vem exatamente uma vez */
    animation: swipeMotion 6s cubic-bezier(0.25, 1, 0.5, 1) forwards; /* Aumentado para 6s */
    animation-iteration-count: 1;
}

/* --- TIMELINES DE ANIMAÇÃO --- */

/* Simulação do dedo tocando a tela, arrastando para a esquerda, direita e soltando */
@keyframes swipeMotion {
    0% {
        transform: translateX(40px) scale(1);
        opacity: 0;
    }
    15% {
        transform: translateX(40px) scale(0.85); /* Efeito de compressão do clique */
        opacity: 1;
    }
    45% {
        transform: translateX(-50px) scale(0.85); /* Deslocamento para a esquerda */
    }
    75% {
        transform: translateX(30px) scale(0.85); /* Deslocamento de retorno para a direita */
    }
    100% {
        transform: translateX(0px) scale(1); /* Liberação do toque */
        opacity: 0;
    }
}

/* Fade out suave e destruição da visibilidade da camada */
@keyframes fadeOutIndicator {
    to {
        opacity: 0;
        visibility: hidden; /* Remove o elemento do fluxo de renderização do navegador */
    }
}