/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ===== NAVIGATION ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a2e;
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    color: #e94560;
    font-size: 22px;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e94560;
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 40px 20px;
}

.hero-content {
    max-width: 700px;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e94560;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.accent {
    color: #e94560;
}

.hero-subtitle {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 32px;
}

.btn {
    background: #e94560;
    color: white;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn:hover {
    background: #c73652;
    transform: translateY(-2px);
}

/* ===== COMPÉTENCES ===== */
.skills {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.skills h2 {
    font-size: 32px;
    margin-bottom: 48px;
    color: #1a1a2e;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 32px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.skill-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.skill-card h3 {
    color: #1a1a2e;
    margin-bottom: 8px;
    font-size: 18px;
}

.skill-card p {
    color: #666;
    font-size: 14px;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 24px;
    font-size: 14px;
}
/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    text-align: center;
    padding: 80px 40px 60px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-header p {
    color: #aaa;
    font-size: 18px;
}

/* ===== ACTIVE NAV ===== */
.nav-links a.active {
    color: #e94560;
}

/* ===== À PROPOS ===== */
.about-content {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin: 32px 0 16px;
}

.about-text p {
    color: #555;
    margin-bottom: 16px;
}

/* Timeline */
.timeline {
    margin-top: 16px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.timeline-year {
    background: #e94560;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    margin-top: 4px;
}

.timeline-info h3 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.timeline-info p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* Info list */
.about-info h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.info-label {
    color: #888;
    font-weight: 500;
}

/* ===== PROJETS ===== */
.projects-content {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.project-header {
    font-size: 42px;
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.project-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #444;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
}
/* ===== CONTACT ===== */
.contact-content {
    padding: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 32px;
}

.contact-form {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
}

.contact-info {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
}

.contact-form h2,
.contact-info h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    transition: border-color 0.3s;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
}

.alert-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #f0fff4;
    color: #27ae60;
    border: 1px solid #c3e6cb;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.contact-icon {
    font-size: 28px;
    min-width: 36px;
    text-align: center;
}

.contact-list strong {
    display: block;
    color: #1a1a2e;
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-list p {
    color: #888;
    font-size: 14px;
    margin: 0;
}