@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root{
    --cor-texto: #fff;
    --cor-fabrica: #0054CD;
    --cor-hover-azul:#0042a3;
    --cor-texto-escuro: #616060;
}

*{
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body{
    max-width: 100%;
    overflow-x: hidden;
}

html{
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

.hamburguer{
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

/*MENU*/
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    margin-bottom: 0;
    height: 100px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

header .menu{
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 100%;
    padding-left: 100px;
    flex-direction: row;
}

header .logo img{
    width: 100%;
    max-width: 150px;
}

header #menu-nav{
    display: flex;
    gap: 20px;
}

header .menu-item1, .menu-item2{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .menu-item2 a:hover{
    background-color: var(--cor-hover-azul);
}

header .menu-item1 a{
    text-decoration: none;
    color: black;
    padding: 10px 30px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
    font-size: 20px;
    font-weight: 600;
    gap: 10px;
}

header .menu-item2 a{
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 600;
    gap: 10px;
}

/*QS*/
.qs{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.q1 {
  width: 90%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  box-sizing: border-box;
  align-items: center;
  margin-bottom: 20px;
  height: auto;
}

.q2{
  width: 90%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  box-sizing: border-box;
  align-items: center;
  margin-bottom: 40px;
}

.q1 .texto-maq .titulos h1{
    color: var(--cor-fabrica);
}

.q1 .texto-maq .titulos h2{
    color: var(--cor-fabrica);
}

.q2 .texto-maq .titulos h1{
    color: var(--cor-fabrica);
}

.q2 .texto-maq .titulos h2{
    color: var(--cor-fabrica);
}

.video-centralizado{
    justify-content: center;
    position: relative;
    width: 50%;
    max-width: 750px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 30px;
    height: 400px;
}

.video-centralizado iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.texto-maq{
    text-align: center;
    margin-top: 30px;
}

.titulos h1{
    font-size: 24px;
    color: #1f4e79;
    margin-bottom: 10px;
}

.titulos h2{
    font-size: 20px;
    color: #1f4e79;
    margin-bottom: 20px;
}

.textos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.textos p{
    color: var(--cor-texto-escuro);
}

/*SLIDER*/
.carrossel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  height: 400px;
}

.slide {
  display: none;
  width: 100%;
  border-radius: 15px;
}

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: none;
  color: darkgrey;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.esquerda {
  left: -30px;
}

.direita {
  right: -30px;
}

.carrossel:hover .seta {
  opacity: 1;
}

.q3{
  width: 90%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  box-sizing: border-box;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
}

.q3 .texto-maq .titulos h1{
    color: var(--cor-fabrica);
}

.q3 .texto-maq .titulos h2{
    color: var(--cor-fabrica);
}

/*FOOTER*/
#footer{
    background-color: var(--cor-fabrica);
    padding-top: 20px;
    padding-bottom: 30px;
}

#footer .conteudo{
    text-align: center;
}

#footer .conteudo img{
    max-width: 250px;
    width: 100%;
    margin-bottom: 20px;
}

#footer p{
    color: #fff;
    font-size: 16px;
}

.container .rodape-itens{
    justify-content: space-around;
    align-items: center;
    display: flex;
}

.container .rodape-itens a{
    text-decoration: none;
    color: #fff;
    line-height: 2;
}

/*RESPONSIVIDADES*/
@media(max-width: 990px){
    .rodape-itens{
        flex-direction: column;
    }
}

@media(max-width: 768px){
    .video-centralizado{
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        width: 90%;
        }

    .video-centralizado iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        border: none;
    }

    .qs .q1{
        flex-direction: column;
        width: 100%;
    }

    .qs .q2{
        flex-direction: column-reverse;
        width: 100%;
    }

    .rodape-itens{
        flex-direction: column;
    }

    .imagem-maq .carrossel {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        position: relative;
    }

    .imagem-maq .slide {
        display: block;
        margin: 0 auto;
        max-width: 90%;
        height: auto;
        margin-top: 40px;
    }

    .seta {
        z-index: 10;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        padding: 10px;
        color: #888;
    }

    .seta.direita {
        right: -20px;
    }

    .seta.esquerda {
        left: -20px;
    }

    
    .q3{
        flex-direction: column;
    }

    .carrossel img.slide {
    display: block;
    width: 100%;
    height: auto;
    margin: 10px;
    padding: 0;
}
}

@media(max-width: 624px){
    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;

    }

    header .logo {
        flex-shrink: 0;
    }

     .hamburguer {
        display: block;
        margin-left: 250px;
        z-index: 10000;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    header #menu-nav{
        display: none;
    }

    header #menu-nav.show {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        background-color: white;
        top: 80px;
        left: 0;
        z-index: 9999;
        padding: 15px 0;
        position: absolute;
    }

     .video-centralizado{
        width: 90%;
    }
}

@media(max-width: 570px){
    .hamburguer {
        display: block;
        margin-left: 200px;
        z-index: 10000;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

     .video-centralizado{
        width: 90%;
    }
}

@media(max-width: 520px){
    .hamburguer {
        display: block;
        margin-left: 150px;
        z-index: 10000;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
}

@media(max-width: 460px){
    .hamburguer {
        display: block;
        margin-left: 100px;
        z-index: 10000;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    .video-centralizado{
        width: 90%;
    }
}

@media(max-width: 425px){
    .imagem-maq,
    .carrossel {
        padding: 0 !important;
        margin: 0 !important;
        height: auto;
    }

    .carrossel img.slide {
        display: block;
        width: 100%;
        height: auto;
        margin: 10px;
        padding: 0;
    }
    header{
        justify-content: space-between;
    }

    header .menu{
        padding-left: 0;
    }

    .seta{
        display: block;
    }

     .video-centralizado{
        width: 90%;
    }
}

@media(max-width: 600px){
    .imagem-maq,
    .carrossel {
    padding: 0 !important;
    margin: 0 !important;
    height: auto;
}

.carrossel img.slide {
    display: block;
    width: 100%;
    height: auto;
    margin: 10px;
    padding: 0;
}

 .video-centralizado{
        width: 90%;
    }
}
