/* Section Mon rôle */
.project-role p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #47413A;
}

/* Section Call-to-action */
.project-cta p {
    font-size: 20px;
    line-height: 1.6;
    color: #47413A;
}/* Dégradé spécifique pour la carte blanche (CV) */
.project-item.cv a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}/* Styles pour la page Contact */
/* Section contact améliorée */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #47413A;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 2;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-label {
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.contact-item a {
    color: #47413A;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid #47413A;
    padding-bottom: 2px;
}

.contact-item a:hover {
    color: #333;
    border-color: #333;
}

.availability {
    margin-top: 30px;
    padding: 20px;
    background-color: #F5F3F0;
    border-radius: 8px;
}

.availability h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.availability p {
    font-size: 16px;
    line-height: 1.5;
    color: #47413A;
}

/* Styles pour les titres */
.contact-info h2,
.contact-form h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

/* Style du formulaire amélioré */
.form-group {
    margin-bottom: 25px;
}

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

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0DCD4;
    border-radius: 8px;
    font-family: 'Clash Display', sans-serif;
    font-size: 16px;
    color: #47413A;
    background-color: #F5F3F0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #47413A;
    box-shadow: 0 0 0 3px rgba(71, 65, 58, 0.1);
}

.form-group input:valid, 
.form-group textarea:valid {
    border-color: #47413A;
    background-color: rgba(245, 243, 240, 0.8);
}

.form-group input:focus:valid, 
.form-group textarea:focus:valid {
    box-shadow: 0 0 0 3px rgba(71, 65, 58, 0.1);
    border-color: #47413A;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

button.button {
    background-color: #47413A;
    color: white;
    border: none;
    padding: 12px 30px;
    font-family: 'Clash Display', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

button.button:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 65, 58, 0.2);
}

button.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(71, 65, 58, 0.1);
}

button.button:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: left 0.6s ease;
}

button.button:hover:after {
    left: 100%;
}

/* Animations et transitions */
.contact-form form {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-form form:focus-within {
    transform: translateY(-5px);
}

.contact-form .form-group {
    transition: transform 0.2s ease;
}

.contact-form .form-group:focus-within {
    transform: translateY(-3px);
}

/* Responsive design amélioré */
@media (max-width: 900px) {
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info, 
    .contact-form {
        flex: 1;
        width: 100%;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 12px 10px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .contact-details {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-intro {
        font-size: 16px;
    }
    
    .about-intro h1 {
        font-size: 36px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 22px;
    }
}/* Override couleur spécifique */
.project-item.yellow h3 {
    color: white;
}/* Déclaration des polices */
@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Variable.woff2') format('woff2');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Extralight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('fonts/ClashDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Clash Display', sans-serif;
    background-color: #EDE9E4;
    background-image: radial-gradient(circle, #D7D1C8 1px, transparent 1px);
    background-size: 30px 30px;
    color: #333;
    display: flex;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Barre latérale */
.sidebar {
    width: 300px;
    max-width: 400px;
    background-color: #EDE9E4;
    padding: 50px;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo {
    margin-bottom: 50px;
}

.logo img {
    width: 60px;
    height: auto;
}

.intro {
    margin-bottom: 40px;
}

.intro h1 {
    font-size: 36px;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #47413A;
}

.intro h1 .bold {
    font-weight: 500;
}

nav {
    margin-bottom: auto;
}

nav ul li {
    margin-bottom: 20px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: font-weight 0.3s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    font-weight: 700;
}

/* Contenu principal */
.content {
    flex: 1;
    margin-left: 300px;
    padding: 50px 30px 50px 50px;
}

/* Styles pour les pages projet */
.project-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-header-image {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 40px;
    object-fit: cover;
}

.project-header h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.project-tagline {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #47413A;
}

.project-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.meta-item {
    min-width: 120px;
}

.meta-item h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #686259;
}

.meta-item p {
    font-size: 20px;
    color: #333;
}

.project-summary {
    background-color: #F5F3F0;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 60px;
}

.project-summary h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    border: none;
    padding: 0;
}

.project-summary p {
    font-size: 20px;
    line-height: 1.6;
    color: #47413A;
}

.project-challenge h2,
.project-process h2,
.project-solution h2,
.project-results h2 {
    font-size: 32px;
    font-weight: 500;
    margin: 50px 0 20px;
    color: #333;
}

.project-challenge h3,
.project-process h3,
.project-solution h3,
.project-results h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 30px 0 15px;
    color: #333;
}

.project-challenge p,
.project-process p,
.project-solution p,
.project-results p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #47413A;
}

.objectives-list {
    margin: 20px 0 40px;
}

.objectives-list li {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #47413A;
    position: relative;
    padding-left: 25px;
}

.objectives-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #47413A;
    border-radius: 50%;
}

.project-image-container {
    margin: 40px 0;
}

