* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: #0a0a0a;
            color: #e0e0e0;
            overflow-x: hidden;
        }
        
        .navbar {
            background-color: transparent;
            padding: 2rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s ease;
        }
        
        .navbar.scrolled {
            background-color: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
        }
        
        .navbar-brand {
            font-weight: 600;
            font-size: 1.2rem;
            color: #ffffff !important;
            letter-spacing: -0.5px;
        }
        
        .nav-link {
            color: #b0b0b0 !important;
            font-weight: 400;
            margin-left: 2rem;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: #ffffff !important;
        }

        .hero-section {
            min-height: 60vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
            position: relative;
        }
        
        .hero-text {
            font-size: 4rem;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 3rem;
            letter-spacing: -2px;
        }
        
        .hero-text .highlight {
            font-weight: 600;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-top: 2rem;
        }
        
        .intro-item h3 {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #808080;
            margin-bottom: 1rem;
            font-weight: 500;
        }
        
        .intro-item p {
            font-size: 1.1rem;
            color: #e0e0e0;
            line-height: 1.7;
            font-weight: 300;
        }
        
        .projects-section {
            padding: 6rem 0;
        }
        
        .section-title {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: #808080;
            margin-bottom: 3rem;
            font-weight: 500;
        }

.projects-grid {
  display: flex;
  flex-wrap: wrap;         /* permet de passer à la ligne */
  gap: 2rem;               /* espace entre les cartes */
  justify-content: space-between; /* répartit les cartes */
}

.project-card {
  background-color: #151515;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #222;
  box-sizing: border-box;  /* important pour que les marges n’ajoutent pas de largeur */
  flex: 1 1 calc(50% - 1rem); /* deux cartes par ligne */
}
        
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
        }
        
        .project-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.2);
            font-weight: 700;
        }
        
        .project-content {
            padding: 2rem;
        }
        
        .project-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #ffffff;
        }
        
        .project-role {
            font-size: 0.9rem;
            color: #808080;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .project-description {
            font-size: 1rem;
            color: #b0b0b0;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .tag {
            background-color: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .about-hero {
            min-height: 50vh;
            display: flex;
            align-items: center;
            padding-top: 120px;
            padding-bottom: 4rem;
        }
        
        .about-title {
            font-size: 4rem;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 2rem;
            letter-spacing: -2px;
        }
        
        .about-content {
            padding: 4rem 0;
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            margin-bottom: 4rem;
        }
        
        .profile-image {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 6rem;
            color: rgba(255, 255, 255, 0.3);
            font-weight: 700;
        }
        
        .bio-text {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #e0e0e0;
            font-weight: 300;
        }
        
        .bio-text p {
            margin-bottom: 1.5rem;
        }
        
        .bio-text .highlight {
            color: #667eea;
            font-weight: 500;
        }
        
        .section-title {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: #808080;
            margin-bottom: 2rem;
            font-weight: 500;
        }
        
        .expertise-section {
            padding: 4rem 0;
            border-top: 1px solid #222;
        }
        
        .expertise-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
            margin-top: 2rem;
        }
        
        .expertise-item {
            background-color: #151515;
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid #222;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .expertise-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
        }
        
        .expertise-item h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #ffffff;
        }
        
        .expertise-item p {
            font-size: 1rem;
            color: #b0b0b0;
            line-height: 1.7;
            margin-bottom: 1rem;
        }
        
        .expertise-item ul {
            list-style: none;
            padding: 0;
        }
        
        .expertise-item li {
            font-size: 0.95rem;
            color: #808080;
            margin-bottom: 0.5rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .expertise-item li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: #667eea;
        }
        
        .experience-section {
            padding: 4rem 0;
            border-top: 1px solid #222;
        }
        
        .timeline-item {
            position: relative;
            padding-left: 3rem;
            padding-bottom: 3rem;
            border-left: 2px solid #222;
        }
        
        .timeline-item:last-child {
            padding-bottom: 0;
            border-left: none;
        }
        
        .timeline-dot {
            position: absolute;
            left: -6px;
            top: 0;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .timeline-date {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #667eea;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .timeline-company {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 0.3rem;
        }
        
        .timeline-role {
            font-size: 1rem;
            color: #b0b0b0;
            margin-bottom: 1rem;
        }
        
        .timeline-description {
            font-size: 0.95rem;
            color: #808080;
            line-height: 1.7;
        }
        
        .cta-section {
            padding: 6rem 0;
            text-align: center;
            border-top: 1px solid #222;
        }
        
        .cta-title {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 2rem;
            letter-spacing: -1px;
        }
        
        .cta-text {
            font-size: 1.1rem;
            color: #b0b0b0;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-primary-custom {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #ffffff;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 500;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: inline-block;
        }
        
        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
            color: #ffffff;
        }
        
        .btn-secondary-custom {
            background-color: transparent;
            color: #b0b0b0;
            padding: 1rem 2.5rem;
            border: 2px solid #333;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }
        
        .btn-secondary-custom:hover {
            border-color: #667eea;
            color: #667eea;
        }
        
        footer {
            padding: 4rem 0;
            border-top: 1px solid #222;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .footer-text {
            font-size: 0.9rem;
            color: #808080;
        }
        
        .footer-links a {
            color: #b0b0b0;
            text-decoration: none;
            margin-left: 2rem;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #ffffff;
        }
        
        @media (max-width: 768px) {
            .about-title {
                font-size: 2.5rem;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .expertise-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: stretch;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 2rem;
                text-align: center;
            }
            
            .footer-links a {
                margin: 0 1rem;
            }
        }

@media (min-width: 300px) and (max-width: 440px){
            .hero-section {
            min-height: 50vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
            position: relative;
        }
        
        .hero-text {
            font-size: 2rem;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 3rem;
            letter-spacing: -2px;
        }
        
        .hero-text .highlight {
            font-weight: 600;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            margin-top: 2rem;
        }
        
        .intro-item h3 {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #808080;
            margin-bottom: 1rem;
            font-weight: 500;
        }
        
        .intro-item p {
            font-size: 1.1rem;
            color: #e0e0e0;
            line-height: 1.7;
            font-weight: 300;
        }

      .project-card {
    flex: 1 1 100%;
  }
}
