
/* ESTILO GERAL */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Sora", sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    height: 100vh;
    background-color: #0F2533;
}

.interface{
    max-width: 1280px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    transition: 1s;
}

.interface2{
    max-width: 1280px;
    margin: 0 auto;
}

.interface--visible {
    transform: translateY(0);
    opacity: 1;
}

.flex{
    display: flex;
    align-items: center;
}

.btn-contato2 button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    background-color: #968E71;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo{
    color: #968E71;
    font-size: 50px;
    text-align: center;
    margin: 15px;

}

h2.titulo span{
    color: white;
    
}

button:hover{
    box-shadow: 0px 0px 8px #968E71;
    transform: scale(1.05);
}

.interface .logo{
    margin-top: 10px;
}

/* ESTILO DO CABEÇALHO */
header{
    padding: 40px, 4%;
}

header > .interface2{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a{
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover{
    color: #968E71;
    transform: scale(1.05);
}

header nav{
    list-style: none;
}

header nav ul li{
    display: inline-block;
    padding: 0 40px;
}

header .logo img{
    scale: 28%;
    margin: -100px;
}

header .btn-contato button{
    margin: 38px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    background-color: #968E71;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

header .arraste h2{
    text-align: center;
    opacity: 50%;
    color: white;
    font-size: 15px;
}

/* ESTILO DO TOPO DO SITE */
section.topo-do-site{
    padding: 80px 4%;
    margin-top: -80px;
    background-image: url(images/Nome\ do\ Projeto\ 1.PNG);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 150%;
    background-position: -400px -980px;
}

section.topo-do-site .flex{
    gap: 80;

}

.topo-do-site h1{
    color: #968E71;
    font-size: 40px;
    line-height: 40px;
}

.topo-do-site .txt-topo-do-site h1 span{
    color: white;
}

.topo-do-site .txt-topo-do-site p{
    color: white;
    margin: 25px 0;
    padding: 15px;
}

.topo-do-site .img-topo-site img{
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.541);
}

/* ESTILO ESPECIALIDADES */
section.especialidades{
    padding: 40px 4%;
    background-color: #0b1b25;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.699);
}

section.especialidades .flex{
    gap: 10px;
}

.especialidades h2{
    line-height: 50px;
}

.especialidades .especialidades-box{
    margin-top: 15px;
    color: #968E71;
    width: 365px;
    height: 215px;
    padding: 10px;
    border-radius: 20px; 
    transition: 0.5s;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.541);
}

.especialidades .especialidades-box p{
    color: white;
    width: 100%;
    height: 0px;
    overflow: hidden;
}

.especialidades-box:hover p{
    height: 100px;
    transition: 0.5s;
}

.especialidades .especialidades-box:hover{
    height: 265px;
    width: 800px;
}


.especialidades .especialidades-box i{
    font-size: 55px;
    color: #968E71;
}
.especialidades .especialidades-box h3{
    font-size: 28px;
    margin: 15px 0;

}

/* ESTILO SOBRE */
section.sobre{
    padding: 80px 4%;
    background-color: #0b1b25;
}

section.sobre .flex{
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre{
    color: #968E71;
}

.sobre .txt-sobre h2{
    font-size: 60px;
    line-height: 55px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span{
    color: white;
    display: block;
}

.sobre .txt-sobre p{
    margin: 10px 0;
    color: white;
}

.sobre .txt-sobre h3{
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 15px;
}

.sobre .txt-sobre h3 span{
    color: white;
    display: block;
}

.sobre .img-sobre img{
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.541);
}

/* ESTILO SOBRE NÓS */
section.formacao{
    padding: 80px 4%;
    background-color: #0F2533;
}

section.formacao .flex{
    gap: 30px;
    margin: 10px;
}

section.formacao h3{
    color: #968E71;
}

.txt-sobre h3 span{
    color: white;
    display: block;
}

.formacao .txt-box{
    color: hsl(47, 15%, 52%);
}

.formacao .txt-box p{
    color: white;
    max-width: 100%;
}

.formacao img{
    margin-left: 15px;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.541);
    margin-top: 15px;
    margin: none;
}

/* BTN SOCIAL */
.section.btnsocial{
    padding: 80px 4%;
}

.btnsocial{
    margin: 40px;
    margin-top: -80px;
}

.btnsocial .txt-sobre h3{
    margin-top: 30px;
    font-size: 38px;
    line-height: 38px;
    color: #968E71;

}

.btnsocial .txt-sobre .btn-social i{
    font-size: 25px;
    color: white;
}

.btnsocial .txt-sobre .btn-social button{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background-color: #968E71;
    cursor: pointer;
    margin: 10px 5px;
    transition: .2s;
}


/* AVALIAÇÃO*/
/* Container principal */
.avaliacao {
    padding: 80px 4%;
    background: whitesmoke;
    box-shadow: 0 0 90px rgb(0, 0, 0);
}

/* Contêiner para o carrossel de avaliações */
.flex-container {
    height: 350px;
    position: relative;
    overflow-x: auto; /* Habilita o scroll horizontal */
    display: flex;
    gap: 20px; /* Espaçamento entre as avaliações */
    padding-bottom: 20px; /* Espaço para a barra de rolagem */
}

/* Flexbox para as caixas de avaliação */
.flex {
    gap: 15px;
    display: flex;
    transition: none; /* Remove a transição de movimento */
}

/* Título */
.txt-avaliacao h5 {
    font-size: 33px;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.txt-avaliacao h5 span {
    color: #968E71;
}

/* Caixas de avaliação */
.avaliacao-box {
    flex: 0 0 280px; /* Define a largura fixa das caixas */
    height: 315px; /* Defina a altura fixa desejada */
    padding: 15px;
    background: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.205);
}

/* Imagens dentro das caixas */
.avaliacao-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover; /* Garante que a imagem preencha o círculo */
}

