/* ============================
   Réinitialisation de base
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f4f6f8;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   En-tête
============================= */
header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header .subtitle {
    font-size: 1.1rem;
    color: #a8dadc;
}

/* ============================
   Sections principales
============================= */
main {
    padding: 40px 0;
}

section {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

section h2 {
    color: #16213e;
    margin-bottom: 15px;
    border-bottom: 2px solid #a8dadc;
    padding-bottom: 8px;
}

section p {
    color: #444;
}

/* ============================
   Liste de compétences
============================= */
.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background: #16213e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ============================
   Contact / liens
============================= */
#contact a {
    color: #16213e;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
    color: #a8dadc;
}

/* ============================
   Pied de page
============================= */
footer {
    text-align: center;
    padding: 20px 0;
    background: #16213e;
    color: #ccc;
    font-size: 0.9rem;
}

/* ============================
   Responsive
============================= */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    section {
        padding: 20px;
    }
}
