/* Nouvelles Variables : Thème Lumineux et Énergique */
:root {
    --bg-main: #ffffff;
    --bg-alt: #f7fafc; /* Gris-bleu très très clair pour contraster */
    --text-dark: #2d3748; /* Gris anthracite au lieu de noir pur */
    --text-light: #ffffff;
    --accent-tech: #3182ce; /* Bleu tech vibrant */
    --accent-art: #dd6b20; /* Orange chaud / Cuivre */
    --accent-hover: #2b6cb0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation - Claire avec une légère ombre */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    /* Dégradé sur le logo pour le dynamisme */
    background: linear-gradient(45deg, var(--accent-tech), var(--accent-art));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-tech);
}

/* Sections globales */
.section {
    padding: 8rem 5% 4rem;
}

.dark-bg {
    background-color: var(--bg-alt); /* Devient la section gris très clair */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

/* Petit trait coloré sous les titres */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-tech), var(--accent-art));
    border-radius: 2px;
}

/* Hero Section - Plus chaleureuse */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Dégradé chaleureux par-dessus votre image de fond */
    background: linear-gradient(rgba(45, 55, 72, 0.7), rgba(49, 130, 206, 0.6)), url('img/hero-bg.jpg') center/cover;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    letter-spacing: -3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 2rem;
    color: #f7fafc;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0px;
}

.hero-content h2::after {
    display: none; /* Pas de trait sous le sous-titre */
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-tech);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-tech);
    color: var(--accent-tech);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--accent-tech);
    color: var(--text-light);
}

/* Couleurs spécifiques par section */
#musique h2::after { background: var(--accent-art); }

/* Layout Grille (Texte + Image) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid {
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    text-align: left;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.skills {
    margin-top: 1.5rem;
    list-style-position: inside;
    color: #4a5568;
}

.skills li { margin-bottom: 0.5rem; }

/* Images */
.image-placeholder img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Ombre plus douce */
}

.portrait img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-tech);
    padding: 4px; /* Effet de double bordure sympa */
    margin: 0 auto 2rem;
    display: block;
}

.app-showcase {
    position: relative;
}

.app-showcase .mockup {
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 60%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Utilities */
.text-center { text-align: center; }

footer {
    text-align: center;
    padding: 2.5rem;
    background-color: #1a202c; /* Le footer reste très sombre pour clôturer la page */
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive basique */
@media (max-width: 992px) {
    h2 { font-size: 2.5rem; }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .nav-links { gap: 1rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .nav-links { display: none; }
    h2 { font-size: 2rem; }
}
