/**
 * CEI Católico Recanto dos Anjos - Estilos da Página de Formação da Equipe & Gestão
 * assets/css/formacao.css
 */

/* ==========================================================================
   Header & Breadcrumbs
   ========================================================================== */
.formacao-hero {
    background: linear-gradient(135deg, #eef6fc 0%, #ffffff 50%, #f3f8fd 100%);
    padding: 45px 0 35px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.formacao-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e0f0fa;
    color: #006fbe;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.formacao-hero-title {
    color: #24325d;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.formacao-hero-subtitle {
    color: #556270;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto;
}

/* ==========================================================================
   Section Title Utility
   ========================================================================== */
.formacao-section-header {
    max-width: 780px;
    margin: 0 auto 48px auto;
}

.formacao-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.formacao-pill-badge.badge-blue {
    background-color: #e0f0fa;
    color: #006fbe;
}

.formacao-pill-badge.badge-emerald {
    background-color: #e6f9f0;
    color: #0d9488;
}

.formacao-pill-badge.badge-purple {
    background-color: #f1edfd;
    color: #6366f1;
}

.formacao-pill-badge.badge-amber {
    background-color: #fef3c7;
    color: #d97706;
}

.formacao-section-title {
    color: #24325d;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
}

.formacao-section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 auto;
}

/* ==========================================================================
   Liderança e Direção (Executive Cards)
   ========================================================================== */
.section-directors {
    padding: 65px 0 75px 0;
    background: #ffffff;
}

.director-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px rgba(36, 50, 93, 0.07);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.director-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.director-card-pedagogica::before {
    background: linear-gradient(90deg, #006fbe, #38bdf8);
}

.director-card-admin::before {
    background: linear-gradient(90deg, #0d9488, #34d399);
}

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 111, 190, 0.14);
    border-color: #cbd5e1;
}

/* Avatar Styling */
.director-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px auto;
}

.director-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 111, 190, 0.16);
    border: 4px solid #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-card-pedagogica .director-avatar-circle {
    background: linear-gradient(135deg, #006fbe 0%, #0284c7 100%);
}

.director-card-admin .director-avatar-circle {
    background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-avatar-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    user-select: none;
}

.director-avatar-fallback .avatar-initials {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.director-avatar-fallback .avatar-role-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-top: 4px;
}

.director-badge-floating {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #006fbe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 1.15rem;
}

.director-card-admin .director-badge-floating {
    color: #0d9488;
}

.director-name {
    color: #1e293b;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.director-role {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.director-card-pedagogica .director-role {
    color: #006fbe;
}

.director-card-admin .director-role {
    color: #0d9488;
}

.director-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.director-card-pedagogica .director-tag {
    background-color: #f0f7fe;
    color: #0284c7;
}

.director-card-admin .director-tag {
    background-color: #f0fdf9;
    color: #059669;
}

.director-desc {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 24px;
    text-align: left;
}

.director-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.director-responsibilities li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.director-responsibilities li i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.director-card-pedagogica .director-responsibilities li i {
    color: #006fbe;
}

.director-card-admin .director-responsibilities li i {
    color: #0d9488;
}

/* ==========================================================================
   Pilares Pedagógicos & Formação Continuada
   ========================================================================== */
.section-pillars {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef5fc 100%);
}

.pillar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 8px 24px rgba(36, 50, 93, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 111, 190, 0.12);
    border-color: #b9e0f7;
}

.pillar-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.08);
}

.icon-blue {
    background: #e0f0fa;
    color: #006fbe;
}

.icon-rose {
    background: #fee2e2;
    color: #e11d48;
}

.icon-amber {
    background: #fef3c7;
    color: #d97706;
}

.icon-emerald {
    background: #e6f9f0;
    color: #059669;
}

.pillar-title {
    color: #24325d;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar-text {
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Corpo Docente & Especialistas
   ========================================================================== */
.section-teachers {
    padding: 70px 0;
    background: #ffffff;
}

.teacher-category-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.teacher-category-card:hover {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(36, 50, 93, 0.08);
    border-color: #cbd5e1;
}

.teacher-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.teacher-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #006fbe;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.teacher-cat-icon.emerald {
    background: #0d9488;
}

