/* =========================================
   ADAPTACCESSOIRES — FOOTER
   Design premium & féminin
   Palette : Violet prune / Orange / Bleu
   ========================================= */

.aa-footer {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(37, 150, 190, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(255, 105, 0, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 255, 255, 0.035),
            transparent 45%
        ),
        var(--aa-dark);

    color: var(--aa-dark-text);
}


/* =========================================
   DECORATIVE CIRCLES
   ========================================= */

.aa-footer::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -160px;

    width: 430px;
    height: 430px;

    border: 1px solid rgba(37, 150, 190, 0.20);

    border-radius: 50%;

    pointer-events: none;
}


.aa-footer::after {
    content: "";

    position: absolute;

    bottom: -240px;
    left: -190px;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(255, 105, 0, 0.16);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================
   MAIN FOOTER
   ========================================= */

.aa-footer__main {
    position: relative;

    z-index: 2;

    padding: 90px 0 75px;
}


/* =========================================
   GRID
   ========================================= */

.aa-footer__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(190px, 1fr)
        minmax(230px, 1fr);

    gap: 70px;
}


/* =========================================
   BRAND
   ========================================= */

.aa-footer__brand {
    max-width: 600px;
}


.aa-footer__logo {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--aa-white);

    font-family: var(--aa-font-heading);

    font-size: 40px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.02em;

    text-decoration: none;

    transition:
        color var(--aa-transition);
}


.aa-footer__logo::after {
    content: "";

    display: block;

    width: 48px;
    height: 3px;

    margin-top: 13px;

    border-radius: var(--aa-radius-pill);

    background:
        linear-gradient(
            90deg,
            var(--aa-secondary),
            var(--aa-accent)
        );
}


.aa-footer__logo:hover {
    color: var(--aa-secondary-light);
}


.aa-footer__description {
    max-width: 590px;

    margin: 0 0 15px;

    color: var(--aa-dark-muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   FOOTER COLUMNS
   ========================================= */

.aa-footer__column {
    position: relative;

    z-index: 2;
}


/* =========================================
   TITLES
   ========================================= */

.aa-footer__title {
    position: relative;

    margin: 4px 0 25px;

    padding-bottom: 13px;

    color: var(--aa-white);

    font-family: var(--aa-font-heading);

    font-size: 24px;

    font-weight: 600;

    line-height: 1.2;
}


.aa-footer__title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 30px;
    height: 2px;

    border-radius: var(--aa-radius-pill);

    background: var(--aa-secondary);
}


/* =========================================
   LINKS
   ========================================= */

.aa-footer__links {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.aa-footer__links a {
    display: inline-flex;

    align-items: center;

    width: fit-content;

    color: var(--aa-dark-muted);

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color var(--aa-transition),
        transform var(--aa-transition);
}


.aa-footer__links a::before {
    content: "→";

    margin-right: 8px;

    color: var(--aa-secondary);

    opacity: 0;

    transform: translateX(-5px);

    transition:
        opacity var(--aa-transition),
        transform var(--aa-transition);
}


.aa-footer__links a:hover {
    color: var(--aa-white);

    transform: translateX(4px);
}


.aa-footer__links a:hover::before {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================
   CONTACT
   ========================================= */

.aa-footer__contact {
    margin-bottom: 35px;
}


.aa-footer__email {
    display: inline-flex;

    align-items: center;

    color: var(--aa-secondary);

    font-size: 14px;

    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;

    word-break: break-word;

    transition:
        color var(--aa-transition);
}


.aa-footer__email:hover {
    color: var(--aa-white);
}


/* =========================================
   SOCIAL
   ========================================= */

.aa-footer__social {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
}


.aa-footer__social-label {
    color: var(--aa-dark-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.aa-footer__social-list {
    display: flex;

    align-items: center;

    gap: 9px;
}


.aa-footer__social-list a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);

    color: var(--aa-white);

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform var(--aa-transition),
        background-color var(--aa-transition),
        border-color var(--aa-transition),
        color var(--aa-transition);
}


.aa-footer__social-list a:hover {
    transform: translateY(-4px);

    border-color: var(--aa-secondary);

    background: var(--aa-secondary);

    color: var(--aa-white);
}


/* =========================================
   FOOTER BOTTOM
   ========================================= */

.aa-footer__bottom {
    position: relative;

    z-index: 3;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

    background: rgba(0, 0, 0, 0.10);
}


.aa-footer__bottom-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    min-height: 90px;
}


/* =========================================
   PAYMENT AREA
   ========================================= */

.aa-footer__payments {
    display: flex;

    align-items: center;

    gap: 18px;
}


.aa-footer__payments-label {
    color: var(--aa-dark-muted);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.04em;
}


.aa-footer__payment-list {
    display: flex;

    align-items: center;

    gap: 7px;
}


/* =========================================
   PAYMENT BADGES
   ========================================= */

.aa-footer__payment {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 52px;
    height: 32px;

    padding: 0 9px;

    border-radius: 5px;

    background: var(--aa-white);

    color: var(--aa-dark);

    font-size: 9px;

    font-weight: 800;

    line-height: 1;

    text-align: center;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12);
}


/* =========================================
   PAYMENT — PAYPAL
   ========================================= */

.aa-footer__payment:first-child {
    color: #003087;

    font-size: 10px;
}


/* =========================================
   PAYMENT — MASTERCARD
   ========================================= */

.aa-footer__payment:nth-child(2) {
    position: relative;

    min-width: 48px;

    padding: 0;

    font-size: 0;
}


.aa-footer__payment:nth-child(2)::before,
.aa-footer__payment:nth-child(2)::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    transform: translateY(-50%);
}


