/* --- BODY --- */

body {
    background-color: #E3961C;
    color: #FAFAFA; 
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */

header {
    position: fixed; 
    top: 0;          
    width: 100%;     
    z-index: 1000;   
}

nav {
    display: flex;
    align-items: center;
    padding: 15px 50px;
    background-color:#1A368F;
    justify-content: space-between;
}

.nav-esq, .nav-dir, .nav-center-esq, .nav-center-dir { display: flex; align-items: center; }
.nav-esq { justify-content: flex-start; }
.nav-dir { justify-content: flex-end; }
.nav-center { text-align: center; }

.nav-link {
    display: flex;
    justify-content: center; 
    gap: 8px; 
    color: #FAFAFA;
    transition: all 0.2s ease; 
}

.nav-link svg { 
    width: 20px; 
    height: 20px;
    fill: currentColor; 
}

.nav-link:hover {
    transform: scale(1.2);
}

a {
    text-decoration: none;
}

h1 {
    color: #FAFAFA;
    margin-bottom: 40px;
    font-size: 40px;
}

/* --- PÁGINA PRINCIPAL --- */

/* --- MAIN E SEÇÃO 1 (CARROSSEL) --- */

main {
    text-align: center;
    flex: 1;
}

.sec1-texto {
    padding: 40px 20px 20px;
    margin-top: 40px;
}

/* --- CARROSSEL --- */

.carrossel-container {
    position: relative;
    width: 100%; 
    height: 750px; 
    margin: 0 auto;
    overflow: hidden;
    background-color: #1D3557; 
}

.slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
    pointer-events: none; 
}

.slide.ativo {
    opacity: 1; 
    pointer-events: auto;
}

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

.texto-slide {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(29, 53, 87, 0.8); 
    color: #F1FAEE;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    letter-spacing: 1px;
}

.btn-carrossel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(234, 227, 210, 0.6); 
    color: #1D3557;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 4px;
}

.btn-carrossel:hover {
    background-color: rgba(234, 227, 210, 0.9);
    color: #0077B6;
}

.prev { left: 20px; }
.next { right: 20px; }

@keyframes fade {
    from { opacity: 0.4 }
    to { opacity: 1 }
}

/* --- SEÇÃO 2 --- */

.sec2 {
    padding: 60px 20px; 
}

.sec2-split {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 40px; 
    max-width: 1200px; 
    margin: 0 auto;
    flex-wrap: wrap; 
}

/* --- COLUNA DA ESQUERDA (TEXTOS) --- */

.sec2-textos {
    flex: 1; 
    min-width: 400px; 
    text-align: left; 
}

.sec2-textos h2 {
    color: #FAFAFA;
    margin-bottom: 20px;
    font-size: 32px; 
    line-height: 1.2;
    text-align: left; 
}

.txt-p2 {
    font-size: 16px;
    font-weight: lighter;
    color: #FAFAFA;
    margin-bottom: 15px;
    line-height: 1.6;
}

.txt-p3 {
    font-size: 16px; 
    font-weight: 600;
    color: #FAFAFA;
    margin-top: 30px;
    line-height: 1.8;
    text-align: center;
}

/* --- COLUNA DA DIREITA (MAPA) --- */

.sec2-mapa {
    flex: 1; 
    min-width: 400px; 
    display: flex;
    justify-content: center;
}

.card-mapa {
    display: block;
    width: 100%;
    max-width: 400px; 
    background-color: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 0; 
}

.card-mapa:hover {
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.2);
}

.local {
    margin-top: 0; 
}

/* --- VÍDEO MAPA --- */

.video-container-card {
    position: relative;
    width: 100%;
    line-height: 0;
}

.video-container-card video {
    width: 100%;
    height: auto;
}

/* --- NOME SOBRE O VÍDEO --- */

.label-flutuante {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    background-color: #EAE3D2;
    color: #1D3557;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 10;
}

.label-flutuante.ativo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- INFORMAÇÕES ABAIXO DO VÍDEO --- */

.info-local {
    padding: 20px;
    color: #1D3557;
}

.info-local h4 {
    margin: 0 0 10px;
    color: #0077B6;
}

.info-local p {
    margin: 4px 0;
    font-size: 14px;
}

.btn-maps {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    font-weight: bold;
    color: #0077B6;
    text-transform: uppercase;
}

/* --- FOOTER --- */

footer {
    text-align: center;
    padding: 20px;
    background-color: #1A368F;
    color: #FAFAFA;
    margin-top: 80px;
}

footer .creditos {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #FAFAFA;
    transition: opacity 0.3s ease;
}

footer .creditos:hover {
    opacity: 1;
}

.redes-sociais {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.redes-sociais svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}
.redes-sociais a {
    color: #FAFAFA;
    transition: transform 0.3s ease;
}

.redes-sociais a:hover {
   transform: scale(1.2);
}

/* --- PÁGINA SOBRE NÓS --- */

.sobrenos {
    color: #FAFAFA;
}

.sobrenos h1 {
    color: #FAFAFA;
    padding: 40px 20px 20px;
    margin-top: 80px;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.sobrenos p {
    color: #FAFAFA;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 10px;
    flex-direction: column;
    font-size: 20px;
    font-weight: lighter;
    text-align: left;
    line-height: 1.3;
}

/* --- RESPONSIVIDADE (CELULARES E TABLETS) --- */

@media (max-width: 850px) {
    
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .sec1-texto {
        margin-top: 180px;
        padding-bottom: 40px;
    }
    
    .sobrenos h1 {
        margin-top: 180px; 
        margin-bottom: 40px; 
    }

    h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .carrossel-container {
        height: 350px;
    }

    .texto-slide {
        font-size: 16px;
        width: 80%;
        padding: 10px;
        bottom: 20px;
    }

    .btn-carrossel {
        font-size: 18px;
        padding: 10px 15px;
    }

    .sec2-textos, .sec2-mapa {
        min-width: 100%;
    }

    .sec2 {
        padding: 40px 20px;
    }

    .sec2-textos h2 {
        font-size: 28px;
    }

    .txt-p2, .txt-p3 {
        font-size: 16px;
    }

    .card-mapa {
        max-width: 100%;
    }

    .sobrenos p {
        width: 90%;
        font-size: 18px; 
        text-align: left;
    }
}