/*
 * Amis de Vaux - Pied de page
 */

.avf-footer {
    --avf-blue: #022D41;
    --avf-gold: #E5CCA5;

    position: relative;
    width: 100%;
    background: var(--avf-blue);
    color: var(--avf-gold);
    font-family: 'Figtree', sans-serif;
    box-sizing: border-box;
}

.avf-footer,
.avf-footer * {
    box-sizing: border-box;
}

.avf-footer a {
    color: inherit;
    text-decoration: none;
}

.avf-footer__ornament {
    position: absolute;
    left: 0;
    right: 0;
    top: -15px;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
    align-items: center;
    pointer-events: none;
}

.avf-footer__ornament-line {
    height: 1px;
    background: var(--avf-gold);
}

.avf-footer__ornament-diamond {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 30px;
}

.avf-footer__diamond-image {
    display: block;
    width: 45px;
    height: 30px;
    object-fit: contain;
}

.avf-footer__diamond-css {
    display: block;
    width: 21px;
    height: 21px;
    background: var(--avf-gold);
    transform: rotate(45deg);
}

.avf-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px clamp(24px, 4vw, 60px) 40px;
}

.avf-footer__divider {
    align-self: stretch;
    width: 1px;
    background: rgba(229, 204, 165, .35);
}

.avf-footer__col--links {
    display: flex;
    justify-content: center;
}

.avf-footer__menu,
.avf-footer__menu ul,
.avf-footer__menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.avf-footer__menu li::before,
.avf-footer__menu li::marker {
    content: none !important;
    display: none !important;
}

.avf-footer__menu {
    text-align: center;
}

.avf-footer__menu li {
    margin-bottom: 14px !important;
}

.avf-footer__menu li:last-child {
    margin-bottom: 0 !important;
}

.avf-footer__menu a {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .01em;
    transition: color .2s ease;
}

.avf-footer__menu a:hover,
.avf-footer__menu a:focus-visible {
    color: #fff;
}

.avf-footer__col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.avf-footer__logo-link {
    display: block;
    margin-bottom: 28px;
}

.avf-footer__logo {
    display: block;
    width: 315px;
    height: 85px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.avf-footer__tagline {
    margin: 0 0 16px;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    opacity: .9;
}

.avf-footer__socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avf-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--avf-gold);
    color: var(--avf-blue);
    transition: .2s ease;
}

.avf-footer__social:hover,
.avf-footer__social:focus-visible {
    background: #fff;
}

.avf-footer__social svg {
    display: block;
    width: 16px;
    height: 16px;
}

.avf-footer__col--contact {
    text-align: center;
}

.avf-footer__address {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.avf-footer__address strong {
    font-weight: 700;
}

.avf-footer__contact-links {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.avf-footer__contact-links a:hover,
.avf-footer__contact-links a:focus-visible {
    color: #fff;
}

.avf-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 24px 34px;
    font-size: 13px;
    text-align: center;
}

.avf-footer__credit {
    font-style: italic;
    text-decoration: underline;
}

.avf-footer__bottom a:hover,
.avf-footer__bottom a:focus-visible {
    color: #fff;
}

.avf-footer__sep {
    opacity: .6;
}

@media (max-width: 980px) {
    .avf-footer__main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px clamp(20px, 5vw, 40px) 32px;
        text-align: center;
    }

    .avf-footer__divider {
        width: 100%;
        height: 1px;
    }

    .avf-footer__col--links {
        order: 2;
    }

    .avf-footer__col--brand {
        order: 1;
    }

    .avf-footer__col--contact {
        order: 3;
    }

    .avf-footer__address,
    .avf-footer__contact-links {
        font-size: 14px;
    }

    .avf-footer__ornament {
        top: -15px;
        grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .avf-footer__bottom {
        flex-direction: column;
        gap: 6px;
    }

    .avf-footer__sep {
        display: none;
    }
}
