.site-footer {
    background: var(--h3p-gradient);
    color: rgba(255, 255, 255, 0.6);
}

.footer-community {
    padding: clamp(4.5rem, 7vw, 6.5rem) 1.5rem clamp(3.5rem, 5vw, 5rem);
    text-align: center;
}

.footer-community__inner {
    max-width: 920px;
}

.footer-community h2 {
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.footer-community p {
    max-width: 820px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
}

.footer-community__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-community__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.5rem;
    border: 1px solid #fff;
    border-radius: 999px;
    font-weight: 700;
}

.footer-community__button--light {
    background: #fff;
    color: var(--h3p-navy);
}

.footer-community__button--outline {
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(130px, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-block: 3.5rem;
}

.footer-brand .custom-logo-link img {
    filter: brightness(0) invert(1);
    opacity: .95;
}

.footer-brand .footer-logo {
    display: block;
    width: 267px;
    max-width: 100%;
    height: auto;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 1rem;
    line-height: 1.5;
}

.footer-main p,
.footer-main a:not(.h3p-socials__link) {
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.footer-nav--links-only .footer-menu {
    gap: 0;
}

.footer-nav--links-only .footer-menu > li > a {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-block: 1rem;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
    font-size: .9rem;
    color: #b9d3d8;
}

/* ==========================================================
   Réseaux sociaux
   ========================================================== */

.h3p-socials--footer {
    margin-top: 2rem;
}

.h3p-socials--footer .h3p-socials__title {
    margin: 0 0 1rem;
    color: rgba(255,255,255,.6);
    font-size: 1rem;
}

.h3p-socials--footer .h3p-socials__list {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.h3p-socials--footer .h3p-socials__item {
    margin: 0;
    padding: 0;
}

.h3p-socials--footer .h3p-socials__link {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255,255,255,.12);
    border-radius: .45rem;
    line-height: 0;
    text-decoration: none;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.h3p-socials--footer .h3p-socials__link:hover,
.h3p-socials--footer .h3p-socials__link:focus-visible {
    background: rgba(255,255,255,.20);
    color: #fff;
    transform: translateY(-2px);
}

.h3p-socials--footer .h3p-socials__link:focus-visible {
    outline: 3px solid rgba(255,255,255,.35);
    outline-offset: 2px;
}

.h3p-socials--footer .h3p-socials__link svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
}


/* ========================================================== */

@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-community__actions {
        display: grid;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom__inner {
        display: grid;
    }
}