

/* =========================================================
   RAPPORTS D'ACTIVITÉS ANNUELS — ARIDEL
========================================================= */

.rapports-page {
    padding-bottom: 90px;
}

.rapports-page a {
    text-decoration: none;
}


/* =========================================================
   HERO
========================================================= */

.rapports-hero {
    position: relative;

    min-height: 330px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #041c32 0%,
            #056b3d 55%,
            #087f49 100%
        );
}

.rapports-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(247,127,0,.18),
            transparent 25%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(255,255,255,.06),
            transparent 30%
        );
}

.rapports-hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -170px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    box-shadow:
        0 0 0 45px rgba(255,255,255,.025),
        0 0 0 90px rgba(255,255,255,.018),
        0 0 0 135px rgba(255,255,255,.012);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.rapports-hero-content {
    position: relative;

    z-index: 2;

    padding: 80px 0 100px;
}

.rapports-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: #f77f00;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .13em;
}

.rapports-eyebrow i {
    font-size: 16px;
}

.rapports-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(35px, 5vw, 58px);

    line-height: 1.08;

    font-weight: 850;

    letter-spacing: -.8px;
}

.rapports-hero p {
    max-width: 680px;

    margin: 18px 0 0;

    color: rgba(255,255,255,.78);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.rapports-breadcrumb {
      display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;
}

.rapports-breadcrumb a {
    color: #fff;

    text-decoration: none;

    transition: .2s ease;
}

.rapports-breadcrumb a:hover {
      color: #f77f00;
}

.rapports-breadcrumb span {
   color: rgba(255,255,255,.45);
}

.rapports-breadcrumb strong {
   color: #f77f00;

    font-weight: 600;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.rapports-intro {
    margin: 25px auto 45px;

    max-width: 850px;

    text-align: center;
}

.rapports-intro-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #eaf8f0,
            #f5fbf7
        );

    color: #087f49;

    font-size: 27px;

    box-shadow:
        0 8px 25px rgba(8,127,73,.08);
}

.rapports-intro h2 {
    margin: 0 0 12px;

    color: #172b4d;

    font-size: 30px;

    font-weight: 850;
}

.rapports-intro p {
    margin: 0;

    color: #64748b;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   BARRE DE RECHERCHE
========================================================= */

.rapports-toolbar {
    margin-bottom: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    flex-wrap: wrap;
}

.rapports-search {
    position: relative;

    width: min(100%, 480px);
}

.rapports-search i {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    pointer-events: none;
}

.rapports-search input {
    width: 100%;

    height: 48px;

    padding: 12px 45px;

    border: 1px solid #dfe7e2;

    border-radius: 12px;

    background: #fff;

    color: #172b4d;

    font-size: 14px;

    outline: none;

    transition: .25s ease;
}

.rapports-search input:focus {
    border-color: #087f49;

    box-shadow:
        0 0 0 4px rgba(8,127,73,.09);
}

.rapports-result-count {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    border-radius: 10px;

    background: #eaf8f0;

    border: 1px solid #d4eddf;

    color: #056b3d;

    font-size: 12px;

    font-weight: 750;
}


/* =========================================================
   GRILLE RAPPORTS
========================================================= */

.rapports-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   CARTE RAPPORT
========================================================= */

.rapport-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 300px;

    background: #fff;

    border: 1px solid #e8eeeb;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(4,28,50,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.rapport-card:hover {
    transform: translateY(-7px);

    border-color: #cfe5d8;

    box-shadow:
        0 20px 45px rgba(4,28,50,.11);
}


/* =========================================================
   BANDE SUPÉRIEURE
========================================================= */

.rapport-card-top {
    position: relative;

    min-height: 115px;

    padding: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #056b3d,
            #087f49
        );
}

.rapport-card-top::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -45px;
    top: -65px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.13);

    box-shadow:
        0 0 0 25px rgba(255,255,255,.025);
}


/* =========================================================
   ANNÉE
========================================================= */

.rapport-year {
    position: relative;

    z-index: 2;

    color: #fff;

    font-size: 42px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -1px;
}

.rapport-year-label {
    position: relative;

    z-index: 2;

    display: block;

    margin-top: 7px;

    color: rgba(255,255,255,.72);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .13em;
}


