* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    scroll-behavior: smooth
}


body {
    background-color: #ffffff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 255);
    padding: 0 70px 0 40px;
    z-index: 200;
    box-sizing: border-box;
    transition: top 0.3s ease-in-out;
}

#menu-toggle {
    display: none;
}

header img {
    height: 90px;
}

#nav {
    display: flex;
    gap: 70px;
}

#header.active #nav {
    display: flex;
}

header a {
    color: black;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
}

header a:hover {
    color: #0088CC;
    transition: color 0.3s ease-in-out;
}



#inicio {
    background-color: #1f1f1f;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 80px;
}


#slider {
    display: flex;
    width: 500vw;
    /* O triplo do tamanho da tela para caber os 3 banners */
    transition: transform 1s ease-in-out;
}

#inicio .box {
    height: calc(90vh - 100px);
    width: 100vw;
    text-align: center;
}

#inicio #box-1 h1 {
    font-weight: normal;
    max-width: 700px;
}

#inicio #box-1 {
    background: #0b0b0a url(../images/banners/boa-ergonomia.png) top center /cover;
}

#inicio #box-2 {
    background: #0b0b0a url(../images/banners/aep-aet.png) center center /cover;
}

#inicio #box-3 {
    background: #0b0b0a url(../images/banners/cotas-pcd.png) top center /cover;
}

#inicio #box-4 {
    background: #0b0b0a url(../images/banners/riscos-psicossoais.png) center center /cover;
}

.i-textos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#inicio h1 {
    font-size: 70px;
    font-weight: normal;
    margin-bottom: 20px;
}

#inicio h2 {
    max-width: 500px;
    margin: 0 auto;
    font-size: 30px;
    font-weight: normal;
}

#inicio #box-3 h2 {
    width: 700px;
}


#sobre {
    padding: 30px;
}

#sobre h2 {
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 3.125rem);
    color: #0088CC;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

#sobre h3 {
    font-size: 1.25rem; /* 20px */
    color: #0088CC;
    margin: 1.5rem 0 0.625rem;
    font-weight: 600;
}

#sobre p {
    font-size: 1.125rem; /* 18px */
    margin-bottom: 2.5rem;
    text-align: justify;
}


#solucoes h2 {
    font-weight: 600;
    font-size: 60px;
    color: #0088CC;
    margin-bottom: 70px;
    margin-left: 2vw;
}


#cards {
    display: grid;
    text-align: center;
    justify-content: space-evenly;
    grid-template-columns: repeat(auto-fit, 400px);
    gap: 10px;
    padding: 10px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    background-color: #0088CC;
    height: 230px;
    border-radius: 25px;
    color: #fff;
    margin-bottom: 50px;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.card h3 {
    font-weight: normal;
    font-size: 17px;
    transition: all 0.3s ease;
    padding: 0 20px;
}

.card p {
    position: absolute;
    width: 350px;
    font-size: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 0 20px;
}

.card:hover img {
    opacity: 0;
    transform: translateY(-20px);
}

.card:hover h3 {
    opacity: 0;
    transform: translateY(-20px);
}

.card:hover p {
    opacity: 1;
    transform: translateY(0);
}

#clientes {
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 70px;
}

#clientes h2 {
    font-size: 40px;
    color: #0088CC;
    font-weight: normal;
    margin-bottom: 20px;
}

#logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 70px;
    overflow: hidden;
    animation: moveCarrossel 30s linear infinite; /* Animação contínua */
    width: calc(250px * 16 + 70px * 15); /* 16 logos (8 originais + 8 duplicadas) e 15 gaps de 30px */
}

.logo {
    object-fit: cover;
    width: 250px;
    transition: transform 0.5s ease-in-out;
}

@keyframes moveCarrossel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50.7%); /* Move até o final da primeira sequência de logos */
    }
}


#contato {
    margin-bottom: 110px;
}

#balao-wpp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  #balao-wpp:hover {
    background-color: #1b8d45; 
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  #balao-wpp.pulse {
    animation: pulse 2s infinite;
  }


#contato h2 {
    font-weight: 600;
    font-size: 60px;
    color: #0088CC;
    margin: 70px 0 50px;
    margin-left: 2vw;
}

