@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* --- DIAPORAMA AVEC ZOOM (KEN BURNS) --- */
.slideshow-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
    filter: blur(8px) brightness(1.0); /* REND LA VIDÉO FLOU ET UN PEU SOMBRE */
}

.slide {
    position: absolute;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    animation: kenBurns 10s linear infinite; /* 3s + 3s + 4s = 10s total */
}

/* Calcul des temps : Image 1 (0-30%), Image 2 (30-60%), Image 3 (60-100%) */
.slide1 { animation-delay: 0s; }
.slide2 { animation-delay: 3s; }
.slide3 { animation-delay: 6s; }

@keyframes kenBurns {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.15); } /* Zoom progressif */
    100% { opacity: 0; }
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Filtre sombre pour lire le texte */
    z-index: 1;
}

/* --- LOADER CIRCULAIRE --- */
.circle-loader {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
}

svg {
    transform: rotate(-90deg); /* Pour que le cercle commence en haut */
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: #ffffff; /* Couleur rouge comme ta barre */
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
    filter: drop-shadow(0 0 8px rgba(220, 53, 69, 0.8));
}

.percentage {
    position: absolute;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}

/* --- MODIFICATION DU BODY --- */

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Empêche le scroll si la vidéo dépasse */
}

/* Le reste de votre CSS demeure inchangé... */

#loader-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

.loader-content {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

/*.logo-container h1 {
    color: #007bff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 10px;
    text-transform: uppercase;
}*/
.logo-container h1 {
    color: #fff; 
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.8), 
                 0 0 20px rgba(0, 123, 255, 0.5);
    border-bottom: 3px solid #dc3545; 
    display: inline-block;
    padding-bottom: 5px;
}
/*.logo-container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 40%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}*/
/*.logo-container h1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}*/
/*.logo-container h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 0px #007bff, 
                 4px 4px 15px rgba(0,0,0,0.7);
    margin-bottom: 5px;
}*/

/* Petit ajout pour le h4 juste en dessous si tu l'utilises */
.logo-container h4 {
    color: #ffd700; /* Or pour le slogan */
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 400;
    text-transform: italic;
    opacity: 0.8;
}
.logo-container h4 {
    color: #fff;
    font-size: 1.0rem;
    margin-top: 10px
}

.text-info {
    margin-top: 40px;
}

#loading-text {
    color: #ffd700;  /* ffd700 Jaune Or pour les infos */
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Style de la barre de progression */
.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 12px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-loading {
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-style: normal;
}

/* Animation de pulsation sur le logo */
.logo-container img {
    animation: pulse 2s infinite;
    width: 35%;
    height: 35%;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}