/* =========================================================
   ICÔNE DOCUMENT
========================================================= */

.rapport-document-icon {
    position: relative;

    z-index: 2;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(255,255,255,.13);

    border: 1px solid rgba(255,255,255,.18);

    color: #fff;

    font-size: 24px;

    backdrop-filter: blur(10px);
}


/* =========================================================
   CORPS CARTE
========================================================= */

.rapport-card-body {
    flex: 1;

    padding: 25px;
}

.rapport-card-label {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 9px;

    color: #f77f00;

    font-size: 10px;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: .1em;
}

.rapport-card-title {
    margin: 0 0 14px;

    color: #172b4d;

    font-size: 18px;

    line-height: 1.4;

    font-weight: 800;
}

.rapport-card-meta {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #84908a;

    font-size: 12px;
}

.rapport-card-meta i {
    color: #087f49;
}


/* =========================================================
   FOOTER CARTE
========================================================= */

.rapport-card-footer {
    padding: 17px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    border-top: 1px solid #edf1ee;

    background: #fbfcfb;
}

.rapport-status {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #137a45;

    font-size: 11px;

    font-weight: 750;
}

.rapport-status::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #0a8f43;
}


/* =========================================================
   BOUTON
========================================================= */

.rapport-download {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 9px 14px;

    border-radius: 9px;

    background: #087f49;

    color: #fff;

    font-size: 12px;

    font-weight: 750;

    transition: .25s ease;
}

.rapport-download:hover {
    background: #056b3d;

    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(8,127,73,.20);
}


/* =========================================================
   RAPPORT SANS FICHIER
========================================================= */

.rapport-no-file {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 11px;

    border-radius: 9px;

    background: #f1f5f9;

    color: #64748b;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.rapports-empty {
    grid-column: 1 / -1;

    padding: 75px 25px;

    text-align: center;

    background: #fff;

    border: 1px solid #e8eeeb;

    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(4,28,50,.05);
}

.rapports-empty-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #eaf8f0;

    color: #087f49;

    font-size: 30px;
}

.rapports-empty h3 {
    margin: 0 0 8px;

    color: #172b4d;

    font-size: 20px;

    font-weight: 800;
}

.rapports-empty p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
}


/* =========================================================
   NO SEARCH RESULT
========================================================= */

#rapportNoResult {
    display: none;

    grid-column: 1 / -1;

    padding: 65px 20px;

    text-align: center;

    background: #fff;

    border: 1px solid #e8eeeb;

    border-radius: 20px;
}

#rapportNoResult i {
    display: block;

    margin-bottom: 15px;

    color: #cbd5e1;

    font-size: 42px;
}

#rapportNoResult h3 {
    margin-bottom: 7px;

    color: #344054;

    font-size: 18px;
}

#rapportNoResult p {
    margin: 0;

    color: #98a2b3;

    font-size: 13px;
}


/* =========================================================
   RETOUR EN HAUT
========================================================= */

#rapportTop {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: none;

    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #087f49;

    color: #fff;

    cursor: pointer;

    z-index: 999;

    box-shadow:
        0 8px 20px rgba(0,0,0,.20);

    transition: .2s ease;
}

#rapportTop:hover {
    background: #056b3d;

    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .rapports-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .rapports-hero {
        min-height: 270px;
    }

    .rapports-hero-content {
        padding: 65px 20px 80px;
    }

    .rapports-hero h1 {
        font-size: 34px;
    }

    .rapports-hero p {
        font-size: 14px;
    }

    .rapports-grid {
        grid-template-columns: 1fr;
    }

    .rapports-intro h2 {
        font-size: 25px;
    }

    .rapports-toolbar {
        align-items: stretch;
    }

    .rapports-search {
        width: 100%;
    }

    .rapports-result-count {
        align-self: flex-start;
    }

}


@media (max-width: 480px) {

    .rapport-card-top {
        padding: 21px;
    }

    .rapport-card-body {
        padding: 21px;
    }

    .rapport-card-footer {
        padding: 15px 21px;
    }

    .rapport-year {
        font-size: 36px;
    }

}

