/* ESTILO GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0f0f0f;
    height:100vh;
}

.interface {
    max-width: 1250px;
    margin: 0 auto;
}

.flex {
    display: flex;
}



h2.titulo {
    color: #5c5c5c;
    font-size: 38px;
    text-align: center;
    font-weight: 200;
}

h2.titulo span {
    color: #a34d07;
    font-weight: 200;
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 8px #19191a;
    transform: scale(1.05);
}

/* ESTILO DO CABEÇALHO */
header {
    background-color:#131314;
    border:1px solid #1b1b1c;
    opacity: 0.9;
    padding: 4px 4%;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index:1;
    width: 100%;
}

header>.interface {
    display: flex;
    align-items:center;
    justify-content:space-between;
}

header a {
    color:#5c5c5c;
    text-decoration: none;
    display:inline-block;
    transition: .2s;
    font-size: 18px;
}

.interface .logo h2{
    color: #a34d07;
    font-size: 35px;
    font-weight: 300;

}

header nav.menu-desktop a:hover {
    color: #a34d07;
    transform: scale(1.05);
    cursor:pointer;
    
}

header nav ul {
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 50px;
}

.btn-contato button {
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 600;
    background-color: #a34d07;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

/* ESTILO DO MENU MOBILE */

.btn-abrir-menu{
    display: none;
}

.btn-abrir-menu i{
    color: #a34d07;
    font-size: 40px;
}

.menu-mobile{
    background-color:#19191a;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu-mobile.abrir-menu{
    width: 100%;
}

.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;
}


.menu-mobile .btn-fechar{
    padding: 20px 5%;
}

.menu-mobile .btn-fechar i{
    color: #a34d07;
    font-size: 30px;
}

.menu-mobile nav ul{
    text-align: left;
}

.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:#242424;
    color:#a34d07;
}

.overlay-menu{
    background-color:#19191a;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
    opacity: 0.5;
}



/* ESTILO DO FORMULÁRIO DE CONTATO */
section.formulario {
    padding: 80px 4%;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

form label{
    font-size: 18px;
    font-weight: 300;
    color:#777676;
   
}

form input,
form textarea, form select{
    width: 100%;
    background-color: #242424;
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
}

form input:hover{
    border:1px solid #a34d07;
    
}

form textarea:hover{
    border:1px solid #a34d07;
    
}


form select:hover{
    border:1px solid #a34d07;
    
}

#tiposServicos{
      color: #fff;

}

#tiposServicos option{
     color:  #fff;
}


form textarea{
    padding-bottom: 150px;
    
}

form textarea {
    resize: none;
    max-height: 200px;
}

form .btn-enviar {
    margin-top: 5px;
    text-align: center;
}

form .btn-enviar input {
   width: 95px;
    height: 65px;
    background-color: #a34d07;
    color: #000;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
}

/* ESTILO DO RODAPÉ */

footer{
    padding: 2px 2%;
    border-top: 2px solid #a34d07;
    
}

footer .flex {
    justify-content: space-between;
  
}

.borda {
    border-top: 2px solid #a34d07;
}

footer .line-footer p i {
    color: #a34d07;
    font-size: 22px;
}

footer .line-footer p a {
    color:#a34d07 ;
}

footer .line-footer p{
    color:#a34d07 ;
    text-align: center;
}


.btn-social button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #a34d07;
    font-size: 22px;
    cursor: pointer;
    margin: 0 5px;
    margin-top:20px;
    transition: .2s;
}


@media screen and (max-width: 1020px) {
    /* CLASSES GERAIS */
    .flex {
        flex-direction: column;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    h2.titulo {
        font-size: 30px;
        line-height: 30px;
    }
    
    h2 span {
        font-size: 30px;
    }

    /* CABEÇALHO */
    .menu-desktop,
    .btn-contato {
        display: none;
    }

    .btn-abrir-menu {
        display: block;
    }

    header > .interface h2 {  
        margin-left: 40%;
        text-align: center;
    }

    /* ESPECIALIDADES */
    section.especialidades {
        padding: 40px 8%;
    }

    /* RODAPÉ */
    footer .flex {
        flex-wrap: wrap; /* Permitir que os itens se ajustem na linha */
        justify-content: center; /* Centralizar os ícones */
        gap: 10px; /* Espaçamento entre os ícones */
    }

    footer .line-footer {
        text-align: center;
    }
    
    .btn-social button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background-color: #a34d07;
        font-size: 18px;
        cursor: pointer;
        margin: 0 5px;
        transition: .2s;
    }
}


.loader-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999; /* Para garantir que fique acima de todos os outros elementos */
  }
  
  .loader {
    border: 10px solid #f3f3f3; /* Aumenta a espessura da borda para o círculo parecer maior */
    border-radius: 50%;
    border-top: 10px solid #a34d07; /* Aumenta a espessura da borda para o círculo parecer maior */
    width: 100px; /* Ajusta o tamanho do círculo */
    height: 100px; /* Ajusta o tamanho do círculo */
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
 /* Estilos para o popup */
  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #07852a;
    padding: 30px;
    color: white;
    border-radius: 5px;
    z-index: 1000; /* Para garantir que fique acima de todos os outros elementos */
    text-align: center; /* Centraliza o texto e o botão */
  }
  
   .popup i{
       font-size: 70px;
   }
   
   .popupErro i{
      font-size: 70px;
   }
    
  .popupErro{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #c23529;
    padding: 30px;
    color: white;
    border-radius: 5px;
    z-index: 1000; /* Para garantir que fique acima de todos os outros elementos */
    text-align: center; /* Centraliza o texto e o botão */
  }
  
   .popupErro p{
       margin-bottom: 10px; 
   }
   
  .popup p {
     
    margin-bottom: 10px;
  }
  
  #closeBtn{
    padding: 10px 20px;
    background-color: #ffffff;
    color: #0f0f0f;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
  }
  #closeBtnErro{
    padding: 10px 20px;
    background-color: #ffffff;
    color: #0f0f0f;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
  }
 
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 900; /* Abaixo do popup, mas acima do resto do conteúdo */
  }


