@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat.ttf);
}
@font-face {
    font-family: 'MontserratBold';
    src: url(../fonts/Montserrat-Bold.ttf);
}
@font-face {
    font-family: 'DIN Pro';
    src: url(../fonts/DINPro-Bold.ttf);
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
.max-container{
    width: 71.25rem;
    margin: auto;
}

/* Estilo Menu */

.menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border: 0.5px solid #545179;
    background: #036;
    padding: 20px 20px;
    z-index: 98;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.menu>.max-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu>.max-container>div:first-child>a>img{
    height: 24px;
}
.nav-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.nav-buttons>a{
    color: #FFF;
    text-align: center;
    font-family: MontserratBold;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
}
.nav-buttons>a:hover{
    cursor: pointer;
    color: #F05025;
    transition: all 0.5s;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #FFF;
}

/* Sessão Hero */

.hero{
    background-image: url("../assets/residencial-medicina-hero-bg.webp");
    background-position: center;
    background-size: cover;
    padding: 140px 0 80px 0;
    min-height: 100vh;
}
.hero>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.hero>.max-container>h3{
    color: #00002C;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.hero>.max-container>img{
    width: 100%;
    max-width: 300px;
}
.hero>.max-container>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
}
.hero>.max-container>div>img{
    width: 100%;
    max-width: 300px;
}
.hero>.max-container>div>img:nth-child(2){
    padding-bottom: 40px;
}
.hero>.max-container>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 28px;
    font-weight: 400;
    line-height: 140%;
    max-width: 760px;
}
.hero>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.hero>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Sessão Pensionato */

.pensionato{
    background: #F4F0F0;
    padding: 80px;
}
.pensionato>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.pensionato>.max-container>h2{
    color: #00002C;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.pensionato>.max-container>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 28px;
    font-weight: 400;
}
.pensionato>.max-container>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}
.pensionato>.max-container>div>div>img{
    height: 100%;
}
.pensionato>.max-container>div>div:last-child{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pensionato>.max-container>div>div>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
    text-align: left;
}

.pensionato>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.pensionato>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Sessão Residencial */

.residencial{
    background: #036;
    padding: 80px;
}
.residencial>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.residencial>.max-container>h2{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.residencial>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.residencial>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Slide 1 sessão residencial */
#splide1{
    width: 100%;
    padding: 0 60px 40px 60px;
}
#splide1 .splide__pagination button {
    background: #D9D9D9;
}
#splide1 .splide__pagination button.is-active {
    background: #DD5400;
}

.card>img{
    width: 100%;
}

/* Sessão Refeições */

.refeicao{
    background: #F4F0F0;
    padding: 80px;
}
.refeicao>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.refeicao>.max-container>h2{
    color: #00002C;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.refeicao>.max-container>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 400;
}
.refeicao>.max-container>div{
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin: 40px 0;
}
.refeicao>.max-container>div>div>img{
    height: 360px;
}
.refeicao>.max-container>div>div:last-child{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.refeicao>.max-container>div>div>div{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.refeicao>.max-container>div>div>div>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
    text-align: left;
}

.refeicao>.max-container>div>div>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.refeicao>.max-container>div>div>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Sessão Residencial */

.restaurante{
    background: #036;
    padding: 80px;
}
.restaurante>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.restaurante>.max-container>h2{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.restaurante>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.restaurante>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Slide 2 sessão Restaurante */
#splide2{
    width: 100%;
    padding: 0 60px 40px 60px;
}
#splide2 .splide__pagination button {
    background: #D9D9D9;
}
#splide2 .splide__pagination button.is-active {
    background: #DD5400;
}

/* Sessão Preceptoria */

.preceptoria{
    background: #F4F0F0;
    padding: 80px;
}
.preceptoria>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.preceptoria>.max-container>h2{
    color: #00002C;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.preceptoria>.max-container>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 400;
    max-width: 1000px;
}
.box-card-direcao{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 0px;
    margin: 40px 0;
}
.card-direcao{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card-direcao>p{
    color: #00002C;
    font-family: Montserrat;
    font-size: 18px;
}
.card-direcao>img{
    width: 300px;
    max-width: 100%;
}

/* Slide 3 sessão Programações */
#splide6{
    display: none;
    width: 100%;
    padding: 0 60px 40px 60px;
}
#splide6 .splide__pagination button {
    background: #D9D9D9;
}
#splide6 .splide__pagination button.is-active {
    background: #DD5400;
}

.preceptoria>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.preceptoria>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Sessão Programações */

.programacoes{
    background: #F8F8F8;
    padding: 80px;
}
.programacoes>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.programacoes>.max-container>h2{
    color: #00002C;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.programacoes>.max-container>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 400;
    line-height: 140%;
    max-width: 950px;
}
.programacoes>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
}
.programacoes>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}

/* Slide 3 sessão Programações */
#splide3{
    width: 100%;
    padding: 0 60px 40px 60px;
}
#splide3 .splide__pagination button {
    background: #D9D9D9;
}
#splide3 .splide__pagination button.is-active {
    background: #DD5400;
}

