:root {
    /* Cores principais */
    --color-primary: #d61d60;
    --color-primary-light: #f43479;
    --color-primary-dark: #8f0d3c;
    
    /* Cores secundárias */
    --color-secondary: #f63c7f;
    --color-secondary-light: #f43479;
    --color-secondary-dark: #8f0d3c;

    /* Cores de texto */
    --color-text: #333;
    --color-text-light: #666;
    --color-text-lighter: #999;
    --color-text-white: #fff;
    
    /* Cores de fundo */
    --color-bg-light: #f8f9fa;
    --color-bg-white: #fff;
    
    /* Cores de categorias */
    --color-tech: #2196F3;
    --color-business: #4CAF50;
    --color-innovation: #9C27B0;
    
    /* Cores de utilidade */
    --color-border: #eee;
    --color-overlay: rgba(0, 0, 0, 0.8);
    --color-shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
}

.news-main {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    margin-bottom: 3rem;
}

.news-main h1 {
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block;
    width: 100%;
}

.news-main h1 a {
    font-family: 'Libre Franklin', sans-serif;
    color: var(--color-primary);
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    position: relative;
    display: inline;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease-in-out;
}

.news-main h1 a:hover {
    color: var(--color-primary);
    background-size: 100% 3px;
}

.featured-news {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 280px;
    margin-bottom: 1rem;
}

/* Estilo específico para o card do meio */
.featured-middle {
    height: 320px;
    margin-top: -20px;
    margin-bottom: -20px;
    position: relative;
    z-index: 2; /* Garante que fique sobre os outros cards */
}

.featured-news:hover {
    transform: translateY(-5px);
}

.featured-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.news-title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    text-decoration: none;
    color: white;
    position: relative;
    display: inline;
}

.news-title a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d61d60;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.news-title a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.news-title a:hover {
    color: white;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--color-primary);
    color: white;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Ajuste para o tema escuro */
[data-theme="dark"] .category-badge:hover {
    background: var(--color-secondary-light);
}

