/* =================================
   1. ESTILOS GERAIS
==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a; 
    color: white;
    overflow-x: hidden; 
}

body.nav-open {
    overflow: hidden;
}

h2 {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: clamp(2.2rem, 5vw + 1rem, 2.8rem);
}

.foco-esquerdo {
    background-position: left center !important; /* puxa a imagem para a esquerda */
}

@media (max-width: 768px) {
    .foco-esquerdo {
        background-position: 10% center; /* ou left, ou a porcentagem desejada */
    }
}

/* =================================
   2. HEADER E NAVEGAÇÃO
==================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px; 
    padding: 0 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.logo h1 {
    color: #c00c0c;
    font-size: clamp(1.5rem, 4vw, 1.75rem);
}

nav {
    display: flex;
    align-items: center;
}

.desktop-nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.desktop-main-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.desktop-main-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    position: relative; 
}

.desktop-main-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #b40e0e;
    transition: width 0.3s ease;
}

.desktop-main-links li a:hover,
.desktop-main-links li a.active { 
    color: #B80F0F;
}

.desktop-main-links li a:hover::after {
    width: 100%;
}

.divider {
    color: #B80F0F;
    font-size: 1.5rem;
    font-weight: 100;
}

.header-social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-social-links a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s, color 0.3s;
}

.header-social-links a:hover {
    color: #B80F0F; 
    opacity: 1;
    transform: scale(1.1);
}

.mobile-menu {
    cursor: pointer;
    display: none;
    z-index: 1002; 
    position: relative; 
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background: white;
    margin: 8px;
    transition: 0.3s;
}

.nav-list {
    display: none;
    position: absolute; 
    top: 70px; 
    left: 5%;
    right: 5%;
    width: 90%; 
    background: #23232e; 
    border-radius: 8px;
    padding: 20px 20px 30px 20px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 1px solid #333; 
    
    flex-direction: column;
    align-items: center;
    justify-content: space-between; 
    
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-out, opacity 0.3s, visibility 0.3s;
    
    z-index: 999;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    gap: 0;
    list-style: none;
}

.main-links-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
}

.nav-list li {
    margin-left: 0;
    opacity: 0; 
    font-size: 1.1rem;
    margin: 8px 0; 
    width: 100%; 
    text-align: center; 
}

.nav-list li a {
    padding: 10px; 
    display: block;
    width: 100%;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav-list li a:hover {
    background-color: #333;
    color: #B80F0F;
}

.mobile-social-panel {
    width: 100%;
    margin-top: 20px;
}

.separator-line {
    width: 90%;
    height: 1px;
    background-color: #444;
    margin: 0 auto 20px auto;
}

.mobile-social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.mobile-social-icons a {
    color: white;
    font-size: 1.8rem;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.mobile-social-icons a:hover {
    opacity: 1;
    color: #B80F0F;
}

@media (max-width: 999px){
    .desktop-nav-container {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .nav-list {
        display: flex;
    }
    
    .mobile-menu.active .line1 {
        transform: rotate(-45deg) translate(-8px, 8px);
    }
    .mobile-menu.active .line2 {
        opacity: 0;
    }
    .mobile-menu.active .line3 {
        transform: rotate(45deg) translate(-5px, -7px);
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateY(10px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   3. SEÇÃO HOME (mantido igual)
==================================== */
#home {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s ease-in-out; 
}

.slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%; 
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide .content {
    position: relative; 
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0; 
    animation: fadeInUp 1.5s ease-in-out forwards;
}

.slide h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide p {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.25rem);
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

#home .prev, #home .next { 
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 3;
    background-color: rgba(0,0,0,0.2);
}

#home .prev:hover, #home .next:hover {
    background-color: rgba(0,0,0,0.5);
}

#home .prev {
    left: 10px;
}

#home .next {
    right: 10px;
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 3;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #B80F0F;
}

/* =================================
   4. SEÇÃO SOBRE (mantido igual)
==================================== */
#sobre {
    padding: 100px 5%; 
    background: #fdfdfd;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sobre-texto {
    flex: 1 1 500px;
}

.sobre-texto h2 {
    font-size: clamp(2.2rem, 5vw + 1rem, 2.5em); 
    margin-bottom: 20px;
    color: #1a1a1a; 
}

.sobre-texto p {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.1em); 
    line-height: 1.7; 
    color: #555;
    margin-bottom: 20px;
}

.sobre-imagem {
    flex: 1 1 400px;
    text-align: center;
}