.project-image-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #686259;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 25px 30px;
    max-width: 1600px;
    margin: 0;
    width: 100%;
    justify-content: start;
}

.project-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #222;
    position: relative;
    aspect-ratio: 10/16;
    width: 100%;
    max-height: 45vh; /* Augmenté de 40vh à 45vh */
    padding: 0; /* Reset padding */
}

.project-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 75%;
    background-color: #222;
    position: absolute;
    top: 0;
}

/* Style commun pour tous les titres de cartes */
.project-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    font-family: 'Clash Display', sans-serif;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 20px 20px 20px; /* Padding uniforme pour tous les titres */
    margin: 0;
    box-sizing: border-box;
    z-index: 2; /* Assure que le texte est au-dessus du dégradé */
}

/* Carte blanche pour la page À propos */
.project-item.white,
.project-item.cv {
    background-color: #FFFFFF;
}

.project-item.white .project-image {
    background-color: #FFFFFF;
}

/* Overrides pour les couleurs spécifiques de titre */
.project-item.white h3,
.project-item.cv h3 {
    color: #000000;
}

/* Projet jaune avec image de fond */
.project-item.yellow {
    background-color: #FFC107;
}

.project-item.yellow h3 {
    color: white;
}

/* Styles communs pour les cartes de projet avec images */
.project-item.francetv,
.project-item.servier,
.project-item.franceinfo,
.project-item.toolz,
.project-item.afmae,
.project-item.endemol,
.project-item.yellow,
.project-item.cv {
    background-color: #222;
    position: relative;
}

.project-item.francetv .project-image,
.project-item.servier .project-image,
.project-item.franceinfo .project-image,
.project-item.toolz .project-image,
.project-item.afmae .project-image,
.project-item.endemol .project-image,
.project-item.yellow .project-image,
.project-item.cv .project-image {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* L'image prend toute la hauteur de la carte */
    transition: background-image 0.3s ease;
}

.project-item.francetv a::after,
.project-item.servier a::after,
.project-item.franceinfo a::after,
.project-item.toolz a::after,
.project-item.afmae a::after,
.project-item.endemol a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* Hauteur du dégradé à 30% de la carte */
    background: linear-gradient(to top, rgba(34, 34, 34, 1) 0%, rgba(34, 34, 34, 0) 100%);
    pointer-events: none; /* Pour que les clics traversent cette couche */
    z-index: 1; /* Place le dégradé au-dessus de l'image mais sous le texte */
}

/* Dégradé spécifique pour la carte blanche (CV) */
.project-item.cv a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Dégradé spécifique pour la carte jaune */
.project-item.yellow a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(255, 193, 7, 1) 0%, rgba(255, 193, 7, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Images spécifiques pour chaque projet */
.project-item.cv .project-image {
    background-image: url('../images/cv-dark.png');
}

.project-item.cv:hover .project-image {
    background-image: url('../images/cv-light.png');
}

.project-item.yellow .project-image {
    background-image: url('../images/mic-dark.png');
}

.project-item.yellow:hover .project-image {
    background-image: url('../images/mic-light.png');
}

.project-item.francetv .project-image {
    background-image: url('../images/ftv-dark.png');
}

.project-item.francetv:hover .project-image {
    background-image: url('../images/ftv-light.png');
}

.project-item.servier .project-image {
    background-image: url('../images/servier-dark.png');
}

.project-item.servier:hover .project-image {
    background-image: url('../images/servier-light.png');
}

.project-item.franceinfo .project-image {
    background-image: url('../images/info-dark.png');
}

.project-item.franceinfo:hover .project-image {
    background-image: url('../images/info-light.png');
}

.project-item.toolz .project-image {
    background-image: url('../images/toolz-dark.png');
}

.project-item.toolz:hover .project-image {
    background-image: url('../images/toolz-light.png');
}

.project-item.afmae .project-image {
    background-image: url('../images/afmae-dark.png');
}

.project-item.afmae:hover .project-image {
    background-image: url('../images/afmae-light.png');
}

.project-item.endemol .project-image {
    background-image: url('../images/endemol-dark.png');
}

.project-item.endemol:hover .project-image {
    background-image: url('../images/endemol-light.png');
}

/* Lightbox pour les images de galerie */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #EDE9E4;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: #EDE9E4;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 400;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    z-index: 10000;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 8px 16px;
    }
}

/* Galerie mosaïque pour les projets */
.project-gallery {
    margin: 60px 0;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
    width: 100%;
}

.mosaic-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.mosaic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Layout mosaïque - Image grande en haut à gauche */
.mosaic-large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

