/* =====================================================
   REC°LIVE — FOOTER GÉNÉRAL
   Compatible avec le nouveau footer-system
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {
    --footer-black: #0b0b0b;
    --footer-black-soft: #141414;

    --footer-white: #f5f5f5;
    --footer-white-soft: rgba(245, 245, 245, 0.7);
    --footer-white-muted: rgba(245, 245, 245, 0.48);

    --footer-gold: #c8a24a;
    --footer-gold-dark: #8e6b1f;

    --footer-border: rgba(200, 162, 74, 0.16);
    --footer-border-white: rgba(255, 255, 255, 0.1);

    --footer-container: 1180px;

    --footer-transition:
        0.32s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =====================================================
   RESET LOCAL
===================================================== */

.footer-system,
.footer-system *,
.footer-system *::before,
.footer-system *::after {
    box-sizing: border-box;
}


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


.footer-system h2,
.footer-system p {
    margin-top: 0;
}


/* =====================================================
   FOOTER PRINCIPAL
===================================================== */

.footer-system {
    position: relative;

    width: 100%;

    overflow: hidden;

    color:
        var(--footer-white);

    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(200, 162, 74, 0.12),
            transparent 28%
        ),

        linear-gradient(
            145deg,
            #080808 0%,
            #111111 100%
        );

    border-top:
        1px solid
        var(--footer-border);
}


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

.footer-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(180px, 0.65fr)
        minmax(260px, 0.9fr);

    gap:
        clamp(50px, 7vw, 100px);

    width:
        min(
            calc(100% - 56px),
            var(--footer-container)
        );

    margin-inline: auto;

    padding:
        clamp(70px, 9vw, 115px)
        0
        clamp(55px, 7vw, 85px);
}


/* =====================================================
   BLOC MARQUE
===================================================== */

.footer-brand {
    max-width: 500px;
}


.footer-logo {
    display: inline-flex;

    color:
        var(--footer-white);

    font-size:
        clamp(28px, 3vw, 38px);

    font-weight: 750;

    letter-spacing: 0.09em;

    transition:
        color var(--footer-transition);
}


.footer-logo:hover,
.footer-logo:focus-visible {
    color:
        var(--footer-gold);
}


.footer-brand-label {
    margin:
        12px
        0
        23px;

    color:
        var(--footer-gold);

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

    letter-spacing: 0.2em;

    text-transform: uppercase;
}


.footer-brand-description {
    max-width: 470px;

    margin-bottom: 29px;

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

    font-size: 14px;
    line-height: 1.75;
}


/* =====================================================
   BOUTON PROJET
===================================================== */

.footer-project-button {
    display: inline-flex;

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

    min-height: 48px;

    padding:
        13px
        22px;

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

    border-radius: 999px;

    color:
        #1d180d;

    background:
        var(--footer-gold);

    box-shadow:
        0 15px 36px
        rgba(200, 162, 74, 0.15);

    font-size: 12px;
    font-weight: 750;

    transition:
        color var(--footer-transition),
        background-color var(--footer-transition),
        border-color var(--footer-transition),
        box-shadow var(--footer-transition),
        transform var(--footer-transition);
}


.footer-project-button:hover,
.footer-project-button:focus-visible {
    color:
        var(--footer-gold);

    background:
        transparent;

    box-shadow: none;

    transform:
        translateY(-3px);
}


/* =====================================================
   TITRES DE COLONNES
===================================================== */

