/* Configuration Générale */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.8; /* Espacement légèrement augmenté pour la lisibilité */
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
}

/* En-tête */
header {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

header h1 { margin: 0; font-size: 2.8em; }
.subtitle { font-size: 1.3em; opacity: 0.9; margin-top: 10px; }

/* Contenu Principal */
main {
    max-width: 900px; /* Légèrement plus large pour les textes longs */
    margin: -50px auto 50px;
    padding: 0 20px;
}

section {
    background: white;
    padding: 40px; /* Plus d'espace interne */
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

h2 {
    color: #1e3c72;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 25px;
}

/* Cartes de Projets */
.project-card {
    border-left: 6px solid #3498db;
    padding: 25px;
    margin-bottom: 40px;
    background: #fbfbfb;
    border-radius: 0 10px 10px 0;
}

.project-card h3 { margin-top: 0; color: #2c3e50; margin-bottom: 15px; }
.project-card p { margin-bottom: 10px; }
.project-card ul { margin-top: 5px; margin-bottom: 15px; }

/* Images des Projets */
.project-image {
    width: 100%;
    max-width: 650px; /* Taille maximale pour ne pas écraser le texte */
    height: auto;
    display: block;
    margin: 25px auto 10px; /* Centrée avec de l'espace */
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* Outils et Footer */
code { background: #e8e8e8; padding: 3px 6px; border-radius: 4px; font-family: Consolas, monospace; }
.tool-group p { margin-bottom: 15px; }

footer {
    text-align: center;
    padding: 50px 20px;
    background: #2c3e50;
    color: white;
}

footer h2 { color: white; border-bottom: none; }
.contact-info p { margin: 10px 0; }
footer a { color: #3498db; text-decoration: none; font-weight: bold; }
