/* =========================================================
   LES SERVICES MJD ET FILS INC.
   STYLE GENERAL DU SITE
========================================================= */


/* =========================================================
   1. VARIABLES GLOBALES
========================================================= */

:root {

    --black: #0b0b0b;
    --black-light: #151515;

    --gold: #d69a18;
    --gold-hover: #ecae26;

    --white: #ffffff;

    --text: #181818;

    --gray-light: #eeeeee;

    --container-width: 1500px;

}


/* =========================================================
   2. RESET GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

}

a {

    color: inherit;

    text-decoration: none;

}

img {

    display: block;

    max-width: 100%;

    height: auto;

}

button {

    font-family: inherit;

}


/* =========================================================
   3. CONTAINER GENERAL
========================================================= */

.container {

    width:
        min(
            calc(100% - 50px),
            var(--container-width)
        );

    margin:
        0 auto;

}


/* =========================================================
   4. HEADER GENERAL
========================================================= */

.site-header {

    position: relative;

    z-index: 1000;

    background:
        var(--white);

}


/* =========================================================
   5. TOP HEADER
   Bande noire qui NE reste PAS sticky
========================================================= */

.top-header {

    position: relative;

    background:
        linear-gradient(
            90deg,
            #070707 0%,
            #121212 50%,
            #070707 100%
        );

    color:
        var(--white);

    z-index: 1;

}


/* =========================================================
   6. CONTENU DU TOP HEADER
========================================================= */

.top-header-inner {

    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =========================================================
   7. CONTACT DU TOP HEADER
========================================================= */

.top-contact {

    display: flex;

    align-items: center;

    gap: 30px;

}

.top-contact-link {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 14px;

    font-weight: 500;

    transition:
        color .2s ease;

}

.top-contact-link:hover {

    color:
        var(--gold);

}


/* =========================================================
   8. ICONES TELEPHONE / COURRIEL
========================================================= */

.top-contact-icon {

    width: 17px;

    height: 17px;

    fill:
        var(--gold);

    flex-shrink: 0;

}


/* =========================================================
   9. RESEAUX SOCIAUX DU TOP HEADER
   Même style que ceux du footer
========================================================= */

.top-socials {

    display: flex;

    align-items: center;

    gap: 14px;

}

.top-socials a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(214, 154, 24, .55);

    border-radius: 50%;

    color:
        var(--gold);

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        border-color .2s ease;

}

.top-socials a:hover {

    background:
        var(--gold);

    color:
        #111111;

    border-color:
        var(--gold);

    transform:
        translateY(-2px);

}

.top-socials svg {

    width: 20px;

    height: 20px;

    fill:
        currentColor;

}


/* =========================================================
   10. HEADER PRINCIPAL
   Partie logo + menu
========================================================= */

.main-header {

    position: relative;

    width: 100%;

    background:
        rgba(255, 255, 255, 1);

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, .07);

    z-index: 1200;

    transition:
        background .3s ease,
        box-shadow .3s ease;

}


/* =========================================================
   11. HEADER PRINCIPAL APRES SCROLL
   Classe ajoutée par JavaScript
========================================================= */

.main-header.is-scrolled {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    background:
        rgba(255, 255, 255, .98);

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, .14);

}


/* =========================================================
   12. ESPACE CONSERVE QUAND LE HEADER DEVIENT FIXE
   Evite que la page saute au passage en sticky
========================================================= */

.site-header:has(.main-header.is-scrolled)::after {

    content: "";

    display: block;

    height: 108px;

}


/* =========================================================
   13. CONTENU DU HEADER PRINCIPAL
========================================================= */

.main-header-inner {

    min-height: 108px;

    display: flex;

    align-items: center;

    gap: 35px;

    transition:
        min-height .3s ease;

}


/* =========================================================
   14. HEADER PLUS COMPACT AU SCROLL
========================================================= */

.main-header.is-scrolled
.main-header-inner {

    min-height: 88px;

}


/* =========================================================
   15. LOGO
========================================================= */

.site-logo {

    flex-shrink: 0;

}

.site-logo img {

    width: 235px;

    transition:
        width .3s ease;

}


/* =========================================================
   16. LOGO APRES SCROLL
========================================================= */

