#containerProfi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 3rem 0;
    gap: 4.75rem;
}

#boxProf-img {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profImg {
    width: 90%;
    border: 6px outset black;
    box-shadow: 5px 5px 10px #000000a1;
}


#boxProf-txt {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}



#conteudoJornada h2 {
    margin-bottom: 1rem;
    font-family: var(--titulo-font);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
}

#conteudoJornada p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: var(--paragrafo-font);
    text-align: justify;
    line-height: 1.6;
}

h2 {
    font-family: var(--titulo-font);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
}

#containerJob {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0;
}

#imgJob {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#imgJob img {
    width: 45%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5.5px outset black;
    /* box-shadow: 5px 5px 10px #000000a1; */
    transform: skewY(3.5deg);
    transition: .8s;

}

#containerJob:hover #imgJob img {
    box-shadow: 5px 5px 10px #000000a1;
    transform: skewY(0deg);
    transition: .8s;
}

#txtJob {
    width: 50%;
    font-family: var(--paragrafo-font);
    text-align: justify;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

#txtJob h3 {
    font-family: var(--titulo-font);
    font-size: 1.5rem;
    margin: 1.5rem 0;
    font-weight: bold;
    line-height: 1.4;
}

div#studio {
    width: 100%;
    display: flex;
}

#studio img {
    width: 65rem;
    margin: 0 auto;
    border: 5.5px outset black;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#studio:hover img {
    width: 66rem;

}

/* Repita para os outros cards */

.contentBox div {
    transform: translateZ(100px) scale(0.8);
}

section {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    padding: 15px;
}

.cards {
    width: 350px;
    transform-style: preserve-3d;
    margin: 20px 30px;
    perspective: 1000px;

}

.box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform-style: preserve-3d;
    transition: 1s all ease;

}

.filter {
    width: 100%;
    position: absolute;
    height: 98.8%;
    background-color: rgba(000, 000, 000, 0.5);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: piscando 2s linear infinite;
}

@keyframes piscando {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

}

.filter p {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: white;
    font-family: var(--paragrafo-font);
    line-height: 1.6;
}

.imgBox {
    width: 100%;
    max-height: 100%;
    position: relative;
    transform-style: preserve-3d;
    z-index: 1;

}

.imgBox img {
    max-width: 350px;
    /* height: 300px; */
    transform-style: preserve-3d;
    box-shadow: 5px 5px 10px #000000a1;
}

.contentBox {
    width: 100%;
    height: 13rem;
    transform-style: preserve-3d;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backface-visibility: hidden;
    background-color: #333;
    z-index: 3;
    transform: rotateY(180deg);

}

.contentBox div {
    background: linear-gradient(45deg, black, grey);
    transform: translateZ(100px);
    padding: 20px;
    transform-style: preserve-3d;
}

.contentBox div p {
    color: white;
    font-size: 1.1rem;
    text-align: left;
    margin: 10px 0;
    font-family: var(--paragrafo-font);
    line-height: 1.6;
}

.contentBox div h2 {
    color: white;
    font-size: 2rem;
    text-align: left;
    margin: 10px 0;
    font-weight: bold;
    line-height: 1.3;
}

.cards:hover .box {
    transform: rotateY(180deg);
}

@media (max-width: 1450px) {

    #boxProf-img {
        width: 25%;
    }

    #profImg {
        width: 90%;
    }

    #boxProf-txt {
        width: 45%;
    }

    #imgJob {
        width: 30%;
    }

    #imgJob img {
        width: 70%;
    }

    #txtJob {
        width: 40%;
    }


}

@media (max-width: 1125px) {

    #studio img {
        width: 55rem !important;
    }

}

@media (max-width: 940px) {
    .filter {
        display: none;
    }

    #boxProf-img {
        display: none;
    }

    #studio img {
        width: 45rem !important;
    }

    #boxProf-txt {
        width: 75%;
    }

    #containerJob {
        flex-direction: column;
    }

    #imgJob {
        width: 45%;
    }

    #txtJob {
        width: 75%;
    }

    #txtJob h3 {
        margin: 4rem 0 2rem;
    }

    h2 {
        width: 80%;
        margin: 3rem auto;
    }

    /* Desabilitar animações dos cards e mostrar apenas texto no mobile */
    .cards {
        perspective: none;
    }

    .box {
        transform-style: flat;
        transition: none;
    }

    .cards:hover .box {
        transform: none;
    }

    .imgBox {
        display: none;
    }

    .contentBox {
        position: relative;
        transform: none;
        backface-visibility: visible;
        background-color: transparent;
        height: auto;
        margin-top: 0;
    }

    .contentBox div {
        transform: none;
        background: linear-gradient(45deg, #333, #666);
        padding: 15px;
        border-radius: 8px;
    }

}


@media (max-width: 768px) {
    .etapa {
        flex: 1 1 100%;
    }

    #studio img {
        width: 40rem !important;
    }

}

@media (max-width: 640px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    header {
        padding: 1rem;
    }

    header.scrolled {
        padding: 0.8rem 1rem;
    }

    .logtipo-black {
        width: 70px;
    }

    header.scrolled .logtipo-black {
        width: 60px;
    }

    .logo {
        width: 300px;
    }

    header.scrolled .logo {
        width: 250px;
    }

    #studio img {
        width: 35rem !important;
    }

    #imgJob img {
        width: 95%;
    }
}


@media (max-width: 470px) {

    /* .cards {

        width: 250px;
        height: 200px;
    } */

    .imgBox img {

        width: 250px;
        height: 200px;
    }

    #studio img {
        width: 22rem !important;
    }

    #imgJob {
        width: 60%;
    }

    #imgJob img {
        width: 100%;
    }


}

@media (max-width:380px) {

    section {
        padding: 10px;
    }

    .contentBox div {
        transform: translateZ(40px);
    }

    .cards {
        margin: 20px 10px;
    }
}

@media (max-width: 320px) {
    .cards {

        margin: 20px 10px;
        width: 220px;
        height: 170px;

    }

    .imgBox img {

        width: 220px;
        height: 170px;
    }

    .contentBox div {
        transform: scale(0.75)
    }
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    margin: 1.5rem 0;
    transition: color 0.3s ease;
    font-weight: bold;
}

.mobile-nav a:hover {
    color: #feae34;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}




/* HEADER FIXO */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

header.scrolled {
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

header.scrolled .logtipo-black {
    width: 75px;
}

header.scrolled .logo {
    width: 400px;
}