/*
Theme Name: Com Une Loc - Page en construction
Theme URI: https://www.com-une-loc.fr
Author: Com Une Loc
Description: Thème simple de page d'accueil en construction, sans menu, avec image de fond et texte centré.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: com-une-loc-comingsoon
*/

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

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    background-color: #0f172a; /* bleu sombre de base */
    color: #ffffff;
}

/* Conteneur pleine hauteur */
.page-en-construction {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Le fond sera défini via un <style> dans index.php, ici on règle seulement le comportement */
.page-en-construction::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Voile sombre pour lisibilité du texte */
.page-en-construction::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: -1;
}

/* Bloc central */
.contenu-centré {
    max-width: 800px;
    padding: 1.5rem;
}

/* Titre principal (facultatif) */
.contenu-centré h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f97316; /* orange */
}

/* Phrase principale demandée */
.texte-principal {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* Sous-texte explicatif (facultatif) */
.texte-secondaire {
    font-size: 0.98rem;
    max-width: 580px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

/* Bloc d'infos (texte complémentaire) */
.bloc-infos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Badge "Site en construction" */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(248, 250, 252, 0.15);
}

/* Petit pictogramme travaux */
.badge-icon {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: #f97316;
    position: relative;
}
.badge-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -5px;
    width: 8px;
    height: 4px;
    background: #f97316;
    border-radius: 2px;
    transform: translateX(-50%);
}

/* Zone infos contact (si tu veux ajouter plus tard) */
.coordonnees {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsif */
@media (max-width: 600px) {
    .contenu-centré {
        padding: 1.25rem;
    }
}
/* Mascotte en bas à droite, visible aussi en responsive */
.mascotte-bas-gauche {
    position: fixed;
    right: 0.1rem;    /* collée au bord droit */
    bottom: 0.1rem;   /* collée en bas */
    z-index: 10;
    pointer-events: none; /* ne bloque pas les clics */
}
.mascotte-bas-gauche img {
    max-height: 220px;
    width: auto;
    height: auto;
    display: block;
}
/* Sur mobile : on la garde visible, simplement plus petite */
@media (max-width: 600px) {
    .mascotte-bas-gauche {
        right: 0.1rem;
        bottom: 0.1rem;
    }
    .mascotte-bas-gauche img {
        max-height: 140px; /* tu peux monter à 160/180 si trop petit */
    }
}