/* =========================================================
   AZED CONSEIL — FOOTER
========================================================= */

.azed-footer {
    --azed-footer-blue: #162578;
    --azed-footer-blue-dark: #101a57;
    --azed-footer-green: #7EB01D;
    --azed-footer-white: #ffffff;
    --azed-footer-text: rgba(255, 255, 255, 0.74);
    --azed-footer-text-soft: rgba(255, 255, 255, 0.56);
    --azed-footer-border: rgba(255, 255, 255, 0.10);

    position: relative;
    overflow: hidden;
    padding: 92px 0 0;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(126, 176, 29, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 20%,
            rgba(255, 255, 255, 0.06),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            var(--azed-footer-blue) 0%,
            var(--azed-footer-blue-dark) 100%
        );
    color: var(--azed-footer-white);
    font-family: "Montserrat", sans-serif;
}

/* Ligne décorative supérieure */

.azed-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--azed-footer-green) 0%,
        rgba(126, 176, 29, 0.45) 50%,
        var(--azed-footer-green) 100%
    );
}

/* Lumière décorative */

.azed-footer::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -220px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(126, 176, 29, 0.07);
    filter: blur(20px);
    pointer-events: none;
}

/* =========================================================
   CONTENEUR
========================================================= */

.azed-footer__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   GRILLE PRINCIPALE
========================================================= */

.azed-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 1.05fr 1.25fr;
    gap: 54px;
    align-items: start;
    padding-bottom: 70px;
}

/* =========================================================
   COLONNE MARQUE
========================================================= */

.azed-footer__brand {
    min-width: 0;
}

.azed-footer__logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 25px;
}

.azed-footer__logo img {
    display: block;
    width: auto;
    max-width: 210px;
    height: auto;
    max-height: 92px;
    object-fit: contain;
    object-position: left center;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.azed-footer__logo:hover img {
    transform: translateY(-2px);
    opacity: 0.95;
}

.azed-footer__description {
    max-width: 410px;
    margin: 0;
    color: var(--azed-footer-text);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.85;
}

/* =========================================================
   RÉSEAUX SOCIAUX
========================================================= */

.azed-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.azed-footer__socials a {
    position: relative;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--azed-footer-white);
    font-size: 17px;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.azed-footer__socials a:hover {
    transform: translateY(-4px);
    border-color: var(--azed-footer-green);
    background: var(--azed-footer-green);
    color: var(--azed-footer-white);
    box-shadow: 0 14px 30px rgba(126, 176, 29, 0.24);
}

.azed-footer__socials a:focus-visible {
    outline: 3px solid rgba(126, 176, 29, 0.42);
    outline-offset: 3px;
}

/* =========================================================
   TITRES DES COLONNES
========================================================= */

.azed-footer h2.azed-footer__title {
    position: relative;
    margin: 0 0 22px !important;
    padding: 0 0 12px !important;
    color: var(--azed-footer-white);
    font-family: "Montserrat", sans-serif;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    letter-spacing: 0;
    text-transform: none;
}

.azed-footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--azed-footer-green);
}

/* =========================================================
   LIENS DE NAVIGATION
========================================================= */

.azed-footer__links {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.azed-footer__links li {
    margin: 0;
    padding: 0;
}

.azed-footer__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--azed-footer-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.azed-footer__links a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    border-radius: 999px;
    background: var(--azed-footer-green);
    opacity: 0;
    transition:
        width 0.25s ease,
        margin-right 0.25s ease,
        opacity 0.25s ease;
}

.azed-footer__links a:hover {
    color: var(--azed-footer-white);
    transform: translateX(2px);
}

.azed-footer__links a:hover::before {
    width: 11px;
    margin-right: 8px;
    opacity: 1;
}

.azed-footer__links a:focus-visible {
    outline: 2px solid var(--azed-footer-green);
    outline-offset: 4px;
    border-radius: 3px;
}

/* =========================================================
   CONTACT
========================================================= */

.azed-footer__contact-list {
    display: grid;
    gap: 19px;
}

.azed-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.azed-footer__contact-item--address {
    align-items: flex-start;
}

.azed-footer__contact-icon {
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-top: 1px;
    border: 1px solid rgba(126, 176, 29, 0.25);
    border-radius: 11px;
    background: rgba(126, 176, 29, 0.10);
    color: var(--azed-footer-green);
    font-size: 15px;
}

.azed-footer__contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: var(--azed-footer-text);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.65;
}

.azed-footer__contact-item--address .azed-footer__contact-content {
    justify-content: flex-start;
}

.azed-footer__contact-label {
    display: block;
    margin-bottom: 2px;
    color: var(--azed-footer-white);
    font-size: 13px;
    font-weight: 700;
}

.azed-footer__contact-content a {
    color: var(--azed-footer-text);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.25s ease;
}

