/* ========================================= */
/* CSS P/ PÁGINA "PROGRAMA ANTIBULLYING"     */
/* ========================================= */

/* [CORRIGIDO] HERO COM BORDAS ARREDONDADAS E TEXTO À ESQUERDA */
#programa-antibullying-main .hero--full-image {
    padding-top: 0;
    height: 700px;
    max-height: calc(100vh - var(--header-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; 
    color: var(--color-white);
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    z-index: 10;
}
#programa-antibullying-main .hero--full-image .hero__image-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero-bulying.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    z-index: 1;
}
#programa-antibullying-main .hero--full-image .hero__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 2;
}

/* Conteúdo de texto do hero alinhado à esquerda, como em Bilinguismo */
#programa-antibullying-main .hero--full-image .hero__content {
    position: relative;
    z-index: 3;
    text-align: left;
    margin-left: 15%;
    margin-right: auto;
    max-width: 700px;
}

/* Títulos e subtítulos padronizados sem sombra */
#programa-antibullying-main .hero--full-image .hero__title {
    font-size: clamp(2.5rem, 3.5vw, 3.5rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: none;
}
#programa-antibullying-main .hero--full-image .hero__content > .hero__subtitle:first-of-type {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem); 
    font-weight: 600;
    line-height: 1.2;
    text-shadow: none;
    max-width: none;
    margin: 0;
}
#programa-antibullying-main .hero--full-image .hero__content > .hero__subtitle:last-of-type {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: none;
    max-width: none;
    margin: 0;
}


/* Efeito de sobreposição mantido */
.first-section {
    padding-top: 120px;
    margin-top: -20px; 
    position: relative;
    z-index: 5;
    background-color: var(--color-white);
}

/* SEÇÕES DE FEATURE (IMAGEM E TEXTO) */
.feature-section {
    padding: 80px 0;
}
.feature-section.bg-alt {
    background-color: var(--color-bg-alt);
}
.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.feature-image, .feature-text {
    flex: 1 1 50%;
}
.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.feature-content.image-left .feature-image { order: 1; }
.feature-content.image-left .feature-text { order: 2; }
.feature-content.image-right .feature-image { order: 2; }
.feature-content.image-right .feature-text { order: 1; }

.feature-text .section-title { 
    text-align: left;
    font-size: clamp(2.5rem, 5vw, 3.2rem);
}
.feature-text .section-title::after { left: 0; transform: none; }
.feature-text p { font-size: 1.1rem; line-height: 1.8; }

/* SEÇÃO TEXTO SOBRE IMAGEM DE FUNDO */
.text-on-bg-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: var(--color-text-dark);
}
.text-on-bg__image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1;
}
.text-on-bg__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}
.text-on-bg-section .container {
    position: relative; z-index: 3; display: flex; justify-content: flex-end;
}
.text-bubble {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 550px;
    box-shadow: var(--shadow-lg);
}
.text-bubble h3 {
    font-size: 2rem; color: var(--color-primary); margin-bottom: 20px;
}
.text-bubble p {
    font-size: 1.1rem; line-height: 1.7; color: var(--color-text); margin-bottom: 30px;
}

/* SEÇÃO PILARES (CARDS) */
.awareness-section {
    padding: 100px 0;
    background-color: var(--color-white);
}
.awareness-section .section-header {
    text-align: center;
}
.awareness-section .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
}
.awareness-section .section-header p {
    font-size: 1.2rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.awareness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.awareness-card {
    background-color: var(--color-bg);
    padding: 35px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.awareness-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary);
}
.awareness-card i {
    font-size: 3rem; color: var(--color-primary); margin-bottom: 20px;
}
.awareness-card h4 {
    font-size: 1.4rem; margin-bottom: 15px; color: var(--color-secondary);
}
.awareness-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* SEÇÃO COMO FUNCIONA (DIAGRAMA) */
.how-it-works-section {
    padding: 100px 0;
}
.how-it-works-section .section-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center; 
}
.how-it-works-section .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.2rem); 
}
.how-it-works-section .section-header p {
    font-size: 1.2rem; 
    line-height: 1.8;
}
.how-it-works-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.how-it-works-image {
    max-width: 800px;
}
.how-it-works-image img {
    width: 100%;
}

/* SEÇÃO DE VÍDEO */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4d3654 0%, #a14122 100%);
    color: var(--color-white);
}
.video-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.video-wrapper, .video-text {
    flex: 1;
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 350px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background-color: #000;
}
.video-wrapper iframe {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 0;
}
.video-text .section-title {
    color: var(--color-white);
    text-align: left;
    font-size: clamp(2.2rem, 4vw, 3rem);
}
.video-text .section-title::after {
    background-color: var(--color-primary);
    left: 0; transform: none;
}
.video-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    #programa-antibullying-main .hero--full-image .hero__content {
        margin-left: 10%;
    }

    .feature-content,
    .video-content {
        flex-direction: column;
        gap: 40px;
    }
    .feature-content.image-right .feature-image,
    .feature-content.image-right .feature-text {
        order: initial;
    }
    .feature-text .section-title,
    .video-text .section-title {
        text-align: center;
    }
    .feature-text .section-title::after,
    .video-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .text-on-bg-section .container {
        justify-content: center;
    }
    .text-bubble {
        margin: 0 15px;
    }
}
@media (max-width: 768px) {
    .first-section { margin-top: -50px; padding-top: 80px; }
    #programa-antibullying-main .hero--full-image { 
        border-bottom-left-radius: 40px; 
        border-bottom-right-radius: 40px; 
    }

    /* Em telas pequenas, o conteúdo do hero volta a ser centralizado */
    #programa-antibullying-main .hero--full-image .hero__content {
        max-width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-section,
    .text-on-bg-section,
    .awareness-section,
    .how-it-works-section,
    .video-section {
        padding: 60px 0;
    }
}