.footer-title {
    margin-bottom: 23px;

    color:
        var(--footer-white);

    font-size: 12px;
    font-weight: 750;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* =====================================================
   NAVIGATION
===================================================== */

.footer-navigation {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
}


.footer-navigation > a {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 8px;

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

    font-size: 13px;
    line-height: 1.5;

    transition:
        color var(--footer-transition),
        transform var(--footer-transition);
}


.footer-navigation > a::before {
    content: "";

    width: 0;
    height: 1px;

    background:
        var(--footer-gold);

    transition:
        width var(--footer-transition);
}


.footer-navigation > a:hover,
.footer-navigation > a:focus-visible {
    color:
        var(--footer-white);

    transform:
        translateX(4px);
}


.footer-navigation > a:hover::before,
.footer-navigation > a:focus-visible::before {
    width: 14px;
}


.footer-navigation i {
    color:
        var(--footer-gold);

    font-size: 8px;
}


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

.footer-contact {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}


.footer-contact > a,
.footer-location {
    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr);

    align-items: start;

    gap: 10px;

    width: 100%;

    margin-bottom: 14px;

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

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


.footer-contact > a {
    transition:
        color var(--footer-transition),
        transform var(--footer-transition);
}


.footer-contact > a:hover,
.footer-contact > a:focus-visible {
    color:
        var(--footer-white);

    transform:
        translateX(4px);
}


.footer-contact > a i,
.footer-location i {
    display: grid;

    place-items: center;

    width: 27px;
    height: 27px;

    border:
        1px solid
        rgba(200, 162, 74, 0.24);

    border-radius: 50%;

    color:
        var(--footer-gold);

    background:
        rgba(200, 162, 74, 0.06);

    font-size: 9px;
}


.footer-location {
    margin-top: 0;
    margin-bottom: 25px;
}


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

.footer-socials {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 9px;
}


.footer-socials a {
    display: grid;

    place-items: center;

    width: 40px;
    height: 40px;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    border-radius: 50%;

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

    background:
        rgba(255, 255, 255, 0.02);

    font-size: 13px;

    transition:
        color var(--footer-transition),
        background-color var(--footer-transition),
        border-color var(--footer-transition),
        transform var(--footer-transition);
}


.footer-socials a:hover,
.footer-socials a:focus-visible {
    color:
        #1d180d;

    border-color:
        var(--footer-gold);

    background:
        var(--footer-gold);

    transform:
        translateY(-3px);
}


/* =====================================================
   SIGNATURE
===================================================== */

.footer-signature {
    width:
        min(
            calc(100% - 56px),
            var(--footer-container)
        );

    margin-inline: auto;

    padding:
        31px
        0;

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

    border-bottom:
        1px solid
        var(--footer-border-white);

    color:
        rgba(245, 245, 245, 0.83);

    font-size:
        clamp(20px, 2.5vw, 34px);

    font-weight: 520;
    line-height: 1.3;

    letter-spacing: -0.025em;
}


/* =====================================================
   PARTIE INFÉRIEURE
===================================================== */

.footer-bottom-system {
    display: flex;

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

    gap: 30px;

    width:
        min(
            calc(100% - 56px),
            var(--footer-container)
        );

    margin-inline: auto;

    padding:
        25px
        0
        31px;
}


.footer-bottom-system p {
    margin-bottom: 0;

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

    font-size: 10px;

    letter-spacing: 0.06em;
}


.footer-legal {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 20px;
}


.footer-legal a {
    color:
        var(--footer-white-muted);

    font-size: 10px;

    transition:
        color var(--footer-transition);
}


.footer-legal a:hover,
.footer-legal a:focus-visible {
    color:
        var(--footer-gold);
}


/* =====================================================
   ACCESSIBILITÉ
===================================================== */

.footer-system a:focus-visible {
    outline:
        2px solid
        var(--footer-gold);

    outline-offset: 4px;
}


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

@media (max-width: 980px) {

    .footer-container {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(180px, 0.8fr);

        gap:
            55px
            70px;
    }


    .footer-contact {
        grid-column:
            1 / -1;

        max-width: 650px;
    }


    .footer-contact > a,
    .footer-location {
        max-width: 500px;
    }

}


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

@media (max-width: 760px) {

    .footer-container {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 48px;

        width:
            min(
                calc(100% - 40px),
                var(--footer-container)
            );

        padding:
            72px
            0
            50px;
    }


    .footer-brand {
        max-width: 590px;
    }


    .footer-navigation {
        display: grid;

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

        gap:
            15px
            24px;
    }


    .footer-navigation .footer-title {
        grid-column:
            1 / -1;
    }


    .footer-contact {
        grid-column: auto;
    }


    .footer-signature {
        width:
            min(
                calc(100% - 40px),
                var(--footer-container)
            );
    }


    .footer-bottom-system {
        width:
            min(
                calc(100% - 40px),
                var(--footer-container)
            );
    }

}


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

@media (max-width: 560px) {

    .footer-container {
        width:
            min(
                calc(100% - 32px),
                var(--footer-container)
            );

        padding:
            62px
            0
            44px;
    }


    .footer-logo {
        font-size: 28px;
    }


    .footer-brand-description {
        font-size: 13px;
    }


    .footer-project-button {
        width: 100%;
        min-height: 50px;
    }


    .footer-navigation {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 13px;
    }


    .footer-navigation .footer-title {
        grid-column: auto;
    }


    .footer-navigation > a {
        width: 100%;

        min-height: 42px;

        padding-bottom: 12px;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.08);
    }


    .footer-contact > a,
    .footer-location {
        font-size: 11px;
    }


    .footer-socials {
        gap: 8px;
    }


    .footer-socials a {
        width: 38px;
        height: 38px;
    }


    .footer-signature {
        width:
            min(
                calc(100% - 32px),
                var(--footer-container)
            );

        padding:
            25px
            0;

        font-size: 22px;
    }


    .footer-bottom-system {
        flex-direction: column;

        align-items: flex-start;

        width:
            min(
                calc(100% - 32px),
                var(--footer-container)
            );

        gap: 16px;

        padding:
            22px
            0
            28px;
    }


    .footer-legal {
        gap:
            10px
            18px;
    }

}


/* =====================================================
   TRÈS PETITS MOBILES
===================================================== */

@media (max-width: 380px) {

    .footer-container,
    .footer-signature,
    .footer-bottom-system {
        width:
            min(
                calc(100% - 26px),
                var(--footer-container)
            );
    }


    .footer-brand-label {
        font-size: 8px;

        letter-spacing: 0.15em;
    }


    .footer-brand-description {
        font-size: 12px;
    }


    .footer-contact > a {
        overflow-wrap: anywhere;
    }

}


/* =====================================================
   APPAREILS TACTILES
===================================================== */

@media (hover: none) and (pointer: coarse) {

    .footer-system a {
        min-height: 44px;
    }


    .footer-navigation > a:hover,
    .footer-contact > a:hover,
    .footer-socials a:hover,
    .footer-project-button:hover {
        transform: none;
    }

}


/* =====================================================
   MOUVEMENTS RÉDUITS
===================================================== */

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

    .footer-system *,
    .footer-system *::before,
    .footer-system *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}