.azed-footer__contact-content a:hover {
    color: var(--azed-footer-green);
}

.azed-footer__contact-content a:focus-visible {
    outline: 2px solid var(--azed-footer-green);
    outline-offset: 3px;
    border-radius: 3px;
}

/* =========================================================
   BOUTON CTA
========================================================= */

.azed-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    margin-top: 27px;
    padding: 0 24px;
    overflow: hidden;
    border: 1px solid var(--azed-footer-green);
    border-radius: 13px;
    background: var(--azed-footer-green);
    color: var(--azed-footer-white);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 15px 32px rgba(126, 176, 29, 0.20);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.azed-footer__cta i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.azed-footer__cta:hover {
    transform: translateY(-3px);
    border-color: var(--azed-footer-white);
    background: var(--azed-footer-white);
    color: var(--azed-footer-blue);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.20);
}

.azed-footer__cta:hover i {
    transform: translateX(4px);
}

.azed-footer__cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.40);
    outline-offset: 4px;
}

/* =========================================================
   COPYRIGHT
========================================================= */

.azed-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 79px;
    padding: 23px 0;
    border-top: 1px solid var(--azed-footer-border);
    text-align: center;
}

.azed-footer__copyright {
    margin: 0;
    color: var(--azed-footer-text-soft);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   TABLETTE LARGE
========================================================= */

@media (max-width: 1180px) {

    .azed-footer__inner {
        width: min(100% - 40px, 1080px);
    }

    .azed-footer__grid {
        grid-template-columns: 1.3fr 0.9fr 1fr;
        gap: 48px 42px;
    }

    .azed-footer__contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr auto;
        column-gap: 35px;
        align-items: start;
    }

    .azed-footer__contact .azed-footer__title {
        grid-column: 1 / -1;
    }

    .azed-footer__contact-list {
        grid-column: 1 / 3;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .azed-footer__contact .azed-footer__cta {
        grid-column: 3;
        align-self: center;
        margin-top: 0;
        white-space: nowrap;
    }
}

/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 900px) {

    .azed-footer {
        padding-top: 75px;
    }

    .azed-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px;
        padding-bottom: 58px;
    }

    .azed-footer__brand,
    .azed-footer__contact {
        grid-column: 1 / -1;
    }

    .azed-footer__brand {
        max-width: 650px;
    }

    .azed-footer__contact {
        display: block;
    }

    .azed-footer__contact-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 28px;
    }

    .azed-footer__contact .azed-footer__cta {
        margin-top: 27px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .azed-footer {
        padding-top: 62px;
    }

    .azed-footer__inner {
        width: calc(100% - 34px);
    }

    .azed-footer__grid {
        grid-template-columns: 1fr;
        gap: 39px;
        padding-bottom: 48px;
    }

    .azed-footer__brand,
    .azed-footer__contact {
        grid-column: auto;
    }

    .azed-footer__logo {
        margin-bottom: 22px;
    }

    .azed-footer__logo img {
        max-width: 185px;
        max-height: 82px;
    }

    .azed-footer__description {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.8;
    }

    .azed-footer__socials {
        margin-top: 23px;
    }

    .azed-footer h2.azed-footer__title {
        margin-bottom: 18px !important;
        padding-bottom: 10px !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .azed-footer__links {
        gap: 12px;
    }

    .azed-footer__links a {
        font-size: 14px;
    }

    .azed-footer__contact-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .azed-footer__cta {
        width: auto;
        min-width: 0;
        min-height: 46px;
        margin-top: 23px;
        padding: 0 19px;
        border-radius: 11px;
        font-size: 13px;
    }

    .azed-footer__bottom {
        min-height: auto;
        padding: 22px 0 25px;
    }

    .azed-footer__copyright {
        font-size: 12.5px;
    }

    .azed-footer__back-to-top {
        right: 17px;
        bottom: 17px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .azed-footer__cta {
    display: inline-flex;
    width: fit-content;
    min-width: 0;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 17px;
    border-radius: 10px;
    font-size: 12.5px;
}
}

/* =========================================================
   PETITS MOBILES
========================================================= */

@media (max-width: 420px) {

    .azed-footer__inner {
        width: calc(100% - 28px);
    }

    .azed-footer__grid {
        gap: 35px;
    }

    .azed-footer__logo img {
        max-width: 170px;
    }

    .azed-footer__contact-item {
        gap: 11px;
    }

    .azed-footer__contact-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .azed-footer__cta {
        width: 100%;
        min-width: 0;
    }

    .azed-footer__cta {
    width: fit-content;
    min-width: 0;
    min-height: 43px;
    padding: 0 16px;
    font-size: 12.5px;
}
}

/* =========================================================
   RÉDUCTION DES ANIMATIONS
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .azed-footer *,
    .azed-footer *::before,
    .azed-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}