/* =========================================================
   FONDS - PAGE DETAIL
   Design institutionnel / élégant
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --fond-green: #168043;
    --fond-green-dark: #106b38;
    --fond-green-light: #2c9b5d;

    --fond-orange: #f79400;
    --fond-orange-dark: #e57f00;
    --fond-orange-light: #ffab32;

    --fond-red: #c90000;
    --fond-red-dark: #a90000;

    --fond-text: #222222;
    --fond-text-dark: #111111;

    --fond-muted: #66717c;
    --fond-muted-light: #7b858e;

    --fond-border: #dedede;
    --fond-border-light: #eeeeee;

    --fond-bg: #ffffff;
    --fond-bg-light: #fafafa;

}


/* =========================================================
   RESET LOCAL
========================================================= */

.fond-page *,
.fond-page *::before,
.fond-page *::after {

    box-sizing: border-box;

}


/* =========================================================
   PAGE PRINCIPALE
========================================================= */

.fond-page {

    width: 100%;

    padding: 45px 25px 80px;

    background: var(--fond-bg);

    color: var(--fond-text);

    font-family:
        "Inter",
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.6;

}


/* =========================================================
   CONTENEUR PRINCIPAL
========================================================= */

.fond-page-container {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

}


/* =========================================================
   INFORMATIONS DU FONDS
========================================================= */

.fond-meta {

    width: 100%;

    max-width: 800px;

    margin: 0 auto 65px;

}


/* Ligne */

.fond-meta-row {

    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 9px 18px;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 15px;

    line-height: 1.4;

}


/* Texte gauche */

.fond-meta-row span {

    font-weight: 500;

}


/* Valeur */

.fond-meta-row strong {

    font-weight: 700;

    font-size: 15px;

    text-align: right;

}


/* Vert */

.fond-meta-row.green {

    background: var(--fond-green);

}


/* Orange */

.fond-meta-row.orange {

    background: var(--fond-orange);

}


/* =========================================================
   PRÉSENTATION DU FONDS
========================================================= */

.fond-presentation {

    width: 100%;

    max-width: 875px;

    margin: 0 auto 55px;

}


/* =========================================================
   PREMIÈRE PARTIE
========================================================= */

.fond-presentation-intro {

    width: 100%;

    margin-bottom: 43px;

}


/* =========================================================
   TITRE PRINCIPAL
========================================================= */

.fond-presentation-title {

    margin: 0 0 20px;

    color: var(--fond-text-dark);

    font-size: 30px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: -0.5px;

    text-align: center;

}


/* =========================================================
   TEXTE
========================================================= */

.fond-presentation-text {

    margin: 0;

    color: var(--fond-muted);

    font-size: 17px;

    line-height: 1.75;

    font-weight: 400;

}


/* =========================================================
   SECTION POUR QUI
========================================================= */

.fond-presentation-audience {

    width: 100%;

    margin-bottom: 50px;

}


/* =========================================================
   SOUS-TITRE ORANGE
========================================================= */

.fond-presentation-subtitle {

    margin: 0 0 20px;

    color: var(--fond-orange);

    font-size: 25px;

    line-height: 1.35;

    font-weight: 500;

    letter-spacing: -0.2px;

}


/* =========================================================
   PROFIL DE RISQUE
========================================================= */

.fond-risk-profile {

    width: 100%;

    max-width: 875px;

    margin: 0 auto;

}


/* =========================================================
   TITRE PROFIL
========================================================= */

.fond-risk-title {

    margin: 0 0 25px;

    color: var(--fond-text-dark);

    font-size: 25px;

    line-height: 1.35;

    font-weight: 700;

    letter-spacing: -0.3px;

}


/* =========================================================
   GRAPHIQUE
========================================================= */

.fond-graphe-image {

    width: 100%;

    margin: 0;

    text-align: left;

}


/* Image */

.fond-graphe-image img {

    display: block;

    width: auto;

    max-width: 100%;

    height: auto;

    margin: 0;

    object-fit: contain;

}