.aa-footer__payment:nth-child(2)::before {
    left: 8px;

    background: #eb001b;
}


.aa-footer__payment:nth-child(2)::after {
    right: 8px;

    background: #f79e1b;

    opacity: 0.9;
}


/* =========================================
   PAYMENT — VISA
   ========================================= */

.aa-footer__payment:last-child {
    color: #1434cb;

    font-size: 12px;

    font-style: italic;
}


/* =========================================
   COPYRIGHT
   ========================================= */

.aa-footer__copyright {
    margin: 0;

    color: var(--aa-dark-muted);

    font-size: 12px;

    line-height: 1.5;

    text-align: right;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

    .aa-footer__main {
        padding: 75px 0 60px;
    }


    .aa-footer__grid {
        grid-template-columns:
            1.4fr
            1fr;

        gap: 55px;
    }


    .aa-footer__brand {
        grid-column: 1 / -1;

        max-width: 800px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .aa-footer__main {
        padding: 60px 0 50px;
    }


    .aa-footer__grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .aa-footer__brand {
        grid-column: auto;
    }


    .aa-footer__logo {
        font-size: 34px;
    }


    .aa-footer__description {
        font-size: 13px;

        line-height: 1.75;
    }


    .aa-footer__title {
        font-size: 22px;
    }


    .aa-footer__links {
        gap: 15px;
    }


    /*
     * Espacement renforcé entre les liens
     * sur mobile afin d'éviter :
     * EnfantsFemmesBlog
     */
    .aa-footer__links a {
        margin-right: 8px;

        line-height: 1.7;
    }


    .aa-footer__bottom-inner {
        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 22px;

        padding: 26px 0;
    }


    .aa-footer__payments {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .aa-footer__copyright {
        text-align: left;
    }


    .aa-footer::before {
        top: -180px;
        right: -220px;
    }


    .aa-footer::after {
        bottom: -250px;
        left: -230px;
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .aa-footer__main {
        padding: 50px 0 45px;
    }


    .aa-footer__logo {
        font-size: 30px;
    }


    .aa-footer__social-list a {
        width: 40px;
        height: 40px;
    }


    .aa-footer__payment {
        min-width: 48px;
    }


    .aa-footer__links {
        gap: 16px;
    }


    .aa-footer__links a {
        margin-right: 10px;
    }

}


/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .aa-footer__links a,
    .aa-footer__links a::before,
    .aa-footer__social-list a,
    .aa-footer__email,
    .aa-footer__logo {
        transition: none;
    }

}
