/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    /*padding: 1rem 0;*/
}

.navbar-white {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-green {
    background-color: #2d4023 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-white .navbar-brand,
.navbar-white .navbar-nav .nav-link {
    color: #2d4023 !important;
}

.navbar-green .navbar-brand,
.navbar-green .navbar-nav .nav-link {
    color: white !important;
}

.navbar-toggler {
    border: none;
}

.navbar-white .navbar-toggler-icon {
    filter: invert(1);
}

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

.hero-section {
    /*background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    padding: 40px 0;
    text-align: center;
}

.hero-title {
    background-color: white;
    /*border: 2px solid #2d4023;*/
    /*padding: 20px 40px;*/
    display: inline-block;
    margin-bottom: 60px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2d4023;
}

/* Card Styles */
.content-card {
    /*background-color: #c8c8c8;*/
    border-radius: 10px;
    /*padding: 20px;*/
    /*margin-bottom: 20px;*/
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.card-icon {
    font-size: 3rem;
    color: #666;
    /*margin-bottom: 20px;*/
}

.card-title {
    font-weight: bold;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

.tag-green {
    background-color: #28a745;
    top: 10px;
    left: 70px;
}

.tag-yellow {
    background-color: #ffc107;
    color: #333;
    top: 10px;
    left: 70px;
}

.tag-red {
    background-color: #dc3545;
}

/* Section Titles */
.section-title {
    font-weight: bold;
    font-size: 2rem;
    color: #28a745;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title2 {
    font-weight: bold;
    font-size: 2rem;
    color: #28a745;
    /*margin: 40px 0 20px 0;*/
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}
.section-title2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #28a745;
}

/*.section-title {*/
/*    font-weight: bold;*/
/*    font-size: 2rem;*/
/*    color: #28a745;*/
/*    margin: 40px 0 20px 0;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 1px;*/
/*    position: relative;*/
/*    display: inline-block;*/
/*}*/

/*.section-title::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: calc(100% + 15px); !* Começa 15px após o texto *!*/
/*    transform: translateY(-50%);*/
/*    width: 100vw;*/
/*    height: 2px;*/
/*    background-color: #28a745;*/
/*}*/

/* Newsletter Section */
.newsletter-card {
    background-color: #e9ecef;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
}

.newsletter-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.newsletter-btn {
    background-color: #2d4023;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #1a2614;
    /*transform: translateY(-2px);*/
}


.imageVertical {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.imageVertical:hover, .imageHorizontal:hover {
    transform: scale(1.05);
}

.imageHorizontal {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #19875440;
}


/* Filtros de Tags */
.filter-tags {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    /*margin-bottom: 30px;*/
    margin: 40px 0 20px 0;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tag.active {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.filter-tag.tag-1 { background-color: #2d4023; color: white; }
.filter-tag.tag-2 { background-color: #6c757d; color: white; }
.filter-tag.tag-3 { background-color: #ffc107; color: #333; }
.filter-tag { background-color: #28a745; color: white; }

/* Cards de Notícias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 0;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.news-card.hidden {
    display: none;
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.news-tag.tag-1 { background-color: #2d4023; color: white; }
.news-tag.tag-2 { background-color: #6c757d; color: white; }
.news-tag.tag-3 { background-color: #ffc107; color: #333; }
.news-tag { background-color: #28a745; color: white; }

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin: 0;
}



/* Footer Styles */
.footer {
    background-color: #2d4023; /* Verde do menu */
    color: #ffffff;
    /*padding: 60px 0 30px 0;*/
    padding: 60px 0 10px 0;
    margin-top: 80px;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    max-height: 100px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b8d4a8; /* Verde claro para contraste */
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateX(5px);
}

/* Redes Sociais */
.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    grid-template-rows: repeat(2, 1fr);    /* 2 linhas */
    gap: 15px;
    justify-items: center;
    align-items: center;
    max-width: 200px; /* Limita a largura total */
    margin: 0 auto;   /* Centraliza o grid */
    padding: 10px 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0; /* Remove margem para o grid funcionar melhor */
}

.social-icon:hover {
    background-color: #ffffff;
    color: #2d4023;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Cores específicas para cada rede social no hover */
.social-icon.facebook:hover { background-color: #3b5998; color: white; }
.social-icon.twitter:hover { background-color: #1da1f2; color: white; }
.social-icon.instagram:hover { background-color: #e4405f; color: white; }
.social-icon.youtube:hover { background-color: #ff0000; color: white; }
.social-icon.linkedin:hover { background-color: #0077b5; color: white; }
.social-icon.tiktok:hover { background-color: #000000; color: white; }

/* Rodapé inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #b8d4a8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.copyright {
    color: #94a387; /* Verde mais escuro para copyright */
    font-size: 0.85rem;
    margin: 0;
}

.nav-item {
    font-weight: 700;
    font-size: 13px;
}


/* Container para ilustrações */
.decorative-illustrations {
    position: absolute;
    top: 0;
    left: 0;
    width: 99vw;
    height: 99vh;
    pointer-events: none; /* Não interfere com cliques */
    z-index: -1; /* Fica atrás do conteúdo */
    /*overflow: hidden;*/
}

/* Ilustrações individuais */
.illustration {
    position: absolute;
    /*opacity: 0.6; !* Transparência para não competir com o conteúdo *!*/
    /*transition: all 0.3s ease;*/
}

/* Posicionamento das ilustrações */
.illustration-1 {
    top: 30%;
    left: 0%;
    transform: rotate(-2deg);
}

.illustration-2 {
    top: 135%;
    left: 0%;
}

.illustration-3 {
    top: 10%;
    right: 0%;
}

.illustration-4 {
    top: 90%;
    right: 0%;

}

.illustration-5 {
    top: 250%;
    left: 0%;
}

.illustration-6 {
    top: 210%;
    right: 0%;
}

.illustration-7 {
    bottom: -275%;
    left: 0%;
}

.illustration-8 {
    top: 300%;
    right: 0%;
}

/* Efeito de parallax sutil (opcional) */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation)); }
    50% { transform: translateY(-10px) rotate(var(--rotation)); }
}

.illustration-1 {
    --rotation: -15deg;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .illustration {
        opacity: 0.6; /* Mais transparente no mobile */
    }
}
@media (max-width: 768px) {
    .illustration {
        display: none; /* Esconde no mobile muito pequeno */
    }
}

a {
    text-decoration: none;
}

/* ESTILOS DO POPUP NEWSLETTER */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.newsletter-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-header {
    background: linear-gradient(135deg, #2d4023 0%, #28a745 100%);
    color: white;
    padding: 25px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 5px;
}

.popup-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.popup-body {
    padding: 25px;
}

.popup-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Customização do formulário Mailchimp */
#mc_embed_signup {
    background: transparent !important;
    clear: left;
    font: 14px Helvetica,Arial,sans-serif;
    width: 100%;
}

#mc_embed_signup form {
    text-align: left;
    padding: 0;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 20px;
}

#mc_embed_signup label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#mc_embed_signup input[type="email"]:focus,
#mc_embed_signup input[type="text"]:focus {
    border-color: #28a745;
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

#mc_embed_signup .button {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 10px !important;
}

#mc_embed_signup .button:hover {
    background-color: #1e7e34 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#mc_embed_signup .indicates-required {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    text-align: right;
}

#mc_embed_signup .asterisk {
    color: #e74c3c;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 10px;
    }

    .popup-header,
    .popup-body {
        padding: 20px;
    }

    .popup-title {
        font-size: 1.3rem;
    }
}

/* Botão de Newsletter clicável */
.newsletter-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-trigger:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

#mc_embed_signup .button {
    height: auto !important;
}




/* ===== CORREÇÕES DE RESPONSIVIDADE ===== */

/* 1. Grid de notícias - 1 por linha no mobile */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important; /* Uma coluna só no mobile */
        gap: 15px;
    }

    .news-card {
        margin-bottom: 20px;
    }
}

/* Para tablets - 2 colunas */
@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

/* Desktop - 3 colunas (padrão já existe) */
@media (min-width: 1025px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* 2. Reduzir tamanho da imagem no popup mobile */
@media (max-width: 768px) {
    .popup-image {
        height: 100px !important; /* Reduzido de 150px para 100px */
        margin-bottom: 15px;
    }

    .popup-body {
        padding: 20px 15px; /* Reduz padding lateral */
    }

    .popup-content {
        width: 95%;
        margin: 10px;
        max-height: 85vh; /* Reduz altura máxima */
    }
}

/* 3. Corrigir proporção das imagens esticadas */
.news-image {
    width: 100%;
    height: 200px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    object-fit: cover; /* Garante proporção correta */
}

.imageVertical {
    width: 100%;
    height: 650px;
    object-fit: cover !important; /* Mantém proporção */
    border-radius: 10px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.imageHorizontal {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    object-fit: cover; /* Mantém proporção */
}

/* Correções específicas para mobile */
@media (max-width: 768px) {
    /* Ajustar altura das imagens no mobile */
    .imageVertical {
        height: 300px !important; /* Reduz altura no mobile */
    }

    .imageHorizontal {
        height: 200px !important; /* Reduz altura no mobile */
    }

    .news-image {
        height: 180px !important; /* Reduz altura das imagens de notícias */
    }

    /* Ajustar títulos no mobile */
    .section-title,
    .section-title2 {
        font-size: 1.5rem !important;
        /*margin: 30px 0 15px 0;*/
        margin: 0 0 15px 0;
    }

    /* Ajustar cards no mobile */
    .content-card {
        min-height: 150px !important;
        padding: 10px;
    }

    .card-title {
        font-size: 1.1rem !important;
        line-height: 1.3;
    }

    .card-description {
        font-size: 0.9rem !important;
        line-height: 1.3;
    }

    /* Ajustar filtros no mobile */
    .filter-tags {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 8px;
        margin: 20px 0 15px 0;
    }

    .filter-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Ajustar hero section no mobile */
    .hero-section {
        padding: 20px 0;
    }

    .hero-title {
        margin-bottom: 30px;
    }

    .hero-title img {
        max-width: 100%;
        height: auto;
    }

    /* Ajustar layout das colunas no mobile */
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    /* Corrigir padding do container */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ajustar navbar no mobile */
    .main-content {
        padding-top: 80px; /* Reduz espaço no mobile */
    }

    /* Ajustar popup no mobile */
    .popup-title {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    .popup-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    /* Melhorar formulário no popup mobile */
    #mc_embed_signup input[type="email"],
    #mc_embed_signup input[type="text"] {
        padding: 10px 12px;
        font-size: 16px; /* Evita zoom no iOS */
    }

    #mc_embed_signup .button {
        padding: 14px 20px !important;
        font-size: 16px !important;
    }
}

/* Correções específicas para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .imageVertical {
        height: 400px;
    }

    .imageHorizontal {
        height: 250px;
    }

    .section-title,
    .section-title2 {
        font-size: 1.8rem;
    }

    .filter-tags {
        justify-content: center;
        gap: 10px;
    }
}

/* Garantir que as imagens não quebrem o layout */
img {
    max-width: 100%;
    height: auto;
}

/* Corrigir problema específico da seção "Leia também" no mobile */
@media (max-width: 768px) {
    #leiaTambem .col-lg-4 {
        margin-bottom: 20px;
    }

    #leiaTambem .row.g-4 .col-12:first-child {
        margin-bottom: 15px;
    }

    /* Melhorar espaçamento do card newsletter */
    .newsletter-trigger {
        padding: 15px;
    }

    .newsletter-trigger .card-title {
        margin-top: 15px !important;
        font-size: 1rem !important;
    }
}

/* Corrigir overflow horizontal */
body {
    overflow-x: hidden;
}

.container-fluid,
.container {
    overflow-x: hidden;
}

/* Melhorar performance das animações no mobile */
@media (max-width: 768px) {
    .imageVertical:hover,
    .imageHorizontal:hover {
        transform: none; /* Remove hover effects no mobile */
    }

    .news-card:hover {
        transform: none; /* Remove hover effects no mobile */
    }

    .newsletter-trigger:hover {
        transform: none; /* Remove hover effects no mobile */
    }
}


/* botão */
.mais-noticia {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.botao {
    /*background: linear-gradient(135deg, #28a745 0%, #2d4023 100%);*/
    background: #28a745;
    color: white !important;
    text-decoration: none !important;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Efeito de brilho no hover */
.botao::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.botao:hover::before {
    left: 100%;
}

/* Estados do botão */
.botao:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #2d4023 0%, #1a2614 100%);
    color: white !important;
    border-color: #28a745;
}

.botao:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Adicionar ícone de seta */
.botao::after {
    content: '→';
    font-size: 18px;
    font-weight: bold;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.botao:hover::after {
    transform: translateX(5px);
}



/* Pesquisa */
.search-container {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input-group:focus-within {
    border-color: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    /*transform: translateY(-1px);*/
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 14px;
    background: transparent;
    color: #333;
    font-weight: 500;
}

.search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-button {
    background: linear-gradient(135deg, #28a745 0%, #2d4023 100%);
    border: none;
    padding: 15px 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.search-button:hover {
    background: linear-gradient(135deg, #2d4023 0%, #1a2614 100%);
    transform: scale(1.05);
}

.search-button i {
    font-size: 16px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px;
    }

    .section-title2 {
        align-self: flex-start;
        margin-bottom: 0;
    }

    .search-container {
        width: 100%;
        max-width: none;
    }

    .search-input-group {
        border-radius: 20px;
    }

    .search-input {
        padding: 10px 15px;
        font-size: 16px; /* Evita zoom no iOS */
    }

    .search-button {
        padding: 10px 15px;
        min-width: 45px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .search-container {
        max-width: 300px;
    }
}

/* ===== ANIMAÇÕES ===== */
.search-input-group {
    animation: slideInFromRight 0.6s ease-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== INTEGRAÇÃO COM FILTROS ===== */
@media (max-width: 992px) {
    .filter-tags {
        justify-content: flex-start !important;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }

    .filter-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}





/* CSS para o placeholder do vídeo */
.video-placeholder {
    position: relative;
    width: 100%;
    height: 340px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-iframe {
    height: 340px !important;
    margin-bottom: 10px;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.play-button:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

/* CSS para o iframe do vídeo */
.video-iframe {
    width: 100%;
    height: 200px; /* Mesma altura do placeholder */
    border: none;
    border-radius: 8px;
}

/* Exemplo de container */
.video-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}






.apoiadores-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    animation: slideShow 8s infinite;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.carousel-slide img {*/
/*    max-width: 100%;*/
/*    max-height: 100%;*/
/*    object-fit: contain;*/
/*}*/

.apoiadores-carousel:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes slideShow {
    0% { transform: translateX(0); }
    30% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    63% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    96% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}


/* Correção para o dropdown de idiomas */
/* 1. Garantir que o navbar não corte o dropdown MAS mantém fixed */
.navbar {
    overflow: visible !important; /* Remove qualquer overflow hidden */
    position: fixed !important; /* Mantém fixo na rolagem */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important; /* Z-index alto para ficar acima do conteúdo */
}

/* 2. Container do navbar deve permitir overflow */
.navbar .container {
    overflow: visible !important;
    position: static;
}

/* 3. Configurar z-index correto para o dropdown */
.navbar .dropdown-menu {
    z-index: 1050 !important; /* Bootstrap padrão é 1000, aumentamos para garantir */
    position: absolute !important;
    top: 100% !important;
    left: auto !important;
    right: 0 !important; /* Alinha à direita como está no HTML */
    transform: none !important;
    margin-top: 0 !important;
    min-width: 120px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175) !important;
}

/* 4. Item dropdown deve ter posição relativa */
.navbar .dropdown {
    position: relative !important;
}

/* 5. Garantir que o dropdown apareça completamente */
.navbar-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 5px); /* Pequeno espaço entre o botão e o dropdown */
    right: 0;
    left: auto;
    margin: 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* 6. Quando o dropdown está ativo/aberto */
.navbar-nav .dropdown.show .dropdown-menu,
.navbar-nav .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

/* 7. Estilização dos itens do dropdown */
.navbar-nav .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #28a745;
}

/* 8. Botão do dropdown */
.navbar-nav .dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 5px;
}

/* 9. Correções específicas para quando navbar muda de cor */
.navbar-white .dropdown-menu {
    border: 1px solid #dee2e6;
    background-color: white;
}

.navbar-green .dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: white;
}

.navbar-white .dropdown-item {
    color: #2d4023;
}

.navbar-green .dropdown-item {
    color: #333;
}

.navbar-white .dropdown-item:hover,
.navbar-green .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #28a745;
}

/* 10. Garantir que funcione no mobile também */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: auto !important;
        margin-top: 0 !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 8px 0;
        color: inherit;
    }

    .navbar-white .dropdown-menu .dropdown-item {
        color: #2d4023;
    }

    .navbar-green .dropdown-menu .dropdown-item {
        color: white;
    }
}

/* 11. Fix adicional para garantir que o navbar não tenha altura fixa que corte o dropdown */
.navbar-expand-lg {
    min-height: auto !important;
}

.navbar-collapse {
    overflow: visible !important;
}