* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    width: 100vw;
    align-items: center;
    overflow-x: hidden;
    display: flex;

}

h1 {

    color: orangered;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}


.topbar {
    height: 100px;
    width: 100%;
    background: rgb(245, 88, 30);
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    padding: 10px 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.topbar-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    z-index: 100;
    margin-left: 50px;

}

.bottom-topbar {
    background: white;
    color: orangered;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    margin-left: 50px;

    height: 50px;
    width: 250px;
    cursor: pointer;
}

.bottom-topbar:hover {

    transition: 0.4s;
    transform: scale(1.1);
    box-shadow: 0 7px orangered;
}

.link-whats-topbar {
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    margin-left: 50px;
    text-align: justify;
    height: 50px;
    width: 250px;
    cursor: pointer;
}

.link-whats-topbar:hover {
    color: white;
    background: #28a745;
    transition: 0.4s;
    transform: scale(1.1);

}

.p {
    text-align: justify;
    color: white;
    font-size: 17px;
    font-weight: bold;
    height: auto;
    font-family: 'Poppins', sans-serif;
    margin-left: 120px;
    width: 600px;
    margin-top: 50px;
    margin-bottom: 15px;
    

}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px 20px;
    box-sizing: border-box;
    gap: 2px;
    margin-left: 80px;
    
}



.header a {

    gap: 5px;
    color: orangered;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
}

.header a:hover {
    color: white;
    text-decoration: underline;
    transition: 01s;
}


.entre-contato  {
    color: white;
    background-color: orangered;
    border-radius: 3px;
    border: none;
    width: 200px;
    height: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 60px;
    font-family: 'Poppins', sans-serif;
    margin-left: 112px;
    margin-top: 0;
}

button:hover {
    color: orangered;
    background-color: white;
    font-size: 15px;
    transition: 0.5s ease-in-out;
    transform: scale(1.1);
    box-shadow: 0 0 10px orangered;
}

@keyframes brilho {
    0% {
        box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
    }
}

button {
    background-color: #ff6600;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    animation: brilho 1.5s infinite alternate;
}



.logo-eletro-power {
    border-radius: 5px;
    height: 120px;
    margin-bottom: 15px;
    margin-left: 50px;
}

.caixa-principal {
    padding-top:  145px;
    width: 100%;
    max-width: 900px;

}


.caixa-texto-form {

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 0;



}

.caixa-fundo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100vh;
    width: 100vw;
    display: flex;
}

.img-fundo {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;

}

.mascara {
    height: 100%;
    width: 100%;
    background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.7) 50%, rgba(10, 12, 16, 0.99) 85%);
    position: fixed;
    top: 0%;
    left: 0;
}

spam {
    color: orangered;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
}

h2 {
    color: orangered;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.formulario {
    height: 475px;
    width: 335px;
    margin: 0;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    gap: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: absolute;
    transition: all 0.4s;
    left: 65%;
    top: 40%;
}






.formulario.centralizado {
    position: fixed;
    left: 50%;
    top: 60%;
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 1000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4; )
}



input {
    height: 40px;
    border-radius: 3px;
    border: 1px solid orangered;
    padding-left: 10px;
    outline-color: orangered;
    font-family: 'Poppins', sans-serif;
}

textarea {
    height: 90px;
    width: 300px;
    border-radius: 3px;
    border: 1px solid orangered;
    padding: 10px;
    outline-color: orangered;
    font-family: 'Poppins', sans-serif;
}

.pedir-orcamento {
    background-color: orangered;
    color: white;
    border: none;
    width: 100%;
    height: 40px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    border-radius: 5px;
}


.whatsapp-img {

    position: fixed;
    bottom: 40px;
    right: 40px;
    height: 60px;
    width: 60px;
    cursor: pointer;
    z-index: 2000;
    animation: bouncen 1.5s infinite;
    transition: transform 0.2s;
}

.whatsapp-img:hover {
    transform: scale(1.1);
    transition: 0.5s ease-in-out;
    box-shadow: 0 0 10px orangered;
}


.mascara-form {
    visibility: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.7) 50%, rgba(10, 12, 16, 0.99) 85%);
    transition: visibility 1s ease-in-out;
}

.secao-servicos {
    padding: 20px 0 24px;
}


.titulo-servicos {
    text-align: center;
    top: 0;
    color: orangered;
    font-size: 50px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.texto-servicos {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}



.galeria-servicos {
    width: 100%;
    max-width: 100%;
    height: 900px;
    overflow: hidden;
    margin: 100px auto 0 auto;
    margin-left: 30%;
    position: relative;
    display: block;

}

.carrossel {
    height: 400px;
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    gap: 3rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Suaviza o scroll */
    padding-bottom: 10px;
    scrollbar-width: none;
    border-radius: 15px;
    /* Oculta a barra de rolagem no Firefox */
}

.img-eletrica {
    min-height: 300px;
    min-width: 500px;
    max-width: 600px;
    max-height: 400px;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.img-eletrica:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}


h3 {
     text-align: center;
    top: 0;
    color: orangered;
    font-size: 50px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    margin-left: 55%;
}

.texto-clientes {
    text-align: center;
    color: white;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    width: 80%;
    margin-top: 10px;
    margin-left: 35%;
    margin-right:  10%;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.img-athletica {
    width: 350px;
    /* ou o tamanho desejado */
    height: 370px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: block;
    margin-left: 55%;
    /* centraliza e afasta do topo */
}




@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }

  .bottom-topbar,
  .link-whats-topbar {
    width: 90%;
    margin: 0;
  }

  .header {
    flex-direction: column;
    margin-left: 0;
    gap: 15px;
    text-align: center;
  }

  .logo-eletro-power {
    height: 60px;
    margin: 20px auto;
  }

  .header a {
    font-size: 18px;
  }

  .p {
    width: 90%;
    margin: 20px auto;
    font-size: 16px;
    text-align: left;
  }

  .formulario {
    position: static;
    width: 90%;
    margin: 30px auto;
    transform: none;
    left: unset;
    top: unset;
  }

  .caixa-principal {
    padding-top: 200px;
  }

  .galeria-servicos {
    margin-left: 0;
    width: 100%;
  }

  .galeria-servicos {
    width: 100%;
    margin: 50px auto 0 auto;
    padding: 0 15px;
    overflow: hidden;
  }

  .carrossel {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
  }

  .img-eletrica {
    min-width: 90%;
    min-height: auto;
  }

  .texto-clientes {
    width: 90%;
    margin: 20px auto;
  }

  .img-athletica {
    margin: 20px auto;
    display: block;
  }

  h3 {
    margin: 0 auto;
    text-align: center;
    font-size: 32px;
  }
}