.main-header.is-scrolled
.site-logo img {

    width: 180px;

}


/* =========================================================
   17. NAVIGATION PRINCIPALE DESKTOP
========================================================= */

.main-navigation {

    margin-left: auto;

}

.main-menu {

    margin: 0;

    padding: 0;

    list-style: none;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap:
        clamp(
            18px,
            1.5vw,
            32px
        );

}

.main-menu > li {

    position: relative;

}


/* =========================================================
   18. LIENS DU MENU PRINCIPAL
========================================================= */

.main-menu > li > a,
.submenu-toggle {

    position: relative;

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0;

    border: 0;

    background:
        transparent;

    color:
        #171717;

    font-size: 14px;

    font-weight: 500;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color .2s ease;

}


/* =========================================================
   19. LIGNE DOREE SOUS LES LIENS
========================================================= */

.main-menu > li > a::after,
.submenu-toggle::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background:
        var(--gold);

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform .25s ease;

}


/* =========================================================
   20. HOVER + PAGE ACTIVE
========================================================= */

.main-menu > li > a:hover,
.main-menu > li > a.active,
.submenu-toggle:hover {

    color:
        #a86f00;

}

.main-menu > li > a:hover::after,
.main-menu > li > a.active::after,
.submenu-toggle:hover::after {

    transform:
        scaleX(1);

}


/* =========================================================
   21. FLECHE DU SOUS-MENU
========================================================= */

.submenu-arrow {

    width: 8px;

    height: 8px;

    border-right:
        2px solid currentColor;

    border-bottom:
        2px solid currentColor;

    transform:
        rotate(45deg)
        translateY(-2px);

    transition:
        transform .2s ease;

}

.has-submenu.is-open
.submenu-arrow {

    transform:
        rotate(225deg);

}


/* =========================================================
   22. SOUS-MENU DESKTOP
========================================================= */

.submenu {

    position: absolute;

    top:
        calc(100% + 12px);

    left: 50%;

    min-width: 245px;

    margin: 0;

    padding: 10px;

    list-style: none;

    background:
        var(--black-light);

    border-top:
        3px solid
        var(--gold);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, .25);

    opacity: 0;

    visibility: hidden;

    transform:
        translate(-50%, 8px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

}


/* =========================================================
   23. ZONE INVISIBLE ENTRE MENU ET SOUS-MENU
   Evite que le dropdown se ferme pendant le déplacement
========================================================= */

.submenu::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: -15px;

    height: 15px;

}


/* =========================================================
   24. OUVERTURE DU SOUS-MENU DESKTOP
   UNIQUEMENT AU SURVOL / FOCUS
========================================================= */

@media (min-width: 1201px) {

    .has-submenu:hover > .submenu,
    .has-submenu:focus-within > .submenu {

        opacity: 1;

        visibility: visible;

        transform:
            translate(-50%, 0);

    }

}


/* =========================================================
   25. LIENS DU SOUS-MENU DESKTOP
========================================================= */

.submenu li a {

    min-height: 44px;

    display: flex;

    align-items: center;

    padding:
        8px 15px;

    color:
        var(--white);

    font-size: 13px;

    transition:
        color .2s ease,
        background .2s ease,
        padding-left .2s ease;

}

.submenu li a::before {

    content: "";

    width: 6px;

    height: 6px;

    margin-right: 12px;

    border-top:
        1px solid
        var(--gold);

    border-right:
        1px solid
        var(--gold);

    transform:
        rotate(45deg);

}

.submenu li a:hover {

    color:
        var(--gold);

    background:
        rgba(255, 255, 255, .05);

    padding-left: 20px;

}


/* =========================================================
   26. CHANGEMENT DE LANGUE
========================================================= */

.language-switch {

    padding-left: 20px;

    border-left:
        1px solid
        #dddddd;

}

.language-switch a {

    font-weight:
        700 !important;

}


/* =========================================================
   27. BOUTON HAMBURGER
   Cache sur desktop
========================================================= */

.mobile-menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    padding: 7px;

    border: 0;

    background:
        transparent;

    cursor: pointer;

}

