/* ═══════════════════════════════════════════════
   À PROPOS — Noun Qalam
   ═══════════════════════════════════════════════ */

.about {
    width: 95%;
    max-width: 820px;
    margin: 40px auto 60px auto;
    color: var(--color-secondary);
}

/* ── Ligne décorative orientale ── */
.about-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
}

.about-ornament::before,
.about-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary-hard), transparent);
}

.about-ornament span {
    font-family: var(--font-arabic);
    font-size: 1.6rem;
    color: var(--color-primary-hard);
    line-height: 1;
}

/* ── Hero / Titre principal ── */
.about-hero {
    text-align: center;
    padding: 20px 0 10px 0;
}

.about-hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--color-secondary);
    line-height: 1.1;
    margin-bottom: 10px;
}

.about-hero .about-subtitle {
    font-family: var(--font-arabic);
    font-size: 2.4rem;
    color: var(--color-primary-hard);
    display: block;
    margin-bottom: 20px;
}

.about-hero p {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* ── Sections contenu ── */
.about-section {
    margin-top: 10px;
}

.about-section-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
}

.about-section-title h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-secondary);
    white-space: nowrap;
}

.about-section-title .title-arabic {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--color-primary-hard);
}

.about-section p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ── Carte Zohra ── */
.about-card-zohra {
    background-color: var(--color-primary-light);
    border-radius: 15px;
    padding: 30px 30px 20px 30px;
    position: relative;
    overflow: hidden;
}

.about-card-zohra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hard), var(--color-primary));
}

/* ── Galerie photos Zohra ── */
.about-gallery-zohra {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0 10px 0;
    flex-wrap: wrap;
}

.about-photo {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 16px rgba(155, 103, 75, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-photo:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(155, 103, 75, 0.3);
}

.about-photo-lg {
    width: 180px;
    height: 180px;
}

.about-photo-md {
    width: 140px;
    height: 140px;
}

.about-photo-sm {
    width: 120px;
    height: 120px;
}

/* ── Galerie événements Zohra ── */
.about-gallery-events {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.info-ia {
    font-size: 10px !important;
    text-align: center;
    margin-top: 5px;
}

.about-event-photo {
    width: calc(33.33% - 10px);
    max-width: 250px;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 3px 12px rgba(155, 103, 75, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-event-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(155, 103, 75, 0.25);
}

/* ── Carte Karim ── */
.about-card-karim {
    background-color: var(--color-primary-very-light);
    border: 1px solid var(--color-primary);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.about-card-karim .about-text {
    flex: 1;
}

.about-photo-karim {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 16px rgba(155, 103, 75, 0.15);
    flex-shrink: 0;
}

/* ── Liste missions Karim ── */
.about-missions {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.about-missions li {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    padding: 6px 0 6px 28px;
    position: relative;
}

.about-missions li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-primary-hard);
    font-size: 0.7rem;
    top: 10px;
}

/* ── Section conclusion / héritage ── */
.about-closing {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-very-light));
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 10px;
    border: 1px solid var(--color-primary);
}

.about-closing p {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

.about-closing .closing-signature {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    color: var(--color-primary-hard);
    margin-top: 16px;
    display: block;
}

/* ── Citation ── */
.about-quote {
    font-style: italic;
    text-align: center;
    padding: 20px 30px;
    position: relative;
    margin: 8px 0 20px 0;
}

.about-quote p {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-primary-hard);
    margin-bottom: 0;
}

.about-quote::before {
    content: '\201C';
    font-family: var(--font-secondary);
    font-size: 4rem;
    color: var(--color-primary);
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {

    .about {
        margin: 25px auto 40px auto;
    }

    .about-hero h1 {
        font-size: 2.8rem;
    }

    .about-hero .about-subtitle {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1.05rem;
    }

    .about-section-title h2 {
        font-size: 2.5rem;
    }

    .about-card-zohra {
        padding: 20px;
    }

    .about-gallery-zohra {
        gap: 14px;
    }

    .about-photo-lg {
        width: 140px;
        height: 140px;
    }

    .about-photo-md {
        width: 110px;
        height: 110px;
    }

    .about-photo-sm {
        width: 90px;
        height: 90px;
    }

    .about-event-photo {
        width: calc(50% - 8px);
        height: 140px;
    }

    .about-card-karim {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .about-photo-karim {
        width: 160px;
        height: 160px;
    }

    .about-missions li {
        text-align: left;
    }

    .about-closing {
        padding: 20px;
    }

    .about-ornament {
        margin: 30px 0;
    }
}

@media (max-width: 480px) {

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero .about-subtitle {
        font-size: 1.6rem;
    }

    .about-section-title {
        flex-direction: column;
        gap: 4px;
    }

    .about-section-title h2 {
        font-size: 2.2rem;
    }

    .about-gallery-zohra {
        gap: 10px;
    }

    .about-photo-lg {
        width: 110px;
        height: 110px;
    }

    .about-photo-md {
        width: 90px;
        height: 90px;
    }

    .about-photo-sm {
        width: 75px;
        height: 75px;
    }

    .about-photo-karim {
        width: 130px;
        height: 130px;
    }

    .about-event-photo {
        width: 100%;
        max-width: none;
        height: 180px;
    }

    .about-quote::before {
        font-size: 3rem;
        left: 0;
    }

    .about-quote {
        padding: 16px 20px;
    }
}