.sobre-imagem img {
    width: 100%;
    max-width: 450px; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.sobre-imagem img:hover {
    transform: scale(1.05);
}

/* =================================
   5. SEÇÃO: MISSÃO, VISÃO, VALORES (COM CARROSSEL)
==================================== */
#missao-visao-valores {
    padding: 80px 5%;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
}

#missao-visao-valores h2 {
    color: #fff;
    margin-bottom: 50px;
}

.mvv-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.mvv-card {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #B80F0F;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.mvv-card i {
    font-size: 3rem;
    color: #B80F0F;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #B80F0F;
}

.mvv-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}

.mvv-card.valores ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.mvv-card.valores li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #ddd;
}

.mvv-card.valores li strong {
    color: #B80F0F;
}

/* =========================================================================
   SEÇÃO EVENTOS (SLIDER DE 2 CARTÕES)
   ========================================================================= */
#eventos {
    padding: 5rem 2rem;
    background-color: var(--bg-main);
}

#eventos h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 5px;
}

.eventos-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* Espaço para as setas laterais não cobrirem a foto */
    display: flex;
    align-items: center;
}

.eventos-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.eventos-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.evento-card {
    min-width: 50%; /* 2 colunas no desktop */
    padding: 0 10px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

.evento-card img, .evento-card video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.evento-card:hover img, .evento-card:hover video {
    transform: scale(1.03);
}

/* Event Badge on Media */
.evento-badge {
    position: absolute;
    bottom: 20px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5;
    pointer-events: none;
}

.evento-prev, .evento-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(184, 15, 15, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.evento-prev { left: 0; }
.evento-next { right: 0; }

.evento-prev:hover, .evento-next:hover {
    background: #8a0c0c;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #eventos { padding: 3rem 1rem; }
    .eventos-slider-container {
        padding: 0;
    }
    .evento-card {
        min-width: 100%; /* 1 item on mobile */
    }
    .evento-card img, .evento-card video {
        height: 280px;
    }
    .evento-badge { left: 20px; bottom: 15px;}
    .evento-prev, .evento-next {
        width: 40px; height: 40px;
        opacity: 0.9;
    }
    .evento-prev { left: 5px; }
    .evento-next { right: 5px; }
}


/* =========================================================================
   SEÇÃO GALERIA (FILTROS)
   ========================================================================= */
.galeria {
    padding: 100px 5%;
    text-align: center;
    background-color: #1a1a1a; 
}

.galeria h2 {
    margin-bottom: 30px; 
    color: #f5f5f5;
}

.galeria-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.galeria-filter-btn {
    background: #2a2a2a;
    color: white;
    border: 2px solid #444;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.galeria-filter-btn:hover {
    border-color: #B80F0F;
    color: #B80F0F;
}

.galeria-filter-btn.active {
    background: #B80F0F;
    border-color: #B80F0F;
    color: white;
}

.galeria-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.galeria-carousel-prev,
.galeria-carousel-next {
    background: #B80F0F;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    display: none;
}

.ver-mais-container {
    text-align: center;
    margin-top: 40px;
}

.ver-mais-btn {
    background: #B80F0F;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 10px rgba(184, 15, 15, 0.3);
}

.ver-mais-btn:hover {
    background: #8a0c0c;
    transform: scale(1.05);
}

.ver-mais-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.galeria-carousel-prev:hover,
.galeria-carousel-next:hover {
    background: #8a0c0c;
    transform: scale(1.1);
}

.galeria-counter {
    font-size: 1.1rem;
    color: #ddd;
    display: none;
    min-width: 80px;
}

.galeria-toggle-view {
    background: #d4c400;
    color: #1a1a1a;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    display: none;
}

.galeria-toggle-view:hover {
    background: rgb(154, 165, 7);
}

.galeria-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 15px;
    padding: 0 10px;
    justify-items: center;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 1 / 1; 
}

.galeria-item img,
.galeria-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

/* ==========================================
   LAZY LOADING — Blur-Up Effect
   ========================================== */
.lazy-img {
    filter: blur(12px);
    opacity: 0.6;
    transition: filter 0.5s ease, opacity 0.5s ease;
    will-change: filter, opacity;
}

.lazy-img.lazy-loaded {
    filter: none;
    opacity: 1;
}

/* Respeitar acessibilidade (sem animação pra quem preferir) */
@media (prefers-reduced-motion: reduce) {
    .lazy-img {
        filter: none;
        opacity: 1;
        transition: none;
    }
}

.galeria-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.galeria-item::before {
    content: "\f002"; /* Código do ícone de lupa no Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.galeria-item:hover::before {
    opacity: 1;
}

.galeria-item:hover img,
.galeria-item:hover video {
    transform: scale(1.05);
}

.galeria-item img,
.galeria-item video {
    transition: transform 0.3s ease;
} 

.galeria-item.video-item::before,
.galeria-item.video-item::after {
    display: none;
}

/* Carrossel no mobile */
@media (max-width: 768px) {
    .galeria-carousel-prev,
    .galeria-carousel-next,
    .galeria-counter {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .galeria-toggle-view {
        display: inline-block;
    }

    .galeria-content {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .galeria-content.carousel-mode {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 15px;
    }

    .galeria-content.carousel-mode .galeria-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .mapa-full {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }
    .mapa-full iframe {
        height: 300px; /* altura menor para caber melhor */
    }
}

/* =================================
   7. SEÇÃO DEPOIMENTOS
==================================== */
#depoimentos {
    padding: 100px 5%;
    background-color: #fdfdfd;
    text-align: center;
    color: #333; 
}

#depoimentos h2 {
    margin-bottom: 50px;
    color: #1a1a1a;
}

.testimonial-container {
    max-width: 1200px; 
    margin: 0 auto;
}

.testimonial-cards-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
}

.testimonial-card {
    flex-basis: 350px; 
    flex-grow: 1; 
    max-width: 400px; 
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.testimonial-card:hover {
    transform: translateY(-5px); 
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6em; 
    color: #B80F0F; 
    opacity: 0.8;
    line-height: 1;
    z-index: 1;
}

.testimonial-card p.quote {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.15em); 
    font-style: italic;
    line-height: 1.7;
    color: #555; 
    margin-bottom: 25px;
    position: relative;
    z-index: 2; 
}

.testimonial-card h4.author {
    font-size: 1.1em;
    font-weight: bold;
    color: #1a1a1a; 
    text-align: right;
    position: relative;
    z-index: 2;
}

/* =================================
   8. SEÇÃO CONTATO
==================================== */
#contato {
    padding: 100px 5%;
    background: #222;
    color: #ffffff;
}

