
/* =========================================================
   A&B CONCEPT — FOOTER GLOBAL
   V1.0.2
   ========================================================= */

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

.ab-site-footer {
    --ab-footer-black: #080808;
    --ab-footer-panel: #0d0d0c;
    --ab-footer-gold: #d7b47a;
    --ab-footer-gold-light: #ead2a5;
    --ab-footer-white: #f4f1ea;
    --ab-footer-grey: #9a958d;
    --ab-footer-line: rgba(215,180,122,.16);
    --ab-footer-line-soft: rgba(215,180,122,.09);

    position: relative;
    z-index: 40;

    width: 100%;

    /*
     * Elementor / certains templates laissent parfois une fine
     * bande entre le dernier conteneur de page et wp_footer().
     * On raccorde volontairement le footer au contenu.
     */
    margin-top: -12px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #090909 0%,
            #070707 100%
        );

    color: var(--ab-footer-white);
    border-top: 1px solid var(--ab-footer-line);

    font-family: Arial, Helvetica, sans-serif;
}

.ab-site-footer__glow {
    position: absolute;

    width: 780px;
    height: 780px;

    left: -390px;
    bottom: -500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(215,180,122,.055),
            rgba(215,180,122,.015) 38%,
            transparent 70%
        );

    pointer-events: none;
}

.ab-site-footer__inner {
    position: relative;
    z-index: 2;

    width: min(1380px, calc(100% - 64px));

    margin: 0 auto;

    padding: 82px 0 26px;
}

.ab-site-footer__top {
    display: grid;

    grid-template-columns:
        minmax(290px,1.35fr)
        minmax(170px,.75fr)
        minmax(190px,.85fr)
        minmax(170px,.75fr);

    gap: 70px;

    padding-bottom: 62px;
}

.ab-site-footer__brand {
    max-width: 370px;
}

.ab-site-footer__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ab-site-footer__logo {
    display: block;

    width: auto;
    height: 88px;
    max-width: 225px;

    object-fit: contain;

    margin-left: -12px;
}

.ab-site-footer__tagline {
    margin: 16px 0 0;

    color: var(--ab-footer-gold-light);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;
    font-style: italic;
    font-weight: 400;

    line-height: 1.25;
}

.ab-site-footer__description {
    max-width: 355px;

    margin: 19px 0 0;

    color: var(--ab-footer-grey);

    font-size: 12px;
    line-height: 1.8;
}

.ab-site-footer__contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin-top: 28px;

    padding: 0 22px;

    border: 1px solid var(--ab-footer-gold);

    color: var(--ab-footer-white);

    text-decoration: none;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

    transition:
        background-color .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease;
}

.ab-site-footer__contact-button:hover {
    background: var(--ab-footer-gold);
    border-color: var(--ab-footer-gold);
    color: #080808;
    transform: translateY(-1px);
}

.ab-site-footer__column {
    padding-top: 18px;
}

.ab-site-footer__heading {
    position: relative;

    margin-bottom: 25px;

    padding-bottom: 17px;

    color: var(--ab-footer-gold-light);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .24em;

    text-transform: uppercase;
}

.ab-site-footer__heading::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 34px;
    height: 1px;

    background: var(--ab-footer-gold);
}

.ab-site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ab-site-footer__links a {
    width: fit-content;

    color: #aaa49c;

    text-decoration: none;

    font-size: 12px;
    line-height: 1.45;

    transition:
        color .25s ease,
        transform .25s ease;
}

.ab-site-footer__links a:hover {
    color: var(--ab-footer-white);
    transform: translateX(3px);
}

.ab-site-footer__contact-strip {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    border-top: 1px solid var(--ab-footer-line);
    border-bottom: 1px solid var(--ab-footer-line);

    background: rgba(255,255,255,.006);
}

.ab-site-footer__contact-item {
    min-height: 112px;

    padding: 27px 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 9px;
}