/* Sessão Infraestrutura */

.infra{
    background: #EFEDED;
    padding: 80px;
}
.infra>.max-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.infra>.max-container>h2{
    color: #00002C;
    font-family: MontserratBold;
    font-size: 36px;
    font-weight: 800;
}
.infra>.max-container>p{
    color: #00002C;
    text-align: center;
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 400;
    line-height: 140%;
    max-width: 950px;
}

.botoes{
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    gap: 40px;
}
.botoes>a{
    background-color: #EFEDED;
    color: #224472;
    font-family: MontserratBold;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 140%; /* 22.4px */
    text-transform: uppercase;
    border-radius: 80px;
    border: 1px solid #19355A;
    padding: 15px 60px;
    text-decoration: none;
}
.botoes>a:hover{
    cursor: pointer;
    background-color: #036;
    color: #FFF;
    transition: all 0.5s;
}

/* Slide 4 sessão Esportes */
#splide4{
    width: 100%;
    padding: 0 60px 40px 60px;
}
#splide4 .splide__pagination button {
    background: #D9D9D9;
}
#splide4 .splide__pagination button.is-active {
    background: #DD5400;
}

/* Slide 5 sessão Acomodações */
#splide5{
    width: 100%;
    padding: 0 60px 40px 60px;
}
#splide5 .splide__pagination button {
    background: #D9D9D9;
}
#splide5 .splide__pagination button.is-active {
    background: #DD5400;
}


/* Sessão Pagamento */

.pagamento{
    background: #036;
    padding: 80px;
}
.pagamento>.max-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pagamento>.max-container>h2{
    color: #FFF;
    font-family: MontserratBold;
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin: 40px 0;
}

#box-pagamento-pensionato{
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #FFF;
    padding: 60px;
    width: 100%;
}

#box-pagamento-pensionato>p:first-child{
    color: #1C3664;
    font-family: MontserratBold;
    font-size: 32px;
    font-weight: 800;
}
#box-pagamento-pensionato>p:last-child{
    color: #1C3664;
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 400;
}

#box-pagamentos{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 35px;
    grid-row-gap: 0px;
}
#box-pagamentos>div{
    border-radius: 14px;
    background: #FFF;
    padding: 55px 30px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
#box-pagamentos>div>p{
    color: #1C3664;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 15px;
}
#box-pagamentos>div>p:first-child{
    font-family: MontserratBold;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 0;
}
#box-pagamentos>div>p:nth-child(2){
    font-size: 22px;
}

.pagamento>.max-container>p{
    color: #FFF;
    text-align: left;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
}
.pagamento>.max-container>a{
    color: #FFF;
    font-family: MontserratBold;
    font-size: 20px;
    font-weight: 800;
    line-height: 140%; /* 28px */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 20px 60px;
    border-radius: 80px;
    background: #F05025;
    align-self: center;
}
.pagamento>.max-container>a:hover{
    cursor: pointer;
    background: #ac4404;
    transition: all 0.5s;
}


/* Estilo Footer */
.footer-unasp{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #19355A;
    padding: 35px 0;
}
.footer-unasp>img{
    width: 160px;
}

@media only screen and (max-width:1140px){
    .max-container{
        width: 100%;
    }
    .menu>.max-container {
       gap: 20px;
    }
    .nav-buttons {
        gap: 10px;
    }
    .nav-buttons>a {
        font-family: Montserrat;
        font-weight: 400;
        font-size: 16px;
    }

    .hero {
        padding: 140px 40px 80px 40px;
    }
    .hero>.max-container>div {
        gap: 30px;
    }

    .pensionato>.max-container>div>div>img {
        max-height: 250px;
    }

    .refeicao>.max-container>div>div>img {
        height: 100%;
        max-height: 250px;
    }
    .refeicao>.max-container>div>div:last-child {
        gap: 20px;
    }

}

@media only screen and (max-width:768px){

    #splide1{
        padding: 0 0 40px 0;
    }
    #splide2{
        padding: 0 0 40px 0;
    }
    #splide3{
        padding: 0 0 40px 0;
    }
    #splide4{
        padding: 0 0 40px 0;
    }
    #splide5{
        padding: 0 0 40px 0;
    }
    #splide6{
        padding: 0 0 40px 0;
    }
    
    .nav-buttons {
        display: none; /* Ocultar os links do menu */
        flex-direction: column; /* Organizar verticalmente */
        position: absolute; /* Para sobrepor outros elementos */
        top: 70px; /* Abaixo do menu */
        right: 0;
        width: 100%; /* Largura total */
        background: #036; /* Fundo do menu */
        z-index: 99; /* Para garantir que fique acima */
        gap: 0;
    }
    .nav-buttons>a:first-child {
        border-top: 1px solid #fff;
    }
    .nav-buttons>a {
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #fff;
    }

    .nav-buttons.active {
        display: flex; /* Mostrar quando ativo */
    }

    .menu-toggle {
        display: block; /* Mostrar o botão */
    }

    .hero>.max-container>div>img {
        width: 100%;
        max-width: 200px;
    }

    .pensionato>.max-container>div {
        flex-direction: column;
    }

    .residencial>.max-container>h2 {
        text-align: center;
    }

    .refeicao>.max-container>div {
        flex-direction: column;
        gap: 20px;
        margin: 0;
    }
    .refeicao>.max-container>div>div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .restaurante>.max-container>h2 {
        text-align: center;
    }

    .preceptoria>.max-container>div {
        display: none;
    }
    #splide6{
        display: block;
    }

    .infra>.max-container>h2 {
        text-align: center;
    }
    .botoes>a{
        font-size: 14px;
    }
    
    #box-pagamentos {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap:0;
        grid-row-gap: 30px;
        width: 100%;
    }
    
}

