body {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1e1e2f;
    background: #f2f4f6;
}

header,
main,
footer {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 40, 50, 0.08);
    margin-bottom: 1.5rem;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    border-bottom: 1px solid #b0c4ce;
    padding-bottom: 0.75rem;
}

a {
    text-decoration: none;
    color: #005a6f;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

img.photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0f6b7c;
    background: #e1edf0;
}

.apropos-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
}

th,
td {
    border: 1px solid #9bb7c2;
    padding: 0.75rem;
    text-align: left;
}

th {
    background: #d3e3e9;
    color: #013a47;
    font-weight: 600;
}

.reseaux a {
    background: #deedf2;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    display: inline-block;
    margin-right: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid #b7d3dd;
}

footer p {
    margin: 0.5rem 0;
}

h1,
h2,
h3 {
    color: #023e58;
}

hr {
    border: 1px dashed #aac1cb;
    margin: 2rem 0 1rem;
}

.cv-detail {
    background: #f6fbfd;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    display: inline-block;
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.badge {
    background: #0f4b5a;
    color: white;
    padding: 0.15rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
}