/*
Theme Name: Santa Casa BH
*/

/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --container-padding-x: 24px;

    --color-purple: #643695;
    --color-purple-light: #845dae;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classes para animação com scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-reveal-left.active {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-reveal-right.active {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-reveal-scale.active {
    opacity: 1;
    transform: scale(1);
    will-change: auto;
}

html {
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    font-family: "DM Sans", sans-serif;
    background-image: url("./assets/images/bg-papel.webp");
    background-size: 100%;
    background-position: top center;
    background-repeat: repeat-y;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: inherit;
}

a:not([class]) {
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

.page-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    animation: fadeIn 0.6s ease;
    transition: all 0.3s ease;
}

.page-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding-top: 10px;
}

.page-header .container {
    width: 100%;
    max-width: calc(1137px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 20px var(--container-padding-x);
    display: flex;
    align-items: center;
}

.page-header .logo {
    width: 176px;
    height: auto;
    transition: transform 0.3s ease;
}

.page-header .logo:hover {
    transform: scale(1.05);
}

.page-header nav {
    margin-left: auto;
}

.page-header nav .close {
    display: none;
}

.page-header nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.page-header nav a {
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    color: #333333;
    position: relative;
    transition: color 0.3s ease;
}

.page-header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-purple);
    transition: width 0.3s ease;
}

.page-header nav a:hover {
    color: var(--color-purple);
}

.page-header nav a:hover::after {
    width: 100%;
}

.page-header .menu {
    width: 23px;
    height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 32px;
    cursor: pointer;
    display: none;
}

.page-header .menu span {
    width: 100%;
    height: calc(100% / 5);
    background-color: var(--color-purple);
    border-radius: 100px;
}

#hero {
    position: relative;
    overflow: hidden;
}

#hero .hero-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

#hero .brush-stroke {
    position: absolute;
    width: 100%;
    height: 20%;
    background: linear-gradient(90deg, #fff 0%, #fff 100%);
    transform-origin: left;
    animation: brushReveal 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

#hero .brush-1 {
    top: 0;
    animation-delay: 0s;
}

#hero .brush-2 {
    top: 20%;
    animation-delay: 0.1s;
}

#hero .brush-3 {
    top: 40%;
    animation-delay: 0.2s;
}

#hero .brush-4 {
    top: 60%;
    animation-delay: 0.3s;
}

#hero .brush-5 {
    top: 80%;
    animation-delay: 0.4s;
}

@keyframes brushReveal {
    0% {
        transform: scaleX(0);
    }
    50% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

#hero .hero-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

#hero .swiper-slide {
    width: 100%;
    height: auto;
}

#hero .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

#hero .hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

#hero .hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

#hero .hero-pagination .swiper-pagination-bullet-active {
    background-color: #ffffff;
    width: 32px;
    border-radius: 6px;
}

#cursos .container {
    width: 100%;
    max-width: calc(928px + (var(--container-padding-x) * 2));
    margin: 38px auto 0;
    padding: 0px var(--container-padding-x);
}

/* Select para Mobile */
#cursos .curso-select-wrapper {
    display: none;
    position: relative;
    margin-bottom: 30px;
}

#cursos .curso-select {
    width: 100%;
    background-color: var(--color-purple);
    border: none;
    border-radius: 3px;
    padding: 12px 40px 12px 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

#cursos .curso-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

#cursos .curso-select-wrapper:focus-within .curso-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Tabs para Desktop */
#cursos .tab-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

#cursos .tab-nav__item {
    background-color: #999999;
    border-radius: 3px;
    padding: 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

#cursos .tab-nav__item:not(.tab-nav__item--active):hover {
    background-color: var(--color-purple-light);
}

#cursos .tab-nav__item--active {
    background-color: var(--color-purple);
}

#cursos .tab-contents {
    position: relative;
    min-height: 450px;
}

#cursos .tab-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

#cursos .tab-content--active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

#cursos .tab-content--exiting {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cursos .cursos-swiper {
    width: 100%;
    padding-bottom: 50px;
}

#cursos .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