/* Image petite en haut à droite */
.mosaic-small {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

/* Images moyennes en bas */
.mosaic-medium:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.mosaic-medium:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

/* Layout mosaïque pour 3 images */
.mosaic-three-images {
    grid-template-rows: repeat(2, 350px);
}

.mosaic-three-images .mosaic-large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.mosaic-three-images .mosaic-medium:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.mosaic-three-images .mosaic-medium:nth-child(3) {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
}

/* Responsive pour la mosaïque */
@media (max-width: 992px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 300px);
    }
    
    .mosaic-large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .mosaic-small {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .mosaic-medium:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    
    .mosaic-medium:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
}

@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
        gap: 15px;
    }
    
    .mosaic-large,
    .mosaic-small,
    .mosaic-medium:nth-child(3),
    .mosaic-medium:nth-child(4) {
        grid-column: 1 / 2;
    }
    
    .mosaic-large {
        grid-row: 1 / 2;
    }
    
    .mosaic-small {
        grid-row: 2 / 3;
    }
    
    .mosaic-medium:nth-child(3) {
        grid-row: 3 / 4;
    }
    
    .mosaic-medium:nth-child(4) {
        grid-row: 4 / 5;
    }
}

/* Navigation entre projets */
.project-navigation {
    margin: 60px 0 40px;
}

.project-navigation h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #333;
}

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

.project-nav-card {
    display: block;
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.project-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-nav-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.project-nav-card:hover .project-nav-image {
    transform: scale(1.05);
}

.project-nav-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 20px 20px 10px;
}

.project-nav-card p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 20px 20px;
}

@media (max-width: 768px) {
    .projects-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .project-nav-image {
        height: 200px;
    }
}

/* Styles pour la page Mon CV */
.about-intro {
    margin-bottom: 50px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.about-intro h1 {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    color: #47413A;
}

/* Layout en colonnes pour la page CV */
.cv-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cv-col-left {
    flex: 2; /* 2/3 de la largeur */
}

.cv-col-right {
    flex: 1; /* 1/3 de la largeur */
}

.skills-timeline {
    margin-top: 20px;
    margin-bottom: 50px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 20px;
}

.skill-category h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

.skill-category ul {
    list-style: none;
}

.skill-category ul li {
    padding: 8px 0;
    font-size: 16px;
    color: #47413A;
}

section h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0DCD4;
    color: #333;
}

.timeline {
    margin-bottom: 50px;
    margin-top: 20px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
    border-left: 1px solid #E0DCD4;
}

.timeline-date {
    font-size: 14px;
    font-weight: 500;
    color: #686259;
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #47413A;
}

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

.contact-info ul li {
    padding: 8px 0;
    font-size: 18px;
    color: #47413A;
}

.contact-info ul li a {
    color: #47413A;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-info ul li a:hover {
    color: #333;
}

/* Pour les écrans plus petits */
@media (max-width: 992px) {
    .sidebar {
        width: 250px;
    }
    
    .content {
        margin-left: 250px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cv-columns {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 30px 20px;
    }
    
    .content {
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro {
        margin-bottom: 30px;
    }
    
    nav {
        margin-bottom: 0;
    }
    
    nav ul {
        display: flex;
        justify-content: space-between;
    }
    
    nav ul li {
        margin-bottom: 0;
    }
    
    /* CV colonnes responsive */
    .cv-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .cv-col-left,
    .cv-col-right {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Pour les écrans très larges */
@media (min-width: 1400px) {
    .about-intro, 
    .cv-columns {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .projects-grid {
        max-width: none;
        margin: 0;
    }
}

/* Images spécifiques pour chaque projet */
.project-item.cv .project-image {
    background-image: url('../images/cv-dark.png');
}

.project-item.cv:hover .project-image {
    background-image: url('../images/cv-light.png');
}

.project-item.yellow .project-image {
    background-image: url('../images/mic-dark.png');
}

.project-item.yellow:hover .project-image {
    background-image: url('../images/mic-light.png');
}

.project-item.francetv .project-image {
    background-image: url('../images/ftv-dark.png');
}

.project-item.francetv:hover .project-image {
    background-image: url('../images/ftv-light.png');
}

.project-item.servier .project-image {
    background-image: url('../images/servier-dark.png');
}

.project-item.servier:hover .project-image {
    background-image: url('../images/servier-light.png');
}

.project-item.franceinfo .project-image {
    background-image: url('../images/info-dark.png');
}

.project-item.franceinfo:hover .project-image {
    background-image: url('../images/info-light.png');
}

.project-item.toolz .project-image {
    background-image: url('../images/toolz-dark.png');
}

.project-item.toolz:hover .project-image {
    background-image: url('../images/toolz-light.png');
}

.project-item.afmae .project-image {
    background-image: url('../images/afmae-dark.png');
}

.project-item.afmae:hover .project-image {
    background-image: url('../images/afmae-light.png');
}

.project-item.endemol .project-image {
    background-image: url('../images/endemol-dark.png');
}

.project-item.endemol:hover .project-image {
    background-image: url('../images/endemol-light.png');
}