.mobile-menu-toggle span {

    width: 28px;

    height: 2px;

    display: block;

    margin:
        6px auto;

    background:
        #111111;

    transition:
        transform .25s ease,
        opacity .2s ease;

}


/* =========================================================
   28. HAMBURGER OUVERT
========================================================= */

.mobile-menu-toggle.is-open
span:nth-child(1) {

    transform:
        translateY(8px)
        rotate(45deg);

}

.mobile-menu-toggle.is-open
span:nth-child(2) {

    opacity: 0;

}

.mobile-menu-toggle.is-open
span:nth-child(3) {

    transform:
        translateY(-8px)
        rotate(-45deg);

}


/* =========================================================
   29. RESPONSIVE HEADER
   TABLETTE + MOBILE
========================================================= */

@media (max-width: 1200px) {


    /* =====================================================
       CONTAINER RESPONSIVE
    ===================================================== */

    .container {

        width:
            min(
                calc(100% - 36px),
                var(--container-width)
            );

    }


    /* =====================================================
       TOP HEADER RESPONSIVE
       Uniquement téléphone centré
    ===================================================== */

    .top-header-inner {

        min-height: 46px;

        justify-content:
            center;

    }

    .top-contact {

        justify-content:
            center;

    }

    .top-email,
    .top-socials {

        display: none;

    }


    /* =====================================================
       HEADER PRINCIPAL RESPONSIVE
    ===================================================== */

    .main-header-inner {

        min-height: 92px;

        justify-content:
            space-between;

    }


    /* =====================================================
       HEADER COMPACT AU SCROLL
    ===================================================== */

    .main-header.is-scrolled
    .main-header-inner {

        min-height: 78px;

    }


    /* =====================================================
       ESPACE CONSERVE EN MODE FIXE
    ===================================================== */

    .site-header:has(.main-header.is-scrolled)::after {

        height: 92px;

    }


    /* =====================================================
       LOGO RESPONSIVE
    ===================================================== */

    .site-logo img {

        width: 195px;

    }

    .main-header.is-scrolled
    .site-logo img {

        width: 150px;

    }


    /* =====================================================
       HAMBURGER VISIBLE
    ===================================================== */

    .mobile-menu-toggle {

        display: block;

        position: relative;

        z-index: 1300;

    }


    /* =====================================================
       NAVIGATION MOBILE FERMEE
    ===================================================== */

    .main-navigation {

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        margin: 0;

        background:
            var(--white);

        border-top:
            1px solid
            var(--gray-light);

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, .15);

        display: none;

        z-index: 1250;

    }


    /* =====================================================
       NAVIGATION MOBILE OUVERTE
    ===================================================== */

    .main-navigation.is-open {

        display: block;

    }


    /* =====================================================
       LISTE PRINCIPALE RESPONSIVE
    ===================================================== */

    .main-menu {

        display: block;

        width:
            min(
                calc(100% - 36px),
                var(--container-width)
            );

        margin:
            0 auto;

        padding:
            15px 0 25px;

    }


    /* =====================================================
       ELEMENTS PRINCIPAUX DU MENU RESPONSIVE
    ===================================================== */

    .main-menu > li {

        display: block;

        width: 100%;

        border-bottom:
            1px solid
            #ececec;

    }


    /* =====================================================
       LIENS DU MENU RESPONSIVE
    ===================================================== */

    .main-menu > li > a,
    .submenu-toggle {

        width: 100%;

        min-height: 54px;

        display: flex;

        align-items: center;

        justify-content:
            space-between;

        font-size: 15px;

        font-weight: 600;

    }


    /* =====================================================
       PAS DE LIGNE DOREE SUR MOBILE
    ===================================================== */

    .main-menu > li > a::after,
    .submenu-toggle::after {

        display: none;

    }


    /* =====================================================
       SOUS-MENU RESPONSIVE FERME
       Aucun translate desktop ici
    ===================================================== */

    .submenu {

        position: static;

        display: none;

        width: 100%;

        min-width: 100%;

        max-width: 100%;

        top: auto;

        left: auto;

        right: auto;

        margin: 0;

        padding:
            6px 0 8px 18px;

        background:
            #f7f7f7;

        border: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        transform:
            none !important;

        transition:
            none;

    }


    /* =====================================================
       SUPPRESSION DU BRIDGE DESKTOP
    ===================================================== */

    .submenu::before {

        display: none;

    }


    /* =====================================================
       SOUS-MENU RESPONSIVE OUVERT AU CLIC
    ===================================================== */

    .has-submenu.is-open
    > .submenu {

        display: block;

        transform:
            none !important;

    }


    /* =====================================================
       ELEMENTS DU SOUS-MENU RESPONSIVE
    ===================================================== */

    .submenu li {

        display: block;

        width: 100%;

        margin: 0;

        padding: 0;

    }


    /* =====================================================
       LIENS DU SOUS-MENU RESPONSIVE
    ===================================================== */

    .submenu li a {

        width: 100%;

        min-height: 44px;

        display: flex;

        align-items: center;

        padding:
            8px 12px;

        color:
            #222222;

        font-size: 14px;

        font-weight: 500;

    }


    /* =====================================================
       PETITE FLECHE DOREE DES SOUS-LIENS
    ===================================================== */

    .submenu li a::before {

        content: "";

        width: 6px;

        height: 6px;

        margin-right: 12px;

        flex-shrink: 0;

        border-top:
            1px solid
            var(--gold);

        border-right:
            1px solid
            var(--gold);

        transform:
            rotate(45deg);

    }


    /* =====================================================
       HOVER SOUS-MENU RESPONSIVE
    ===================================================== */

    .submenu li a:hover {

        color:
            #a86f00;

        background:
            transparent;

        padding-left: 12px;

    }


    /* =====================================================
       LANGUE RESPONSIVE
    ===================================================== */

    .language-switch {

        padding-left: 0;

        border-left: 0;

    }

    .language-switch a {

        color:
            #a86f00 !important;

    }

}


