/*
Theme Name: Santa Casa BH
*/

/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Screen Reader Only - Visualmente oculto, acessível para SEO e leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 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);
    }
    
    #cursos .card:hover img {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(100, 54, 149, 0.15);
    }
}

#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);
}

/* Botão de play sobre a imagem */
#faculdade .video__play-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
}

#faculdade .video__play-btn img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

#faculdade .video__play-btn:hover img {
    transform: scale(1.05);
}

#faculdade .video__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--color-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

#faculdade .video__play-btn:hover .video__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-purple-dark, #4e2a73);
}

/* Modal de Vídeo */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
}

.video-modal__close:hover {
    transform: scale(1.2);
}

.video-modal__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-modal__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body.video-modal-open {
    overflow: hidden;
}

#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;
    cursor: pointer;
}

#slider .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

#slider .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--color-purple);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 2;
}

#slider .video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-purple-dark, #4e2a73);
}

#slider .video-wrapper.playing .video-thumbnail,
#slider .video-wrapper.playing .video-play-btn {
    display: none;
}

#slider .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

#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(4, 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 .selos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: column;
}

.page-footer .selos img {
    width: 100px;
    height: auto;
    border-radius: 6px;
}

.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(4, 1fr);
        justify-items: center;
        gap: 36px 24px;
    }

    .page-footer .info {
        grid-column: 1 / 5;
    }
}

@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;
}
}

/* ==========================================================================
   SINGLE CURSO - Estilos da Página Interna de Cursos
   ========================================================================== */

/* Faculdade - Layout Invertido */
#faculdade.faculdade--reversed .container {
    flex-direction: row-reverse;
}

/* Hero Container - Banner + Form */
.curso-hero {
    position: relative;
    margin-top: 66px;
}

.curso-hero__sidebar {
    position: absolute;
    top: 200px;
    right: calc((100% - 1180px) / 2);
    width: 373px;
    z-index: 10;
}

@media (max-width: 1240px) {
    .curso-hero__sidebar {
        right: 24px;
    }
}

/* Banner do Curso */
#curso-banner {
    position: relative;
    min-height: 703px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

#curso-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: calc(1180px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

#curso-banner .curso-banner__content {
    max-width: 600px;
}

#curso-banner .curso-banner__categoria {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    margin-bottom: 8px;
}

#curso-banner .curso-banner__titulo {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
}

#curso-banner .curso-banner__btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-purple);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 36px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

#curso-banner .curso-banner__btn:hover {
    background-color: #f6eeff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Área Principal - Layout com Sidebar */
.curso-main {
    padding: 60px 0 150px 0;
    position: relative;
}

.curso-main .container {
    width: 100%;
    max-width: calc(1180px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

.curso-main__wrapper {
    display: block;
    max-width: 776px;
}

/* Conteúdo Principal */
.curso-main__content {
    max-width: 100%;
}

.curso-conteudo__titulo {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-purple);
    margin-bottom: 24px;
}

.curso-conteudo__texto {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

.curso-conteudo__texto p {
    margin-bottom: 24px;
}

.curso-conteudo__texto strong,
.curso-conteudo__texto b {
    font-weight: 700;
    color: #333333;
}

/* Iframe responsivo para YouTube */
.curso-conteudo__texto iframe,
.curso-conteudo__texto .wp-block-embed__wrapper iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 14px;
    margin: 24px 0;
}

.curso-conteudo__texto .wp-block-embed {
    margin: 24px 0;
}

.curso-conteudo__video {
    margin: 40px 0;
    border-radius: 14px;
    overflow: hidden;
}

.curso-conteudo__video .video-container {
    position: relative;
    cursor: pointer;
}

.curso-conteudo__video .video-container img {
    width: 100%;
    aspect-ratio: 777 / 366;
    object-fit: cover;
}

.curso-conteudo__video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.curso-conteudo__video .play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.curso-conteudo__complementar {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

/* Sidebar do Curso */
.curso-sidebar {
    width: 373px;
}

.curso-sidebar__form {
    background: #ffffff;
    border: 1.5px solid rgba(56, 24, 89, 0.48);
    border-bottom: none;
    padding: 32px 41px;
}

.curso-sidebar__form-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #381859;
    margin-bottom: 24px;
}

.form-inscricao .form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-inscricao input[type="text"],
.form-inscricao input[type="email"],
.form-inscricao input[type="tel"],
.form-inscricao select {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #381859;
    border-radius: 3px;
    padding: 12px 16px;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #333333;
    transition: border-color 0.3s ease;
}

.form-inscricao input::placeholder {
    color: #333333;
}

.form-inscricao input:focus,
.form-inscricao select:focus {
    outline: none;
    border-color: var(--color-purple);
}

.form-inscricao .form-group--select {
    position: relative;
}

.form-inscricao select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
    color: #333333;
}

