/* Masque uniquement le footer natif d'Astra. */
.site-footer,
footer#colophon {
    display: none !important;
}

.correl-footer {
    --cf-green-dark: #0b5d3b;
    --cf-green: #168653;
    --cf-green-soft: #c9e8a2;
    --cf-mint: #eaf6df;
    --cf-turquoise: #25a7a0;
    --cf-cream: #fffdf7;
    --cf-text: #f7fff7;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
    color: var(--cf-text);
    background:
        radial-gradient(circle at 12% 12%, rgba(201, 232, 162, .18), transparent 29rem),
        linear-gradient(135deg, #075033 0%, var(--cf-green-dark) 55%, #0a6b55 100%);
    font-family: inherit;
}

.correl-footer *,
.correl-footer *::before,
.correl-footer *::after {
    box-sizing: border-box;
}

.correl-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 54px;
    display: grid;
    grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(150px, .8fr));
    gap: clamp(28px, 4vw, 64px);
    position: relative;
    z-index: 2;
}

.correl-footer__logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
}

.correl-footer__logo {
    display: block;
    width: min(150px, 100%);
    height: auto;
    max-height: 112px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .12));
}

.correl-footer__brand-text {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
}

.correl-footer h2,
.correl-footer h3,
.correl-footer p {
    color: inherit;
}

.correl-footer h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
    line-height: 1.15;
}

.correl-footer h3 {
    margin: 0 0 20px;
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.correl-footer__intro p {
    max-width: 460px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .84);
    line-height: 1.75;
}

.correl-footer__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 19px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    background: var(--cf-green-soft);
    color: #133f2b !important;
    text-decoration: none !important;
    font-weight: 750;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .14);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.correl-footer__button:hover,
.correl-footer__button:focus-visible {
    transform: translateY(-2px);
    background: #def4bd;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .2);
}

.correl-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.correl-footer li + li {
    margin-top: 11px;
}

.correl-footer__column a:not(.correl-footer__mail) {
    color: rgba(255, 255, 255, .84);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.correl-footer__column li a:not(.correl-footer__mail)::after {
    content: "→";
    display: inline-block;
    margin-left: 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity .2s ease, transform .2s ease, margin-left .2s ease;
}

.correl-footer__column li a:not(.correl-footer__mail):hover::after,
.correl-footer__column li a:not(.correl-footer__mail):focus-visible::after {
    margin-left: 7px;
    opacity: 1;
    transform: translateX(0);
}

.correl-footer__column a:not(.correl-footer__mail):hover,
.correl-footer__column a:not(.correl-footer__mail):focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.correl-footer__contact p {
    margin: 0 0 15px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.65;
}

.correl-footer__mail {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--cf-green-soft) !important;
    font-weight: 750;
    text-decoration: none !important;
}

.correl-footer__mail:hover {
    text-decoration: underline !important;
    text-underline-offset: 5px;
}

.correl-footer__location {
    font-size: .92rem;
}

.correl-footer__bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(201, 232, 162, .28);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 2;
}

.correl-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.correl-footer__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.correl-footer__bottom a,
.correl-footer__cookie {
    color: rgba(255, 255, 255, .76);
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
}

.correl-footer__bottom a:hover,
.correl-footer__cookie:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.correl-footer__motif {
    position: absolute;
    z-index: 1;
    width: clamp(180px, 24vw, 340px);
    height: auto;
    opacity: .055;
    filter: grayscale(1) brightness(4);
    pointer-events: none;
    user-select: none;
}

.correl-footer__motif--one {
    top: -76px;
    right: -42px;
    transform: rotate(-16deg);
}

.correl-footer__motif--two {
    bottom: -120px;
    left: -48px;
    transform: rotate(160deg);
}

@media (max-width: 960px) {
    .correl-footer__inner {
        grid-template-columns: 1.35fr 1fr 1fr;
    }

    .correl-footer__contact {
        grid-column: 2 / -1;
    }
}

@media (max-width: 680px) {
    .correl-footer {
        margin-top: 2.5rem;
    }

    .correl-footer__inner {
        width: min(100% - 32px, 560px);
        padding: 52px 0 38px;
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .correl-footer__intro {
        grid-column: 1 / -1;
    }

    .correl-footer__contact {
        grid-column: 1 / -1;
    }

    .correl-footer__bottom {
        width: min(100% - 32px, 560px);
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .correl-footer__inner {
        grid-template-columns: 1fr;
    }

    .correl-footer__intro,
    .correl-footer__contact {
        grid-column: auto;
    }

    .correl-footer__bottom nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .correl-footer *,
    .correl-footer *::before,
    .correl-footer *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