/* =========================================================
   DESCRIPTION DU GRAPHIQUE
========================================================= */

.fond-graphe-description {

    max-width: 875px;

    margin: 20px 0 0;

    color: var(--fond-muted);

    font-size: 16px;

    line-height: 1.6;

    font-weight: 400;

    text-align: left;

}


/* =========================================================
   ANCIENNES SECTIONS
   Conservées pour compatibilité avec d'autres contenus
========================================================= */


/* =========================================================
   ARTICLE
========================================================= */

.fond-dynamique {

    width: 100%;

}


/* =========================================================
   INTRODUCTION
========================================================= */

.fond-intro {

    width: 100%;

    max-width: 800px;

    margin: 0 auto 65px;

    padding: 40px 50px 35px;

    text-align: center;

    background: var(--fond-bg);

    border: 1px solid var(--fond-border);

}


.fond-intro h1 {

    margin: 0 0 15px;

    color: var(--fond-text-dark);

    font-size: 28px;

    line-height: 1.3;

    font-weight: 700;

}


.fond-intro h2 {

    margin: 0 0 28px;

    color: var(--fond-green);

    font-size: 19px;

    line-height: 1.4;

    font-weight: 600;

}


.fond-intro-image {

    width: 100%;

    margin: 25px auto 30px;

    text-align: center;

}


.fond-intro-image img {

    display: block;

    width: auto;

    max-width: 100%;

    max-height: 280px;

    margin: 0 auto;

    object-fit: contain;

}


.fond-intro-text {

    max-width: 680px;

    margin: 25px auto 0;

    color: var(--fond-muted);

    font-size: 16px;

    line-height: 1.8;

}


/* =========================================================
   CARTES
========================================================= */

.fond-three-cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin: 35px 0 60px;

}


.info-card {

    min-height: 210px;

    padding: 25px;

    border: 1px solid var(--fond-border);

    background: var(--fond-bg);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.info-card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.06);

}


.info-card-title {

    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom: 3px solid var(--fond-green);

    color: var(--fond-text-dark);

    font-size: 17px;

    line-height: 1.4;

    font-weight: 700;

    text-align: center;

}


.info-card-content {

    color: var(--fond-muted);

    font-size: 15px;

    line-height: 1.75;

}


.info-card-content strong {

    display: block;

    margin-bottom: 10px;

    color: var(--fond-text-dark);

    font-size: 16px;

    line-height: 1.5;

}


.info-card-content p {

    margin: 0;

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================================
   POURQUOI CHOISIR
========================================================= */

.fond-why {

    width: 100%;

    max-width: 800px;

    margin: 0 auto 60px;

}


.why-content {

    padding: 30px 40px;

    background: var(--fond-bg-light);

    border: 1px solid var(--fond-border);

    text-align: center;

}


.why-content h2 {

    margin: 0 0 15px;

    color: var(--fond-green);

    font-size: 19px;

    line-height: 1.5;

    font-weight: 700;

}


.why-content p {

    margin: 0;

    color: var(--fond-muted);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   DOCUMENTATION
========================================================= */

.fond-documents {

    width: 100%;

    max-width: 800px;

    margin: 0 auto;

}


.documents-box {

    padding: 35px 40px;

    border: 1px solid var(--fond-border);

    background: var(--fond-bg);

    text-align: center;

}


.documents-box h2 {

    margin: 0 0 12px;

    color: var(--fond-text-dark);

    font-size: 20px;

    line-height: 1.4;

    font-weight: 700;

}


.documents-box p {

    max-width: 650px;

    margin: 0 auto 25px;

    color: var(--fond-muted);

    font-size: 15px;

    line-height: 1.7;

}


.documents-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


.document-button {

    min-width: 210px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 13px 18px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.document-button span {

    font-size: 19px;

    line-height: 1;

}


.green-button {

    background: var(--fond-green);

}


.green-button:hover {

    background: var(--fond-green-dark);

    transform: translateY(-1px);

}


.orange-button {

    background: var(--fond-orange);

}


.orange-button:hover {

    background: var(--fond-orange-dark);

    transform: translateY(-1px);

}


/* =========================================================
   AUCUNE DONNÉE
========================================================= */

.fond-no-data {

    max-width: 750px;

    margin: 80px auto;

    padding: 65px 35px;

    border: 1px solid var(--fond-border);

    text-align: center;

}


.no-data-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: var(--fond-green);

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

}


.fond-no-data h2 {

    margin: 0 0 12px;

    color: var(--fond-text-dark);

    font-size: 22px;

    line-height: 1.4;

}


.fond-no-data p {

    margin: 0;

    color: var(--fond-muted);

    font-size: 16px;

    line-height: 1.7;

}

/* =========================================================
   PARTIE BASSE DU FONDS
========================================================= */

.fond-documents {
    width: 100%;
    max-width: 1200px;
    margin: 70px auto;
    padding: 50px 55px;

    background: #ffffff;
    border-radius: 20px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.06);

    border: 1px solid rgba(0, 0, 0, 0.05);
}


/* =========================================================
   TITRE
========================================================= */

.fond-documents h2 {
    margin: 0;

    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;

    color: #173b2d;

    position: relative;

    padding-left: 20px;
}


/* Petite barre verte devant le titre */

.fond-documents h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;

    width: 5px;
    height: calc(100% - 8px);

    background: #198754;

    border-radius: 5px;
}