.confira { background: #d61d60; }
.concurso { background: #d61d60; }
.cursos { background: #d61d60; }

.tech { background-color: #FF6B6B; }
.sports { background-color: #4ECDC4; }
.culture { background-color: #FFB400; }

.news-row {
    align-items: stretch;
}

.ver-mais {
    text-align: center;
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.ver-mais a {
    display: inline-flex;
    align-items: center;
    color: #d61d60;
    text-decoration: none;
    font-weight: 600;
    gap: 0.5rem;
}

/* Estilos do navbar */
.navbar {
    padding: 1.5rem 0;
    background: white !important;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--color-primary) !important;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    padding: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-item {
    margin: 0 0.8rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem !important;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #d61d60 !important;
}

/* Botões de ação */
.action-buttons {
    display: none;
}

/* Menu secundário */
.secondary-nav {
    background: white;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.secondary-nav .nav-link {
    color: #666 !important;
    font-size: 0.8rem;
    padding: 0.3rem 1rem !important;
}

.secondary-nav .nav-link:hover {
    color: #d61d60 !important;
}

/* Botão do menu mobile */
.navbar-toggler {
    border: none;
    padding: 0;
    border-radius: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    left:2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

/* Efeito quando o menu mobile está aberto */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Barra superior */
.top-bar {
    background-color: var(--color-secondary);
    padding: 0.5rem 0;
}

.top-bar-links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Ajustando apenas o alinhamento dos ícones sociais */
.top-bar .container {
    max-width: 1320px; /* Mesmo width do container do banner */
    padding-right: 3rem; /* Ajuste fino do alinhamento */
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-right: 1rem; /* Ajuste fino para alinhar com o banner */
}

.social-links a {
    color: white;
    font-size: 1.1rem;
}

/* Ajustando espaçamento do conteúdo principal */
.main-content {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Ajustando layout do navbar */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

/* Estilo para o banner publicitário */
.ad-banner {
    flex: 1;
    max-width: 728px;
    height: 90px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
}

/* Ajustando o campo de busca na top-bar */
.search-form {
    margin: 0;
}

.search-form .search-icon {
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.search-form .search-icon:hover {
    opacity: 0.8;
}

.search-input {
    display: none;
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {
    .navbar .container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .navbar-brand {
        font-size: 2rem;
        text-align: center;
        margin: 0;
    }

    .navbar-brand img {
        height: 60px; /* Aumentando o tamanho no mobile */
    }

    .ad-banner {
        margin: 1rem 0;
        width: 100%;
        max-width: 468px; /* Tamanho padrão de banner mobile */
        height: 60px;
    }

    /* Menu Mobile Moderno */
    .navbar-toggler {
        width: 35px;
        height: 35px;
        position: absolute;
        right: 1rem;
        top: 2.5rem;
        padding: 0;
        border: none;
        background: var(--color-primary);
        cursor: pointer;
    }

    .menu-icon {
        position: relative;
        width: 20px;
        height: 20px;
        left: 3px;
        display: block;
        margin: auto;
    }

    .menu-icon span {
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #FFFFFF;
        transition: all 0.3s ease;
        left: -3px;
    }

    .menu-icon span:nth-child(1) { top: 0px; }
    .menu-icon span:nth-child(2) { top: 8px; }
    .menu-icon span:nth-child(3) { top: 16px; }

    /* Animação do botão quando ativo */
    .navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }

    /* Menu lateral */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-primary);
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    /* Container do menu mobile */
    .navbar-collapse .secondary-nav {
        background: var(--color-primary) !important;
        border: none;
        padding: 1rem 0 0 0; /* Adicionado padding-top */
    }

    .navbar-collapse .container {
        background: var(--color-primary);
        padding: 0;
        margin-top: 1rem; /* Adicionado margem superior */
    }

    /* Links do menu */
    .navbar-collapse .nav-link {
        color: var(--color-text-white) !important;
        font-size: 0.95rem;
        padding: 1rem 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse .nav-link:hover {
        background: var(--color-primary-light);
        padding-left: 2rem !important;
    }

    /* Submenu */
    .navbar-collapse .submenu {
        display: none;
        margin-left: 1rem;
    }

    /* Submenu aberto */
    .navbar-collapse .nav-item.has-submenu.open .submenu {
        display: block;
    }

    /* Links do submenu */
    .navbar-collapse .submenu .nav-link {
        color: var(--color-text-light) !important;
        font-size: 0.9rem;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse .nav-item.has-submenu > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-collapse .nav-item.has-submenu > .nav-link::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: auto;
        color: white;
    }

    /* Botão fechar */
    .close-menu-btn {
        position: absolute;
        top: 0.8rem;
        right: 1rem;
        color: white !important;
        font-size: 2rem;
        font-weight: 300;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    .close-menu-btn:hover {
        opacity: 0.8;
    }

    /* Remove estilos que podem estar interferindo */
    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        display: block;
        padding: 0.5rem 1rem;
    }
}

/* Menu Desktop */
@media (min-width: 992px) {
    .secondary-nav {
        background: var(--color-primary);
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .secondary-nav .navbar-nav {
        gap: 1rem;
    }

    .secondary-nav .nav-link {
        color: var(--color-text-white) !important;
        font-size: 0.8rem;
        padding: 0.3rem 1rem !important;
        transition: all 0.3s ease;
    }

    .secondary-nav .nav-link:hover {
        color: var(--color-secondary) !important;
        background: transparent; /* Removendo o background */
        border-radius: 4px;
    }

    /* Ajuste da seta do submenu para branco */
    .secondary-nav .nav-item.has-submenu .nav-link::after {
        color: var(--color-text-white);
    }

    /* Ajuste do submenu quando hover */
    .secondary-nav .nav-item.has-submenu:hover .nav-link::after {
        color: var(--color-secondary);
    }

    /* Ajuste do submenu dropdown */
    .secondary-nav .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-primary-dark);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 11px;
        border-top: none;
        border-radius: 0 0 4px 4px;
    }

    .secondary-nav .submenu .nav-link {
        color: var(--color-text-white) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .secondary-nav .submenu .nav-link:hover {
        background: var(--color-primary); /* Mantendo o hover apenas no submenu */
        color: var(--color-secondary) !important;
        padding-left: 1.5rem !important; /* Adicionando um pequeno deslocamento */
    }

    .top-bar .search-form {
        position: relative;
        z-index: 9999;
    }

    .top-bar .search-form .search-icon {
        font-size: 1.1rem;
        color: white;
        cursor: pointer;
    }

    .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .search-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Ajustes do overlay de busca apenas para desktop */
    .search-overlay-content {
        width: 100%;
        max-width: 600px;
        position: relative;
    }

    .search-overlay-input {
        width: 100%;
        height: 50px;
        background: white;
        border: none;
        border-radius: 30px;
        padding: 0 60px 0 20px;
        font-size: 1rem;
        color: #333;
    }

    .search-overlay-icons {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .search-overlay-icons i {
        color: #d61d60;
        font-size: 1.1rem;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }

    .search-overlay-icons i:hover {
        opacity: 1;
    }

    .search-overlay .close-search {
        position: absolute;
        left: 20px;
        top: 20px;
        color: white;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.2);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .search-overlay .close-search:hover {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Controle de visibilidade das lupas */
.mobile-search {
    display: none; /* Esconde por padrão */
}

@media (max-width: 991.98px) {
    .mobile-search {
        display: block;
        position: absolute;
        left: 1rem;
        top: 2.5rem;
        width: auto;
        margin: 0;
        z-index: 10;
    }

    .mobile-search .search-icon {
        font-size: 1.4rem;
        color: #d61d60;
        cursor: pointer;
    }

    .top-bar .search-form {
        display: none; /* Esconde a lupa do topo no mobile */
    }
}

/* Ajustes da seta do menu principal */
.nav-item.has-submenu .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item.has-submenu .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7em;
    margin-left: 4px;
    display: inline-block !important; /* Forçando exibição */
    transition: transform 0.2s ease;
    color: #666;
}

.nav-item.has-submenu:hover .nav-link::after {
    transform: rotate(180deg);
    color: #d61d60;
}

/* Ajuste para o mobile */
@media (max-width: 991.98px) {
    .nav-item.has-submenu .nav-link::after {
        color: rgba(255, 255, 255, 0.8);
        margin-left: auto;
    }

    .nav-item.has-submenu:hover .nav-link::after {
        color: white;
    }
}

/* Estilo do submenu */
.submenu {
    position: absolute;
    top: 150%;
    left: 0;
    background: white;
    min-width: 180px;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li {
    list-style-type: none;
}

.submenu .nav-link {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.75rem !important;
    color: var(--color-text-light) !important;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.submenu .nav-link:hover {
    background-color: var(--color-primary-light);
    padding-left: 1.5rem !important;
    color: var(--color-primary) !important;
}

.submenu li:last-child .nav-link {
    border-bottom: none;
}

/* Removendo setas dos itens do submenu */
.submenu .nav-link::after,
.submenu li a::after {
    display: none !important;
    content: none !important;
}

/* Garantindo que a seta apareça APENAS no item principal do menu */
.navbar-nav > .nav-item.has-submenu > .nav-link::after,
.secondary-nav .navbar-nav > .nav-item.has-submenu > .nav-link::after {
    content: '\f107' !important;
    display: inline-block !important;
}

/* Ajustes do submenu para desktop e mobile */
.nav-item.has-submenu {
    position: relative;
}

.nav-item.has-submenu .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Desktop */
@media (min-width: 992px) {
    .nav-item.has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item.has-submenu:hover .nav-link::after {
        transform: rotate(180deg);
    }
}

/* Ajuste do layout das featured news no mobile */
@media (max-width: 991.98px) {
    /* Container das notícias */
    .news-row {
        display: flex;
        flex-wrap: wrap;
        padding: 0 15px;
    }

    /* Featured middle em primeiro */
    .col-md-4:nth-child(2) {
        order: -1;
        width: 100%;
        margin-bottom: 1.5rem;
        padding: 0;
    }

    /* Container para as notícias menores */
    .news-row .col-md-4:not(:nth-child(2)) {
        flex: 0 0 50%; /* Força cada coluna a ter 50% */
        max-width: 50%; /* Garante largura máxima de 50% */
        padding: 0 8px;
    }

    /* Remove float e usa flexbox */
    .news-row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Ajustes dos cards */
    .featured-middle {
        height: 380px;
        width: 100%;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
    }

    .featured-news:not(.featured-middle) {
        height: 200px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 0; /* Remove margem inferior */
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 576px) {
    .news-row {
        padding: 0 10px;
    }

    .featured-middle {
        height: 320px;
    }

    .featured-news:not(.featured-middle) {
        height: 160px;
    }

    /* Ajuste do título para melhor legibilidade */
    .featured-news:not(.featured-middle) .news-title {
        font-size: 0.9rem;
    }
}

/* Estilo do banner publicitário grande */
.ad-banner-large {
    width: 100%;
    max-width: 970px;
    height: 250px;
    background: linear-gradient(to right, #f8f9fa, #fff, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem auto 0;
    color: #999;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    
}

/* Ajuste responsivo */
@media (max-width: 991.98px) {
    .ad-banner-large {
        max-width: 100%;
        height: 180px;
        margin: 2rem auto 0;
        background: linear-gradient(to bottom, #f8f9fa, #fff, #f8f9fa);
    }
}

.bg-claro{
    background-color: #fcebe6;
}
.m-10{
    margin:10px 0;
}
.pt-1{
    padding-top:1px !important;
}
.pt-2{
    padding-top:2px !important;
}
.pt-5{
    padding-top:5px !important;
}
.pt-10{
    padding-top:10px !important;
}
.pb-10{
    padding-bottom:10px !important;
}
.pb-5{
    padding-bottom:5px !important;
}
.container-fluid{
    padding:0px !important;
    margin: 0px !important;
}

/* Estilo dos novos cards */
.trending-card {
    transition: all 0.3s ease;
    height: 100%;
}

.trending-card:hover {
    transform: translateY(-5px);
}

.trending-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.trending-content {
    padding: 1rem 0;
}

.trending-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.trending-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #333;
    cursor: pointer;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.trending-title:hover {
    color: #d61d60;
}
@media (max-width: 991.98px) {
    .trending-card {
        margin-bottom: 1rem;
    }
}

/* Estilo dos ícones de interação */
.trending-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trending-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.trending-action-btn:hover {
    opacity: 1;
}

.trending-action-btn.active {
    opacity: 1;
}

.trending-action-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cor azul para curtir */
.trending-action-btn.btn-curtir.active {
    color: #2196F3;
}

/* Cor vermelha para descurtir */
.trending-action-btn.btn-descurtir.active {
    color: #dc3545; /* Vermelho do Bootstrap */
}

/* Hover dos botões */
.trending-action-btn.btn-curtir:hover {
    color: #2196F3;
}

.trending-action-btn.btn-descurtir:hover {
    color: #dc3545;
}

.trending-action-btn i {
    font-size: 1rem;
}

/* Estilo da badge de categoria */
.trending-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--color-primary);
    color: white;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trending-category:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Ajuste para o tema escuro */
[data-theme="dark"] .trending-category:hover {
    background: var(--color-secondary-light);
}

/* Estilos da seção de categorias */
.category-section {
    padding: 0 24px;
}

.news-list {
    padding: 0;
    margin-top: 1rem;
}

.news-list .news-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.news-list .news-item:first-child {
    padding-top: 0;
}

.news-list-content {
    flex: 1;
    padding-right: 24px;
}

.news-list-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.news-number {
    opacity: 0.7;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    min-width: 25px;
}

.category-featured-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-right: 24px;
    margin: 1rem 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-right: 24px;
}

.category-header h4 a {
    text-decoration: none;
    font-weight: 600;
}

.category-header h4 a,
.category-header i {
    color: #333;
}

/* Cores específicas por categoria no cabeçalho */
.category-section.tecnologia .category-header h4 a,
.category-section.tecnologia .category-header i {
    color: var(--color-tech);
}

.category-section.negocios .category-header h4 a,
.category-section.negocios .category-header i {
    color: var(--color-business);
}

.category-section.inovacao .category-header h4 a,
.category-section.inovacao .category-header i {
    color: var(--color-innovation);
}

/* Remover qualquer efeito de hover não desejado */
.category-header h4 a:hover {
    text-decoration: none;
}

.category-featured {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: relative;
}

.news-number {
    font-size: 2rem;
    font-weight: 700;
    color: #d61d60;
    opacity: 0.2;
    margin-bottom: 1rem;
    display: block;
}

.category-featured h3 {
    font-size: 0.5rem;
    font-weight: 600;
    line-height: 0.5;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-time {
    font-size: 0.85rem;
    color: #999;
}

.news-list {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 2rem;
}

.news-list .news-item {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.news-list .news-number {
    font-size: 1.2rem;
    margin: 0;
}

.news-list-content {
    flex: 1;
}

.news-list-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.news-item:hover .news-list-content h4 {
    color: #d61d60;
}

/* Adicionar estilo para a imagem do featured */
.category-featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 4px;
}

/* Ajuste do layout do featured */
.category-featured-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1rem 0;
}

.category-featured-title .news-number {
    margin-bottom: 0;
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.category-featured-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Cores específicas por categoria */
/* Tecnologia - Azul */
.category-section.tecnologia .category-header h4,
.category-section.tecnologia .category-header i,
.category-section.tecnologia .news-number,
.category-section.tecnologia .news-list-content h4:hover {
    color: var(--color-tech);
}

/* Negócios - Verde */
.category-section.negocios .category-header h4,
.category-section.negocios .category-header i,
.category-section.negocios .news-number,
.category-section.negocios .news-list-content h4:hover {
    color: var(--color-business);
}

/* Inovação - Roxo */
.category-section.inovacao .category-header h4,
.category-section.inovacao .category-header i,
.category-section.inovacao .news-number,
.category-section.inovacao .news-list-content h4:hover {
    color: var(--color-innovation);
}

/* Ajuste da opacidade dos números */
.news-number {
    opacity: 0.7;
}

/* Ajuste do estilo dos títulos e links */
.news-content h3 {
    margin: 0;
    line-height: 1.4;
}

.news-content h3 a {
    color: white;
    text-decoration: none;
    position: relative;
    display: inline;
    background-image: linear-gradient(#ffffff, #ffffff);
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease-in-out;
    padding-bottom: 2px;
}

.news-content h3 a:hover {
    color: white;
    background-size: 100% 3px;
}

/* Removendo os estilos antigos que não são mais necessários */
.news-content h3 a::after {
    display: none;
}

/* Cores específicas para cada categoria */
.category-badge.confira + h3 a::after {
    background-color: var(--color-primary);
}

.category-badge.concurso + h3 a::after {
    background-color: #4CAF50;
}

.category-badge.cursos + h3 a::after {
    background-color: #2196F3;
}

.category-featured-title h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.category-featured-title h3 a {
    text-decoration: none;
    position: relative;
    display: inline;
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease-in-out;
    padding-bottom: 2px;
}

.category-featured-title h3 a:hover {
    background-size: 100% 3px;
}

/* Cores específicas por categoria */
/* Tecnologia - Azul */
.category-section.tecnologia .category-featured-title h3 a {
    color: var(--color-tech);
    background-image: linear-gradient(var(--color-tech), var(--color-tech));
}

/* Negócios - Verde */
.category-section.negocios .category-featured-title h3 a {
    color: var(--color-business);
    background-image: linear-gradient(var(--color-business), var(--color-business));
}

/* Inovação - Roxo */
.category-section.inovacao .category-featured-title h3 a {
    color: var(--color-innovation);
    background-image: linear-gradient(var(--color-innovation), var(--color-innovation));
}

.news-list-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Cores no hover para cada categoria */
.category-section.tecnologia .news-list-content h4 a:hover {
    color: var(--color-tech);
}

.category-section.negocios .news-list-content h4 a:hover {
    color: var(--color-business);
}

.category-section.inovacao .news-list-content h4 a:hover {
    color: var(--color-innovation);
}

.news-list-content {
    flex: 1;
    padding-right: 24px;
}

.news-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.news-list-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-list-action-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

.news-list-action-btn:first-child:hover {
    color: #2196F3;
}

.news-list-action-btn:last-child:hover {
    color: #d61d60;
}

.news-list-action-btn i {
    font-size: 0.875rem;
}

/* Ajuste da busca mobile */
@media (max-width: 991.98px) {
    .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .search-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .search-overlay-content {
        width: 90%;
        max-width: 600px;
        position: relative;
        padding: 0 1rem;
    }

    .search-overlay-input {
        width: 100%;
        height: 50px;
        background: white;
        border: none;
        border-radius: 30px;
        padding: 0 60px 0 20px;
        font-size: 1rem;
        color: #333;
    }

    .search-overlay-icons {
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        gap: 1rem;
    }

    .search-overlay-icons i {
        color: #999;
        font-size: 1.2rem;
        cursor: pointer;
    }

    .close-search {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }
}

/* Estilo do Portal do Município */
.portal-municipio {
    padding: 3rem 0;
    background: var(--color-primary);
}

.portal-swiper {
    position: relative;
    padding: 0;
}

.portal-slide {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: white;
    height: 100%;
}

.portal-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portal-content {
    padding: 1.5rem;
    background: white;
}

.portal-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.portal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.portal-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

/* Navegação do Swiper */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: bold;
}

.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: white;
}

/* Estilo destacado do título Portal do Município */
.portal-municipio .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1.5rem;
}

.portal-municipio .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.portal-municipio .section-title::after {
    content: '';
    position: absolute;
    left: 70px;
    bottom: 0;
    width: 15px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.portal-municipio .section-title span {
    display: inline-block;
    position: relative;
    padding: 0 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 50%);
}

/* Ajuste da navegação para alinhar as setas */
.swiper-navigation {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    width: 40px;
    height: 40px;
    margin: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

/* Ajuste do estilo dos botões de interação no Portal do Município */
.portal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.portal-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portal-action-btn:hover {
    color: inherit;
}

.portal-action-btn:first-child:hover {
    color: #2196F3; /* Azul para o botão de curtir */
}

.portal-action-btn:last-child:hover {
    color: #d61d60; /* Vermelho para o botão de descurtir */
}

.portal-action-btn i {
    font-size: 1rem;
}

/* Estilo da seção Agenda */
.agenda-section {
    padding: 4rem 0;
    background: var(--color-bg-light);
}

.agenda-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.agenda-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.agenda-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.agenda-card:hover {
    transform: translateY(-5px);
}

.agenda-date {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
}

.agenda-date .day {
    font-size: 1.8rem;
    line-height: 1;
}

.agenda-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.agenda-content {
    padding: 1.5rem;
}

.agenda-time {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agenda-time i {
    font-size: 1rem;
}

.agenda-event {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--color-text);
}

.agenda-location {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    margin-top: 8px;
    display: block;
}

.agenda-location:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.location-main {
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.location-main i {
    color: var(--color-primary);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.location-details {
    font-size: 0.75rem;
    color: #666;
    margin-left: 24px;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Ajuste do hover */
.agenda-location:hover .location-details {
    color: var(--color-primary);
}

/* Estilo do Modal do Mapa */
.map-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.map-modal .modal-header {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
}

.map-modal .modal-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Ajuste do botão fechar do modal */
.map-modal .modal-header .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 1;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    width: 2rem;
    height: 2rem;
    transition: opacity 0.2s ease;
}

.map-modal .modal-header .btn-close:hover {
    opacity: 0.75;
}

.map-modal .modal-header .btn-close:focus {
    box-shadow: none;
    outline: none;
}

.map-modal .modal-body {
    padding: 0;
}

.map-modal .modal-body iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-modal .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

.map-modal .btn-directions {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-modal .btn-directions:hover {
    background: var(--color-secondary-light);
}

/* Estilo do Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 4rem 0 0; /* Remove o padding bottom */
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: var(--color-primary);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.8rem;
}

/* Estilo do crédito do desenvolvedor */
.footer-bottom {
    padding: 0.3rem 0 0.1rem 0;
    background: var(--color-secondary);
}

.footer-bottom .container {
    padding: 0.5rem 0;
}

.developer-credit {
    position: relative;
    height: 15px;
}

.developer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.developer-logo {
    height: 20px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.developer-name {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    position: absolute;
    left: 25px;
    transition: all 0.5s ease;
}

.developer-link:hover .developer-logo {
    opacity: 1;
}

.developer-link:hover .developer-name {
    max-width: 200px;
    opacity: 1;
    left: 30px;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsivo */
@media (max-width: 767px) {
    /* Ajustes do footer */
    .footer {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links a i {
        margin-right: 5px;
    }

    /* Ajustes do footer-bottom */
    .footer-bottom .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .copyright {
        text-align: center;
        margin-bottom: 5px;
    }

    .developer-credit {
        height: auto;
        display: flex;
        justify-content: center;
    }

    .developer-link {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .developer-name {
        position: absolute;
        left: 25px;
        max-width: 0;
        opacity: 0;
        white-space: nowrap;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    .developer-logo {
        height: 20px;
        opacity: 0.8;
    }

    .developer-link:hover .developer-name {
        max-width: 200px;
        opacity: 1;
        left: 30px;
    }
}

/* Estilo do botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: -100px; /* Começa fora da tela */
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
}

.back-to-top.active {
    bottom: 30px;
    opacity: 1;
}

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* Ajuste do grid da agenda para mobile */
@media (max-width: 991px) {
    .agenda-section .col {
        flex: 0 0 50%; /* 2 cards por linha */
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .agenda-section .col {
        flex: 0 0 20%; /* 5 cards por linha */
        max-width: 20%;
    }
}

/* Ajuste do espaçamento entre os cards */
.agenda-section .row {
    margin: 0 -10px;
}

.agenda-section .col {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* Ajustes do menu mobile */
@media (max-width: 991.98px) {
    /* Links do menu principal */
    .navbar-collapse .nav-link {
        color: var(--color-text-white) !important;
        padding: 1rem !important;
        border-radius: 8px;
        transition: all 0.2s ease;
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* Hover dos links do menu principal */
    .navbar-collapse .nav-link:hover {
        background: var(--color-primary-dark);
        color: var(--color-secondary) !important; 
    }

    /* Links do submenu */
    .navbar-collapse .submenu .nav-link {
        color: var(--color-text-white) !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    /* Hover dos links do submenu */
    .navbar-collapse .submenu .nav-link:hover {
        background: var(--color-primary-dark);
        color: var(--color-secondary) !important;
    }

    /* Seta do submenu */
    .has-submenu .nav-link::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        float: right;
        transition: transform 0.3s;
    }

    /* Rotação da seta quando aberto */
    .has-submenu.open .nav-link::after {
        transform: rotate(180deg);
    }

    
    .has-submenu.open .submenu {
        background: var(--color-primary-dark);
    }
}

/* Estilo para links em geral */
a {
    text-decoration: none;
}

/* Estilo específico para links nos cards de notícias */
.trending-title a,
.trending-title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.trending-title a:hover {
    color: #2d9986;
}

/* Estilo para links nas notícias em destaque */
.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #0056b3;
}

.trending-action-btn.active {
    color: var(--color-primary);
}

.trending-action-btn.btn-curtir.active {
    color: #2196F3;
}

.trending-action-btn.btn-descurtir.active {
    color: #fd2536;
}



@media (max-width: 991.98px) {
    /* Menu Mobile */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-primary);
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
    }

    /* Remove todas as outras definições de submenu e deixa apenas estas */
    .submenu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }

    .has-submenu.open .submenu {
        display: block !important;
    }

    /* Links do submenu */
    .submenu .nav-link {
        color: white !important;
        padding: 8px 15px !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Seta do menu */
    .has-submenu .nav-link::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        float: right;
        transition: transform 0.3s;
    }

    .has-submenu.open .nav-link::after {
        transform: rotate(180deg);
    }
}

/* Estilo do botão Todas as Notícias */
.btn-todas-noticias {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-todas-noticias:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-todas-noticias i {
    transition: transform 0.3s ease;
}

.btn-todas-noticias:hover i {
    transform: translateX(4px);
}

.location-details {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

#mapFrame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 4px;
}

/* Estilos para o modal do mapa */
.map-modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

/* Garante que o modal seja completamente removido */
.modal.fade.hide {
    display: none !important;
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* Estilos para o banner expansível */
.expandable-banner {
    width: 100%;
    background: #f8f9fa;
    position: fixed; /* Mudado para fixed */
    bottom: 0; /* Posicionado na parte inferior */
    left: 0;
    z-index: 1000;
    transform: translateY(100%); /* Começa escondido */
    transition: transform 0.3s ease;
}

.expandable-banner.active {
    transform: translateY(0); /* Mostra o banner */
}

.banner-toggle {
    position: absolute;
    top: -32px; /* Ajustado para alinhar com o banner */
    left:40px;
    transform: translateX(-50%);
    z-index: 10;
}

.toggle-button {
    width: 80px; /* Aumentado para ficar mais largo */
    height: 32px; /* Altura reduzida */
    border-radius: 8px 8px 0 0; /* Bordas apenas no topo */
    background: var(--color-primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.toggle-button:hover {
    background: var(--color-secondary);
}

.toggle-button i {
    transition: transform 0.3s ease;
}

/* Inverte a direção da seta */
.expandable-banner .toggle-button i {
    transform: rotate(0deg); /* Seta apontando para baixo quando fechado */
}

.expandable-banner.active .toggle-button i {
    transform: rotate(180deg); /* Seta apontando para cima quando aberto */
}

.banner-container {
    max-height: 250px;
    overflow: hidden;
}

.banner-content {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.banner-content img {
    max-width: 970px;
    width: 100%;
    height: auto;
}

.btn-carregar-mais {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-carregar-mais:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-carregar-mais i {
    transition: transform 0.3s ease;
}

.btn-carregar-mais.loading i {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Estilo moderno do topo da categoria */
.category-hero {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    padding: 2rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.category-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Ícone com efeito de pulso */
.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.category-icon i {
    font-size: 2rem;
    color: white;
    z-index: 1;
}

.category-icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Título com destaque */
.category-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.category-title-highlight {
    position: relative;
    display: inline-block;
}

.category-title-highlight::after {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: -5px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    z-index: -1;
}

/* Metadados com ícones */
.category-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 1rem;
    opacity: 0.8;
}

.category-divider {
    opacity: 0.5;
}

/* Breadcrumb */
.category-breadcrumb {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.category-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.category-breadcrumb a:hover {
    opacity: 0.8;
}

.category-breadcrumb i {
    font-size: 0.8rem;
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Responsivo */
@media (max-width: 768px) {
    .category-hero {
        padding: 3rem 0;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-divider {
        display: none;
    }
}

/* Tema escuro */
[data-theme="dark"] .category-hero {
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-secondary-dark));
}

/* Estilo dos cards de notícias da categoria */
.category-news-list {
    margin-bottom: 3rem;
}

/* Ajustes para 3 colunas */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 180px; /* Altura reduzida para cards menores */
    overflow: hidden;
}

.news-card-content {
    padding: 1.2rem; /* Padding reduzido */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    flex-direction: column; /* Empilha data e autor */
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: #666;
}

.news-title {
    font-size: 1.1rem; /* Título menor */
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2; /* Reduz para 2 linhas */
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Responsivo */
@media (max-width: 991px) {
    .news-card-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        width: 50%; /* 2 colunas em tablets */
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        width: 100%; /* 1 coluna em mobile */
    }
    
    .news-card-image {
        height: 200px; /* Volta altura original em mobile */
    }
}

/* Estilo da Sidebar */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/img/patterns/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.newsletter-form {
    position: relative;
    z-index: 2;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1rem 0.8rem 2.5rem; /* Aumentado padding esquerdo para o ícone */
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    z-index: 2;
}

.btn-subscribe {
    background: white;
    color: var(--color-primary);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Tema escuro */
[data-theme="dark"] .newsletter-widget {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
}

/* Categorias Widget */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    
}

.category-list a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(5px);
}

.category-count {
    background: rgba(0,0,0,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Enquete Widget */
.poll-question {
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.poll-option {
    margin-bottom: 0.8rem;
}

.poll-option input[type="radio"] {
    display: none; /* Esconde o radio button */
}

.poll-option label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2.5rem;
}

.poll-option label:before {
    content: '';
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.poll-option input[type="radio"]:checked + label {
    background: var(--color-primary);
    color: white;
}

.poll-option input[type="radio"]:checked + label:before {
    background: white;
    border-color: white;
}

.poll-option label:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(5px);
}

.poll-option label:hover:before {
    border-color: white;
}

/* Tema escuro */
[data-theme="dark"] .poll-option label {
    background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .poll-option label:before {
    border-color: var(--color-secondary);
}

[data-theme="dark"] .poll-option input[type="radio"]:checked + label {
    background: var(--color-secondary);
}

.btn-vote {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-vote:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 991px) {
    .news-card {
        flex-direction: column;
        gap: 1rem;
    }

    .news-card-image {
        flex: none;
        width: 100%;
    }
}

/* Tema Escuro */
[data-theme="dark"] .news-card,
[data-theme="dark"] .sidebar-widget {
    background: var(--color-bg-card);
    border-color: var(--color-border);
}

[data-theme="dark"] .category-list a,
[data-theme="dark"] .poll-option label {
    background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .category-list a:hover {
    background: var(--color-primary);
}

[data-theme="dark"] .news-title a {
    color: var(--color-text-white);
}

[data-theme="dark"] .news-excerpt,
[data-theme="dark"] .news-meta {
    color: var(--color-text-light);
}

/* Adicione estes estilos */
.sticky-sidebar {
    position: sticky;
    top: 20px; /* Distância do topo quando fixado */
    height: fit-content;
}

/* Ajuste o container da sidebar */
.sidebar-widget {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

/* Remova os estilos anteriores do sticky-sidebar e adicione estes */
.sticky-sidebar-content {
    position: sticky;
    top: 100px; /* Ajuste esta distância conforme necessário */
    padding-bottom: 2rem;
}

/* Ajuste para o container da sidebar */
.sidebar-widget {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

/* Estilos para os botões da enquete */
.poll-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-vote, .btn-results, .btn-back-to-poll {
    flex: 1;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-vote {
    background: var(--color-primary);
    color: white;
}

.btn-results {
    background: rgba(0,0,0,0.05);
    color: var(--color-text);
}

.btn-back-to-poll {
    width: 100%;
    background: rgba(0,0,0,0.05);
    color: var(--color-text);
    margin-top: 1rem;
}

/* Estilos para os resultados */
.result-option {
    margin-bottom: 1rem;
}

.result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-percentage {
    color: var(--color-primary);
}

.result-bar {
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.result-bar .progress {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.result-votes {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Tema escuro */
[data-theme="dark"] .btn-results,
[data-theme="dark"] .btn-back-to-poll {
    background: rgba(255,255,255,0.1);
    color: var(--color-text-white);
}

[data-theme="dark"] .result-bar {
    background: rgba(255,255,255,0.1);
}

[data-theme="dark"] .result-votes {
    color: var(--color-text-light);
}

/* Ajustes para manter a ordem das notícias */
@media (max-width: 768px) {
    .category-news-list .row {
        display: flex;
        flex-direction: column; /* Força layout em coluna no mobile */
    }

    .category-news-list .col-md-4 {
        width: 100%; /* Cada card ocupa largura total */
        order: unset; /* Remove qualquer ordem específica */
    }

    .trending-card {
        margin-bottom: 1rem; /* Espaçamento entre cards */
    }

    .trending-image {
        height: 200px; /* Altura consistente para imagens */
    }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 991px) {
    .category-news-list .col-md-4 {
        width: 50%; /* 2 colunas em tablets */
    }
}

/* Ajuste do espaçamento das notícias */
.category-news-list .trending-card {
    margin-bottom: 2rem; /* Espaçamento consistente entre as notícias */
}

.category-news-list .col-md-4 {
    padding: 0 15px; /* Espaçamento lateral consistente */
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .category-news-list .trending-card {
        margin-bottom: 1.5rem; /* Espaçamento um pouco menor no mobile */
    }
    
    .category-news-list .col-md-4 {
        padding: 0 10px; /* Espaçamento lateral menor no mobile */
    }
}

/* Ajuste do grid de notícias */
.category-news-list .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas no desktop */
    gap: 1.5rem; /* Espaçamento entre os cards */
}

/* Responsivo */
@media (max-width: 768px) {
    .category-news-list .row {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
        gap: 1rem; /* Espaçamento menor no mobile */
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .category-news-list .row {
        grid-template-columns: 1fr; /* 1 coluna em telas muito pequenas */
    }
}

/* Estilo da Enquete */
.poll-widget {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.poll-question {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.poll-option {
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.poll-option:hover {
    background: rgba(0,0,0,0.04);
}

.poll-option-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}

.poll-option input[type="radio"] {
    display: none;
}

.poll-option label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.poll-option label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.poll-option input[type="radio"]:checked + label:before {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.resultado-opcao {
    padding: 0.5rem 1rem 1rem;
}

.result-bar-container {
    margin-top: 0.5rem;
}

.result-bar {
    height: 6px;
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.result-bar .progress {
    height: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.result-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.result-percentage {
    font-weight: 600;
    color: var(--color-primary);
}

.poll-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.btn-vote, .btn-results {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-vote {
    background: var(--color-primary);
    color: white;
}

.btn-results {
    background: rgba(0,0,0,0.05);
    color: var(--color-text);
}

.btn-vote:hover, .btn-results:hover {
    transform: translateY(-2px);
}

/* Tema escuro */
[data-theme="dark"] .poll-option {
    background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .poll-option:hover {
    background: rgba(255,255,255,0.08);
}

[data-theme="dark"] .result-bar {
    background: rgba(255,255,255,0.1);
}

/* Estilo do Alert da Enquete */
.poll-widget .alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.poll-widget .alert.show {
    display: block;
}

.poll-widget .alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.poll-widget .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.poll-widget .alert-success {
    background-color: #d4edda;
    color: #155724;
}

.poll-widget .alert .btn-close {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
}

/* Estilo personalizado para os radio buttons da enquete */
.poll-option {
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.poll-option-header {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.poll-option input[type="radio"] {
    display: none !important; /* Força esconder o radio */
}

.poll-option label {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s ease;
}

/* Remove qualquer estilo anterior do radio */
.poll-option label:before,
.poll-option label:after {
    display: none !important;
}

/* Hover em toda a área */
.poll-option:hover .poll-option-header {
    background: var(--color-primary);
}

.poll-option:hover .poll-option-header label {
    color: white;
}

/* Estilo para opção selecionada */
.poll-option input[type="radio"]:checked ~ .poll-option-header {
    background: var(--color-primary);
}

.poll-option input[type="radio"]:checked ~ .poll-option-header label {
    color: white;
}

/* Tema escuro */
[data-theme="dark"] .poll-option {
    background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .poll-option:hover .poll-option-header,
[data-theme="dark"] .poll-option input[type="radio"]:checked ~ .poll-option-header {
    background: var(--color-primary);
}

/* Slider Captcha */
.slider-captcha {
    position: relative;
    width: 100%;
    height: 40px;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slider-text {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 40px;
    color: #666;
    font-size: 0.9rem;
    user-select: none;
    z-index: 1;
}

.slider-button {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: #f5f5f5;
}

.slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--color-primary);
    transition: width 0.3s;
}

.slider-captcha.validated {
    border-color: var(--color-primary);
}

.slider-captcha.validated .slider-button {
    background: var(--color-primary);
    color: white;
}

.slider-captcha.validated .slider-text {
    color: white;
    font-weight: 500;
}

/* Animação de pulse para o slider */
@keyframes pulse {
    0% {
        transform: scale(1);
        border-color: var(--color-primary);
    }
    50% {
        transform: scale(1.02);
        border-color: var(--color-primary);
        box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.2);
    }
    100% {
        transform: scale(1);
        border-color: rgba(0,0,0,0.1);
        box-shadow: none;
    }
}

/* Primeiro vou adicionar alguns estilos para garantir o alinhamento centralizado */
.footer-centered {
    display: flex;
    justify-content: center;
}

.footer-content {
    text-align: center;
}

.footer-social {
    justify-content: center;
    margin-top: 20px;
}