#contato h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

#contato > p {
    text-align: center;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.1em); 
    color: #ffffff;
    margin-bottom: 50px;
}

.contato-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-info {
    flex: 1 1 300px;
}

.contato-info h3 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid #B80F0F;
    padding-bottom: 5px;
    display: inline-block;
}

.contato-info p {
    margin-bottom: 25px;
    color: #ccc;
    line-height: 1.6;
}

.contato-info i {
    color: #ffffff;
    margin-right: 10px;
}

.contato-info i:hover {
    color: #ff0000;
    margin-right: 10px;
}

.social-links-contato {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-links-contato a {
    color: #ffffff;
    font-size: 2.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links-contato a:hover {
    color: #B80F0F;
    transform: translateY(-5px);
}

/* Formulário de contato (padrão) */
.contato-form {
    flex: 2 1 500px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1 1 200px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contato-form label {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffffff;
    display: block;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: #B80F0F;
    box-shadow: 0 0 5px rgba(184, 15, 15, 0.5);
}

.contato-form button {
    padding: 15px 20px;
    background: #d4c400;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.contato-form button:hover {
    background-color: rgb(154, 165, 7);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: none;
}

#form-status.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Mapa pequeno (usado no index.html) */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(100%) hue-rotate(180deg) brightness(0.9) contrast(1.1);
}

/* Mapa em largura total (usado no contato.html) */
.mapa-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 60px;
}

.mapa-full iframe {
    width: 100%;
    height: 450px;
    border: 0;
    filter: invert(100%) hue-rotate(180deg) brightness(0.9) contrast(1.1);
    display: block;
}

/* =================================
   9. PÁGINA TRANSPARÊNCIA
==================================== */
.transparencia-page {
    padding: 120px 5% 80px 5%;
    background: #1a1a1a;
    color: #fff;
    min-height: 60vh;
    text-align: center;
}

.transparencia-page h2 {
    margin-bottom: 20px;
}

.transparencia-page > p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 50px;
}

.download-area {
    margin-bottom: 40px;
}

.btn-download-large {
    display: inline-block;
    background: #B80F0F;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    transition: background 0.3s ease, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(184, 15, 15, 0.3);
}

