/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

html {
    -webkit-font-smoothing: antialiased;
}

/*
* Autres ajouts
*/

#localisation .section-wrapper {
    min-height: 650px;

    @media (max-width: 769px) {
        min-height: 550px;
    }
}

#localisation .map {
    position: relative;
    min-height: inherit;
    width: 100%;
    min-width: 100%;
}

#localisation .text-wrapper {
    background: #fff;
    z-index: 999;
    padding: 52px;
    max-width: 500px;
    position: absolute;
    right: 75px;

    @media (max-width: 769px) {
        position: initial;
        padding: 25px 0;
    }
}

body #equipe {
    @media (max-width: 769px) {
        padding-left: 0;
    }
}

body .navigation-popin {
    position: fixed;
    z-index: 999;
    background: var(--base-bg);
    inset: 0;
    -webkit-transition: all ease-in-out 600ms;
    -o-transition: all ease-in-out 600ms;
    transition: all ease-in-out 600ms;
}

body .navigation-popin ul {
    height: 100%;
}

body .navigation-popin ul>li>a {
    font-family: AlbertSans, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 8px 0;
    display: block;
    text-decoration: none;
    color: var(--base-color-high);
}

body:not(.burger-menu-opened) .navigation-popin {
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
}

body.burger-menu-opened .navigation-popin {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

footer {
    @media (max-width: 769px) {
        gap: 40px;
        padding-bottom: 100px !important;
    }
}

footer .footer-cell:has(.logo) {
    @media (max-width: 769px) {
        order: -1;
    }
}

footer .footer-cell .subtitle {
    max-width: 200px;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-cell {
    flex: 1;
    text-align: center;
}

footer .footer-cell img.logo {
    max-width: 250px;
}

footer .footer-cell p,
footer .footer-cell a {
    color: #fff;
}

footer .footer-wrapper {
    @media (max-width: 769px) {
        flex-flow: column;
        gap: 32px;
    }
}

/* Animation de scintillement (Shimmer) */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Le conteneur temporaire qui entoure l'image */
.skeleton-wrapper {
    display: inline-block; /* Pour ne pas casser la mise en page */
    position: relative;
    overflow: hidden;
    background: #f0f0f0; /* Couleur de fond grise */
    /* L'animation */
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px; /* Optionnel : coins arrondis */
    line-height: 0; /* Évite les espaces fantômes sous l'image */
}

/* L'image à l'intérieur */
.skeleton-wrapper img {
    opacity: 0; /* Invisible au début */
    transition: opacity 0.5s ease-in-out; /* Apparition douce */
    display: block;
    width: 100%;
    height: 100%;
}

/* Une fois chargée, l'image devient visible */
.skeleton-wrapper img.loaded {
    opacity: 1;
}

/* Classe pour forcer le chargement terminé (au cas où) */
.skeleton-wrapper.loaded-wrapper {
    animation: none;
    background: transparent;
}
