/* ESTILO GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


body {
    background-color: #181818;
    height: 100vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: #15e31f;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo {
    color: #fff;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: #15e31f;
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 8px #15e31f;
    transform: scale(1.05);
}

/* ESTILO DO CABEÇALHO */
header {
    padding: 30px 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Estilo específico para a logo */
header .logo {
    width: 150px; /* Define a largura da logo */
    height: auto; /* Mantém a proporção da logo */
    max-height: 100px; /* Opcional: Limita a altura máxima */
    display: block; /* Garante que a logo seja renderizada como um bloco */
}

header a {
    color: #5c5c5c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover {
    color: #fff;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 40px;
}

/* ESTILO DO MENU MOBILE */
.btn-abrir-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.btn-abrir-menu i {
    color: #15e31f;
    font-size: 40px;
}

.menu-mobile {
    background-color: #000;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu-mobile.abrir-menu {
    width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu {
    display: block;
}

.menu-mobile .btn-fechar {
    padding: 20px 5%;
    cursor: pointer;
}

.menu-mobile .btn-fechar i {
    color: #15e31f;
    font-size: 30px;
}

.menu-mobile nav ul {
    text-align: right;
    margin-top: 50px;
}

.menu-mobile nav ul li a {
    color:#5c5c5c;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}

.menu-mobile nav ul li a:hover {
    background-color: #15e31f;
    color: #ffffff;
}

.overlay-menu {
    background-color: #000000df;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    header nav.menu-desktop {
        display: none;
    }

    .btn-abrir-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    header .logo {
        width: 100px; /* Ajusta o tamanho da logo no mobile */
        max-height: 80px;
    }
}


/* ESTILO DO TOPO DO SITE */
section.topo-do-site {
    padding: 200px 4%;
    background-image: url('./images/fundo.png');
}



.topo-do-site h1 {
    color: #fff;
    font-size: 42px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span {
    color: #15e31f;
}

.topo-do-site .txt-topo-site p {
    color: #fff;
    margin: 40px 0;
}

section.topo-do-site {
    padding: 200px 4%;
    background-image: url('./images/fundo.png');
    background-size: cover; /* Garante que a imagem cubra toda a área */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita repetição da imagem */
    
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    section.topo-do-site {
        padding: 100px 4%; /* Reduz o padding para telas menores */
        background-attachment: scroll; /* Permite que a imagem role junto com o conteúdo */
    }

    .topo-do-site h1 {
        font-size: 28px; /* Diminui o tamanho do texto */
        line-height: 36px; /* Ajusta o espaçamento entre as linhas */
    }

    .topo-do-site .txt-topo-site p {
        margin: 20px 0; /* Reduz o espaçamento entre os parágrafos */
    }

    .btn-contato button {
        font-size: 14px; /* Ajusta o tamanho do botão */
        padding: 10px 20px; /* Ajusta o espaçamento interno do botão */
    }
}


/* ESTILO DAS beneficios */
section.beneficios {
    padding: 20px 4%;
}

section.beneficios .flex {
    gap: 30px;
}

.beneficios .beneficios-box {
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 25px;
    transition: .2s;
    border: 2px solid #15e31f;
    display: flex; /* Define como um container flexível */
    flex-direction: column; /* Coloca os itens em coluna */
    align-items: center; /* Centraliza horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
    text-align: center; /* Alinha o texto no centro */
}

.beneficios .beneficios-box i {
    font-size: 50px;
    color: #15e31f;
    margin-bottom: 15px; /* Espaçamento entre o ícone e os outros elementos */
}

.beneficios .beneficios-box h3 {
    font-size: 28px;
    margin: 15px 0;
}


/* ESTILO DAS ESPECIALIDADES */
section.especiliadades {
    padding: 20px 4%;
}

section.especiliadades .flex {
    gap: 30px;
}

.especiliadades .especialidades-box {
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 25px;
    transition: .2s;
}

.especiliadades .especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ffffff78;
}

.especiliadades .especialidades-box i {
    font-size: 50px;
    color: #15e31f;
    align-items: center;
}

.especiliadades .especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0;
}

/* ESTILO DO SOBRE */
section.sobre {
    padding: 80px 4%;
}

section.sobre .flex {
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre {
    color: #fff;
}

.sobre .txt-sobre h2 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span {
    color: #15e31f;
    display: block;
}

.sobre .txt-sobre p {
    margin: 20px 0;
    text-align: justify;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #15e31f;
    font-size: 22px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

/* ESTILO DO PORTFÓLIO */
section.portfolio {
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

section.portfolio .flex {
    justify-content: space-around;
    margin-top: 60px;
}

.img-port {
    width: 360px;
    height: 460px;
    background-size: cover;
    background-position: 100% 0%;
    transition: 8s;
    cursor: pointer;
    border-radius: 40px;
    position: relative;
}

.img-port:hover {
    background-position: 100% 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b8;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: .5s;
}

.overlay:hover {
    opacity: 1;
}

/* Seção de Contato */
.contact-section {
    padding: 50px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap; /* Permite quebrar as linhas quando necessário */
}

/* Informações de Contato */
.contact-info {
    flex: 1;
    max-width: 45%;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.btn-social a button {
    background-color: #1e1e1e;
    border: none;
    color: #15e31f;
    border-radius: 5px;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-social a button:hover {
    transform: scale(1.1);
}

/* Formulário de Contato */
.contact-form {
    flex: 1;
    max-width: 45%;
}

.contact-info h2,
.contact-info p,
.contact-info h3 {
    color: #fff;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #1e1e1e;
    color: rgb(0, 0, 0);
}

.contact-form button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #15e31f;
    color: rgb(1, 1, 1);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #15e31f;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Coloca os elementos em coluna no mobile */
        align-items: center;
    }

    .contact-info,
    .contact-form {
        max-width: 100%; /* Faz com que ocupem toda a largura */
        text-align: center; /* Centraliza o texto no mobile */
    }

    .btn-social {
        justify-content: center; /* Centraliza os botões no mobile */
    }
}


/* ESTILO DO RODAPÉ */

footer {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

footer .flex {
    justify-content: space-between;
}


footer .line-footer {
    padding: 20px 0;
}

footer .logo-footer img {
    width: 200px; /* Define a largura da logo */
    height: auto; /* Mantém a proporção da logo */
    display: block; /* Garante que a logo seja renderizada como um bloco */
    margin: 0 auto; /* Centraliza horizontalmente */
}

.borda {
    border-top: 2px solid #15e31f;
}

footer .line-footer p i {
    color: #15e31f;
    font-size: 22px;
}

footer .line-footer p a {
    color: #fff;
}

@media screen and (max-width: 1020px) {

    /* CLASSES GERAIS */
    .flex {
        flex-direction: column;
    }

    .topo-do-site .flex{
        flex-direction: column-reverse;
    }

    h2.titulo {
        font-size: 34px;
        line-height: 30px;
    }

    /* CABEÇALHO */
    .menu-desktop,
    .btn-contato {
        display: none;
    }

    /* TOPO DO SITE */

    section.topo-do-site .flex {
        gap: 40px;
    }

    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 30px;
    }

    .topo-do-site .img-topo-site img {
        width: 100%;
    }

    /* ESPECIALIDADES */
    section.especiliadades {
        padding: 40px 8%;
    }

    /* SOBRE */
    section.sobre {
        padding: 80px 8%;
    }

    .sobre .txt-sobre h2 {
        font-size: 34px;
        line-height: 35px;
        text-align: center;
    }
    
    .btn-social{
        text-align: center;
    }

    .img-sobre img{
        width: 100%;
    }

    
    /* RODAPÉ */
    footer .flex {
        flex-direction: column;
        gap: 30px;
    }

    footer .line-footer {
        text-align: center;
    }
}