.home {
    position: relative;

    padding: 10.4rem 3.2rem 0 3.2rem;
    height: 99dvh;

    display: flex;
    justify-content: space-evenly;
    align-items: center;

    color: white;
    background-image: url(images/background.png);
    background-position: center;
    background-size: cover;
}

.home .title {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;

    margin-bottom: 25dvh;

    h1 {
        line-height: 4rem;
    }
}

.home .footer-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    img {
        width: 8rem;
        height: 5.6rem;
    }

    p {
        font-size: var(--font-small);
        font-weight: 450;
    }
}

.home .people-title {
    height: 100%;
    aspect-ratio: 1 / 1.05;
}

.scroll {
    width: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 9998;
    bottom: 0;
}

.scroll__item {
    width: 2%;
    height: auto;

    flex-shrink: 0; 
}

.scroll__container {
    display: flex;
    gap: 1.6rem;
    width: max-content;
    animation: scrollInfinito 60s linear infinite;
}

@keyframes scrollInfinito {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


@media ( max-width: 1100px ) {
    .home {
        padding: 17rem 3.2rem 0 3.2rem;
        flex-direction: column;
        height: auto;
    }

    .home .title {
        text-align: center;
        margin-bottom: 4dvh;
    }

    .home .footer-title { justify-content: center; }
    .home .footer-title  p { font-size: var(--font-medium); }
    .scroll__container { gap: 0.8rem; }
}

@media ( min-width: 760px ) and ( max-width: 1100px ) {
    .home .title h1 { line-height: 5.6rem; font-size: 6.8rem; }
    .home .people-title { height: 64dvh; }
    .scroll__item { width: 2.4%; }
}

@media ( max-width: 760px ) {
    .home { padding: 13.8rem 3.2rem 0 3.2rem; }
    .home .title h1 { font-size: 3.2rem; }
    .home .people-title { height: 48dvh; }
    .scroll__item { width: 1.2%; }
}

/* Sessão de nota máxima no MEC */
.nota-mec {
    position: relative;
    z-index: 1;

    padding: 7.2rem 3.2rem 0 3.2rem;
    height: auto;

    overflow: hidden;
    
    display: flex;
    justify-content: center;
}

.nota-mec::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(images/background.png);
    background-position: center;
    background-size: cover;
    transform: scaleY(-1); 
    z-index: 0; 
}

.folha {
    position: absolute;
    z-index: 9998;

    top: 3.2rem;
    right: 0;

    width: 20%;
}

.nota-mec .container-infos {
    position: relative;
    z-index: 9997; 

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4.8rem;

    width: 84%;
    height: 100%;

    padding: 9.6rem 3.2rem 3.2rem 3.2rem;

    background-image: url(images/background-yellow.png);
    background-position: top;
    background-size: cover;
}

.nota-mec .container-infos .container-text {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;

    .logo-branca, .vector-blue { height: 4.8rem; aspect-ratio: 1 / 0.32; }

    .vector-blue { height: 1.2rem; aspect-ratio: 1 / 0.1; }

    p { text-align: center; }
}

.nota-mec .container-infos .container-nota {
    position: relative;
    z-index: 9997; 

    width: 80%;
    aspect-ratio: 1 / 0.4;

    display: flex;

    border-radius: 3.2rem;
    background-color: rgb(0, 0, 85);

    img {
        width: 50%;
    }
}