.ab-site-footer__contact-item:not(:last-child) {
    border-right: 1px solid var(--ab-footer-line-soft);
}

.ab-site-footer__contact-label {
    color: var(--ab-footer-gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .22em;

    text-transform: uppercase;
}

.ab-site-footer__contact-item a,
.ab-site-footer__contact-item > span:not(.ab-site-footer__contact-label) {
    color: #bbb5ac;

    text-decoration: none;

    font-size: 11px;
    line-height: 1.65;

    transition: color .25s ease;
}

.ab-site-footer__contact-item a:hover {
    color: var(--ab-footer-gold-light);
}

.ab-site-footer__bottom {
    min-height: 76px;

    display: grid;

    grid-template-columns:
        minmax(180px,1fr)
        auto
        minmax(180px,1fr);

    align-items: center;

    gap: 30px;
}

.ab-site-footer__copyright,
.ab-site-footer__signature {
    color: #68635c;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.ab-site-footer__signature {
    text-align: right;

    color: rgba(215,180,122,.55);
}

.ab-site-footer__legal {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;
}

.ab-site-footer__legal a {
    color: #77716a;

    text-decoration: none;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition: color .25s ease;
}

.ab-site-footer__legal a:hover {
    color: var(--ab-footer-gold-light);
}

@media (max-width: 1100px) {

    .ab-site-footer__top {
        grid-template-columns:
            1.2fr 1fr 1fr;

        gap: 55px;
    }

    .ab-site-footer__brand {
        grid-column: 1 / -1;

        max-width: 520px;
    }

    .ab-site-footer__contact-strip {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .ab-site-footer__contact-item:nth-child(2) {
        border-right: 0;
    }

    .ab-site-footer__contact-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--ab-footer-line-soft);
    }
}

@media (max-width: 820px) {

    .ab-site-footer__inner {
        width: calc(100% - 38px);

        padding-top: 68px;
    }

    .ab-site-footer__top {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 46px 50px;
    }

    .ab-site-footer__brand {
        grid-column: 1 / -1;
    }

    .ab-site-footer__bottom {
        grid-template-columns: 1fr;

        gap: 17px;

        padding: 25px 0;

        text-align: center;
    }

    .ab-site-footer__signature {
        text-align: center;
    }
}

@media (max-width: 580px) {

    .ab-site-footer__inner {
        width: calc(100% - 30px);

        padding-top: 58px;
    }

    .ab-site-footer__top {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 50px;
    }

    .ab-site-footer__brand {
        grid-column: auto;
    }

    .ab-site-footer__logo {
        height: 76px;
        max-width: 205px;
    }

    .ab-site-footer__tagline {
        font-size: 22px;
    }

    .ab-site-footer__column {
        padding-top: 0;
    }

    .ab-site-footer__heading {
        margin-bottom: 20px;
    }

    .ab-site-footer__links {
        gap: 12px;
    }

    .ab-site-footer__contact-strip {
        grid-template-columns: 1fr;
    }

    .ab-site-footer__contact-item {
        min-height: auto;

        padding: 23px 20px;
    }

    .ab-site-footer__contact-item:not(:last-child) {
        border-right: 0;

        border-bottom: 1px solid var(--ab-footer-line-soft);
    }

    .ab-site-footer__contact-button {
        width: 100%;

        max-width: 300px;
    }

    .ab-site-footer__legal {
        gap: 12px 18px;
    }
}


/* =========================================================
   RACCORD ELEMENTOR / FOOTER
   ========================================================= */

/*
 * Évite qu'un éventuel espace résiduel du template apparaisse blanc
 * entre la fin du contenu Elementor et le footer global.
 */
body.elementor-page {
    background-color: #080808;
}

/*
 * Neutralise une éventuelle marge du dernier bloc Elementor sans
 * modifier ses espacements internes.
 */
body.elementor-page .elementor:last-of-type {
    margin-bottom: 0 !important;
}
