/* Reset de base */
* {
    /* margin: 0;
    padding: 0; */
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f8ff; /* Bleu clair */
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: #173765; /* Bleu profond */
    color: white;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Empile les éléments si nécessaire */
    gap: 5px; /* Espacement entre le logo et le texte */
}

/* Logo styling */
.logo {
    max-height: 100px; /* Taille maximum pour le logo */
    height: auto;
    width: auto;
}

/* Header */
header {
    background-color: #173765; /* Bleu profond */
    color: white;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Empile les éléments si nécessaire */
    gap: 5px; /* Espacement entre le logo et le texte */
}

/* Logo styling */
.logo {
    max-height: 100px; /* Taille maximum pour le logo */
    height: auto;
    width: auto;
}

/* Heading styling */
header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #ffc210;
    margin: 0;
    text-align: center;
}

/* Navigation styling */
header nav {
    margin-top: 10px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #ffcc00; /* Jaune */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column; /* Empile le logo et le texte */
    }

    .logo {
        max-height: 80px; /* Taille du logo légèrement réduite */
    }

    header h1 {
        font-size: 1.6rem; /* Taille légèrement réduite */
    }

    header nav a {
        font-size: 1.2rem; /* Taille des liens ajustée */
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 0;
    }

    .logo {
        max-height: 90px; /* Maintient une bonne visibilité du logo */
    }

    header h1 {
        font-size: 1.4rem; /* Réduit légèrement la taille du titre pour libérer de l'espace */
    }

    header nav {
        display: flex;
        flex-wrap: wrap; /* Passe les liens sur plusieurs lignes si nécessaire */
        justify-content: center;
        gap: 5px;
    }

    header nav a {
        font-size: 1.1rem; /* Taille réduite pour les liens */
        margin: 0 5px;
    }
}


/* Section principale */
main {
    flex: 1;
}

section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

p, ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

ul li {
    margin-left: 20px;
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #173765, #1a4a91); /* Gradient élégant */
    color: white;
    text-align: center;
    padding: 20px 0; /* Plus d'espace pour un look aéré */
    margin-top: auto;
    font-size: 1rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2); /* Ombre subtile */
}

/* Texte principal */
footer p {
    margin: 5px 0;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mise en avant du développeur */
footer .developer {
    color: #ffc210; /* Couleur dorée pour attirer l'attention */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Effet de profondeur */
    transition: color 0.3s ease;
}

/* Au survol du développeur */
footer .developer:hover {
    color: #ffcc66; /* Accentue la couleur dorée */
    text-decoration: underline; /* Ajoute une petite touche en survol */
    cursor: pointer;
}
/* Lien vers les conditions d'utilisation */
footer .politique {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Effet de profondeur */
}

footer .politique a {
    color: #ffc210; /* Doré pour le lien */
    text-decoration: none; /* Supprime le soulignement par défaut */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Animation douce */
}

/* Survol du lien */
footer .politique a:hover {
    color: #ffcc66; /* Accentuation de la couleur */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Ombre plus intense */
    text-decoration: underline; /* Ajoute un soulignement */
    cursor: pointer;
}

/* Bouton Retour en Haut */
.scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(145deg, #f39c12, #e67e22);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.9;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(145deg, #e67e22, #f39c12);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.scroll-to-top-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
}