#cursos .card {
    width: 278px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 701px) {
    #cursos .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(100, 54, 149, 0.15);
    }
    
    #cursos .card:hover img {
        transform: scale(1.05);
    }
}

#cursos .cursos-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#cursos .cursos-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #6436957a;
    opacity: 1;
    transition: all 0.3s ease;
}

#cursos .cursos-pagination .swiper-pagination-bullet-active {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 4px solid var(--color-purple);
}

#cursos .card h4 {
    font-weight: 700;
    font-size: 28px;
    line-height: 30px;
    background-color: var(--color-purple);
    color: #ffffff;
    padding: 12px;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cursos .card img {
    width: 100%;
    height: 347px;
    object-fit: cover;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: transform 0.5s ease;
}

#cursos .card__button {
    position: relative;
    width: calc(182 / 278 * 100%);
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    background-color: var(--color-purple);
    color: #ffffff;
    padding: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    border-radius: 3px;
    transition: all 0.3s ease;
    overflow: hidden;
}

#cursos .card__button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#cursos .card__button:hover::before {
    width: 300px;
    height: 300px;
}

#cursos .card__button:hover {
    background-color: var(--color-purple-light);
    transform: scale(1.05);
}

#bolsas .container {
    width: 100%;
    max-width: calc(1104px + (var(--container-padding-x) * 2));
    margin: 47px auto 0;
    padding: 0px var(--container-padding-x);
}

#bolsas h2 {
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    line-height: 64px;
    color: #333333;
    text-align: center;
}

#bolsas .content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    margin-top: 40px;
}

#bolsas .card {
    border-radius: 7px;
    border: 1px solid #8853c01a;
    padding: 36px 28px;
    background-color: #f8f1ff;
    flex: 1;
    transition: all 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
}

#bolsas .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(100, 54, 149, 0.12);
    border-color: var(--color-purple);
}

#bolsas .card h3 {
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    line-height: 30px;
    color: #643695;
}

#bolsas .card h4 {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #643695;
    margin-top: 14px;
}

#bolsas .card p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin-top: 7px;
}

#bolsas .card:nth-child(even) {
    margin-top: 60px;
}

#faculdade .container {
    width: 100%;
    max-width: calc(890px + (var(--container-padding-x) * 2));
    margin: 79px auto 0;
    padding: 0px var(--container-padding-x);
    display: flex;
    align-items: center;
    gap: 52px;
}

#faculdade .video {
    width: 57%;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

#faculdade .video:hover {
    box-shadow: 0 8px 24px rgba(100, 54, 149, 0.2);
    transform: scale(1.02);
}

#faculdade .video img {
    width: 100%;
    aspect-ratio: 479 / 518;
    object-fit: cover;
}

#faculdade .content {
    width: 46%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#faculdade .content h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 64px;
    color: var(--color-purple);
}

#faculdade .content p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin-top: 8px;
}

#faculdade .content .btn {
    border-radius: 3px;
    background-color: var(--color-purple);
    color: #ffffff;
    padding: 12px 36px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin-top: 55px;
    position: relative;
    overflow: hidden;
}

#faculdade .content .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#faculdade .content .btn:hover::after {
    width: 300px;
    height: 300px;
}

#faculdade .content .btn:hover {
    background-color: var(--color-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 54, 149, 0.3);
}

#slider {
    margin-top: 58px;
    padding-top: 60px;
    position: relative;
}

#slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 440px;
    background-image: linear-gradient(
            180deg,
            rgba(100, 54, 149, 0.9),
            rgba(100, 54, 149, 0.9)
        ),
        url("./assets/images/bg-videos.webp");
    background-size: 100% 100%, cover;
    background-position: center, top 32% center;
    background-repeat: no-repeat;
    user-select: none;
    pointer-events: none;
}

#slider .container {
    width: 100%;
    max-width: calc(986px + (var(--container-padding-x) * 2));
    margin: 0px auto;
    padding: 0px var(--container-padding-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 58px;
}

#slider h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 64px;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}

#slider .swiper {
    width: 100%;
}

#slider .swiper-slide {
    overflow: hidden;
    border-radius: 7px;
    transition: transform 0.3s ease;
}