#contato-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}



#contato img {
    width: 300px;
}

#contato h3 {
    font-size: 45px;
    font-weight: 400;
    margin-bottom: 40px;
}

#contato p {
    font-size: 23px;
    margin-bottom: 5px;
}

#redes {
    font-size: 40px;
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

#redes i {
    color: #0088CC;
}

#redes i:hover {
    color: #025b88;
}



footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #eeeeee;
    padding: 25px;
    text-align: center;
}

footer p {
    margin: 0 auto;
}

footer a {
    color: #084ac6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


@media (max-width: 1040px) {

    #nav {
        gap: 50px;
        overflow-y: scroll;
    }

    #nav::-webkit-scrollbar {
        width: 0;
    }

    header a {
        font-size: 20px;
    }

    #contato-container {
        text-align: center;
        flex-direction: column;
        text-align: center;
    }

  

    #redes {
        margin-top: 30px;
        justify-content: center;
        gap: 60px;
    }
}

@media (max-width: 850px) {

    body.menu-active {
        overflow: hidden;
    }

    header {
        display: flex;
        background-color: white;
        padding: 0px;
    }

    header.active {
        display: flex;
    }

    #menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        cursor: pointer;
        border-radius: 100%;
        top: 20px;
        right: 20px;
        z-index: 10;

    }

    #header.active #menu-toggle {
        background-color: transparent;
    }

    .linha {
        top: 20px;
        right: 20px;
        background-color: #000000;
        margin: 3px 0;
        height: 3px;
        width: 28px;
    }

    #header.active #l1 {
        opacity: 0;
        transition: 0.3s ease-in-out;
    }

    #header.active #l2 {
        position: relative;
        padding: 0;
        margin: 0;
        top: -1px;
        right: 0px;
        transform: rotate(-135deg);
        transition: 0.2s ease-in-out;
    }

    #header.active #l3 {
        position: relative;
        padding: 0;
        margin: 0;
        transform: rotate(135deg);
        right: 0px;
        top: -4px;
        transition: 0.3s ease-in-out;
    }

    header img {
        height: 60px;
        margin-left: 15px;
        object-fit: cover;
    }

    #nav {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-color: #ffffffe1;
        backdrop-filter: blur(2px);
        width: 0%;
        height: 100%;
        position: absolute;
        padding: 0;
        top: 100px;
        right: -100%;
        z-index: 10;
        transition: 0.2s ease-in-out;
    }

    #header.active #nav {
        right: 0;
        width: 100%;
    }


    header a:first-of-type {
        margin-top: 90px;
    }

    #inicio .box {
        height: calc(85vh - 100px);
        width: 100vw;
        text-align: center;
    }
    
    #inicio h1 {
        font-size: 60px;
    }
    
    #inicio h2 {
        max-width: 500px;
        font-size: 30px;
    }

    #solucoes h2 {
        font-size: 50px;
    }

    #cards {
        display: flex;
        text-align: center;
        justify-content: space-evenly;
        flex-direction: column;
        max-width: 500px;
        gap: 10px;
        padding: 10px;
        margin: 0 auto;
    }
    
    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        text-align: center;
        background-color: #0088CC;
        height: 230px;
        border-radius: 25px;
        color: #fff;
        margin-bottom: 50px;
        transition: all 0.3s ease;
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        overflow: hidden;
        position: relative;
    }
    
    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .card-icon {
        height: 60px;
        filter: brightness(0) invert(1);
        transition: all 0.3s ease;
    }
    
    .card h3 {
        font-weight: normal;
        font-size: 17px;
        transition: all 0.3s ease;
        padding: 0 20px;
    }
    
    .card p {
        position: absolute;
        width: 350px;
        font-size: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        padding: 0 20px;
    }

    #contato h2 {
        font-size: 50px;
    }

    footer p {
        font-size: 14px;
        margin: 0 auto;
    }

}

@media (max-width: 650px) {
    #inicio h1 {
        font-size: 40px;
    }
    
    #inicio h2 {
        max-width: 400px;
        font-size: 20px;
    }
}