/* =========================================================
   30. PETITS ECRANS
========================================================= */

@media (max-width: 600px) {


    /* TOP HEADER */

    .top-header-inner {

        min-height: 42px;

    }


    /* TELEPHONE */

    .top-contact-link {

        font-size: 14px;

    }


    /* HEADER PRINCIPAL */

    .main-header-inner {

        min-height: 85px;

    }


    /* HEADER COMPACT */

    .main-header.is-scrolled
    .main-header-inner {

        min-height: 74px;

    }


    /* ESPACE CONSERVE */

    .site-header:has(.main-header.is-scrolled)::after {

        height: 85px;

    }


    /* LOGO */

    .site-logo img {

        width: 170px;

    }

    .main-header.is-scrolled
    .site-logo img {

        width: 120px;

    }

}


/* =========================================================
   31. FOOTER GENERAL
========================================================= */

.site-footer {

    background:
        linear-gradient(
            135deg,
            #101010 0%,
            #151515 50%,
            #0c0c0c 100%
        );

    color:
        #ffffff;

    border-top:
        1px solid
        rgba(214, 154, 24, .35);

}


/* =========================================================
   32. GRILLE PRINCIPALE DU FOOTER
========================================================= */

.footer-grid {

    display: grid;

    grid-template-columns:
        1.15fr
        1fr
        1fr
        1.15fr;

    gap: 0;

    padding:
        58px 0 48px;

}


/* =========================================================
   33. COLONNES DU FOOTER
========================================================= */

.footer-column {

    min-width: 0;

    padding:
        0 32px;

    border-left:
        1px solid
        rgba(255, 255, 255, .12);

}

.footer-column:first-child {

    padding-left: 0;

    border-left: 0;

}

.footer-column:last-child {

    padding-right: 0;

}


/* =========================================================
   34. TITRES DU FOOTER
========================================================= */

.footer-title {

    position: relative;

    margin:
        0 0 22px;

    padding-bottom: 8px;

    color:
        #ffffff;

    font-size: 16px;

    font-weight: 700;

    text-transform:
        uppercase;

    letter-spacing:
        .4px;

}

.footer-title::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 32px;

    height: 2px;

    background:
        var(--gold);

}


/* =========================================================
   35. TEXTE A PROPOS
========================================================= */

.footer-about p {

    margin:
        0 0 18px;

    color:
        rgba(255, 255, 255, .82);

    font-size: 14px;

    line-height: 1.7;

}

