* {
    font-family: Montserrat, sans-serif;
}

/* Estilo básico para telas maiores */
/* Menu de navegação */
.navbar-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    background-color: #09233d;
    /* Azul escuro */
    padding: 20px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Sutil para destacar o menu */
    position: fixed;
    /* Torna o menu fixo */
    top: 0;
    left: 0;
    width: 100%;
    /* Garante que ocupe toda a largura da página */
    z-index: 1000;
    /* Coloca o menu acima de outros elementos */
}

.links {
    display: flex;
    gap: 30px;
    /* Espaçamento entre os links */
    justify-content: center;
    /* Mantém os links centralizados */
}

.navbar-menu a {
    padding: 12px 20px;
    color: white;
    /* Contraste claro para os links */
    text-decoration: none;
    font-size: 15px;
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    border-radius: 5px;
    /* Deixa os links levemente arredondados */
    transition: background-color 0.3s ease;
    /* Transição suave ao hover */
}

.navbar-menu a:hover {
    background-color: #afd2f5;
    /* Azul intermediário para hover */
    color: #09233d;
}

.active {
    background-color: #406891;
    /* Azul vibrante para destacar o link ativo */
}

.hamburger-menu {
    display: none;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        /* Alinha logo e links em coluna */
        align-items: center;
        /* Centraliza os elementos */
        gap: 20px;
        /* Reduz o espaçamento entre os elementos */
        display: flex;
    }

    .links {
        /* Oculta os links em telas pequenas */
        flex-direction: row;
        /* Links em formato vertical */
        gap: 10px;
        /* Espaçamento entre os links */
        align-items: center;
        /* Centraliza os links */
    }

    .links.show {
        display: flex;
        /* Exibe os links quando o menu estiver aberto */
    }

    .navbar-menu a {
        font-size: 14px;
        /* Reduz o tamanho da fonte para telas menores */
        padding: 10px;
    }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .navbar-menu {
        padding: 30px;
        display: flex;
    }

    .links {
        gap: 10px;
    }

    .navbar-menu a {
        font-size: 12px;
        /* Reduz o tamanho da fonte para telas menores */
        padding: 5px;
    }

    .navbar-menu a:bi .navbar-menu a {
        font-size: 13px;
        /* Ajusta ainda mais o tamanho da fonte */
    }
}

/*---------------------------------------------------------------------------------
Página em construção - Serviços
---------------------------------------------------------------------------------*/
.servicos-span {
    margin-top: 100px;
    text-align: center;
    width: 100%;
    padding: 10px;
}

.servicos-span span {
    color: #09233d;
    font-size: 50px;
    margin-bottom: 30px;
    font-family: Montserrat, sans-serif;
    font-weight: bold;
}

.servicos {
    margin-top: 30px;
}

.servicos-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.servicos-item {
    width: 400px;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.servicos-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.servicos-item img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .servicos-span span {
        font-size: 35px;
    }

    .servicos-item {
        width: 90%;
        height: 250px;
    }
}

/*---------------------------------------------------------------------------------
Modal de imagens
---------------------------------------------------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.3s;
    cursor: zoom-in;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev,
.next {
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

/*---------------------------------------------------------------------------------
Footer
---------------------------------------------------------------------------------*/
.footer {
    width: 100%;
    background-color: #09233d;
    color: #fff;
    padding: 40px 5% 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.footer-conteiner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: inherit;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
}

.footer-produced a {
    text-decoration: none;
    color: #b6b6b6;
    transition: color 0.3s;
}

.footer-produced a:hover {
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #b6b6b6;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-social {
    text-align: center;
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #b6b6b6;
}

@media (max-width: 768px) {
    .footer {
        background-color: #09233d;
        color: #fff;
    }

    .footer-logo h3,
    .footer-social h3 {
        color: #fff;
    }

    .footer-links ul li a {
        color: #b1b1b1;
    }

    .footer-social a {
        color: #fff;
    }

    .footer-logo p {
        font-size: 0.7rem;
    }
}

.footer-pt1 img:hover {
    opacity: 0.7;
    transition: 0.3s ease;
}

.icons-contato-footer {
    display: flex;
    justify-content: center;
    font-size: 25px;
    margin-top: 20px;
    gap: 50px;
}

/*----------------------------------------------------------- icon whatsapp*/
#icon-whats {
    position: fixed;
    /* Permite que o ícone fique sempre visível */
    bottom: 85px;
    /* Distância da parte inferior da tela */
    right: 40px;
    /* Distância do lado direito da tela */
    z-index: 1001;
    /* Garante que esteja sobre outros elementos */
    width: 60px;
    height: 60px;
}

#icon-whats img {
    width: 55px;
    /* Ajusta o tamanho do ícone */
    height: 55px;
    transition: transform 0.3s;
    /* Suaviza a animação ao passar o mouse */
}

#icon-whats img:hover {
    transform: scale(1.1);
    /* Aumenta o ícone ao passar o mouse */
}

#icon-back-to-top {
    position: fixed;
    /* Permite que o ícone fique sempre visível */
    bottom: 20px;
    /* Distância da parte inferior da tela */
    right: 36px;
    /* Distância do lado direito da tela */
    z-index: 1001;
    /* Garante que esteja sobre outros elementos */
    width: 60px;
    height: 60px;
}

#icon-back-to-top img {
    width: 50px;
    /* Ajusta o tamanho do ícone */
    height: 50px;
    transition: transform 0.3s;
    /* Suaviza a animação ao passar o mouse */
}

#icon-back-to-top img:hover {
    transform: scale(1.1);
    /* Aumenta o ícone ao passar o mouse */
}

@media (max-width: 968px) {
    #icon-whats {
        bottom: 90px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    #icon-back-to-top {
        bottom: 40px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    #icon-whats img {
        width: 40px;
        height: 40px;
    }

    #icon-back-to-top img {
        width: 40px;
        height: 40px;
    }
}