/* =========================================================
   CONTENU
========================================================= */

.fond-bas-content {
    display: flex;
    flex-direction: column;

    gap: 18px;

    margin-top: 30px;
}


/* =========================================================
   CHAQUE ÉLÉMENT
========================================================= */

.fond-bas-item {
    display: flex;

    align-items: center;

    gap: 15px;

    width: 100%;
}


/* =========================================================
   PUCE
========================================================= */

.fond-bas-bullet {
    flex: 0 0 12px;

    width: 12px;
    height: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #198754;

    font-size: 30px;
    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   TEXTE
========================================================= */

.fond-bas-text {
    flex: 1;

    font-size: 17px;
    line-height: 1.75;

    color: #4b5563;
}


/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 768px) {

    .fond-documents {
        margin: 50px 20px;
        padding: 35px 30px;

        border-radius: 16px;
    }


    .fond-documents h2 {
        font-size: 27px;
    }


    .fond-bas-content {
        gap: 16px;

        margin-top: 25px;
    }


    .fond-bas-item {
        gap: 12px;

        align-items: flex-start;
    }


    .fond-bas-bullet {
        flex: 0 0 10px;

        font-size: 25px;

        margin-top: 3px;
    }


    .fond-bas-text {
        font-size: 16px;

        line-height: 1.65;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 480px) {

    .fond-documents {
        margin: 35px 15px;
        padding: 28px 22px;

        border-radius: 14px;
    }


    .fond-documents h2 {
        font-size: 23px;

        padding-left: 15px;
    }


    .fond-documents h2::before {
        width: 4px;
    }


    .fond-bas-content {
        gap: 14px;

        margin-top: 22px;
    }


    .fond-bas-item {
        gap: 10px;
    }


    .fond-bas-bullet {
        flex: 0 0 9px;

        font-size: 22px;

        margin-top: 3px;
    }


    .fond-bas-text {
        font-size: 15px;

        line-height: 1.6;
    }

}

/* =========================================================
   RESPONSIVE - TABLETTE
========================================================= */

@media (max-width: 900px) {

    .fond-page {

        padding: 40px 20px 65px;

    }


    .fond-presentation,
    .fond-risk-profile {

        max-width: 100%;

    }


    .fond-presentation-title {

        font-size: 27px;

    }


    .fond-presentation-subtitle {

        font-size: 23px;

    }


    .fond-risk-title {

        font-size: 23px;

    }


    .fond-three-cards {

        grid-template-columns: 1fr;

    }


    .info-card {

        min-height: auto;

    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    .fond-page {

        padding: 30px 15px 50px;

        font-size: 15px;

    }


    /* =====================================================
       META
    ===================================================== */

    .fond-meta {

        margin-bottom: 45px;

    }


    .fond-meta-row {

        min-height: 40px;

        gap: 10px;

        padding: 8px 12px;

        font-size: 13px;

    }


    .fond-meta-row strong {

        font-size: 13px;

    }


    /* =====================================================
       PRESENTATION
    ===================================================== */

    .fond-presentation {

        margin-bottom: 42px;

    }


    .fond-presentation-intro {

        margin-bottom: 35px;

    }


    .fond-presentation-title {

        margin-bottom: 17px;

        font-size: 23px;

        line-height: 1.35;

        letter-spacing: -0.2px;

    }


    .fond-presentation-text {

        font-size: 15px;

        line-height: 1.7;

    }


    .fond-presentation-audience {

        margin-bottom: 38px;

    }


    .fond-presentation-subtitle {

        margin-bottom: 17px;

        font-size: 21px;

        line-height: 1.4;

    }


    /* =====================================================
       PROFIL
    ===================================================== */

    .fond-risk-title {

        margin-bottom: 18px;

        font-size: 21px;

        line-height: 1.4;

    }


    /* =====================================================
       GRAPHIQUE
    ===================================================== */

    .fond-graphe-image {

        width: 100%;

        overflow-x: auto;

        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

    }


    .fond-graphe-image img {

        width: 100%;

        max-width: 100%;

        height: auto;

    }


    .fond-graphe-description {

        margin-top: 17px;

        font-size: 14px;

        line-height: 1.6;

    }


    /* =====================================================
       CARTES
    ===================================================== */

    .fond-three-cards {

        gap: 14px;

        margin-bottom: 45px;

    }


    .info-card {

        padding: 20px;

    }


    .info-card-title {

        font-size: 16px;

    }


    .info-card-content {

        font-size: 14px;

    }


    .info-card-content strong {

        font-size: 15px;

    }


    .info-card-content p {

        font-size: 14px;

    }


    /* =====================================================
       POURQUOI
    ===================================================== */

    .why-content {

        padding: 25px 18px;

    }


    .why-content h2 {

        font-size: 17px;

    }


    .why-content p {

        font-size: 14px;

    }


    /* =====================================================
       DOCUMENTATION
    ===================================================== */

    .documents-box {

        padding: 28px 18px;

    }


    .documents-box h2 {

        font-size: 18px;

    }


    .documents-box p {

        font-size: 14px;

    }


    .documents-buttons {

        flex-direction: column;

    }


    .document-button {

        width: 100%;

        min-width: 0;

        font-size: 14px;

    }


    /* =====================================================
       AUCUNE DONNÉE
    ===================================================== */

    .fond-no-data {

        margin: 50px auto;

        padding: 45px 20px;

    }


    .fond-no-data h2 {

        font-size: 20px;

    }


    .fond-no-data p {

        font-size: 15px;

    }

}


/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 400px) {

    .fond-page {

        padding-left: 12px;

        padding-right: 12px;

    }


    .fond-presentation-title {

        font-size: 21px;

    }


    .fond-presentation-subtitle {

        font-size: 19px;

    }


    .fond-risk-title {

        font-size: 19px;

    }


    .fond-presentation-text {

        font-size: 14px;

    }


    .fond-meta-row {

        font-size: 12px;

    }


    .fond-meta-row strong {

        font-size: 12px;

    }

}


/* =========================================================
   ACCESSIBILITÉ
========================================================= */

.fond-page ::selection {

    background: var(--fond-green);

    color: #ffffff;

}


.fond-page a:focus-visible {

    outline: 3px solid var(--fond-orange);

    outline-offset: 3px;

}


@media (prefers-reduced-motion: reduce) {

    .info-card,
    .document-button {

        transition: none;

    }

}