/**
 * CEI Católico Recanto dos Anjos - Estilos da Página Quem Somos / Nossa História
 * assets/css/quemsomos.css
 */

/* ==========================================================================
   Hero & Header
   ========================================================================== */
.about-hero {
    background: linear-gradient(135deg, #eef6fc 0%, #ffffff 50%, #fef9ee 100%);
    padding: 45px 0 35px 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.about-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e0f0fa;
    color: #006fbe;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
}

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

.about-hero-subtitle {
    color: #556270;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto;
}

.about-hero-quote {
    font-family: 'Patrick Hand', cursive;
    color: #006fbe;
    font-size: 1.55rem;
    margin-top: 15px;
    font-weight: 700;
}

/* ==========================================================================
   Seção História do CEI
   ========================================================================== */
.section-story {
    padding: 70px 0;
    background: #ffffff;
}

.story-badge-accent {
    display: inline-block;
    background-color: #fef3c7;
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.story-title {
    color: #24325d;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.story-lead {
    color: #006fbe;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 18px;
}

.story-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.story-callout {
    background: #f8fafc;
    border-left: 4px solid #006fbe;
    border-radius: 0 16px 16px 0;
    padding: 16px 20px;
    margin-top: 24px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.story-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(36, 50, 93, 0.12);
    border: 4px solid #ffffff;
}

.story-image-card img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.story-image-card:hover img {
    transform: scale(1.03);
}

.story-floating-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-floating-tag i {
    font-size: 1.8rem;
    color: #006fbe;
    flex-shrink: 0;
}

.story-floating-tag-text h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #24325d;
    margin-bottom: 2px;
}

.story-floating-tag-text p {
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Seção Missão, Visão e Valores (Grid Simétrico)
   ========================================================================== */
.section-mvv {
    padding: 75px 0 85px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef5fc 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-header-centered {
    max-width: 780px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.section-header-centered h2 {
    color: #24325d;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-header-centered p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.mvv-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(36, 50, 93, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

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

.mvv-card-media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.mvv-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mvv-card:hover .mvv-card-media img {
    transform: scale(1.06);
}

.mvv-card-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.tag-missao { color: #0284c7; }
.tag-visao { color: #d97706; }
.tag-valores { color: #e11d48; }

.mvv-card-body {
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mvv-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.mvv-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-missao { background: #e0f2fe; color: #0284c7; }
.icon-visao { background: #fef3c7; color: #d97706; }
.icon-valores { background: #ffe4e6; color: #e11d48; }

.mvv-card-title {
    color: #24325d;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0;
}

.mvv-card-text {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.mvv-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mvv-values-list li {
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.mvv-values-list li:last-child {
    margin-bottom: 0;
}

.mvv-values-list li i {
    font-size: 1.15rem;
    color: #e11d48;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   Valores em Detalhes (5 Pilares de Amor e Fé)
   ========================================================================== */
.section-values-detail {
    padding: 70px 0;
    background: #ffffff;
}

.value-box-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 20px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-box-card:hover {
    background: #ffffff;
    border-color: #006fbe;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 111, 190, 0.1);
}

.value-box-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
    background: #e0f0fa;
    color: #006fbe;
}

.value-box-card:nth-child(1) .value-box-icon { background: #fee2e2; color: #ef4444; }
.value-box-card:nth-child(2) .value-box-icon { background: #e0f2fe; color: #0284c7; }
.value-box-card:nth-child(3) .value-box-icon { background: #dcfce7; color: #16a34a; }
.value-box-card:nth-child(4) .value-box-icon { background: #fef3c7; color: #d97706; }
.value-box-card:nth-child(5) .value-box-icon { background: #f3e8ff; color: #9333ea; }

.value-box-title {
    color: #24325d;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.value-box-text {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ==========================================================================
   Banner de Citação Oficial do Panfleto
   ========================================================================== */
.section-about-quote {
    padding: 42px 0;
    background: linear-gradient(135deg, #006fbe 0%, #1d4ed8 100%);
    color: #ffffff;
    text-align: center;
}

.about-quote-text {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.1rem;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.about-quote-sub {
    font-size: 1.15rem;
    color: #e0f2fe;
    margin-top: 8px;
    font-weight: 600;
}

/* ==========================================================================
   CTA Final
   ========================================================================== */
.section-about-cta {
    padding: 70px 0;
    background: #f8fafc;
}

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

.about-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

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

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

.btn-about-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-about-whatsapp:hover {
    background-color: #1eb857;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-about-visit {
    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-about-visit:hover {
    background-color: #ffffff;
    color: #006fbe !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsividade para Celulares
   ========================================================================== */
@media (max-width: 991.98px) {
    .about-hero-title { font-size: 1.95rem; }
    .story-title { font-size: 1.8rem; }
    .story-image-card { margin-top: 30px; }
    .story-image-card img { min-height: 280px; max-height: 360px; }
    .section-story, .section-mvv, .section-values-detail, .section-about-cta {
        padding: 50px 0;
    }
}

@media (max-width: 575.98px) {
    .about-hero-title { font-size: 1.65rem; }
    .about-hero-subtitle { font-size: 0.98rem; }
    .story-title { font-size: 1.55rem; }
    .story-callout { font-size: 1.15rem; }
    .about-quote-text { font-size: 1.45rem; }
    .about-cta-title { font-size: 1.7rem; }
    .about-cta-buttons { flex-direction: column; }
    .btn-about-whatsapp, .btn-about-visit { width: 100%; justify-content: center; }
    .story-floating-tag {
        position: static;
        margin-top: 14px;
        border-radius: 12px;
    }
}
