* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.menu-bars {
    display: none;
}

.hamburger {
  width: 36px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 4px;
  background: #fff;
  border-radius: 5px;
  transform-origin: center; 
  transition: all 0.4s ease;
}

/* Animação X */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.menu-mobile {
  position: absolute;
  top: 95px;
  margin-right: 18px;
  border-radius: 10px;
  right: 0;
  width: 210px;
  background-color: #ffffff;
  padding: 20px;
  display: none;
}

.menu-mobile.active {
  display: block; 
}

.menu-mobile li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
}

.menu-mobile li {
    list-style: none;
    padding-bottom: 15px;
    text-align: left;
}

.menu-mobile li:active {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #294d63;
}

.inicio-section{
    margin: auto;
    width: 100%;
    padding: 0px;
    text-align: center;
    background: linear-gradient(to right,#5D98BC , #326b8e,#194159,#122632);

} 

.background{
    background-image: url("../midia/inicio/image.png");
    width: 100%;
    margin: auto;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    height: 850px;
    padding: 0 20px;
    padding-bottom: 120px;
}

.inicio {
    max-width: 1240px;
    margin: auto;
}

.nav-corpo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background: transparent; /* ou com fundo */
    background-color: #122632;
}

.nav-container {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-corpo img {
    width: 250px;
    height: auto;
}

.nav-botoes-pai {
    display: flex;
    justify-content: space-evenly;
    width: 45%;
    max-width: 695px;
    height: 56px;
    border: 1px solid #ffffff;
    border-radius: 40px;
    align-items: center;
    padding: 6px;
    gap: 6px;
}

.botao-filho {
    flex: 1;
    height: 100%;
}

.botao-filho button {
    width: 100%;
    height: 100%;
    background-color: transparent;
    color: white;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.ativo-botao-inicio button {
    background-color: white;
    color: #6b8ba4;
}

.nav-botao-entrar-pai {
    width: 156px;
    height: 56px;
    background: linear-gradient(90deg, #294d63 0%, #3e7596 100%);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-botao-entrar-pai button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.nav-botao-entrar-pai img {
    height: 19px;
    width: 19px;
    margin-right: 6px;
}

.inicio-textos {
    padding-top: 250px;
    text-align: left;
    color: white;
}

.titulo-inicio {
    font-size: 115px;
}

.texto-inicio {
    margin: 30px 0 10px 0;
    font-size: 25px;
}

.texto-inicio-alinhamento {
    width: 50%;
    margin-top: 5px;
}

.botao-inicio {
    display: flex;
    margin-top: 45px;
    border-radius: 10px;
    height: 66px;
    width: 365px;
    border: none;
    align-items: center;
    margin-top: 45px;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.botao-inicio:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.botao-inicio img {
    height: 32px;
    width: 32px;
    margin-left: 18px;
}

.carrossel-empresas {
    width: 100%;
    background-color: rgba(243, 243, 243, 0.85);
    overflow: hidden;
    height: 120px;
    display: flex;
    align-items: center;
}

.carrossel-track {
    display: flex;
    width: max-content;
    animation: carrossel-scroll 30s linear infinite;
}

.carrossel-empresas-alinhamento {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
    flex-shrink: 0;
}

.carrossel-empresas img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-box {
    width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

#logo_inicio {
    cursor: pointer;
}

@keyframes carrossel-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.carrossel-empresas:hover .carrossel-track {
    animation-play-state: paused;
}

@media (max-width: 950px) {
    .nav-corpo{
        width: 100vw;
    }
    .nav-corpo img{
        width: 150px;
    }
    .inicio-textos {
        padding-top: 150px;
    }

    .titulo-inicio {
        font-size: 80px;
    }

    .nav-botoes-pai,
  .nav-botao-entrar-pai {
    display: none;
  }

  .menu-bars {
    display: block;
  }

    .nav-botoes-pai {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0;
        border: none;
        display: none;
    }

    .nav-botoes-pai.active {
        max-height: 400px;
        padding: 20px 0;
    }
    .nav-container{
        width: 100%;
    }
}

@media (max-width: 630px) {
    .titulo-inicio {
        font-size: 60px;
    }

    .texto-inicio-alinhamento {
        width: 100%;
    }

    .carrossel-empresas img {
        height: 40px;
    }

    .carrossel-empresas-alinhamento {
        gap: 30px;
        padding: 0 30px;
    }
}

@media (max-width: 450px) {
    .background {
        padding-bottom: 40px;
        height: auto;
        background-size: cover;
        background-image: none;
    }

    .titulo-inicio {
        font-size: 46px;
    }


    .inicio-textos {
        text-align: center;
    }

    .botao-inicio {
        width: 200px;
        height: 40px;
        margin: 20px auto auto auto;
        font-size: 18px;
        justify-content: center;    
    }

    .botao-inicio img {
        display: none;
    }

    .texto-inicio {
        margin: 40px 0;
    }


    .carrossel-empresas {
        height: 60px;
    }

    .carrossel-empresas img {
        height: 30px;
    }

    .carrossel-empresas-alinhamento {
        gap: 20px;
        padding: 0 10px;
    }
}