
/* Définition des couleurs */
:root {
    --primary-100: #0D6E6E;
    --primary-200: #4a9d9c;
    --primary-300: #afffff;
    --accent-100: #FF3D3D;
    --accent-200: #ffe0c8;
    --text-100: #FFFFFF;
    --text-200: #e0e0e0;
    --bg-100: #0D1F2D;
    --bg-200: #1d2e3d;
    --bg-300: #354656;
}

/* Importation de la police Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* Styles de base */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-100); /* Texte en blanc */
    background-color: var(--bg-100); /* Couleur de fond */
    overflow: hidden;
}

/* Animation de fondu d'entrée */
.fade-in {
    animation: fadeIn 1.5s ease-in forwards;
    opacity: 0;
}

/* Animation de fondu de sortie */
.fade-out {
    animation: fadeOut 1s ease-out forwards;
}

/* Conteneur de l'intro */
.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 1em; /* Espacement interne */
}

/* Style du titre */
.title {
    font-size: 3em; /* Taille pour ordinateur */
    font-weight: 700;
    color: var(--text-100);
    margin-bottom: 20px;
}

/* Style de la description */
.description {
    font-size: 1.2em; /* Taille pour ordinateur */
    font-weight: 400;
    color: var(--text-200);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Style du bouton */
.cta-button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2em; /* Taille pour ordinateur */
    font-weight: 600;
    color: var(--text-100);
    background-color: var(--primary-100);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: var(--primary-200);
    transform: scale(1.05);
}

/* Animation de fondu d'entrée */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Animation de fondu de sortie */
@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Ajustements pour mobile */
/* Ajustements spécifiques pour mobile */
/* Optimisation pour mobile */
@media (max-width: 768px) {
    /* Réduction des marges globales */
    body {
        margin: 0;
        padding: 0.5em;
    }

    /* Conteneur d'intro */
    .intro-container {
        padding: 1em;
        height: 100vh;
        justify-content: center; /* Centrer les éléments */
        gap: 0.5em; /* Réduction des espaces entre les éléments */
    }

    /* Titre */
    .title {
        font-size: 2.2em; /* Taille conservée */
        margin-bottom: 5px; /* Espacement réduit */
    }

    /* Description */
    .description {
        font-size: 1em; /* Taille adaptée pour mobile */
        line-height: 1.3; /* Espacement plus compact entre les lignes */
        margin-bottom: 10px; /* Réduction de l'espace sous chaque paragraphe */
    }

    /* Bouton */
    .cta-button {
        font-size: 1em; /* Taille adaptée pour mobile */
        padding: 8px 16px; /* Espacement réduit */
        width: 90%; /* Largeur ajustée pour mobile */
        max-width: 250px; /* Limite de largeur */
        margin: 10px auto 0; /* Centrage et espace avec le contenu précédent */
    }
}