#slider .swiper-slide:hover {
    transform: scale(1.03);
}

#slider .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
}

#slider .video-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
}

#slider .video-wrapper .video-overlay:active {
    cursor: grabbing;
}

#slider .swiper-slide img {
    width: 100%;
    aspect-ratio: 312 / 514;
    object-fit: cover;
}

#slider .swiper-slide iframe {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    pointer-events: none;
}

#slider .slider-pagination {
    position: static;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#slider .slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #6436957a;
    transition: all 0.3s ease;
}

#slider .slider-pagination .swiper-pagination-bullet-active {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 4px solid var(--color-purple);
}

#hospital .container {
    width: 100%;
    max-width: calc(986px + (var(--container-padding-x) * 2));
    margin: 79px auto 0;
    padding: 0px var(--container-padding-x);
}

#hospital .card {
    background-image: linear-gradient(
            180deg,
            rgba(100, 54, 149, 0.9),
            rgba(100, 54, 149, 0.9)
        ),
        url("./assets/images/santa-casa-background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 30px 66px;
}

#hospital .card h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 64px;
    color: #ffffff;
}

#hospital .card > div {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

#hospital .card p {
    max-width: 543px;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #ffffff;
}

#hospital .card .btn {
    width: 235px;
    background-color: #fff;
    border-radius: 5px;
    padding: 12px 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: var(--color-purple);
    text-wrap: nowrap;
}

#hospital .card .btn:hover {
    background-color: #f6eeff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#mapa {
    margin-top: 95px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1440/609;
}

#mapa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#faq {
    margin-top: 91px;
}

#faq .container {
    width: 100%;
    max-width: calc(893px + (var(--container-padding-x) * 2));
    margin: 0px auto;
    padding: 0px var(--container-padding-x);
}

#faq h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: var(--color-purple);
    text-align: center;
}

#faq .faq-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#faq .faq-item {
    border-radius: 30px;
    border: 2px solid #6436952e;
    transition: all 0.3s ease;
    cursor: pointer;
}

#faq .faq-item:hover {
    border-color: var(--color-purple);
    box-shadow: 0 4px 12px rgba(100, 54, 149, 0.1);
}

#faq .faq-item__question {
    position: relative;
    padding: 12px 65px 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#faq .faq-item__question h3 {
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    color: var(--color-purple);
}

#faq .faq-item__question i {
    height: 100%;
    max-height: 56px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: var(--color-purple);
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#faq .faq-item--active .faq-item__question i {
    transform: rotate(180deg);
    background-color: var(--color-purple-light);
}

#faq .faq-item__question i svg {
    width: 24px;
    height: 22px;
}

#faq .faq-item__question i .plus {
    display: block;
}

#faq .faq-item__question i .minus {
    display: none;
}

#faq .faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#faq .faq-item--active .faq-item__answer {
    max-height: 1000px;
}

#faq .faq-item__answer__content {
    padding: 24px 32px 12px;
}

#faq .faq-item__answer p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

#faq .faq-item--active i .plus {
    display: none;
}

#faq .faq-item--active i .minus {
    display: block;
}

.page-footer {
    margin-top: 95px;
    background-color: var(--color-purple);
}

.page-footer .top .container {
    width: 100%;
    max-width: calc(886px + (var(--container-padding-x) * 2));
    padding: 41px var(--container-padding-x) 46px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 285px repeat(3, 1fr);
    justify-items: flex-end;
}

.page-footer .logo {
    width: 100%;
    max-width: 317px;
    height: auto;
}

.page-footer .address {
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    color: #e3dbec;
    margin-top: 37px;
}

.page-footer .menu ul {
    font-weight: 700;
    font-size: 16px;
    line-height: 35px;
    color: #ffffff;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-footer .menu a {
    transition: all 0.3s ease;
    display: inline-block;
}

.page-footer .menu a:hover {
    color: #e3dbec;
    transform: translateX(4px);
}

.page-footer .social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-footer .social h4 {
    font-weight: 700;
    font-size: 16px;
    line-height: 35px;
    color: #ffffff;
}