.teacher-cat-icon.purple {
    background: #6366f1;
}

.teacher-cat-title {
    color: #24325d;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.teacher-cat-desc {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.teacher-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.teacher-points-list li {
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.teacher-points-list li i {
    color: #006fbe;
    font-size: 1.05rem;
}

/* Atividades Complementares Grid */
.activities-subgrid {
    margin-top: 40px;
}

.activity-mini-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(36, 50, 93, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.activity-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 111, 190, 0.1);
    border-color: #bae6fd;
}

.activity-mini-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
}

.activity-mini-card h5 {
    color: #24325d;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.activity-mini-card p {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   Nutrição, Saúde & Zeladoria
   ========================================================================== */
.section-support {
    padding: 70px 0;
    background: linear-gradient(180deg, #f1f8fc 0%, #ffffff 100%);
}

.support-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 38px 32px;
    box-shadow: 0 10px 30px rgba(36, 50, 93, 0.06);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 111, 190, 0.1);
}

.support-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.support-title {
    color: #24325d;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.support-text {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

/* ==========================================================================
   Diferenciais & Números do CEI
   ========================================================================== */
.section-differentials {
    padding: 60px 0;
    background: #24325d;
    color: #ffffff;
    position: relative;
}

.diff-box {
    text-align: center;
    padding: 20px 15px;
}

.diff-icon {
    font-size: 2.2rem;
    color: #38bdf8;
    margin-bottom: 12px;
}

.diff-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.diff-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   CTA Final (Agendamento / Visita)
   ========================================================================== */
.section-cta {
    padding: 75px 0;
    background: #ffffff;
}

.cta-banner {
    background: linear-gradient(135deg, #006fbe 0%, #1e40af 100%);
    border-radius: 28px;
    padding: 55px 40px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 111, 190, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    top: -60px;
    right: -60px;
    pointer-events: none;
}

.cta-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: #e0f2fe;
    max-width: 680px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px 34px;
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-whatsapp:hover {
    background-color: #1eb857;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-contact:hover {
    background-color: #ffffff;
    color: #006fbe !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   Nossos Diferenciais (Cards Baseados no Panfleto Institucional)
   ========================================================================== */
.section-flyer-differentials {
    padding: 70px 0;
    background: #ffffff;
}

.diff-flyer-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(36, 50, 93, 0.05);
    height: 100%;
    transition: all 0.35s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.diff-flyer-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 111, 190, 0.12);
}

.diff-flyer-card.card-turmas { border-top: 5px solid #f59e0b; }
.diff-flyer-card.card-valores { border-top: 5px solid #ef4444; }
.diff-flyer-card.card-espaco { border-top: 5px solid #0284c7; }
.diff-flyer-card.card-equipe { border-top: 5px solid #10b981; }

.diff-flyer-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
}

.card-turmas .diff-flyer-icon-box { background: #fef3c7; color: #d97706; }
.card-valores .diff-flyer-icon-box { background: #fee2e2; color: #dc2626; }
.card-espaco .diff-flyer-icon-box { background: #e0f2fe; color: #0284c7; }
.card-equipe .diff-flyer-icon-box { background: #d1fae5; color: #059669; }

.diff-flyer-title {
    color: #24325d;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.35;
}

.diff-flyer-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Quote Banner */
.motto-banner {
    background: linear-gradient(135deg, #006fbe 0%, #0369a1 100%);
    border-radius: 20px;
    padding: 24px 30px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 111, 190, 0.2);
    margin-top: 40px;
}

.motto-banner p {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.55rem;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 991.98px) {
    .formacao-hero-title {
        font-size: 2rem;
    }
    .formacao-section-title {
        font-size: 1.8rem;
    }
    .cta-banner {
        padding: 40px 24px;
    }
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .director-card {
        padding: 30px 20px;
    }
    .director-name {
        font-size: 1.35rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .btn-cta-whatsapp, .btn-cta-contact {
        width: 100%;
        justify-content: center;
    }
}
