/* Reset basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eef1f4; /* Fond encore plus léger et moderne */
    color: #34495e; /* Gris foncé moderne */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================================== */
/* 🚀 HEADER ET NAVIGATION (BELLE EN-TÊTE) */
/* ==================================== */

.header {
    /* Utilisation d'un fond blanc/gris très clair avec une ombre prononcée */
    background-color: #ffffff; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Ombre élégante */
    padding: 20px 0; /* Plus d'espace vertical */
    position: sticky; /* Rendre le menu collant en haut */
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem; /* Taille de police plus grande pour le logo */
    color: #1abc9c; /* Vert Émeraude frais (couleur de marque) */
    margin: 0;
    font-weight: 800; /* Gras prononcé */
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    transition: color 0.3s;
}
.logo a:hover h1 {
    color: #16a085;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 15px; /* Espacement ajusté */
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px; /* Coins arrondis plus doux */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    display: block;
}

/* Effet de survol amélioré */
.nav-link:hover {
    background-color: #ecf0f1; 
    color: #1abc9c;
}

/* Style de l'élément actif */
.nav-link.active {
    background-color: #1abc9c; /* Couleur de marque forte */
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(26, 188, 156, 0.4); /* Ombre colorée */
    transform: translateY(-2px); /* Léger soulèvement pour l'effet "actif" */
}


/* ==================================== */
/* 📦 CONTENU PRINCIPAL */
/* ==================================== */

.main-content {
    padding: 40px 0;
    min-height: 70vh; 
}

/* Style général pour les encarts d'outils */
.tool-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px; /* Coins plus arrondis pour un look plus doux */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed; /* Bordure subtile */
}

.tool-box h2 {
    color: #34495e;
    margin-bottom: 25px;
    border-bottom: 3px solid #1abc9c; /* Ligne de séparation colorée */
    padding-bottom: 15px;
    font-size: 1.7rem;
}

/* Styles pour les champs de formulaire (Textarea) */
.tool-box textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;