/* Importação das fontes Google */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

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

/* Faixa superior de contato */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    color: #666;
    font-size: 11px;
}

.contact-info i {
    margin-right: 5px;
    color: #C20C21;
}

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

.social-icons a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #C20C21;
}

/* Navbar principal */
.navbar {
    background-color: #C20C21;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-top: 1px solid #000000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.navbar-brand .logo {
    height: 100px;
    width: auto;
}

/* Menu de navegação */
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar-menu li {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-menu li:last-child {
    border-right: none;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 10px;
    border-radius: 0;
    transition: background-color 0.3s ease;
    display: block;
    white-space: nowrap;
}

.navbar-menu a:hover {
    color: #000000;
    transition: color 0.3s ease;
}

.navbar-menu a.active {
    background-color: transparent;
    color: #000000;
    transition: color 0.3s ease;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 5px;
    top: 100%;
    left: 0;
    border: 1px solid #ddd;
}

.dropdown-content a {
    color: #333 !important;
    padding: 8px 12px !important;
    text-decoration: none;
    display: block;
    font-size: 0.85em !important;
    border-right: none !important;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #C20C21 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Botão hambúrguer (mobile) */
.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Carrossel */
.carousel {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
}

.carousel-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 600;
}

.carousel-content p {
    font-size: 0.9em;
    font-weight: 400;
}

/* Setas de navegação do carrossel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(128, 128, 128, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 0;
    cursor: pointer;
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background-color: rgba(128, 128, 128, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}



/* Seção O Sindicato */
.sindicato-section {
    padding: 25px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

/* Seção Associe-se */
.associe-se-section {
    padding: 25px 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    color: #666;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.sindicato-content {
    max-width: 600px;
    margin: 0;
    text-align: left;
}

.sindicato-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    color: #666;
    margin-bottom: 12px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}



.btn-ler-mais {
    display: inline-block;
    background-color: #999;
    color: white;
    padding: 6px 15px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.6em;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border-radius: 3px;
}

.btn-ler-mais:hover {
    background-color: #777;
}

/* Seção Lazer */
.lazer-section {
    padding: 50px 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

.lazer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.lazer-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    text-align: left;
}

.lazer-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.lazer-card p {
    font-size: 1.0em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-ver-mais {
    display: inline-block;
    color: #C20C21;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.btn-ver-mais:hover {
    color: #a00a1a;
}

.lazer-actions {
    text-align: center;
}

.btn-ver-todos {
    display: inline-block;
    background-color: #999;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7em;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border-radius: 3px;
}

.btn-ver-todos:hover {
    background-color: #777;
}

/* Seção Fotos */
.fotos-section {
    padding: 50px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.fotos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.foto-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.foto-item:hover {
    transform: translateY(-5px);
}

.foto-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Galeria de fotos melhorada para home */
.fotos-gallery-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.foto-item-home {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    cursor: pointer;
}

.foto-item-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.foto-item-home a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.foto-item-home img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.foto-item-home:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.foto-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 0%, 
        transparent 40%, 
        rgba(0,0,0,0.4) 70%, 
        rgba(0,0,0,0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: all 0.4s ease;
}

.foto-item-home:hover .foto-overlay-home {
    opacity: 1;
}

.foto-info {
    color: white;
    text-align: center;
    width: 100%;
}

.foto-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.foto-info p {
    font-size: 0.8em;
    margin: 0 0 10px 0;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.foto-btn {
    display: inline-block;
    background: #C20C21;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(194, 12, 33, 0.3);
}

.foto-item-home:hover .foto-btn {
    background: #8B0A1A;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(194, 12, 33, 0.4);
}

.fotos-actions {
    text-align: center;
}

/* Seção Notícias */
.noticias-section {
    padding: 50px 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.noticia-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.noticia-imagem-home {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.noticia-card:hover .noticia-imagem-home img {
    transform: scale(1.05);
}

.noticia-placeholder {
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-conteudo-home {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.noticia-data {
    background-color: #C20C21;
    color: white;
    padding: 6px 12px;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1em;
    color: #C20C21;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.noticia-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95em;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.noticia-card p {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.noticia-status {
    background: linear-gradient(135deg, #666, #777);
    color: white;
    padding: 5px 10px;
    font-size: 0.7em;
    font-weight: 500;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-desc {
    font-style: normal;
    color: #777 !important;
    margin-top: auto;
}

.noticias-actions {
    text-align: center;
}

/* Seção Benefícios */
.beneficios-section {
    padding: 50px 0 60px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.beneficios-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 35px;
}

.beneficios-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.beneficio-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
    padding: 0 20px;
}

.beneficio-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.beneficio-card img {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.beneficio-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95em;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

/* Indicadores dos benefícios */
.beneficios-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.beneficios-indicators .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.beneficios-indicators .indicator.active {
    background-color: #C20C21;
    border-color: #C20C21;
    transform: scale(1.2);
}

.beneficios-indicators .indicator:hover {
    background-color: #999;
    transform: scale(1.1);
}

.beneficios-actions {
    text-align: center;
}

/* Responsividade para benefícios */
@media (max-width: 768px) {
    .beneficio-slide {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }

    .beneficio-card {
        max-width: 280px;
        padding: 20px 15px;
    }

    .beneficio-card img {
        max-width: 150px;
        height: 100px;
    }

    .beneficio-card h3 {
        font-size: 0.9em;
        min-height: 45px;
    }
}

@media (max-width: 480px) {
    .beneficio-slide {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .beneficio-card {
        max-width: 100%;
        padding: 18px 15px;
    }

    .beneficio-card img {
        max-width: 140px;
        height: 90px;
    }

    .beneficio-card h3 {
        font-size: 0.85em;
        min-height: 40px;
    }

    .beneficios-indicators .indicator {
        width: 12px;
        height: 12px;
    }
}

/* Rodapé */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
}

/* ===== NOVO SISTEMA DE MENU MOBILE - MODULAR E LIMPO ===== */

/* Botão hambúrguer - Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle .hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animação do hambúrguer quando ativo */
.mobile-menu-toggle.mobile-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.mobile-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.mobile-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay do menu mobile */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.mobile-nav-overlay.mobile-active {
    display: block;
}

/* Container do menu mobile */
.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #C20C21;
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-nav-container.mobile-active {
    right: 0;
}

/* Header do menu mobile */
.mobile-nav-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

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

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Lista do menu mobile */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Links do menu mobile */
.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

.mobile-nav-link.mobile-active-page {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Dropdown no menu mobile */
.mobile-nav-dropdown {
    position: relative;
}

.mobile-nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-dropdown-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.mobile-dropdown-open .mobile-nav-dropdown-icon {
    transform: rotate(180deg);
}

/* Submenu dropdown */
.mobile-nav-submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: max-height 0.3s ease;
}

.mobile-nav-dropdown.mobile-dropdown-open .mobile-nav-submenu {
    max-height: 800px; /* Aumentado para acomodar todos os 19 itens */
    overflow-y: auto; /* Adiciona scroll se necessário */
}

.mobile-nav-submenu .mobile-nav-link {
    padding: 12px 40px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-submenu .mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-submenu .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 45px;
}

/* Media queries para ativar o menu mobile */
@media (max-width: 768px) {
    /* Mostra o botão hambúrguer */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Esconde o menu desktop */
    .navbar-menu {
        display: none !important;
    }

    /* Ajustes gerais responsivos */
    .container {
        padding: 0 15px;
    }

    /* Faixa superior responsiva */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-info {
        font-size: 13px;
    }

    /* Navbar responsiva */
    .navbar {
        padding: 15px 0;
    }

    .navbar-brand .logo {
        height: 80px;
    }

    /* Carrossel responsivo */
    .carousel {
        height: 360px;
    }

    .carousel-content {
        padding: 15px;
        max-width: 90%;
    }

    .carousel-content h2 {
        font-size: 1.6em;
        margin-bottom: 10px;
    }

    .carousel-content p {
        font-size: 0.95em;
    }

    /* Setas menores em mobile */
    .carousel-nav {
        width: 40px;
                height: 40px;
        font-size: 16px;
        border-radius: 0;
    }

    .carousel-nav.prev {
        left: 15px;
    }

    .carousel-nav.next {
        right: 15px;
    }



    /* Seções responsivas */
    .sindicato-section {
        padding: 30px 0;
    }

    .lazer-section,
    .fotos-section,
    .noticias-section,
    .beneficios-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .sindicato-text h3 {
        font-size: 1.1em;
    }

    .sindicato-text p {
        font-size: 1em;
    }

    .lazer-grid,
    .fotos-gallery,
    .fotos-gallery-home,
    .noticias-grid,
    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .fotos-gallery-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .foto-item-home img {
        height: 180px;
    }

    .foto-overlay-home {
        padding: 12px;
    }

    .foto-info h4 {
        font-size: 0.9em;
    }

    .foto-info p {
        font-size: 0.75em;
    }

    .foto-btn {
        padding: 5px 10px;
        font-size: 0.65em;
    }

    .lazer-card,
    .noticia-card,
    .beneficio-card {
        padding: 18px;
    }

    .lazer-card h3,
    .noticia-card h3,
    .beneficio-card h3 {
        font-size: 1.1em;
    }

    .foto-item img {
        height: 180px;
    }

    .fotos-gallery-home {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .foto-item-home img {
        height: 160px;
    }

    .foto-overlay-home {
        padding: 10px;
    }

    .foto-info h4 {
        font-size: 0.9em;
        margin-bottom: 4px;
    }

    .foto-info p {
        font-size: 0.7em;
        margin-bottom: 8px;
    }

    .foto-btn {
        padding: 4px 8px;
        font-size: 0.6em;
    }

    /* Rodapé responsivo */
    .footer {
        padding: 15px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }



    /* Logo ainda menor em telas muito pequenas */
    .navbar-brand .logo {
        height: 55px;
    }

    /* Top bar mais compacta */
    .top-bar {
        padding: 6px 0;
    }

    .contact-info {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 16px;
    }

    /* Navbar mais compacta */
    .navbar {
        padding: 12px 0;
    }

    .navbar-menu a {
        padding: 12px 15px;
        font-size: 15px;
    }

    /* Carrossel ainda menor */
    .carousel {
        height: 295px;
    }

    .carousel-content {
        padding: 12px;
    }

    .carousel-content h2 {
        font-size: 1.3em;
        margin-bottom: 8px;
    }

    .carousel-content p {
        font-size: 0.85em;
    }

    /* Setas ainda menores em telas pequenas */
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
        border-radius: 0;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }



    /* Seções mais compactas */
    .sindicato-section {
        padding: 25px 0;
    }

    .lazer-section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .sindicato-text h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    .sindicato-text p {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .lazer-card {
        padding: 18px;
    }

    .lazer-card h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    .lazer-card p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .btn-ler-mais,
    .btn-ver-todos {
        padding: 10px 25px;
        font-size: 0.85em;
    }

    /* Rodapé mais compacto */
    .footer {
        padding: 12px 0;
        font-size: 13px;
    }
}

/* Seção Fale Conosco na Home */
.contato-home-section {
    padding: 50px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.contato-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contato-form-home {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contato-info-home {
    padding: 20px 0;
}

.contato-item-home {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contato-item-home i {
    color: #C20C21;
    font-size: 1.5em;
    margin-right: 15px;
    margin-top: 5px;
    width: 30px;
}

.contato-item-home h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
}

.contato-item-home p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.contato-form-home .form-group {
    margin-bottom: 20px;
}

.contato-form-home label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 0.9em;
}

.contato-form-home input,
.contato-form-home select,
.contato-form-home textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contato-form-home input:focus,
.contato-form-home select:focus,
.contato-form-home textarea:focus {
    outline: none;
    border-color: #C20C21;
}

.btn-enviar-home {
    background: #C20C21;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.btn-enviar-home:hover {
    background: #8B0A1A;
}

/* Estilos para reCAPTCHA */
.g-recaptcha {
    margin: 10px 0;
    display: inline-block;
}

.recaptcha-error {
    color: #C20C21;
    font-size: 14px;
    margin-top: 5px;
    padding: 8px;
    background-color: #ffeaea;
    border: 1px solid #C20C21;
    border-radius: 4px;
}

/* Responsividade para reCAPTCHA */
@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
        margin: 10px 0 5px 0;
    }
}

/* Responsividade para formulário de contato */
@media (max-width: 768px) {
    .contato-home-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contato-form-home {
        padding: 25px 20px;
    }

    .contato-item-home {
        margin-bottom: 20px;
    }

    .contato-item-home i {
        font-size: 1.3em;
    }
}

/* Responsividade para telas extra pequenas */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .navbar-brand .logo {
        height: 50px;
    }

    .carousel {
        height: 225px;
    }

    .carousel-content h2 {
        font-size: 1.1em;
    }

    .carousel-content p {
        font-size: 0.8em;
    }


}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .carousel-slide,
    .navbar-menu,
    .navbar-toggle span,
    .social-icons a,
    .navbar-menu a,
    .indicator {
        transition: none;
    }
}

/* Estados de foco para acessibilidade */
.navbar-menu a:focus,
.social-icons a:focus,
.indicator:focus,
.navbar-toggle:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Overlay para card expandido */
.noticia-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.noticia-overlay.ativo {
    opacity: 1;
}

.noticia-card-expandido {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
}

.noticia-card-expandido.ativo {
    transform: translateY(0);
}

.noticia-header-expandido {
    padding: 30px;
    background: linear-gradient(135deg, #C20C21, #8B0A1A);
    color: white;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.btn-fechar-noticia {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.btn-fechar-noticia:hover {
    background: rgba(255, 255, 255, 0.3);
}

.noticia-data-expandido {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.noticia-titulo-expandido {
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    margin: 0;
    line-height: 1.2;
}

.noticia-imagem-expandido {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    max-height: none; /* Remove totalmente o limite de altura */
    min-height: 80vh; /* Altura mínima apenas */
}

.noticia-imagem-expandido img {
    width: auto;
    height: auto;
    max-width: 90vw; /* Pode usar até 90% da largura da tela */
    max-height: 80vh; /* Pode usar até 80% da altura da tela */
    object-fit: contain; /* GARANTE que a imagem inteira aparece */
    object-position: center;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.noticia-conteudo-expandido {
    padding: 30px;
}

.noticia-categoria-expandido {
    background: #C20C21;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-descricao-expandido {
    line-height: 1.7;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 30px;
}

.noticia-detalhes-extras {
    border-top: 2px solid #f0f0f0;
    padding-top: 25px;
    margin-top: 25px;
}

.noticia-detalhes-extras h4 {
    color: #C20C21;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.noticia-contato {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.noticia-contato p {
    margin: 8px 0;
    color: #555;
}

.noticia-contato strong {
    color: #C20C21;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsividade para modal */
@media (max-width: 768px) {
    .noticia-overlay {
        padding: 10px;
    }

    .noticia-card-expandido {
        max-height: 95vh;
        border-radius: 10px;
    }

    .noticia-header-expandido {
        padding: 20px;
        border-radius: 10px 10px 0 0;
    }

    .noticia-titulo-expandido {
        font-size: 1.5em;
    }

    .noticia-conteudo-expandido {
        padding: 20px;
    }

    .noticia-imagem-expandido {
        height: 200px;
    }

    .btn-fechar-noticia {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Efeito de dimming nos cards */
.noticias-grid.cards-dimmed .noticia-card {
    opacity: 0.3;
}