/* =========================================================
   ACCUEIL - ESPACE DOCUMENTAIRE
========================================================= */

.home-documents {
    background: #f3efe6;
    color: #10151a;
}

.home-documents__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: clamp(48px, 7vw, 110px);
    padding-top: 86px;
    padding-bottom: 86px;
}

.home-documents__content {
    max-width: 700px;
}

.home-documents__content h2 {
    max-width: 650px;
    margin: 12px 0 22px;
    color: #10151a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: .98;
}

.home-documents__content > p:not(.section-kicker) {
    max-width: 620px;
    margin: 0;
    color: #495057;
    font-size: 1rem;
    line-height: 1.75;
}

.home-documents__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.home-documents__actions > span {
    color: #60676d;
    font-size: .9rem;
    font-weight: 700;
}

.home-documents__visual {
    display: flex;
    justify-content: flex-end;
}

.home-documents__visual-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: min(100%, 420px);
    min-height: 360px;
    padding: 34px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(209, 164, 55, .22),
            transparent 28%
        ),
        #10151a;
    box-shadow: 0 24px 60px rgba(16, 21, 26, .18);
}

.home-documents__visual-card::before,
.home-documents__visual-card::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(209, 164, 55, .28);
    border-radius: 50%;
}

.home-documents__visual-card::before {
    width: 280px;
    height: 280px;
    right: -120px;
    top: -110px;
}

.home-documents__visual-card::after {
    width: 180px;
    height: 180px;
    right: -72px;
    top: -58px;
}

.home-documents__visual-card img {
    position: relative;
    z-index: 1;
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: auto;
}

.home-documents__visual-label {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    color: #d1a437;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.home-documents__visual-card strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.home-documents__visual-card small {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
}

@media (max-width: 860px) {
    .home-documents__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .home-documents__visual {
        justify-content: flex-start;
    }

    .home-documents__visual-card {
        width: 100%;
        max-width: none;
        min-height: 300px;
    }
}

@media (max-width: 560px) {
    .home-documents__inner {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .home-documents__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-documents__actions .button {
        width: 100%;
        text-align: center;
    }

    .home-documents__visual-card {
        min-height: 260px;
        padding: 26px;
    }
}


/* =========================================================
   ACCUEIL - LIENS VERS LES PAGES COMPLÈTES
========================================================= */

.home-section-more {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.events-block .home-section-more {
    margin-top: 26px;
}

@media (max-width: 560px) {
    .home-section-more .button {
        width: 100%;
        text-align: center;
    }
}
