/* ========================================= */
/* CSS para a página "Ações do Semestre"     */
/* ========================================= */

/* HERO: Estilo reescrito para ser idêntico ao padrão de Bilinguismo */
.hero--improved {
    min-height: 90vh; /* Altura idêntica */
    display: flex;
    align-items: center; /* Centraliza o bloco de texto verticalmente */
    position: relative;
    color: var(--color-white);
    overflow: hidden;
    /* Reset de propriedades antigas */
    height: auto;
    padding-top: 0;
    justify-content: flex-start;
}

.hero--improved .hero__image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/acoes.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero--improved .hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 10%, rgba(0, 0, 0, 0.2) 100%);
}

.hero--improved .hero__content {
    position: relative;
    z-index: 2;
    text-align: left; /* Alinhamento à esquerda */
    margin-left: 15%; /* Margem idêntica */
    margin-right: auto;
    max-width: 700px; /* Largura idêntica */
    padding-top: 0; /* Reset */
}

/* Título H1 (Elemento principal, já que não há pré-título) */
.hero--improved .hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Tamanho idêntico ao título principal */
    font-weight: 800; /* Peso padrão para H1 */
    line-height: 1.1;
    margin-bottom: 15px; /* Espaçamento idêntico */
    text-shadow: none; /* Remoção da sombra */
}

/* Parágrafo de descrição */
.hero--improved .hero__subtitle {
    font-size: 1.1rem; /* Tamanho idêntico ao parágrafo dos outros */
    font-weight: 400; /* Peso da fonte idêntico */
    line-height: 1.7; /* Altura de linha idêntica */
    text-shadow: none; /* Remoção da sombra */
}


/* --- RESPONSIVIDADE DO HERO --- */
@media (max-width: 992px) {
    .hero--improved .hero__content {
        margin-left: 10%; /* Ajuste para telas médias */
    }
}
@media (max-width: 768px) {
    .hero--improved {
        min-height: 80vh; /* Altura ajustada para mobile */
    }
    .hero--improved .hero__content {
        max-width: 90%;
        text-align: center; /* Centraliza em telas pequenas */
        margin-left: auto;
        margin-right: auto;
    }
}


/* 1. SESSÃO DE VÍDEO E INTRODUÇÃO */
.video-intro-section {
    padding: 100px 0;
    background-color: var(--color-white);
}
.video-intro-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}
.video-content {
    flex: 1.2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.program-video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}
.text-content {
    flex: 1;
}
.text-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}
.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* 2. ESTILO GERAL PARA AS SEÇÕES DE CARROSSEL */
.actions-carousel-section {
    padding: 100px 0;
    position: relative;
    isolation: isolate;
    overflow: hidden; /* Garante que os elementos de fundo não causem scroll */
}
#academic-actions, #historic-actions {
    background-color: transparent;
}
#cultural-actions {
    background: radial-gradient(circle at 10% 20%, #866093, transparent 40%),
                radial-gradient(circle at 90% 80%, #78865C, transparent 40%),
                radial-gradient(ellipse at 50% 100%, #F16137, transparent 40%),
                var(--color-bg-alt);
}
#cultural-actions::before, #cultural-actions::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(10px);
}
#cultural-actions::before {
    width: 400px; height: 400px; top: -100px; right: -150px;
}
#cultural-actions::after {
    width: 300px; height: 300px; bottom: -120px; left: -100px;
}

.actions-slider-wrapper {
    position: relative;
}

.action-card {
    background-color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
}
.action-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}
.action-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.action-card:hover img {
    transform: scale(1.03);
}
.action-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.action-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}
.action-card-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    flex-grow: 1;
}

/* Estilização dos controles dos Sliders */
.swiper-button-next, .swiper-button-prev {
    color: var(--color-primary);
    background-color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    top: 50%;
    transform: translateY(-70%);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.1rem;
}
.swiper-pagination {
    position: static;
    margin-top: 40px;
}
.swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .video-intro-layout {
        flex-direction: column;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .video-intro-section, .actions-carousel-section {
        padding: 60px 0;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}