.form-inscricao .select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-group--turnos {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.turno-option,
.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #333333;
}

.turno-option input,
.consent-option input {
    display: none;
}

.turno-option .checkmark,
.consent-option .checkmark {
    width: 17px;
    height: 17px;
    min-width: 17px;
    background: transparent;
    border: 2px solid var(--color-purple);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.turno-option input:checked + .checkmark,
.consent-option input:checked + .checkmark {
    background: transparent;
}

.turno-option input:checked + .checkmark::after,
.consent-option input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    background: var(--color-purple);
    border-radius: 50%;
}

.form-divider {
    border: none;
    border-top: 1px solid rgba(136, 83, 192, 0.3);
    margin: 20px 0;
}

.form-group--consent {
    margin-bottom: 24px;
}

.consent-option {
    font-size: 14px;
    line-height: 22px;
}

.btn--primary {
    display: block;
    width: 100%;
    background-color: var(--color-purple);
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 24px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary:hover {
    background-color: var(--color-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 54, 149, 0.3);
}

.btn--primary:disabled {
    background-color: #b0b0b0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Sidebar Info */
.curso-sidebar__info {
    background: #381859;
    padding: 35px 36px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-purple);
}

.info-item:first-child {
    padding-top: 0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item--block {
    flex-direction: column;
    gap: 8px;
}

.info-item--block .info-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item__icon {
    color: #8753BF;
    flex-shrink: 0;
    width: 20px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item__content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-item__label {
    font-family: "Highgate", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    color: #ffffff;
}

.info-item__value {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #ffffff;
}

/* Investimento - Bloco separado na parte inferior */
.curso-sidebar__investimento {
    background: var(--color-purple);
    padding: 24px 36px;
    color: #ffffff;
}

.curso-sidebar__investimento .info-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.curso-sidebar__investimento .info-item__icon {
    flex-shrink: 0;
}

.curso-sidebar__investimento .info-item__label {
    font-family: "Highgate", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    color: #ffffff;
}

.curso-sidebar__investimento .investimento__item {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #ffffff;
    margin-bottom: 0;
}

.curso-sidebar__investimento .investimento__item strong {
    font-weight: 700;
}

.curso-sidebar__investimento .investimento__obs {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #ffffff;
    margin-top: 0;
}

/* Grade Curricular */
.curso-grade {
    padding: 60px 0;
    background-color: #ffffff;
}

.curso-grade .container {
    width: 100%;
    max-width: calc(878px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

.curso-grade__titulo {
    font-family: "Highgate", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 64px;
    color: #643695;
    text-align: center;
    margin-bottom: 26px;
}

.curso-grade__tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 37px;
}

/* Mobile Selects - Hidden on desktop */
.curso-grade__selects {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.curso-grade__select-wrapper {
    position: relative;
    width: 100%;
}

.curso-grade__select {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1.5px solid #643695;
    border-radius: 1000px;
    padding: 0 40px 0 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #643695;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.curso-grade__select:focus {
    outline: none;
    border-color: #845dae;
    box-shadow: 0 0 0 3px rgba(100, 54, 149, 0.15);
}

.curso-grade__select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #643695;
    pointer-events: none;
}

.curso-grade__tab {
    background: #ffffff;
    border: 1.5px solid #643695;
    border-radius: 1000px;
    padding: 0;
    width: 132px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #643695;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.curso-grade__tab:hover {
    background: rgba(100, 54, 149, 0.1);
}

.curso-grade__tab--active {
    background: #643695;
    color: #ffffff;
    border-color: #643695;
}

.curso-grade__ano {
    display: none;
}

.curso-grade__ano--active {
    display: block;
}

.curso-grade__periodos-wrapper {
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 21px;
    overflow: hidden;
}

.curso-grade__periodos {
    display: flex;
    gap: 0;
    width: 100%;
}

.curso-grade__periodo {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #643695;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 26px;
}

.curso-grade__periodo--active {
    background: #643695;
    color: #ffffff;
}

.curso-grade__materias {
    display: none;
    padding-top: 16px;
}

.curso-grade__materias--active {
    display: block;
}

.curso-grade__materias ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curso-grade__materias li {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

.curso-grade__bullet {
    color: #643695;
    font-weight: 700;
    margin-right: 4px;
}

.curso-grade__empty {
    text-align: center;
    color: #999999;
    font-style: italic;
}

/* Coordenador */
.curso-coordenador {
    background: var(--color-purple);
    padding: 61px 0 80px;
}

.curso-coordenador .container {
    width: 100%;
    max-width: calc(1180px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

.curso-coordenador__card {
    display: grid;
    grid-template-columns: 372px 1fr;
    gap: 59px;
    align-items: start;
}

.curso-coordenador__foto-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -130px;
    border-radius: 10px;
}

.curso-coordenador__foto {
    width: 372px;
    height: 375px;
    overflow: hidden;
    border-radius: 10px;
}

.curso-coordenador__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curso-coordenador__lattes {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 236px;
    height: 48px;
    background: var(--color-purple);
    border: 3px solid #ffffff;
    border-radius: 3px;
    color: #fbfcfb;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    margin-top: 40px;
    transition: all 0.3s ease;
}

.curso-coordenador__lattes:hover {
    background: #ffffff;
    color: var(--color-purple);
}

.curso-coordenador__info {
    padding-top: 0;
}

.curso-coordenador__nome {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #fbfcfb;
    margin-bottom: 0;
}

.curso-coordenador__texto {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #fbfcfb;
}

.curso-coordenador__texto p {
    margin-bottom: 0;
    margin-top: 0;
}

.curso-coordenador__texto p + p {
    margin-top: 4px;
}

/* Áreas de Atuação */
.curso-areas {
    padding: 80px 0;
}

.curso-areas .container {
    width: 100%;
    max-width: calc(1180px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

.curso-areas__wrapper {
    display: grid;
    grid-template-columns: 575px 584px;
    gap: 22px;
    align-items: start;
    justify-content: space-between;
}

.curso-areas__content {
    display: flex;
    flex-direction: column;
    max-width: 572px;
}

.curso-areas__imagem {
    margin-bottom: 17px;
    overflow: hidden;
}

.curso-areas__imagem img {
    width: 575px;
    height: 199px;
    object-fit: cover;
    border-radius: 10px;
}

.curso-areas__titulo {
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-purple);
    margin-bottom: 0;
}

.curso-areas__texto {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin-bottom: 10px;
}

.curso-areas__texto p {
    margin: 0;
}

.curso-areas__lista {
    list-style: disc;
    padding-left: 27px;
    margin: 0;
}

.curso-areas__lista li {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin-bottom: 0;
}

.curso-areas__lista li::marker {
    color: #333333;
}

.curso-areas__imagem-lateral {
    position: relative;
}

.curso-areas__imagem-lateral img {
    width: 584px;
    height: 453px;
    object-fit: cover;
    border-radius: 10px;
}

.curso-areas__imagem-lateral a {
    display: block;
    transition: transform 0.3s ease;
}

.curso-areas__imagem-lateral a:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   SINGLE CURSO - Responsivo
   ========================================================================== */

@media (max-width: 1000px) {
    /* Hero Mobile - Sidebar volta ao fluxo normal */
    .curso-hero {
        margin-top: 0;
    }
    
    .curso-hero__sidebar {
        position: static;
        width: 100%;
        max-width: 500px;
        margin: -100px auto 0;
        padding: 0 var(--container-padding-x);
    }
    
    #curso-banner {
        min-height: 500px;
    }
    
    #curso-banner .curso-banner__titulo {
        font-size: 48px;
    }
    
    .curso-main__wrapper {
        max-width: 100%;
    }
    
    .curso-sidebar {
        width: 100%;
    }
    
    .curso-coordenador__card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .curso-coordenador__foto-wrapper {
        margin-top: 0;
        max-width: 372px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .curso-areas__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .curso-areas__content {
        max-width: 100%;
    }
    
    .curso-areas__imagem img {
        width: 100%;
        height: auto;
        aspect-ratio: 575 / 199;
    }

    .curso-areas__imagem-lateral {
        max-width: 584px;
    }
    
    .curso-areas__imagem-lateral img {
        width: 100%;
        height: auto;
        aspect-ratio: 584 / 453;
    }

    #faculdade.faculdade--reversed .container {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .curso-hero__sidebar {
        margin-top: 30px;
        padding: 0 16px;
    }
    
    #curso-banner {
        min-height: 400px;
        padding: 40px 0;
    }
    
    #curso-banner .curso-banner__categoria {
        font-size: 14px;
    }
    
    #curso-banner .curso-banner__titulo {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .curso-grade__titulo {
        font-size: 32px;
        line-height: 1.3;
    }
    
    /* Mobile: Show selects, hide tabs */
    .curso-grade__selects {
        display: flex;
    }
    
    .curso-grade__tabs {
        display: none;
    }
    
    .curso-grade__periodos-wrapper {
        display: none;
    }
    
    .curso-grade__tab {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .curso-grade__periodo {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .curso-coordenador {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .curso-coordenador__foto-wrapper {
        margin-top: 0;
    }
    
    .curso-coordenador__foto {
        width: 100%;
        height: auto;
        aspect-ratio: 372 / 375;
    }
    
    .curso-coordenador__lattes {
        width: 100%;
        max-width: 236px;
    }
    
    .curso-areas {
        padding: 40px 0;
    }
}

/* ==========================================================================
   ARCHIVE CURSOS
   ========================================================================== */

/* Hero - Sem background, apenas texto */
.archive-cursos__hero {
    padding: 120px 0 40px;
    text-align: center;
}

.archive-cursos__hero .container {
    width: 100%;
    max-width: calc(1104px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

.archive-cursos__title {
    font-family: 'Highgate', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    color: var(--color-purple);
    margin: 0 0 16px;
}

.archive-cursos__subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-purple);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.archive-cursos__content {
    padding: 40px 0 80px;
}

.archive-cursos__content .container {
    width: 100%;
    max-width: calc(1104px + (var(--container-padding-x) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

/* Grid de Cursos */
.archive-cursos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Card de Curso */
.archive-cursos__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.archive-cursos__card:hover {
    transform: translateY(-8px);
}

.archive-cursos__card:hover .archive-cursos__card-image img {
    transform: scale(1.05);
}

.archive-cursos__card:hover .archive-cursos__card-button {
    background-color: var(--color-purple-light);
    transform: scale(1.05);
}

.archive-cursos__card-title {
    font-family: "Highgate", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    background-color: var(--color-purple);
    color: #ffffff;
    padding: 16px 12px;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.archive-cursos__card-image {
    overflow: hidden;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.archive-cursos__card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.archive-cursos__card-button {
    position: relative;
    width: calc(65%);
    text-align: center;
    margin: -22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-purple);
    color: #ffffff;
    padding: 12px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    pointer-events: none;
    z-index: 1;
    border-radius: 3px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.archive-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;
}

.archive-cursos__card:hover .archive-cursos__card-button::before {
    width: 300px;
    height: 300px;
}

/* Paginação */
.archive-cursos__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.archive-cursos__pagination a,
.archive-cursos__pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-cursos__pagination a {
    color: #333333;
    background-color: #f5f5f5;
}

.archive-cursos__pagination a:hover {
    background-color: var(--color-purple);
    color: #ffffff;
}

.archive-cursos__pagination span.current {
    background-color: var(--color-purple);
    color: #ffffff;
}

.archive-cursos__pagination .prev,
.archive-cursos__pagination .next {
    background-color: var(--color-purple);
    color: #ffffff;
}

.archive-cursos__pagination .prev:hover,
.archive-cursos__pagination .next:hover {
    background-color: var(--color-purple-light);
}

.archive-cursos__pagination .dots {
    background: transparent;
    color: #999;
}

/* Empty State */
.archive-cursos__empty {
    text-align: center;
    padding: 80px 20px;
}

.archive-cursos__empty p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: #666666;
    margin-bottom: 24px;
}

.archive-cursos__back-home {
    display: inline-block;
    background-color: var(--color-purple);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-cursos__back-home:hover {
    background-color: var(--color-purple-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   ARCHIVE CURSOS - RESPONSIVO
   ========================================================================== */

@media (max-width: 1024px) {
    .archive-cursos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .archive-cursos__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .archive-cursos__hero {
        padding: 100px 0 30px;
    }
    
    .archive-cursos__title {
        font-size: 32px;
    }
    
    .archive-cursos__subtitle {
        font-size: 16px;
    }
    
    .archive-cursos__content {
        padding: 30px 0 60px;
    }
    
    .archive-cursos__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .archive-cursos__card-title {
        font-size: 22px;
        min-height: 70px;
    }
    
    .archive-cursos__card-image img {
        height: 240px;
    }
    
    .archive-cursos__pagination {
        margin-top: 40px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .archive-cursos__hero {
        padding: 80px 0 24px;
    }
    
    .archive-cursos__title {
        font-size: 28px;
    }
    
    .archive-cursos__subtitle {
        font-size: 14px;
    }
    
    .archive-cursos__card-title {
        font-size: 20px;
        padding: 14px 10px;
    }
    
    .archive-cursos__card-image img {
        height: 200px;
    }
}
