/* --- HERO SECTION --- */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-text p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* BOUTONS */
.hero-btns { display: flex; gap: 1rem; }

.btn {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:not(.btn-outline) {
    background: var(--primary);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* IMAGE PROFIL */
.profile-image-container {
    position: relative;
    width: 380px;
}

.profile-img {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 12px;
    z-index: 1;
}

/* --- EXPERTISES (SUR FOND CLAIR) --- */
.quick-presentation { padding: 100px 0; }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: var(--transition);
}

.expertise-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.expertise-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* --- PROJETS RÉCENTS (LE LOOK SOMBRE QUE VOUS AIMEZ) --- */
.recent-projects {
    background-color: var(--primary);
    padding: 100px 0;
    color: var(--text-light);
}

.recent-projects h2 {
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-preview {
    background-color: var(--secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-preview:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.project-preview h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.project-preview p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    color: var(--accent);
    font-weight: 500;
}

.project-link i { transition: transform 0.3s ease; }
.project-link:hover i { transform: translateX(5px); }

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-btns { justify-content: center; }
    .profile-image-container { width: 280px; margin: 0 auto; }
}