.btn-download-large i {
    margin-right: 15px;
    color: white;
    font-size: 1.5rem;
}

.btn-download-large:hover {
    background: #8a0c0c;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(184, 15, 15, 0.5);
}

.explicacao-termo {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    border-left: 5px solid #B80F0F;
}

.explicacao-termo h3 {
    font-size: 1.8rem;
    color: #B80F0F;
    margin-bottom: 20px;
}

.explicacao-termo p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 15px;
}

.outros-documentos {
    margin-top: 40px;
    padding: 30px;
    background: #222;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.outros-documentos h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #B80F0F;
}

.outros-documentos p {
    color: #aaa;
}

/* =================================
   10. FOOTER (site-footer para index.html)
==================================== */
.site-footer {
    background: #111010;
    color: #a0a0a0;
    padding: 60px 5% 0;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col {
    flex: 1 1 250px;
}

.logo-col h2 {
    color: #c00c0c;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: left;
}

.slogan {
    color: #ccc;
    margin-bottom: 10px;
    font-style: italic;
}

.cnpj {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #a0a0a0;
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: #B80F0F;
    transform: translateY(-5px);
}

.links-col h3, .contact-col h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.links-col h3::after, .contact-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #B80F0F;
}

.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col li {
    margin-bottom: 12px;
}

.links-col a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.links-col a:hover {
    color: #B80F0F;
    padding-left: 5px;
}

.contact-col p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0a0a0;
}

.contact-col i {
    color: #B80F0F;
    width: 20px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 0.9rem;
}

/* =================================
   10b. FOOTER (footer para contato.html)
==================================== */
footer {
    background: #111010;
    color: #a0a0a0;
    padding: 60px 5% 0;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #B80F0F;
}

.footer-section p {
    margin-bottom: 12px;
    color: #a0a0a0;
    line-height: 1.6;
}

.footer-section i {
    color: #B80F0F;
    margin-right: 10px;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-social a {
    color: #a0a0a0;
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: #B80F0F;
    transform: translateY(-5px);
}

/* =================================
   11. MODAL
==================================== */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2010;
}

.modal .close:hover,
.modal .close:focus {
    color: #bbb;
}

.modal-content-wrapper {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(90vh - 100px); 
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.6);
}

.modal-description-box {
    display: none; 
    width: 100%;
    max-width: 500px; 
    margin: 20px auto 0 auto;
    color: #f5f5f5;
    text-align: center;
}

.modal-description-box h3 {
    font-size: 1.8rem;
    color: #B80F0F;
}

.modal-description-box p {
    font-size: 1.1rem;
}

.modal.instructor-modal .modal-image {
    max-height: 400px; 
    width: auto;
}

.modal.instructor-modal .modal-description-box {
    display: block;
}

/* =================================
   12. BOTÃO VOLTAR AO TOPO
==================================== */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #36362e;
    color: #ffffff;
    border: 1px solid #555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    transition: background 0.3s ease, opacity 0.3s ease;
    z-index: 900;
    opacity: 0.7;
}

#back-to-top:hover {
    background: #B80F0F;
    color: #1a1a1a;
    opacity: 1;
}

/* =================================
   13. ANIMAÇÕES
==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#sobre {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =================================
   14. MEDIA QUERIES
==================================== */
@media (max-width: 768px) {
    #sobre, .galeria, #depoimentos, #contato, #missao-visao-valores, .transparencia-page {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sobre-container { flex-direction: column; }
    .sobre-texto { margin-right: 0; text-align: center; }
    .sobre-imagem { margin-top: 20px; }

    .galeria-content { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

    .contato-container { gap: 30px; }
    
    .contato-info { flex-basis: 100%; }
    .contato-form { flex-basis: 100%; }

    .testimonial-card { padding: 30px; text-align: center;} 
    .testimonial-card::before { left: 10px; }
    .testimonial-card h4.author { text-align: center; }

    .mvv-cards { gap: 20px; }
    .mvv-card { padding: 30px 20px; }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .btn-download-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .galeria-filters {
        gap: 10px;
    }

    .galeria-filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .galeria-content { grid-template-columns: 1fr 1fr; }

    .testimonial-card {
        flex-basis: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .btn-download-large {
        width: 100%;
        text-align: center;
    }

    .galeria-controls {
        gap: 10px;
    }

    .galeria-carousel-prev,
    .galeria-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .galeria-filters {
        gap: 8px;
    }

    .galeria-filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
