/*
 * Footer des pages intérieures Wilson.
 * Aucun impact sur les Homes A et B.
 */

.awb-if,
.awb-if * {
    box-sizing: border-box;
}

.awb-if {
    width: 100%;
    margin: 0;
    padding: 52px 0 82px;
    background: #191919;
    color: #e7e3df;
    font-family: var(
        --awb-font-body,
        "Poppins",
        Arial,
        sans-serif
    );
}

.awb-if__inner {
    width: min(calc(100% - 28px), 1240px);
    margin-inline: auto;
}

/* Identité */

.awb-if__identity {
    padding-bottom: 25px;
    border-bottom: 1px solid #48423d;
}

.awb-if__rule {
    display: block;
    width: 53px;
    height: 2px;
    margin-bottom: 18px;
    background: #947554;
}

.awb-if__brand {
    color: #fff;
    font: 700 clamp(21px, 2vw, 25px)/1.25
        var(
            --awb-font-body,
            "Poppins",
            Arial,
            sans-serif
        );
}

.awb-if__brand span {
    color: #c19b72;
}

.awb-if__identity p {
    margin: 10px 0 0;
    color: #d1cbc6;
    font-size: 13px;
    line-height: 1.65;
}

/* Quatre colonnes : une seule rangée desktop */

.awb-if__columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 36px);
    padding: 30px 0 34px;
}

.awb-if__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 13px;
}

.awb-if__column h2 {
    margin: 0 0 5px;
    padding: 0;
    color: #c19b72;
    font: 600 11px/1.5
        var(
            --awb-font-body,
            "Poppins",
            Arial,
            sans-serif
        );
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Liens actifs et liens en préparation */

.awb-if__column a.awb-if__link,
.awb-if__column a.awb-if__link:visited,
.awb-if__column .awb-if__pending {
    margin: 0;
    color: #eee9e4;
    font: 400 13px/1.55
        var(
            --awb-font-body,
            "Poppins",
            Arial,
            sans-serif
        );
    text-decoration: none;
    overflow-wrap: anywhere;
}

.awb-if__column .awb-if__pending {
    color: #bab3ac;
    cursor: default;
}

.awb-if__column a.awb-if__link:hover,
.awb-if__column a.awb-if__link:focus-visible {
    color: #d5aa7e;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.awb-if a.awb-if__link:focus-visible,
.awb-if__bottom a:focus-visible {
    outline: 2px solid #d5aa7e;
    outline-offset: 3px;
}

/* Bas du footer */

.awb-if__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #48423d;
}

.awb-if__bottom small {
    color: #c8c1ba;
    font: 400 12px/1.6
        var(
            --awb-font-body,
            "Poppins",
            Arial,
            sans-serif
        );
}

.awb-if__bottom a,
.awb-if__bottom a:visited {
    color: #c19b72;
    text-decoration: none;
}

.awb-if__bottom a:hover {
    color: #ebc398;
    text-decoration: underline;
}

/* Tablette : deux colonnes */

@media (max-width: 900px) {
    .awb-if__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }
}

/* Mobile : deux colonnes */

@media (max-width: 580px) {
    .awb-if {
        padding: 40px 0 90px;
    }

    .awb-if__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .awb-if__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
