/* --- Réinitialisation et configuration de base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #172a74 0%, #80063f 100%);
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
}

/* --- Conteneur principal --- */
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    width: 100%;
    padding: 40px 20px;
}

/* --- Typographie --- */
h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 20px;
    color: #b0c4de;
}

.description {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 20px auto;
    line-height: 1.6;
}

h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

/* --- Compte à rebours --- */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-item span {
    display: block;
    font-size: 3rem;
    font-weight: 600;
}

.countdown-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* --- Formulaire d'inscription --- */
.signup-form form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    /* Permet de passer à la ligne sur mobile */
}

.signup-form input[type="email"] {
    padding: 15px;
    border: 1px solid #5c7b9b;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    font-size: 1rem;
    width: 300px;
    transition: all 0.3s ease;
}

.signup-form input[type="email"]::placeholder {
    color: #b0c4de;
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: #5ab9ea;
    background-color: rgba(255, 255, 255, 0.2);
}

.signup-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background-color: #80063f;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-form button:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(90, 185, 234, 0.3);
}

/* --- Pied de page (Footer) --- */
footer {
    margin-top: 40px;
}

.social-links a {
    color: #b0c4de;
    font-size: 1.5rem;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #5ab9ea;
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #7b8ea3;
}

.copyright a {
    color: #7b8ea3;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #dfc6ef;
    text-decoration: underline;
}


/* --- Styles pour la page Politique de Confidentialité --- */

.legal-container {
    max-width: 850px;
    height: 1200px;
    margin: 40px auto;
    overflow-y: scroll;
    padding: 30px 50px;
    background: rgba(29, 43, 74, 0.6);
    /* Fond légèrement différent pour le contenu */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
    /* Aligner le texte à gauche pour la lisibilité */
    border: 1px solid rgba(90, 185, 234, 0.2);
}

.legal-container header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(90, 185, 234, 0.2);
    padding-bottom: 20px;
}

.btn-home {
    display: inline-block;
    padding: 10px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(223, 198, 239, 0.3);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-home:hover {
    background-color: #80063f;
    border-color: #80063f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 6, 63, 0.4);
    text-decoration: none;
}

.btn-home i {
    margin-right: 8px;
}

.legal-container h1 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.legal-container header p {
    color: #b0c4de;
    font-size: 0.9rem;
}

.legal-container h2 {
    font-size: 1.5rem;
    color: #dfc6ef;
    /* Utilise la couleur d'accent */
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(90, 185, 234, 0.1);
    padding-bottom: 10px;
}

.legal-container h3 {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.legal-container p,
.legal-container li {
    line-height: 1.8;
    color: #d0d8e8;
    margin-bottom: 15px;
}

.legal-container ul {
    padding-left: 25px;
}

.legal-container strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-container footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(90, 185, 234, 0.2);
}

/* Avertissement spécial */
.disclaimer {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin: 20px 0 30px 0;
    border-radius: 4px;
}

.disclaimer p,
.disclaimer strong {
    color: #f7dcac;
}

/* --- Style du bandeau de cookies (RGPD) --- */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #172a74 0%, #80063f 100%);
    color: #f0f0f0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);

    /* Animation pour l'apparition */
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    margin-right: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: #c4a7e7;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-content a:hover {
    color: #ffffff;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    /* Empêche les boutons de se réduire */
}

#cookie-banner button {
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#cookie-accept {
    background-color: #80063f;
    /* Votre couleur violet clair */
    color: #ffffff;
}

#cookie-accept:hover {
    background-color: #ffffff;
    color: #80063f;
}

#cookie-refuse {
    background-color: transparent;
    border: 2px solid #80063f;
    color: #f0f0f0;
}

#cookie-refuse:hover {
    background-color: #80063f;
    border-color: #80063f;
}

/* --- Media Queries pour la responsivité --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .countdown-item {
        padding: 15px;
        min-width: 80px;
    }

    .countdown-item span {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .cookie-content p {
        margin-right: 0;
    }

    .legal-container {
        margin: 20px;
        padding: 20px 25px;
    }

    .legal-container h1 {
        font-size: 1.8rem;
    }

    .legal-container h2 {
        font-size: 1.3rem;
    }
}



@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        padding: 10px;
        min-width: 65px;
    }

    .countdown-item span {
        font-size: 1.5rem;
    }

    .countdown-item p {
        font-size: 0.7rem;
    }

    .signup-form form {
        flex-direction: column;
        align-items: center;
    }

    .signup-form input[type="email"] {
        width: 100%;
        max-width: 300px;
    }
}