.footer-about a {

    color:
        var(--gold);

    font-weight: 600;

    transition:
        color .2s ease;

}

.footer-about a:hover {

    color:
        var(--gold-hover);

}


/* =========================================================
   36. LISTES DU FOOTER
========================================================= */

.footer-links,
.footer-locations,
.footer-contact {

    margin: 0;

    padding: 0;

    list-style: none;

}


/* =========================================================
   37. LIENS SERVICES
========================================================= */

.footer-links li {

    margin-bottom: 13px;

}

.footer-links a {

    position: relative;

    display: inline-flex;

    align-items: center;

    padding-left: 18px;

    color:
        rgba(255, 255, 255, .86);

    font-size: 14px;

    transition:
        color .2s ease,
        transform .2s ease;

}

.footer-links a::before {

    content: "";

    position: absolute;

    left: 0;

    width: 6px;

    height: 6px;

    border-top:
        1px solid
        var(--gold);

    border-right:
        1px solid
        var(--gold);

    transform:
        rotate(45deg);

}

.footer-links a:hover {

    color:
        var(--gold);

    transform:
        translateX(3px);

}


/* =========================================================
   38. SECTEURS DESSERVIS
========================================================= */

.footer-locations li {

    position: relative;

    margin-bottom: 13px;

    padding-left: 21px;

    color:
        rgba(255, 255, 255, .86);

    font-size: 14px;

    line-height: 1.5;

}

.footer-locations li::before {

    content: "";

    position: absolute;

    left: 2px;

    top: 6px;

    width: 8px;

    height: 8px;

    border:
        2px solid
        var(--gold);

    border-radius: 50%;

}

.footer-locations li::after {

    content: "";

    position: absolute;

    left: 5px;

    top: 15px;

    width: 4px;

    height: 4px;

    background:
        var(--gold);

    transform:
        rotate(45deg);

}


/* =========================================================
   39. LIENS DANS LES SECTEURS DESSERVIS
========================================================= */

.footer-locations a {

    color: inherit;

    transition:
        color .2s ease;

}

.footer-locations a:hover {

    color:
        var(--gold);

}


/* =========================================================
   40. RESEAUX SOCIAUX DU FOOTER
========================================================= */

.footer-socials {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 26px;

}

.footer-socials a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(214, 154, 24, .55);

    border-radius: 50%;

    color:
        var(--gold);

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        border-color .2s ease;

}

.footer-socials a:hover {

    background:
        var(--gold);

    color:
        #111111;

    border-color:
        var(--gold);

    transform:
        translateY(-2px);

}

.footer-socials svg {

    width: 21px;

    height: 21px;

    fill:
        currentColor;

}


/* =========================================================
   41. CONTACT DU FOOTER
========================================================= */

.footer-contact li {

    margin-bottom: 14px;

    color:
        rgba(255, 255, 255, .86);

    font-size: 14px;

    line-height: 1.55;

}

.footer-contact-label {

    display: block;

    margin-bottom: 3px;

    color:
        #ffffff;

    font-weight: 600;

}

.footer-contact a {

    color:
        rgba(255, 255, 255, .86);

    transition:
        color .2s ease;

}

.footer-contact a:hover {

    color:
        var(--gold);

}


/* =========================================================
   42. HEURES D'OUVERTURE
========================================================= */

.footer-hours {

    margin-top: 24px;

}

.footer-hours h4 {

    margin:
        0 0 15px;

    color:
        #ffffff;

    font-size: 14px;

    text-transform:
        uppercase;

    letter-spacing:
        .35px;

}

.footer-hours-block {

    margin-bottom: 15px;

}

.footer-hours-block strong {

    display: block;

    margin-bottom: 4px;

    color:
        var(--gold);

    font-size: 13px;

    text-transform:
        uppercase;

}

.footer-hours-block span {

    display: block;

    color:
        rgba(255, 255, 255, .82);

    font-size: 14px;

    line-height: 1.5;

}


/* =========================================================
   43. BAS DU FOOTER
========================================================= */

.footer-bottom {

    border-top:
        1px solid
        rgba(214, 154, 24, .55);

}

.footer-bottom .container {

    padding:
        20px 0;

}


