/* Styles de affaires-academiques.php (extraits de la page, même ordre) */

     :root {

        --text-main: #1e293b;

        --card-w: 240px;
        --card-h: 320px;
        --gap: 30px;
        --speed: 40s;

        --glass: rgba(255, 255, 255, 0.15);

        --primary-color-echo: #1a1a1a;
        /* Orange vibrant pour l'Echo */
        --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

        --text-light: #6c757d;

        --news-ink: #1a1a1a;

        /* Rouge bordeaux pour le côté institutionnel */
        --news-border: #e1e1e1;
    }

    /* Hero Banner */
    .academic-hero {
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(0, 0, 136, 0.85)),
            url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920') center/cover;
        color: white;
        padding: 5rem 0 3rem;
        position: relative;
        overflow: hidden;
    }

    .academic-hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: -50%;
        width: 100%;
        height: 100%;
        background: var(--secondary-color);
        opacity: 0.1;
        transform: skewX(-15deg);
    }

    .breadcrumb-custom {
        background: rgba(255, 255, 255, 0.1);
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .breadcrumb-custom a {
        color: white;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .breadcrumb-custom a:hover {
        opacity: 1;
    }

    /* Director Section (même design que la section "À propos" de l'index) */
    .about .content h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--dark-color);
        font-weight: 700;
    }

    .about .content p {
        color: #6c757d;
        line-height: 1.6;
    }

    .director-eyebrow {
        display: inline-block;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--secondary-color);
        margin-bottom: 8px;
    }

    .stats-row {
        display: flex;
        gap: 1rem;
        margin: 1.5rem 0;
        flex-wrap: wrap;
    }

    .about .stat-item {
        background: var(--primary-color);
        border-radius: 8px;
        padding: 0.75rem 1rem;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
        flex: 1 1 140px;
        text-align: center;
    }

    .about .stat-item .number {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--secondary-color);
    }

    .about .stat-item .label {
        font-size: 0.9rem;
        color: var(--dark-color);
    }

    .image-wrapper {
        position: relative;
    }

    .image-wrapper .experience-badge {
        position: absolute;
        bottom: 12px;
        left: 12px;
        background: rgba(0, 0, 0, 0.65);
        color: var(--primary-color);
        padding: .5rem .75rem;
        border-radius: 8px;
        display: flex;
        gap: .5rem;
        align-items: center;
    }

    .experience-badge .years {
        font-weight: 800;
        font-size: 1.25rem;
    }

    .director-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 2px solid #f0f0f0;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #666;
    }

    .contact-item i {
        color: var(--secondary-color);
        font-size: 1.2rem;
    }

    /* Mission Section */
    .mission-section {
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        padding: 4rem 0;
    }

    .mission-card {
        background: white;
        border-radius: 20px;
        padding: 3rem;
        height: 100%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .mission-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: var(--secondary-color);
    }

    .mission-card h3 {
        color: var(--dark-color);
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mission-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--secondary-color), #d9a259);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: white;
    }

    /* Stats Section */
    .stats-section {
        /* background: linear-gradient(135deg, var(--secondary-color), #d9a259); */
        background-color: var(--dark-color);
        padding: 3rem 0;
        margin: 4rem 0;
    }

    .stat-box {
        text-align: center;
        color: white;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 700;
        display: block;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }

    .stat-label {
        font-size: 1.1rem;
        opacity: 0.95;
    }

    /* Services Grid */
    .service-card {
        background: white;
        border-radius: 15px;
        padding: 2.5rem;
        height: 100%;
        transition: all 0.3s;
        border: 2px solid #f0f0f0;
    }

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

    .service-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--secondary-color), #d9a259);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        margin-bottom: 1.5rem;
    }

    .service-title {
        color: var(--dark-color);
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .service-description {
        color: #666;
        line-height: 1.6;
    }

    /* Entity Cards */
    .entity-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        height: 100%;
    }

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

    .entity-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .entity-body {
        padding: 2rem;
    }

    .entity-badge {
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, var(--secondary-color), #d9a259);
        color: var(--dark-color);
    }

    .entity-name {
        color: var(--dark-color);
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .entity-description {
        color: #666;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .entity-info {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .entity-info i {
        color: var(--secondary-color);
    }

    /* Process Timeline */
    .process-timeline {
        position: relative;
        padding: 3rem 0;
    }

    .process-step {
        display: flex;
        gap: 2rem;
        margin-bottom: 3rem;
        position: relative;
    }

    .process-step::before {
        content: '';
        position: absolute;
        left: 40px;
        top: 80px;
        width: 2px;
        height: calc(100% + 3rem);
        background: #e0e0e0;
    }

    .process-step:last-child::before {
        display: none;
    }

    .process-number {
        width: 80px;
        height: 80px;
        /* background: linear-gradient(135deg, var(--secondary-color), #d9a259); */
        background-color: var(--green-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        font-weight: 700;
        color: white;
        flex-shrink: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    .process-content {
        flex: 1;
        background: white;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .process-title {
        color: var(--dark-color);
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .process-description {
        color: #666;
        line-height: 1.7;
    }

    /* Section Title */
    .section-title {
        text-align: center;
        margin-bottom: 3rem;
    }

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

    .section-title p {
        color: #666;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .section-title::after {
        content: '';
        width: 100px;
        height: 4px;
        background: var(--secondary-color);
        display: block;
        margin: 2rem auto 0;
        border-radius: 2px;
    }

    /* Portal Card */
    .portal-card {
        background: linear-gradient(135deg, var(--dark-color), #34495e);
        border-radius: 20px;
        padding: 3rem;
        color: white;
        text-align: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .portal-card h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .portal-card p {
        font-size: 1.1rem;
        opacity: 0.95;
        margin-bottom: 2rem;
    }

    .portal-features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .portal-feature {
        background: rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
        border-radius: 12px;
        transition: all 0.3s;
    }

    .portal-feature:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
    }

    .portal-feature i {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
    }

    /* Calendar Section */
    .calendar-card {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        color: white;
        border-radius: 15px;
        padding: 2.5rem;
        margin-top: 3rem;
    }

    .calendar-item {
        background: rgba(255, 255, 255, 0.1);
        border-left: 4px solid var(--secondary-color);
        padding: 1.5rem;
        border-radius: 10px;
        margin-bottom: 1rem;
        transition: all 0.3s;
    }

    .calendar-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(10px);
    }

    .calendar-period {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .calendar-dates {
        opacity: 0.9;
    }



    @media (max-width: 768px) {
        .about .content h3 {
            font-size: 1.5rem;
        }

        .stat-number {
            font-size: 2rem;
        }

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

        .mission-card {
            padding: 2rem;
        }

        .process-step {
            flex-direction: column;
            gap: 1rem;
        }

        .process-step::before {
            left: 40px;
            top: 80px;
        }
    }