@media only screen and (max-width:430px){
    
    .hero {
        overflow: hidden;
        padding: 120px 20px 40px 20px;
    }
    .hero > .max-container {
        gap: 20px;
    }
    .hero > .max-container > h3 {
        font-size: 30px;
        text-align: center;
    }
    .hero > .max-container > img {
        max-width: 250px;
    }
    .hero>.max-container>div {
        flex-direction: column;
        gap: 0;
    }
    .hero>.max-container>div>img:nth-child(2){
        max-width: 300px;
        padding-bottom: 0;
        margin-top: 20px;
    }
    .hero>.max-container>div>img:nth-child(1), .hero>.max-container>div>img:nth-child(3) {
        display: none;
    }
    .hero>.max-container>p {
        font-size: 22px;
        line-height: 120%;
    }
    .hero>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }

    .pensionato {
        padding: 40px 20px;
    }
    .pensionato>.max-container {
        gap: 20px;
    }
    .pensionato>.max-container>div {
        margin: 0;
        gap: 20px;
    }
    .pensionato>.max-container>h2 {
        font-size: 32px;
        text-align: center;
    }
    .pensionato>.max-container>div>div>img {
        max-width: 100%;
    }
    .pensionato>.max-container>p {
        font-size: 22px;
    }    
    .pensionato>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }

    .residencial {
        padding: 40px 20px;
    }
    .residencial>.max-container>h2 {
        font-size: 28px;
    }
    .residencial>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }
    
    .refeicao {
        padding: 40px 20px;
    }
    .refeicao>.max-container {
        gap: 20px;
    }
    .refeicao>.max-container>h2 {
        font-size: 32px;
    }
    .refeicao>.max-container>p {
        font-size: 18px;
    }
    .refeicao>.max-container>div>div>img {
        max-width: 100%;
    }
    .refeicao>.max-container>div>div>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
        align-self: center;
    }
    .refeicao>.max-container>div>div>div>p {
        font-size: 18px;
    }

    .restaurante {
        padding: 40px 20px;
    }
    .restaurante>.max-container>h2 {
        font-size: 28px;
    }
    .restaurante>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }
    
    .preceptoria {
        padding: 40px 20px;
    }
    .preceptoria>.max-container {
        gap: 20px;
    }
    .preceptoria>.max-container>h2 {
        font-size: 28px;
        text-align: center;
    }
    .preceptoria>.max-container>p {
        font-size: 18px;
    }
    .preceptoria>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }
    
    .programacoes {
        padding: 40px 20px;
    }
    .programacoes>.max-container {
        gap: 20px;
    }
    .programacoes>.max-container>h2 {
        font-size: 32px;
    }
    .programacoes>.max-container>p {
        font-size: 18px;
        line-height: 120%;
    }
    .programacoes>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }

    .infra {
        padding: 40px 20px;
    }
    .infra>.max-container {
        gap: 20px;
    }
    .infra>.max-container>h2 {
        font-size: 30px;
    }
    .infra>.max-container>p {
        font-size: 18px;
        line-height: 120%;
    }
    .botoes {
        flex-direction: column;
        gap: 20px;
    }
    .botoes>a {
        padding: 15px 30px;
        width: 100%;
        text-align: center;
    }
    
    .pagamento {
        padding: 40px 20px;
    }
    .pagamento>.max-container>h2 {
        font-size: 28px;
        margin: 20px 0;
    }
    #box-pagamento-pensionato {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        width: 100%;
    }
    #box-pagamento-pensionato>p {
        text-align: center;
    }
    #box-pagamento-pensionato>p:first-child {
        font-size: 24px;
    }
    #box-pagamento-pensionato>p:last-child {
        font-size: 18px;
    }
    #box-pagamentos>div {
        border-radius: 14px;
        background: #FFF;
        padding: 35px 20px;
        gap: 0px;
    }
    #box-pagamentos>div>p:first-child {
        font-size: 26px;
    }
    #box-pagamentos>div>p:nth-child(2) {
        font-size: 20px;
    }
    #box-pagamentos>div>p {
        font-size: 16px;
    }
    .pagamento>.max-container>a {
        font-size: 18px;
        padding: 20px 10px;
        width: 100%;
    }

    .footer-unasp {
        padding: 20px 0;
    }
    
}
