* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #222;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    padding: 32px 0 0 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

.btn-profile {
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 32px;
    color: #fff;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2196f3;
}
/* === Page Moi (maquette) === */
.moi-main {
    min-height: calc(100vh - 120px);
    background: #21191a; /* sombre comme sur la maquette */
    color: #e6eef8;
    padding: 120px 0 80px; /* espace pour header absolu */
    box-sizing: border-box;
}

.moi-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 36px 0;
    color: #ffffff;
}

/* Layout deux colonnes : texte (gauche) + image (droite) */
.moi-wrapper {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

/* Texte / description */
.moi-left {
    padding-top: 6px;
}

.moi-description {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #dfe9f3;
    margin-bottom: 34px;
    text-align: left;
}

/* CV blocks */
.cv-list { display: flex; flex-direction: column; gap: 28px; }

.cv-item .cv-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

/* pill link */
.cv-pill {
    display: inline-block;
    max-width: 520px;
    background: #ffffff;
    color: #1f1f1f;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    word-break: break-all;
}

.cv-pill:hover {
    background: #e6f6ff;
}

/* Photo (droite) */
.moi-right {
    display: flex;
    justify-content: center;
    align-items: start;
}

.moi-photo {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* Responsive */
@media (max-width: 980px) {
    .moi-wrapper {
        grid-template-columns: 1fr;
    }
    .moi-photo {
        max-width: 320px;
        margin: 0 auto;
    }
    .moi-main { padding: 100px 0 60px; }
    .moi-title { font-size: 2rem; }
}

/* Footer - nouveau style */
.footer {
    background: #0f1720;
    color: #e6eef8;
    padding: 48px 0 24px;
    width: 100%;
}

.footer-inner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact-section {
    text-align: left;
}

.contact-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-email,
.contact-text {
    color: #cbd5e1;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-icon img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05) brightness(0.95);
    transition: filter .15s ease, transform .12s ease;
}

.contact-icon:hover img {
    filter: none;
    transform: translateY(-3px);
}

.footer-bottom {
    width: 90%;
    max-width: 1100px;
    margin: 14px auto 0 auto;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-link {
    color: #60a5fa;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Réactivité */
@media (max-width: 820px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .nav-links { gap: 16px; }
}