/* Nome do cliente */
.texto-nome p {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Estrelas */
.stars img {
    width: 16px;
    height: 16px;
    margin: 0 1px;
}

/* Texto do comentário */
.texto-co p {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}


/* Texto do comentário */
.texto-co p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* CONSULTA */
section.consulta{
    padding: 80px 4%;
    background-color: #968E71;
    box-shadow: 0 0 40px 10px #968E71;
}

.consulta h2{
    color: white;
}

.btn-consulta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.btn-consulta button{
    padding: 10px 20px;
    font-size: 30px;
    font-weight: 500;
    color: black;
    background-color: white;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    margin: 40px;
    transition: .2s;
}

.btn-consulta button:hover{
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.712);
    transform: scale(1.05);
}


/* wpp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    animation: shake 10s ease infinite;
  }
  
  .whatsapp-button:hover {
    transform: scale(1.1);
  }
  
  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }
  

/* footer */
footer {
    background-color: #7e775f; /* Cor de fundo combinando com o design */
    padding: 40px 0;
    color: white;
    text-align: center;
    font-size: 14px;
    border-top: 2px solid #968E71; /* Linha decorativa no topo do rodapé */
}

footer .footer-info p {
    margin: 5px 20px;
    line-height: 1.6;
    color: #ffffff; /* Cor de texto que combina com o esquema do site */
}

footer .footer-info p strong {
    color: white; /* Destaque para os rótulos */
}

/* menu mobile desktop */
.menu {
    display: none;
}

/* MOBILE */
@media screen and (max-width: 1040px){
    /* gerais */

    section.topo-do-site{
        background-image: url(images/Nome\ do\ Projeto\ 1.PNG);
        background-size: 350%;
        background-position: -350px -500px;
    }

    .header{
        display: none;
    }

    .menu{
        display: block;
    }

    .menu-desktop{
        display: none;
    }

    .flex{
        flex-direction: column;
    }

    .flex-container {
        height: 2000px;
        margin-top: -100px;
    }

  /* Estilo do botão hambúrguer */
    .menu-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        width: 30px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 1000;
    }
    
    .menu-toggle span {
        height: 4px;
        width: 100%;
        background-color: #fff;
        border-radius: 2px;
        transition: 0.3s;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    }
    
    /* Estilo do menu lateral */
    .menu-lateral {
        position: fixed;
        top: 0;
        left: -250px;
        height: 100%;
        width: 250px;
        background-color: #0F2533;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transition: 0.3s;
        z-index: 999;
    }
    
    .menu-lateral.active {
        left: 0;
    }
    
    .menu ul {
        list-style: none;
        padding: 80px 20px;
        margin: 0;
    }
    
    .menu ul li {
        margin: 20px 0;
    }
    
    .menu ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 18px;
        transition: 0.3s;
    }
    
    .menu ul li a:hover {
        color: #968E71;
    }
    
    /* Animação do botão */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 9px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -9px);
    }
    
    /* Estilo ao abrir o menu */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Ajuste das seções para visualização */
    
    section h1 {
        color: #0F2533;
        font-size: 24px;
    }
  
    /* cabeçalho */
    .btn-contato{
        display: none;
    }
    
    header{
        height: 100px;
    }

    header nav ul li{
        display: inline-block;
        padding: 0 8px;
    }

    .menu-desktop{
        margin: auto;
        margin-top: 50px;
        font-size: 12px;
    }

    header a:hover{
        color: #968E71;
        transform: scale(50px);
    }


    .logo img{
        display: none;
    }

    /* topo do site */
    .topo-do-site h1{
        font-size: 30px;
        line-height: 40px;
    }

    .img-topo-site img{
        scale: 80%;
        margin-left: none;
    }

    /* especialidades */
    .titulo{
        margin-top: none;
    }
    .flex{
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .especialidades .especialidades-box{
        color: #968E71;
        width: 370px;
        height: 270px;
        padding: 10px;
        border-radius: 20px; 
        transition: 0.5s;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.541);
    }
    
    .especialidades .especialidades-box p{
        max-width: 345px;
        color: white;
        width: 100%;
        height: 100%;
    }
    
    .especialidades-box:hover p{
        height: 100px;
    }
    
    .especialidades .especialidades-box:hover{
        height: 270px;
        width: 370px;
    }

    /* plano */
    .sobre .txt-sobre{
        margin: 20px;
    }

    .sobre .txt-sobre p{
        font-size: 15px;
    }

    .sobre .txt-sobre h2{
        font-size: 50px;
    }

    /* formacao */
    .formacao .flex{
        margin: 15px;
    }
    

    .especialidades .especialidades-box:active{
        margin-top: 15px;
        color: #968E71;
        width: 365px;
        height: 215px;
        padding: 10px;
        border-radius: 20px; 
        transition: 0.5s;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.541);
    }
    
    .especialidades .especialidades-box p:active{
        color: white;
        width: 100%;
        height: 0px;
        overflow: hidden;
    }

    .formacao p{
        margin: 15px;
    }
}
