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

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
}


/* ==========================
   PAGE MAINTENANCE
========================== */

.maintenance {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

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

    overflow: hidden;
    isolation: isolate;
}


/* ==========================
   ARRIÈRE-PLAN
========================== */

.maintenance__background {
    position: absolute;
    z-index: -3;

    inset: -10px;

    background-image: url("images/maintenance-fond.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    filter: blur(3px);

    transform: scale(1.02);
}


/* Assombrit légèrement l'image pour
   améliorer la lisibilité du texte */

.maintenance__overlay {
    position: absolute;
    z-index: -2;

    inset: 0;

    background: rgba(0, 0, 0, 0.12);
}


/* ==========================
   CONTENU CENTRAL
========================== */

.maintenance__content {
    width: min(90%, 800px);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    transform: translateY(-5%);
}


/* ==========================
   LOGO
========================== */

.maintenance__logo {
    display: block;

    width: clamp(175px, 14vw, 245px);
    height: auto;

    margin-bottom: clamp(90px, 9vh, 140px);
}


/* ==========================
   TITRE
========================== */

.maintenance h1 {
    margin: 0;

    font-size: clamp(38px, 3.5vw, 58px);
    line-height: 1.08;

    font-weight: 300;

    letter-spacing: -0.5px;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


/* ==========================
   TEXTE
========================== */

.maintenance p {
    margin: 25px 0 0;

    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.5;

    font-weight: 400;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}


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

.maintenance__footer {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    width: 90%;

    text-align: center;

    font-size: 14px;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.9);

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}


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

@media (max-width: 1024px) {

    .maintenance__content {
        transform: none;
    }

    .maintenance__logo {
        width: 200px;
        margin-bottom: 70px;
    }

    .maintenance h1 {
        font-size: 42px;
    }

    .maintenance p {
        font-size: 17px;
    }

}


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

@media (max-width: 767px) {

    .maintenance {
        padding: 40px 20px 80px;
    }

    .maintenance__background {
        background-position: center center;
    }

    .maintenance__content {
        width: 100%;
    }

    .maintenance__logo {
        width: 175px;
        margin-bottom: 55px;
    }

    .maintenance h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .maintenance p {
        margin-top: 20px;
        font-size: 16px;
    }

    .maintenance__footer {
        bottom: 20px;
        font-size: 12px;
    }

}


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

@media (max-width: 400px) {

    .maintenance__logo {
        width: 155px;
        margin-bottom: 45px;
    }

    .maintenance h1 {
        font-size: 30px;
    }

    .maintenance p {
        font-size: 14px;
    }

}