.page-footer .social ul {
    display: flex;
    gap: 12px;
    list-style: none;
}

.page-footer .social ul a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.page-footer .social ul a:hover {
    transform: translateY(-4px) scale(1.1);
}

.page-footer .social ul img {
    width: 32px;
    height: 32px;
}

.page-footer .bottom {
    background-color: #4b1f7b;
}

.page-footer .bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: calc(886px + (var(--container-padding-x) * 2));
    padding: 13px var(--container-padding-x) 16px;
    margin: 0 auto;
}

.page-footer .bottom div:first-child {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #e3dbec;
}

.page-footer .bottom div:last-child {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
}

.bottom-minerio{
    padding: 10px 20px;
    text-align: right;
    background-color: #4b1f7b;
}

@media (max-width: 1000px) {
    /* .page-header {
        position: static;
    } */

    .page-header .menu {
        display: flex;
        margin-left: auto;
    }

    .page-header nav {
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: var(--color-purple);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .page-header nav .close {
        width: 28px;
        height: 23px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        margin-top: 24px;
        margin-right: 24px;
        margin-bottom: 24px;
        align-self: flex-end;
    }

    .page-header nav .close span {
        width: 100%;
        height: calc(100% / 5);
        background-color: #ffffff;
        border-radius: 100px;
    }

    .page-header nav .close span:first-child {
        transform: rotate(45deg);
        transform-origin: top left;
    }

    .page-header nav .close span:last-child {
        transform: rotate(-45deg);
        transform-origin: bottom left;
    }

    .page-header nav ul {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .page-header nav a {
        color: #ffffff;
        text-align: center;
    }

    .page-header.active nav {
        transform: translateX(0);
    }

    #hero {
        padding-top: 20px;
    }

    #bolsas .content {
        grid-template-columns: repeat(2, 1fr);
    }

    #faculdade .container {
        flex-direction: column;
    }

    #faculdade .video {
        width: 100%;
        max-width: 450px;
    }

    #faculdade .content {
        width: 100%;
    }

    #mapa {
        aspect-ratio: 1/1;
    }

    .page-footer .top .container {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        gap: 36px 24px;
    }

    .page-footer .info {
        grid-column: 1 / 4;
    }
}

@media (max-width: 700px) {
    /* Typography adjustments */
    h2 {
        font-size: 32px;
        line-height: 1.4;
    }

    h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    h4 {
        font-size: 22px;
        line-height: 1.35;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
    }

    #hero {
        padding-top: 40px;
    }

    #cursos .curso-select-wrapper {
        display: block;
    }

    #cursos .tab-nav {
        display: none;
    }

    #cursos .card h4 {
        font-size: 24px;
        line-height: 1.3;
    }

    #bolsas h2 {
        font-size: 36px;
        line-height: 1.3;
    }

    #bolsas .card h3 {
        line-height: 1.3;
    }

    #bolsas .card h4 {
        line-height: 1.4;
    }

    #bolsas .card p {
        line-height: 1.6;
    }

    #bolsas .content {
        grid-template-columns: 1fr;
    }

    #bolsas .card:nth-child(even) {
        margin-top: 0px;
    }

    #faculdade h2,
    #slider h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    #faculdade .content p {
        line-height: 1.65;
    }

    #hospital h2 {
        font-size: 36px;
        line-height: 1.3;
    }

    #hospital .card h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    #hospital .card h3 {
        line-height: 1.4;
    }

    #hospital .card p {
        font-size: 18px;
        line-height: 1.6;
    }

    #hospital .card > div {
        flex-direction: column;
        align-items: flex-start;
    }

    #faq h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    #faq .faq-item__question h3 {
        font-size: 18px;
        line-height: 1.5;
    }

    #faq .faq-item__answer p {
        line-height: 1.65;
    }

    .page-footer .top .container {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        gap: 36px;
        text-align: center;
    }

    .page-footer .info {
        grid-column: 1 / 2;
    }

    .page-footer .menu ul {
        gap: 24px;
    }

    .page-footer .bottom .container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .bottom-minerio{
    text-align: center;
}
}


