/* ========== HERO SECTION ========== */
.apropos-hero {
    position: relative;
    height: 430px;
    background-image: url("../imgs/apropos/bg-propos.png");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-weight: 700;
    color: #FF9500;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-content p {
    max-width: 600px;
    margin: 10px auto 0;
    color: #e0e0e0;
    font-size: 1.2rem;
}

/* ========== ANIMATIONS ========== */
.fade-up {
    animation: fadeUp 2s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ROOT VARIABLES ========== */
:root {
    --primary-color: #225378;
    --warning-color: #FF9500;
    --success-color: #00BC65;
    --danger-color: #FF6881;
    --info-color: #1B75E8;
    --light-bg: #f8f9fb;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========== TYPOGRAPHY & GLOBAL STYLES ========== */
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========== BADGES ========== */
.badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-badge {
    background-color: #E9E2FF;
    color: #704FE6;
}

.mission-badge {
    background-color: #FFE5E5;
    color: #FF6881;
}

.vision-badge {
    background-color: #E0F3FF;
    color: #1B75E8;
}

.story-badge {
    background-color: #E8F5E9;
    color: #00BC65;
}

.values-badge {
    background-color: #FFF3E0;
    color: #F2A700;
}

/* ========== INTRO SECTION ========== */
.intro-section {
    padding: 80px 20px;
}

.intro-content h2 {
    color: var(--primary-color);
}

.image-placeholder1 {
    width: 100%;
    height: 400px;
    background-image: url("../imgs/apropos/img-propos1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .image-placeholder1 {
        height: 350px;
    }
}

/* ========== MISSION SECTION ========== */
.mission-section {
    padding: 80px 20px;
}

.mission-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--danger-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-card h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mission-icon {
    font-size: 2rem;
    color: var(--danger-color);
}

.mission-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mission-list i {
    color: var(--success-color);
    font-size: 1.3rem;
}

/* ========== VISION SECTION ========== */
.vision-section {
    padding: 80px 20px;
}

.vision-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vision-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.vision-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.vision-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== STORY SECTION ========== */
.story-section {
    padding: 80px 20px;
}

.story-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.timeline-item {
    padding-left: 2rem;
    border-left: 3px solid var(--success-color);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--success-color);
    border: 3px solid var(--light-bg);
}

.timeline-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-title i {
    color: var(--success-color);
    font-size: 1.3rem;
}

.timeline-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== VALUES SECTION ========== */
.values-section {
    padding: 80px 20px;
}

.value-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--warning-color);
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3f57 100%);
    color: var(--white);
    border-radius: 16px;
    margin: 0 20px;
}

.cta-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
}

.cta-subtitle {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.cta-section .btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    transition: all 0.3s ease;
}

.cta-section .btn-warning:hover {
    background-color: #FF8500;
    border-color: #FF8500;
    transform: scale(1.05);
}

/* ========== IMAGE WRAPPER ========== */
.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .story-content h3 {
        font-size: 1.6rem;
    }

    .vision-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    .intro-section,
    .mission-section,
    .vision-section,
    .story-section,
    .values-section,
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section {
        margin: 0 10px;
        border-radius: 12px;
    }

    .mission-card {
        padding: 2rem !important;
        min-height: auto;
    }

    .value-card {
        padding: 1.8rem;
    }

    .value-number {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .vision-card,
    .value-card {
        text-align: left;
    }

    .vision-icon {
        margin: 0 0 1rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}


@media (max-width: 767.98px) {
    /* --- 1. SECTION INTRODUCTION --- */
    .intro-section {
        text-align: center;
    }
    
    .intro-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre le badge et le bouton */
    }

    /* --- 2. SECTION MISSION --- */
    .mission-card {
        text-align: center;
        padding: 30px 20px !important; /* Réduit le padding sur mobile */
    }

    .mission-list {
        display: inline-block; /* Permet au bloc de liste d'être centré */
        text-align: left;     /* Garde le texte des puces aligné à gauche pour la lisibilité */
        padding-left: 0;
        list-style: none;
    }

    .mission-list li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    /* --- 3. SECTION VISION --- */
    .vision-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .vision-icon {
        margin: 0 auto 20px auto; /* Centre l'icône */
    }

    /* --- 4. SECTION VALEURS --- */
    .value-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px !important;
    }

    .value-number {
        margin: 0 auto 15px auto; /* Centre le numéro 01, 02... */
    }

    /* Ajustement global des titres sur mobile */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}