/* Variables CSS pour un design professionnel moderne */
:root {
    --primary-color: #0077B6; /* Bleu professionnel inspiré */
    --secondary-color: #48CAE4; /* Bleu secondaire */
    --accent-color: #00B4D8; /* Bleu accent */
    --text-dark: #233554; /* Gris foncé professionnel */
    --text-light: #FFFFFF; /* Blanc pur */
    --background: #FFFFFF; /* Fond blanc */
    --background-alt: #F8F9FA; /* Fond alternatif */
    --border-color: #E6E6E6; /* Bordure légère */
    --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
}

/* Layout professionnel moderne */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header professionnel */
header {
    padding: 5rem 0 3rem;
    text-align: center;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.header-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.header-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    color: #4A5568;
}

/* Navigation professionnelle */
nav {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* Liens sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    color: var(--text-dark);
    font-size: 1.25rem;
    transition: all 0.2s;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections professionnelles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* About section */
.about-content {
    line-height: 1.7;
    color: #4A5568;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Experience section - timeline inspiré */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
}

.experience-date {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
}

.experience-content {
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.experience-company {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.experience-description {
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 1rem;
}

.experience-highlights {
    list-style-type: none;
    margin: 1rem 0;
    padding-left: 0;
}

.experience-highlights li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.experience-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background-color: var(--background-alt);
    color: #4A5568;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Skills section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.skill-name {
    font-weight: 500;
}

/* Education section */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
}

.education-date {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
}

.education-content {
    margin-bottom: 1rem;
}

.education-degree {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.education-school {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-field {
    color: #4A5568;
    font-style: italic;
}

/* Pied de page */
footer {
    padding: 3rem 0;
    text-align: center;
    color: #718096;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: #718096;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }

    .experience-item,
    .education-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .experience-date,
    .education-date {
        font-size: 0.875rem;
    }

    .nav-container {
        gap: 1.5rem;
    }
}

/* Animations subtiles */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}