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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    background-color: #1A1A1A; /* Gris foncé pour le fond */
    position: relative;
    color: #F5F5F5; /* Texte principal plus clair */
    padding: 20px;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/noise.png') repeat;
    opacity: 0.03; /* Réduction de l’opacité pour un fond plus discret */
    z-index: -1;
}

.mobile-block {
    display: none;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mobile-message {
    max-width: 90%;
    padding: 40px;
    background: #2A2A2A; /* Fond légèrement plus clair pour les boîtes */
    border: 2px solid #2A5F9E; /* Bordure bleu profond */
}

.mobile-message p {
    font-size: 1.2em;
    color: #F5F5F5; /* Texte plus clair */
    margin-bottom: 20px;
}

.mobile-message .mobile-footer {
    font-size: 1em;
    color: #B0C4DE; /* Texte du footer plus moderne */
    margin-top: 20px;
}

.mobile-message a {
    color: #66B0FF; /* Liens plus vifs */
    text-decoration: underline;
}

.mobile-message a:hover {
    color: #99CCFF; /* Survol des liens plus clair */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    background: linear-gradient(135deg, #2A5F9E 0%, #4A90E2 100%); /* Dégradé bleu pour un effet moderne */
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 40px;
    border: 2px solid #2A5F9E; /* Bordure bleu profond */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6em; /* Légère augmentation pour plus d’impact */
    font-weight: 700;
    color: #F5F5F5; /* Titre en blanc cassé pour contraste avec le dégradé */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

header p {
    font-size: 1.4em;
    font-weight: 400;
    color: #F5F5F5; /* Texte plus clair */
}

section {
    background: #2A2A2A; /* Fond des sections plus chaleureux */
    padding: 40px;
    margin-bottom: 30px;
    border: 2px solid #2A5F9E; /* Bordure bleu profond */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    position: relative;
}

section:hover {
    transform: translateY(-5px);
}

section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.1em; /* Légère augmentation pour plus d’impact */
    font-weight: 700;
    color: #2A5F9E; /* Titre en bleu profond */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: #4A90E2; /* Ligne en bleu moyen lumineux */
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.justify {
    text-align: justify;
}

/* Centrer le texte dans les sections d'erreur */
section[id^="error-"] p {
    text-align: center;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.icon-list li {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.icon {
    font-size: 1.3em;
    margin-right: 12px;
    color: #2A5F9E; /* Icônes en bleu profond */
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-list li:hover .icon {
    color: #FF6F61; /* Corail au survol pour un accent dynamique */
    transform: scale(1.2);
}

a {
    color: #66B0FF; /* Liens plus vifs */
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #99CCFF; /* Survol des liens en bleu clair */
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:hover {
    color: #99CCFF; /* Survol des liens plus clair */
}

.url-long {
    white-space: nowrap;
    overflow-x: auto;
}

footer {
    text-align: center;
    font-size: 1em;
    color: #B0C4DE; /* Footer en bleu-gris clair */
    padding: 20px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .container {
        display: none;
    }

    .mobile-block {
        display: flex;
    }
}