/* --- Reset Strict --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    background-color: #000000;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow: hidden; /* Blocage total du défilement */
}

.main-wrapper {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-height: 85vh; /* Force le contenu à tenir dans 85% de la hauteur */
}

/* --- LOGO AMPLE MAIS INTELLIGENT --- */
.logo-area {
    width: 100%;
    max-width: 650px;
    margin-bottom: 2vh;
}

.cabinet-logo {
    width: 100%;
    /* La hauteur max est limitée par rapport à l'écran pour éviter le scroll */
    max-height: 55vh; 
    object-fit: contain;
    opacity: 0;
    animation: revealLogo 2s ease-out forwards;
}

/* --- TEXTE --- */
h1 {
    font-size: clamp(1.5rem, 5vh, 2.5rem); /* Taille basée sur la hauteur (vh) */
    font-weight: 100;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.subtitle {
    font-size: clamp(0.7rem, 1.5vh, 0.9rem);
    color: #555;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- LOADER REMONTÉ --- */
.minimal-loader {
    display: flex;
    gap: 10px;
    margin-top: 25px; /* Distance réduite pour remonter les points */
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #222;
    border-radius: 50%;
    animation: dotPulse 1.8s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

/* --- FOOTER DISCRET --- */
.footer-fixed {
    position: absolute;
    bottom: 20px;
    font-size: 0.65rem;
    color: #222;
}

/* --- ANIMATIONS --- */
@keyframes revealLogo {
    0% { opacity: 0; transform: scale(0.98); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); background-color: #222; }
    50% { transform: scale(1.4); background-color: #fff; }
}

/* Gestion spécifique pour écrans très larges mais peu hauts */
@media (max-height: 600px) {
    .cabinet-logo { max-height: 30vh; }
    h1 { font-size: 1.2rem; }
}