
/* ESTILO GERAL */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
background: linear-gradient(to bottom, #ffffffd8, hsl(0, 4%, 66%), 
#868383d8);

}  

.interface{
    max-width: 1280px;
    margin: 0 auto;
}


.flex{
    display: flex;
}

.btn-contato button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: rgb(255, 255, 255);
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: 2s;
}

h2.titulo{
    color: #272727;
    font-size: 38px;
    text-align: center;
}

h2.titulo span{
    color:#272727;
}

button:hover{
    box-shadow: 0px 0px 8px #726f6f;
    transform:scale(1.05);
}

/* ESTILO DO CABEÇALHO */

header {
    background: linear-gradient(to right, #c2c2c7, #282888); /* Degradê claro */
    padding: 15px 4%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 250px; /* espaço para o menu fixo */
}


header > .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a{
    color:#000000;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover {
    color:#ffffff;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding:0 40px;
}

/* ESTILO DO MENU MOBILE */
.btn-abrir-menu i{
    color: #fd0202;
    font-size: 40px;
}

.menu-mobile{
    background-color: #8f8f8f;
    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%;
}

.menu-mobile .btn-fechar i{
    color: #d40b0b;
    font-size: 30px;

}

.menu-mobile nav ul{
    text-align: right;
}

.menu-mobile nav ul li a{
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}

.menu-mobile nav ul li a:hover{
    background-color: rgb(230, 20, 20);
    color:#ffffff
}

.overlay-menu{
    background-color: #000000df;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}

/* ESTILO DO TOPO DO SITE */
section.topo-do-site{
    padding: 40px 4%;
}

section.toso-do-site .flex{
    align-items: center;
    justify-content:center;
    gap: 90px;
}

.topo-do-site h1{
    color: #272727;
    font-size: 45px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span{
    color: #272727;
}

.topo-do-site .txt-topo-site p{
    color: #201f1fb0;
    margin: 40px 0;
}


.topo-do-site {
  display: flex; 
  align-items: center; 
}

.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

.img-topo-site img {
  margin-left: 10px;
transform: rotate(360deg) scale(1.1) skew(-1deg) translate(123px,-19px);
-webkit-transform: rotate(360deg) scale(1.1) skew(-1deg) translate(123px,-19px);
-moz-transform: rotate(360deg) scale(1.1) skew(-1deg) translate(123px,-19px);

border-radius: 154px 153px 152px 151px;
-webkit-border-radius: 154px 153px 152px 151px;
-moz-border-radius: 154px 153px 152px 151px;

box-shadow: 37px 22px 58px 8px rgba(0,0,0,0.75);
-webkit-box-shadow: 37px 22px 58px 8px rgba(0,0,0,0.75);
-moz-box-shadow: 37px 22px 58px 8px rgba(0,0,0,0.75);

}

.topo-do-site {
  align-items: center; 
}

@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top:30px;
    }

}

/* ESTILO DAS ESPECIALIDADES */
section.especialidades{
    padding: 40px 4%;
}

section.especialidades .flex{
    gap: 60px;
}

.especialidades .especialidades-box{
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
    background-color: #353164;
}

.especialidades .especialidades-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px #fc000078;
}

.especialidades .especialidades-box i{
    font-size: 70px;
    color:
    
    #ff0000;
}

.especialidades .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:#272727;
}

.sobre .txt-sobre h2{
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span{
    color: #272727;
    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: linear-gradient(to right, #9b3232, #f3f3f3, #ffffff);
    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 #ccc;
}

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;
}

.container{
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 4%;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

form{
    background-color: #fff;
    max-width: 500px;
    height: 450px;
    padding: 40px;
    border-radius: 20px;
}

form h1{
    text-align: center;
    font-size: 25px;
    color: #838383;
}

form p{
    text-align: center;
    margin: 20px 0;
}

body .container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.inupt-single{
    position: relative;
    margin: 30px 0;
}

.inupt-single label{
    position: absolute;
    left: 0;
    bottom: 5px;
    transition: all 0.2s;
    cursor: text;
}

.input{
    width: 100%;
    border: 0;
    border-bottom: 2px solid #ccc;
    padding: 5px;
    font-size: 17px;
    outline: 0;
}

form .inupt-single .input:focus ~ label,
form .inupt-single .input:valid ~ label{
    transform: translateY(-24px);
    font-size: 12px;
    color: #838383;
}

.btn {
    width: 100%;
    text-align: center;
}

form input[type=submit]{
    padding: 10px 40px;
    border: 0;
    border-radius: 10px;
    background-color: #838383;
    color: #fff;
    cursor: pointer;
}

/* ESTILO DO RODAPÉ */

footer{
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #cec5c5;
}

footer .flex{
    justify-content: space-between;
}


footer .line-footer{
    padding: 20px 0;
}
    
.borda{
    border-top: 2px solid #ff0000;
}

footer .line-footer p i{
    color:#e00a0a;
    font-size: 22px;
}

footer .line-footer p a{
    color: #fff;
}

@media screen and (max-width: 1020px){

    /* CLASSES GERAIS */
    .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.especialidades {
        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%;
    }

    /* PORTIFÓLIO */
    section.portfolio {
        padding: 80px 8%;
    } 

    .img-port {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    section.portfolio .flex {
       gap: 60px;
    }   

    /* RODAPÉ */
    footer .flex {
        flex-direction: column;
        gap: 30px;
    }

    footer .line-footer {
        text-align: center;
    }
}


.menu-desktop {
    margin: 30px;
}


#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  
  /* degradê: azul → vermelho → branco */
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #6e69aa 50%,
    #ffffff 100%
  );

  color: #fff;
  font-size: 24px;
  line-height: 50px;
  text-align: center;

  border: none;
  border-radius: 50%;      /* círculo */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;

  display: none;           /* escondido até o fim */
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1000;
}

#back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.imagem-pequena {
  width: 400px;     /* ajuste a largura como quiser */
  height: auto;     /* mantém a proporção original */
  border-radius: 8px;  /* opcional: cantos arredondados */
}

.imagem-pequena2{
  width: 320px;     /* ajuste a largura como quiser */
  height: auto;     /* mantém a proporção original */
  border-radius: 10px;  /* opcional: cantos arredondados */
}