.nota-mec button, .graduacao button {
    padding: 1.6rem 4.8rem;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;

    color: #264AD6;
    font-weight: 500;
    background-color: white;

    border: none;
    border-radius: 3.2rem;

    transition: ease-in-out all 0.25s;

    a { color: #264AD6; }
}

.razoes {
    position: relative;
    width: 100%;
    height: 100%;

    padding: 3.2rem 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.bloco-razoes {
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 80%;
}

.razoes-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.razoes .bloco-razoes .razoes-item img {
    width: 3.2rem;
    height: 3rem;
    flex-shrink: 0;
    margin-top: 0.4rem;
}

.razoes-item h3 {
    font-size: 2.4rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.razoes-item p {
    font-size: 1.6rem;
    color: white;
    line-height: 1.4;
}

.nota-mec button:hover, .graduacao button:hover {
    transform: scale(1.1);
}

@media ( max-width: 1100px ) {
    .nota-mec .container-infos {
        width: 100%;

        .container-nota {
            width: 100%;
            flex-direction: column;
            height: auto;

            img { width: 100%; }
            .razoes img { width: 3.2rem; }
            .razoes h3 { font-size: 1.6rem; }
            .razoes-item p { font-size: 1.2rem; }
        }
    }
}

.carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none; /* Firefox */
}

.carousel-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel {
    display: flex;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    width: max-content;
}

.slide {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1 / 0.6;
    border-radius: 10px;
}

/* Oculta botões de navegação */
.nav-buttons {
    display: none;
}

/* Responsivo opcional: para telas maiores você pode centralizar o carrossel */
@media (min-width: 1280px) {
    .carousel-wrapper {
        justify-content: center;
        overflow-x: hidden;
    }
    .carousel {
        max-width: 560px;
        margin: 0 auto;
    }
}

.graduacao {
    padding: 6.4rem 3.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;

    background-image: url(images/background-graduacao.png);
    background-position: center;
    background-size: cover;

    color: white;

    h2 { font-weight: 200; letter-spacing: 0.4rem; }
}

.graduacao .container-cursos {
    width: 100%;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3.2rem;
}

.graduacao .container-cursos .curso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;

    text-align: center;
    line-height: 1.6rem;

    width: 32rem;
    padding-bottom: 3.2rem;

    border-radius: 1.6rem;
    background: linear-gradient(151.27deg, rgba(255, 255, 255, 0.66) 40.87%, rgba(153, 153, 153, 0.66) 82.29%);

    img {
        width: 100%;
        height: 75%;

        border-radius: 1.6rem;
    }

    .text h4 { font-weight: 300; }
}

.graduacao button {
    width: 24rem;
    height: 4.4rem;

    background-color: #FBFF1D;
    color: #264AD6;

    transition: ease-in-out all 0.5s;
}

.ingresso {
    padding: 4.8rem 3.2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;

    min-height: 84dvh;
    max-height: auto;

    .title {
        width: 80%;

        display: flex;
        flex-direction: column;
        gap: 1.6rem;

        .text { 
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
         }
    }

    button {
        width: 16rem;
        height: 4.4rem;

        color: white;
        font-size: var(--font-medium);
        font-weight: bold;

        border: none;
        border-radius: 1.6rem;
        background-color: rgb(0, 0, 85);
    }

    .container {
        width: 80%;

        display: flex;
        flex-wrap: wrap;
        gap: 1.6rem;
    }

    .content {
        width: calc( 50% - 0.8rem );
        height: auto;

        padding: 3.2rem;

        display: flex;
        align-items: center;
        gap: 1.6rem;

        border-left: 0.8rem solid rgb(215, 215, 0);
        border-radius: 0.8rem;
        box-shadow: 0 0.2rem 0.4rem rgb(214, 214, 214);
        background-color: rgba(255, 255, 255, 0.750);

        transition: ease all 0.25s;

        img {
            width: 6.4rem;
            height: 6.4rem;
        }

        .text {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            
            line-height: 1.6rem;
            text-align: left;
        }
    }
}

.ingresso .container .content:hover {
    transform: scale(1.025);
}

@media ( max-width: 1280px ) {
    .ingresso .container {
        flex-direction: column;
        flex-wrap: nowrap;

        .content {
            width: 100%;
        }
    }

    .ingresso .title {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
    }
}

@media ( max-width: 760px ) {
    .ingresso h1 { font-size: 3.2rem; }
    .ingresso p { line-height: 1.6rem; }
    .ingresso .container { width: 100%; }
    .ingresso .content { padding: 3.2rem 1.6rem; }
}