@import url('https://fonts.googleapis.com/css2?family=Kablammo&family=Kreon:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFDF8;
    color: black;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.0625rem; /* 1px em rem */
    line-height: 1.8;
    text-align: justify;
    overflow-x: hidden;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: rgba(196, 196, 196, 0.7);
    position: fixed;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(10px); /* Efeito de desfoque */
}

.logo {
    width: 7rem;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1); 
}

.nav_links {
    list-style: none;
    display: flex;
    font-size: 17px;
    gap: 20px;
}

.nav_links li a {
    color: #005197;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav_links li a:hover {
    color: #009A66;
}

/* HERO - PARALLAX */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

#hero_content {
    padding: 4rem 13rem 6.5rem 13rem;
}

h1 {
    font-size: 3rem;
    color: #005197;
    display: flex;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1.5s ease-out forwards;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* ANIMAÇÃO FADE-IN-UP */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#hero_content {
    padding: 4rem 13rem 6.5rem 13rem;
}

#hero_content p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Botão estilizado */
button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #009A66; 
    color: #FFF; 
    border: none;
    border-radius: 20px !important;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

/* Links dentro do botão */
.btn_ver_mais a {
    text-decoration: none;
    color: inherit; 
    font-weight: inherit; 
}

/* Efeito hover no botão */
.btn_ver_mais:hover {
    background-color: #007C53;
}

#localizacao {
    margin: 2rem auto;
    max-width: 1200px;
    text-align: center;
}

#localizacao p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Estilos para as agências */
.agency {
    background-color: #FFF;
    padding: 15px;
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.agency h3 {
    font-size: 1.8rem;
    color: #005197;
}

.agency p {
    font-size: 1rem;
    margin: 5px 0;
}

.agency button {
    background-color: #009A66;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.agency button:hover {
    background-color: #007C53;
}

/* Mapa interativo */
.map {
    margin-top: 3rem;
}

.map h2 {
    font-size: 1.5rem;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}

/* Estilo para a geolocalização */
#location {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* FOOTER */
.footer {
    background-color: #21165c;
    color: #FFFDF8;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer a {
    color: #FFFDF8;
    text-decoration: none;
    margin-bottom: 2rem;
}

.footer_nav_links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-bottom: 1rem;
}

.footer_nav_links li a {
    color: #FFFDF8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer_nav_links li a:hover {
    color: #009A66;
}

.redes p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.links_redes {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.rede1 img, .rede2 img, .rede3 img, .rede4 img {
    height: 40px;
}

.rede1 img:hover {
    background-color: #005197;
    border-radius: 50%;
}

.rede2 img:hover {
    background-color: #c40089;
    border-radius: 50%;
}

.rede3 img:hover {
    background-color: #9d0000;
    border-radius: 50%;
}

.rede4 img:hover {
    background-color: #000000;
    border-radius: 50%;
}

.final {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Media Query para telas pequenas */
@media screen and (max-width: 360px) {
    .header {
        align-items: flex-start;
        padding: 15px 20px;
    }
    
    .logo {
        width: 5rem;
    }

    .nav_links {
        flex-direction: row;
        gap: 10px;
    }

    #hero_content {
        padding: 3rem 1rem 6.5rem 1rem !important;
    }

    h1 {
        font-size: 2rem;
        text-align: center;
        margin-top: 30px;
    }

    #hero_content p {
        font-size: 1rem;
    }

    button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .agency {
        padding: 15px;
        margin: 1rem 0;
    }

    .agency h3 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.2rem;
        display: flex;
        justify-content: center;
    }

    /* Ajustes no mapa */
    .map iframe {
        height: 300px;
        padding: 5px;
    }

    .footer {
        padding: 1rem 1rem 1rem 1rem;
    }

    .links_redes {
        gap: 15px;
    }
    
    .rede1 img, .rede2 img, .rede3 img, .rede4 img {
        height: 25px;
    }

    .final p {
        font-size: 10px;
    }
}