/* =========================================================
   44. COPYRIGHT CENTRE
========================================================= */

.footer-bottom p {

    margin: 0;

    text-align: center;

    color:
        rgba(255, 255, 255, .78);

    font-size: 13px;

    line-height: 1.7;

}

.footer-bottom a {

    color:
        var(--gold);

    transition:
        color .2s ease;

}

.footer-bottom a:hover {

    color:
        var(--gold-hover);

}


/* =========================================================
   45. FOOTER RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 1100px) {

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            42px 0;

    }

    .footer-column {

        padding:
            0 28px;

    }

    .footer-column:nth-child(odd) {

        padding-left: 0;

        border-left: 0;

    }

}


/* =========================================================
   46. FOOTER RESPONSIVE MOBILE
========================================================= */

@media (max-width: 700px) {

    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 0;

        padding:
            42px 0 28px;

    }

    .footer-column,
    .footer-column:first-child,
    .footer-column:last-child {

        padding:
            0 0 30px;

        margin-bottom: 30px;

        border-left: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, .11);

    }

    .footer-column:last-child {

        margin-bottom: 0;

        border-bottom: 0;

    }

    .footer-title {

        margin-bottom: 18px;

    }

    .footer-socials {

        margin-top: 22px;

    }

    .footer-bottom .container {

        padding:
            18px 0;

    }

    .footer-bottom p {

        font-size: 12px;

    }

}


/* =========================================================
   47. BACK TO TOP
   Bouton circulaire avec progression
========================================================= */

.back-to-top {

    position: fixed;

    right: 28px;

    bottom: 28px;

    z-index: 1500;

    width: 62px;

    height: 62px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        #111111;

    color:
        var(--white);

    cursor: pointer;

    box-shadow:
        0 6px 22px
        rgba(0, 0, 0, .25);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

}


/* =========================================================
   48. BACK TO TOP VISIBLE
========================================================= */

.back-to-top.is-visible {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* =========================================================
   49. HOVER DU BACK TO TOP
========================================================= */

.back-to-top:hover {

    box-shadow:
        0 8px 28px
        rgba(0, 0, 0, .35);

}


/* =========================================================
   50. SVG DE PROGRESSION
========================================================= */

.back-to-top-progress {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    transform:
        rotate(-90deg);

}


/* =========================================================
   51. CERCLE DE FOND
========================================================= */

.back-to-top-track {

    fill: none;

    stroke:
        rgba(255, 255, 255, .12);

    stroke-width: 2;

}


/* =========================================================
   52. CERCLE DORE DE PROGRESSION
========================================================= */

.back-to-top-value {

    fill: none;

    stroke:
        var(--gold);

    stroke-width: 2.5;

    stroke-linecap:
        round;

    stroke-dasharray:
        169.65;

    stroke-dashoffset:
        169.65;

    transition:
        stroke-dashoffset .1s linear;

}


/* =========================================================
   53. CONTENU CENTRAL BACK TO TOP
========================================================= */

.back-to-top-content {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 2px;

}


/* =========================================================
   54. FLECHE VERS LE HAUT
========================================================= */

.back-to-top-arrow {

    width: 8px;

    height: 8px;

    border-top:
        2px solid
        var(--gold);

    border-left:
        2px solid
        var(--gold);

    transform:
        rotate(45deg);

    margin-top: 4px;

    transition:
        transform .25s ease;

}

.back-to-top:hover
.back-to-top-arrow {

    transform:
        rotate(45deg)
        translate(-2px, -2px);

}


/* =========================================================
   55. POURCENTAGE DU SCROLL
========================================================= */

.back-to-top-percent {

    display: block;

    color:
        #ffffff;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    letter-spacing:
        -.2px;

}


/* =========================================================
   56. FOCUS CLAVIER BACK TO TOP
========================================================= */

.back-to-top:focus-visible {

    outline:
        2px solid
        var(--gold);

    outline-offset: 4px;

}


/* =========================================================
   57. BACK TO TOP RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .back-to-top {

        right: 16px;

        bottom: 65px;

        width: 56px;

        height: 56px;

    }

    .back-to-top-percent {

        font-size: 10px;

    }

}

