/* ================================================= */
/* PROGRAMAS PEDAGÓGICOS — Estilos específicos       */
/* ================================================= */


/* ================================================= */
/* 1. BANNER PRINCIPAL                               */
/* ================================================= */

.hero.pp-hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 36vw, 580px) !important;
    min-height: clamp(420px, 36vw, 580px) !important;
    max-height: clamp(420px, 36vw, 580px) !important;
    padding: 0;
    overflow: hidden;
    background-color: #FFA51F !important;
    background-image: none !important;
    display: flex;
    align-items: center;
}

.hero.pp-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Texto esquerda */
.pp-hero-text {
    position: absolute;
    left: clamp(5%, 8%, 12%);
    top: 50%;
    transform: translateY(-50%);
    max-width: clamp(320px, 42%, 590px);
    z-index: 10;
    text-align: left;
}

.pp-hero-text h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0;
}

.pp-highlight {
    color: #1f3dbb;
    display: block;
    font-size: clamp(1.2rem, 1.9vw, 2rem);
    font-weight: 700;
    margin-top: 6px;
}

.pp-hero-line {
    width: 100%;
    max-width: 460px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 14px 0 18px;
}

.pp-hero-text p {
    font-size: clamp(0.88rem, 1.05vw, 1.1rem);
    line-height: 1.65;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

/* Imagem direita */
.pp-hero-image {
    position: absolute;
    right: clamp(2%, 5%, 8%);
    bottom: 0;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pp-hero-image img {
    height: clamp(330px, 94%, 555px);
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
}

/* Círculos decorativos */
.pp-hero-circles {
    position: absolute;
    right: -2%;
    top: -10%;
    width: 55%;
    height: 120%;
    background-image: url('../assets/img/efeito.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    z-index: 3;
    pointer-events: none;
    opacity: 0.55;
}

/* Barra inferior — mesma aparência que .projetos-hero-bottom */
.pp-hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 2rem;
    overflow: hidden;
}

.pp-bottom-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 600;
    padding: 0 2.5rem;
}

.pp-bottom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pp-bottom-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
    stroke: #ffffff;
}

.pp-bottom-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}


/* ================================================= */
/* 3. APRESENTAÇÃO DOS PROGRAMAS                     */
/* ================================================= */

.pp-apresentacao {
    background-color: #ffffff;
    padding: 5rem 2rem;
}

.pp-apresentacao-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.pp-apresentacao-text {
    flex: 1;
    max-width: 540px;
}

.pp-apresentacao-text h2 {
    color: #FFA51F;
    font-size: clamp(1.5rem, 2.1vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pp-apresentacao-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 1rem;
}

.pp-apresentacao-text p:last-child {
    margin-bottom: 0;
}

.pp-apresentacao-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pp-apresentacao-image img {
    max-width: 100%;
    max-height: 380px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}


/* ================================================= */
/* 4. PRINCIPAIS ÁREAS                               */
/* ================================================= */

.pp-areas {
    background-color: #f5f7ff;
    padding: 5rem 2rem;
}

.pp-areas-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pp-areas-title {
    color: #1f3dbb;
    font-size: clamp(1.5rem, 2.1vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.pp-areas-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 3rem;
    font-weight: 400;
}

.pp-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.pp-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
    border-top: 3px solid transparent;
}

.pp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(31, 61, 187, 0.12);
    border-top-color: #FFA51F;
}

.pp-card-icon {
    width: 48px;
    height: 48px;
    background-color: #edf0ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: #1f3dbb;
    flex-shrink: 0;
}

.pp-card-icon svg {
    width: 24px;
    height: 24px;
}

.pp-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.pp-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
}


/* ================================================= */
/* 5. ORGANIZAÇÃO DOS PROGRAMAS                      */
/* ================================================= */

.pp-organizacao {
    background-color: #ffffff;
    padding: 5rem 2rem;
}

.pp-organizacao-container {
    max-width: 1100px;
    margin: 0 auto;
}

.pp-organizacao-title {
    color: #1f3dbb;
    font-size: clamp(1.5rem, 2.1vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
}

.pp-organizacao-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.pp-org-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #f5f7ff;
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
}

.pp-org-number {
    font-size: 2rem;
    font-weight: 800;
    color: #FFA51F;
    line-height: 1;
    flex-shrink: 0;
    min-width: 44px;
}

.pp-org-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
}

.pp-org-content p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
}


/* ================================================= */
/* 6. CHAMADA FINAL (CTA)                            */
/* ================================================= */

.pp-cta {
    background: linear-gradient(135deg, #0A1E86 0%, #1f3dbb 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.pp-cta-container {
    max-width: 860px;
    margin: 0 auto;
}

.pp-cta h2 {
    font-size: clamp(1.5rem, 2.3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.pp-cta p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
}

.pp-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pp-btn-primary {
    background: #FFA51F;
    color: #ffffff;
    padding: 0.8rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.25s ease, transform 0.2s ease;
    display: inline-block;
}

.pp-btn-primary:hover {
    background: #e8920d;
    transform: translateY(-2px);
    color: #ffffff;
}

.pp-btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 0.8rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.65);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    display: inline-block;
}

.pp-btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #ffffff;
}


/* ================================================= */
/* RESPONSIVIDADE                                    */
/* ================================================= */

@media (max-width: 1100px) {
    .hero.pp-hero {
        height: 600px !important;
        min-height: 600px !important;
        max-height: 600px !important;
        position: relative !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: block !important;
    }

    .pp-hero-text {
        position: absolute !important;
        left: 20px !important;
        right: 20px !important;
        top: 70px !important;
        transform: none !important;
        max-width: none !important;
        text-align: center !important;
        z-index: 10 !important;
    }

    .pp-hero-line {
        margin: 12px auto 16px !important;
    }

    .pp-hero-image {
        position: absolute !important;
        bottom: 72px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        height: 330px !important;
        width: 100% !important;
        max-width: 420px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        z-index: 4 !important;
    }

    .pp-hero-image img {
        height: 100% !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: bottom center !important;
    }

    .pp-hero-circles {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .pp-apresentacao-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .pp-apresentacao-text {
        max-width: 100%;
    }

    .pp-apresentacao-image {
        justify-content: center;
    }

    .pp-apresentacao-image img {
        max-height: 280px;
        width: 100%;
        max-width: 100%;
    }

    .pp-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-organizacao-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pp-hero-text h1 {
        font-size: 1.8rem !important;
    }

    .pp-highlight {
        font-size: 1.35rem !important;
    }

    .pp-hero-image {
        height: 280px !important;
        bottom: 72px !important;
    }

    .pp-bottom-divider {
        display: none !important;
    }

    .pp-bottom-item {
        padding: 0 0.6rem !important;
        font-size: 0.8rem !important;
    }

    .pp-apresentacao {
        padding: 3.5rem 1.5rem;
    }

    .pp-areas {
        padding: 3.5rem 1.5rem;
    }

    .pp-areas-grid {
        grid-template-columns: 1fr;
    }

    .pp-organizacao {
        padding: 3.5rem 1.5rem;
    }

    .pp-cta {
        padding: 3.5rem 1.5rem;
    }

    .pp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pp-btn-primary,
    .pp-btn-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}
