/* ======================================
   MICRO-INTERACTIONS & MOTION DESIGN
   ====================================== */

/* Animations de chargement */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(8, 59, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(8, 59, 102, 0.8), 0 0 30px rgba(8, 59, 102, 0.4);
  }
}

/* Micro-interactions générales */
.interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.interactive-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(221, 181, 121, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.interactive-element:hover::before {
  width: 300px;
  height: 300px;
}

/* Effet de typing pour les titres */
.typing-effect {
  overflow: hidden;
  white-space: nowrap;
}

/* Effet de shimmer pour les boutons */
.shimmer-button {
  position: relative;
  overflow: hidden;
}

.shimmer-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.shimmer-button:hover::after {
  transform: translateX(100%);
}

/* Effet de magnetic pour les boutons */
.magnetic-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================================
   RESET & BASE
   ====================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Recursive', monospace;
  }
  
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    height: 100%;
  }
  
  body {
    color: #fff;
    line-height: 1.6;
    background-color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
    position: relative;
    cursor: none;
  }
  
  /* Custom Cursor - Dot and Circle */
  .cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #DDB579;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(221, 181, 121, 0.8);
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  
  .cursor-dot.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  }
  
  .cursor-circle {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid #DDB579;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: radial-gradient(circle, rgba(221, 181, 121, 0.1) 0%, transparent 70%);
  }
  
  .cursor-circle.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: #fff;
    background: radial-gradient(circle, rgba(221, 181, 121, 0.2) 0%, transparent 70%);
  }
  
  a, button, .nav-btn, .project-card, .filter-btn, .skill-tag {
    cursor: none;
  }
  
  /* Grid Canvas Background */
  #grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
  }
  
  /* Amélioration tactile pour mobile */
  @media (hover: none) and (pointer: coarse) {
    /* Désactiver le curseur personnalisé sur les appareils tactiles */
    body {
      cursor: auto !important;
    }
    
    .cursor-dot,
    .cursor-circle {
      display: none !important;
    }
    
    a, button, .nav-btn, .filter-btn, .project-card, .cv-scroll-btn, .scroll-btn {
      cursor: pointer !important;
      -webkit-tap-highlight-color: rgba(221, 181, 121, 0.2);
    }
    
    /* Zones tactiles minimales de 44x44px */
    .nav-links a,
    .nav-btn,
    .burger {
      min-height: 44px;
      min-width: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* ======================================
     LAYOUT & CONTAINERS
     ====================================== */
  section {
    padding: 80px 0;
    position: relative;
    background-color: transparent;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
  }
  
  /* ======================================
     NAVIGATION & HEADER
     ====================================== */
  nav {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(221, 181, 121, 0.3);
  }
  
  nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(221, 181, 121, 0.2);
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    gap: 40px;
  }
  
  .logo {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
  }
  
  .logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .logo:hover .logo-img {
    transform: translateY(-2px) scale(1.05);
  }
  
  /* Burger Menu */
  .burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
    border-radius: 4px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  
  .burger-menu:hover {
    background: rgba(221, 181, 121, 0.1);
  }
  
  .burger-line {
    width: 28px;
    height: 3px;
    background-color: #DDB579;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .minimal-nav {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  
  /* Language Switcher */
  .language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(221, 181, 121, 0.1);
    border: 1px solid rgba(221, 181, 121, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .language-switcher:hover {
    background: rgba(221, 181, 121, 0.15);
    border-color: rgba(221, 181, 121, 0.5);
  }
  
  .lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    transition: all 0.3s ease;
    font-family: 'Recursive', monospace;
    letter-spacing: 0.5px;
  }
  
  .lang-btn:hover {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .lang-btn.active {
    color: #DDB579;
  }
  
  .lang-separator {
    color: rgba(221, 181, 121, 0.4);
    font-size: 13px;
    font-weight: 300;
  }
  
  .nav-btn {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 14px;
    border: 1px solid rgba(221, 181, 121, 0.4);
  }
  
  .nav-btn:hover {
    transform: translateY(-2px);
    background-color: rgba(221, 181, 121, 0.1);
    border-color: #DDB579;
  }
  
  .nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(8, 59, 102, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
  }
  
  .nav-btn:hover::before {
    width: 100px;
    height: 100px;
  }
  
  .nav-btn-primary {
    background: linear-gradient(135deg, #DDB579 0%, #c9a563 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(221, 181, 121, 0.4);
    border: none;
  }
  
  .nav-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
  }
  
  .nav-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(221, 181, 121, 0.6);
    transform: translateY(-3px);
  }
  
  .nav-btn-primary:hover::before {
    left: 100%;
  }
  
  .nav-links {
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
  }
  
  .nav-links a:hover {
    color: #DDB579;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #DDB579;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .nav-links a.active {
    color: #DDB579;
  }
  
  .nav-links a.active::after {
    width: 100%;
  }
  
  .burger {
    display: none;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
  }
  
  /* Progress Bar */
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: #DDB579;
    width: 0%;
    z-index: 2000;
    transition: width 0.1s ease;
  }
  
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #DDB579;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(221, 181, 121, 0.3);
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .back-to-top:hover {
    background-color: #c9a563;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(221, 181, 121, 0.4);
  }
  
  /* ======================================
     LOADER & PRELOADING
     ====================================== */
  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.7s ease, visibility 0.7s ease;
  }
  
  .loader.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .loader-logo {
    font-size: 32px;
    font-weight: 700;
    color: #083B66;
    margin-bottom: 30px;
    position: relative;
  }
  
  .loader-bar {
    width: 200px;
    height: 4px;
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
  }
  
  .loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #083B66, transparent);
    animation: loaderAnimation 1.2s infinite ease;
  }
  
  .loader-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
  }
  
  @keyframes loaderAnimation {
    0% { left: -50%; }
    100% { left: 100%; }
  }
  
  /* ======================================
     HERO SECTION
     ====================================== */
  #hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-color: transparent;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
  }
  
  #hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
  }
  
  .highlight {
    color: #DDB579;
    font-weight: 700;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 20px rgba(221, 181, 121, 0.5);
  }
  
  .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(221, 181, 121, 0.3);
    bottom: 5px;
    left: 0;
    z-index: -1;
  }
  
  .designer-title {
    position: relative;
    display: inline-block;
    color: #DDB579;
    text-shadow: 0 0 20px rgba(221, 181, 121, 0.5);
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .designer-title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: rgba(221, 181, 121, 0.3);
    bottom: 5px;
    z-index: -1;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 70px;
    justify-content: center;
    align-items: center;
  }
  
  .cv-scroll-btn {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, #DDB579 0%, #c9a563 100%);
    text-decoration: none;
    margin: 0;
    animation: 
      fadeInUp 1s ease forwards,
      pulse 2s infinite;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(221, 181, 121, 0.4);
    min-width: 180px;
    text-align: center;
  }
  
  .cv-scroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 181, 121, 0.2), transparent);
    transition: left 0.6s ease;
  }
  
  .cv-scroll-btn:hover {
    color: #062d4d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(8, 59, 102, 0.3);
  }
  
  /* ======================================
     PROCESSUS SECTION
     ====================================== */
  #processus {
    padding: 80px 0;
  }
  
  #processus h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #DDB579;
  }
  
  
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .process-step {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 204, 0.2);
  }
  
  .process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00ffcc, #00d4aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
  }
  
  .process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.3);
    border-color: #00ffcc;
  }
  
  .process-step:hover::before {
    transform: scaleX(1);
  }
  
  .process-step h3 {
    font-size: 22px;
    color: #DDB579;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .process-step p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
  }
  
  /* ======================================
     PROJECTS SECTION
     ====================================== */
  #projets h2 {
    text-align: left;
    color: #DDB579;
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
  }
  
  
  .project-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    background: none;
    color: #DDB579;
    border: 1px solid rgba(0, 255, 204, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
  }
  
  .filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
  }
  
  .filter-btn:hover {
    border-color: #00ffcc;
    color: #000;
    background-color: #00ffcc;
    transform: translateY(-2px) scale(1.05);
    cursor: none;
  }
  
  .filter-btn:hover::before {
    width: 80px;
    height: 80px;
  }
  
  .filter-btn.active {
    background-color: #00ffcc;
    color: #000;
    border-color: #00ffcc;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.5);
    cursor: none;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    min-height: 300px;
    transition: all 0.5s ease;
  }
  
  .project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
  }
  
  .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }
  
  .project-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
  
  .project-card:hover::before {
    opacity: 1;
  }
  
  .project-card.hide {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    height: 0;
    margin: 0;
    overflow: hidden;
  }
  
  .project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    min-height: 250px;
  }
  
  .project-card:hover .project-img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    filter: brightness(1.1);
  }
  
  .project-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #DDB579;
    transition: all 0.3s ease;
  }
  
  .project-description {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    text-align: left;
  }
  
  .project-subtitle {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  /* Technologies utilisées */
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    position: relative;
    z-index: 2;
  }
  
  .tech-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(221, 181, 121, 0.15);
    border: 1px solid rgba(221, 181, 121, 0.4);
    border-radius: 20px;
    font-size: 12px;
    color: #DDB579;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
  }
  
  .parallax-img {
    transform: translateY(0) scale(1) rotate(0deg);
    transition: transform 0.2s ease-out;
    will-change: transform;
  }
  
  /* ======================================
     BANNER SECTION
     ====================================== */
  .banner {
    background-color: #000;
    padding: 40px 0;
    margin: 80px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
  }
  
  .scroll-container {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
  }
  
  .banner-link {
    display: inline-block;
    color: #DDB579;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 50px;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(221, 181, 121, 0.5);
  }
  
  .banner-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(221, 181, 121, 0.8);
  }
  
  /* ======================================
     ABOUT SECTION
     ====================================== */
  #apropos {
    position: relative;
    overflow: hidden;
  }
  
  #apropos h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #DDB579;
  }
  
  
  .about-content {
    max-width: 100%;
    line-height: 1.8;
    font-size: 18px;
    color: #fff;
    position: relative;
    z-index: 1;
  }
  
  .about-content p {
    opacity: 0;
    transform: translateY(20px);
  }
  
  .about-content p.animate {
    animation: fadeInUp 0.6s ease forwards;
  }
  
  /* ======================================
     VALUES SECTION
     ====================================== */
  #valeurs {
    padding: 80px 0;
  }
  
  #valeurs h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #DDB579;
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
  }
  
  .value-card {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.1);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 204, 0.2);
  }
  
  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.3);
    border-color: #00ffcc;
  }
  
  .value-icon {
    width: 80px;
    height: 80px;
    background-color: #DDB579;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
  }
  
  .value-icon svg {
    color: #000;
  }
  
  .value-card:hover .value-icon {
    background-color: #c9a563;
    transform: scale(1.1);
  }
  
  .value-card h3 {
    font-size: 22px;
    color: #DDB579;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .value-card p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
  }

  /* ======================================
     SKILLS SECTION
     ====================================== */
  #competences {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
  }
  
  #competences h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #DDB579;
  }
  
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .skill-category {
    margin-bottom: 30px;
  }
  
  .skill-category h3 {
    font-size: 20px;
    color: #DDB579;
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .skill-tag {
    background-color: rgba(221, 181, 121, 0.1);
    color: #DDB579;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 204, 0.2);
  }
  
  .skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.3), transparent);
    transition: left 0.6s ease;
  }
  
  .skill-tag:hover {
    background-color: #00ffcc;
    color: #000;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.5);
  }
  
  .skill-tag:hover::before {
    left: 100%;
  }
  
  /* ======================================
     CONTACT SECTION
     ====================================== */
  #contact {
    padding: 80px 0;
  }
  
  #contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #DDB579;
  }
  
  .contact-intro {
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-bottom: 50px;
  }
  
  /* Messages d'alerte */
  .alert {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    animation: slideDown 0.4s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .alert svg {
    flex-shrink: 0;
  }
  
  .alert-success {
    background-color: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
  }
  
  .alert-success svg {
    color: #4ade80;
  }
  
  .alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
  }
  
  .alert-error svg {
    color: #f87171;
  }
  
  .contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(221, 181, 121, 0.15);
    border: 1px solid rgba(221, 181, 121, 0.3);
  }
  
  .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #DDB579;
    font-size: 14px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(221, 181, 121, 0.3);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Recursive', monospace;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #DDB579;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(221, 181, 121, 0.2);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #DDB579 0%, #c9a563 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(221, 181, 121, 0.4);
  }
  
  .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
  }
  
  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 181, 121, 0.6);
  }
  
  .submit-btn:hover::before {
    left: 100%;
  }

  /* ======================================
     FOOTER
     ====================================== */
  footer {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(221, 181, 121, 0.3);
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
  }
  
  .social-links a {
    color: #DDB579;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-links a:hover {
    color: #c9a563;
    transform: translateY(-3px) scale(1.1);
  }
  
  .social-links svg {
    width: 24px;
    height: 24px;
  }
  
  .copyright {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  .legal-links {
    display: flex;
    gap: 20px;
  }
  
  .legal-links a {
    color: white;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
  }
  
  .legal-links a:hover {
    opacity: 1;
    color: #DDB579;
  }
  
  /* ======================================
     MODALS
     ====================================== */
  .legal-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    color: #000000;
  }
  
  .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    animation: modalFadeIn 0.4s ease;
  }
  
  .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
  }
  
  .close-modal:hover {
    color: #083B66;
  }
  
  #modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #083B66;
    font-weight: 700;
  }
  
  #modal-content {
    line-height: 1.8;
    color: #333;
  }
  
  /* ======================================
     ANIMATIONS
     ====================================== */
  @keyframes float {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    50% {
      transform: translate(-30px, 20px) rotate(5deg);
    }
    100% {
      transform: translate(0, 0) rotate(0deg);
    }
  }
  
  @keyframes float2 {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    100% {
      transform: translate(30px, -20px) rotate(-5deg);
    }
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(6px);
    }
  }
  
  @keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
  }
  
  .fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .fade-in-element.visible {
    animation: fadeInScale 0.6s ease forwards;
  }
  
  .fade-out-element {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
  }
  
  .fade-out-element.hidden {
    opacity: 0;
    transform: translateY(-20px);
  }
  
  /* Slide animations */
  .slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
  }
  
  .slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  .slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
  }
  
  .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  .slide-in-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease;
  }
  
  .slide-in-bottom.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  @keyframes slideInFromLeft {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOutToLeft {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(-100%);
      opacity: 0;
    }
  }
  
  @keyframes slideInFromRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOutToRight {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }
  
  @keyframes slideInFromTop {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOutToTop {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(-100%);
      opacity: 0;
    }
  }
  
  @keyframes slideInFromBottom {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOutToBottom {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(100%);
      opacity: 0;
    }
  }
  
  .slide-in-left {
    animation: slideInFromLeft 0.6s ease forwards;
  }
  
  .slide-out-left {
    animation: slideOutToLeft 0.6s ease forwards;
  }
  
  .slide-in-right {
    animation: slideInFromRight 0.6s ease forwards;
  }
  
  .slide-out-right {
    animation: slideOutToRight 0.6s ease forwards;
  }
  
  .slide-in-top {
    animation: slideInFromTop 0.6s ease forwards;
  }
  
  .slide-out-top {
    animation: slideOutToTop 0.6s ease forwards;
  }
  
  .slide-in-bottom {
    animation: slideInFromBottom 0.6s ease forwards;
  }
  
  .slide-out-bottom {
    animation: slideOutToBottom 0.6s ease forwards;
  }
  
  /* ======================================
     RESPONSIVE DESIGN
     ====================================== */
  @media (max-width: 1200px) {
    .skills-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 992px) {
    /* Tablette - Ajustements généraux */
    .container {
      padding: 0 40px;
    }
    
    /* Curseur pour tablettes */
    body {
      cursor: auto !important;
    }
    
    .cursor-dot,
    .cursor-circle {
      display: none !important;
    }
    
    a, button, .nav-btn, .filter-btn, .project-card, .cv-scroll-btn, .scroll-btn {
      cursor: pointer !important;
    }
    
    .navbar {
      padding: 18px 40px;
      gap: 30px;
    }
    
    /* Hero section - tablettes */
    #hero {
      min-height: 75vh;
      text-align: center;
    }
    
    #hero .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    
    #hero h1 {
      font-size: 48px;
      text-align: center;
      margin-bottom: 35px;
    }
    
    .hero-buttons {
      justify-content: center;
      max-width: 400px;
      margin-top: 25px;
    }
    
    
    /* Grilles */
    .process-steps {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
    
    .values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
    
    .skills-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
    
    .projects-grid {
      gap: 30px;
    }
    
    /* Navigation */
    .nav-links {
      gap: 20px;
    }
    
    .nav-links a {
      font-size: 14px;
    }
    
    /* Logo */
    .logo-img {
      height: 68px;
    }
    
    .nav-links {
      gap: 22px;
    }
    
    .nav-links a {
      font-size: 14px;
    }
    
    .minimal-nav {
      gap: 18px;
    }
    
    .language-switcher {
      padding: 5px 11px;
    }
    
    .lang-btn {
      font-size: 12px;
      padding: 4px 7px;
    }
    
    .nav-btn {
      padding: 9px 18px;
      font-size: 13px;
    }
    
    /* Sections */
    section {
      padding: 60px 0;
    }
    
    /* Contact form */
    .contact-form {
      padding: 35px;
    }
    
    .alert {
      padding: 14px 18px;
      font-size: 14px;
    }
  }
  
  /* Écrans moyens - amélioration supplémentaire */
  @media (max-width: 820px) {
    #hero h1 {
      font-size: 30px;
      padding: 0 20px;
      word-break: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
    
    /* Navbar améliorations pour écrans moyens */
    .navbar {
      padding: 18px 35px;
      gap: 25px;
    }
    
    .logo-img {
      height: 70px;
    }
    
    .nav-links {
      gap: 25px;
    }
    
    .nav-links a {
      font-size: 14px;
    }
    
    .minimal-nav {
      gap: 15px;
    }
    
    .language-switcher {
      padding: 5px 10px;
    }
    
    .nav-btn {
      padding: 8px 16px;
      font-size: 13px;
    }
  }
  
  @media (max-width: 768px) {
    /* Mobile - Ajustements généraux */
    .container, .navbar {
      padding-left: 25px;
      padding-right: 25px;
    }
    
    /* Curseur pour mobile */
    body {
      cursor: auto !important;
    }
    
    .cursor-dot,
    .cursor-circle {
      display: none !important;
    }
    
    a, button, .nav-btn, .filter-btn, .project-card, .cv-scroll-btn, .scroll-btn {
      cursor: pointer !important;
    }
    
    section {
      padding: 50px 0;
    }
    
    /* Hero section - Améliorations responsive */
    #hero {
      min-height: 70vh;
      justify-content: center;
      text-align: center;
      padding: 15px 0;
    }
    
    #hero .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
    }
    
    #hero h1 {
      font-size: 26px;
      line-height: 1.3;
      margin-bottom: 25px;
      text-align: center;
      max-width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
      padding: 0 15px;
    }
    
    /* Amélioration des boutons hero */
    .hero-buttons {
      margin-top: 20px;
      width: 100%;
      max-width: 320px;
    }
    
    .cv-scroll-btn {
      font-size: 14px;
      padding: 14px 20px;
      width: 100%;
      max-width: 280px;
      margin: 0 auto;
      display: block;
      text-align: center;
      min-width: auto;
    }
    
    
    /* Navigation */
    .navbar {
      padding: 12px 25px;
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr auto auto;
      gap: 12px;
      align-items: center;
    }
    
    .logo-img {
      height: 58px;
    }
    
    /* Afficher le burger menu sur mobile */
    .burger-menu {
      display: flex;
      order: 4;
      z-index: 1001;
      position: relative;
    }
    
    .burger-menu.active {
      z-index: 1006;
    }
    
    .minimal-nav {
      order: 3;
      z-index: 1002;
      position: relative;
    }
    
    /* Menu mobile */
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 100vw;
      background: rgba(0, 0, 0, 0.98);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      padding: 40px 20px;
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 1005;
      border: none;
    }
    
    .nav-links.active {
      right: 0;
    }
    
    /* Overlay pour masquer le contenu derrière le menu */
    .nav-links::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: -1;
    }
    
    .nav-links a {
      font-size: 18px;
      padding: 12px 20px;
      width: 100%;
      text-align: center;
      border-bottom: 1px solid rgba(221, 181, 121, 0.2);
    }
    
    /* Minimal nav sur mobile - à gauche du burger */
    .minimal-nav {
      position: relative;
      display: flex;
      flex-direction: row;
      gap: 10px;
      z-index: 1002;
    }
    
    /* S'assurer que les boutons restent visibles */
    .language-switcher,
    .nav-btn {
      position: relative;
      z-index: 1003;
    }
    
    .language-switcher {
      padding: 3px 8px;
      font-size: 10px;
      border-radius: 6px;
    }
    
    .lang-btn {
      font-size: 10px;
      padding: 2px 5px;
    }
    
    .nav-btn {
      padding: 5px 10px;
      font-size: 10px;
      border-radius: 6px;
    }
    
    /* Grilles - 1 colonne sur mobile */
    .projects-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }
    
    .skills-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    /* Tech tags sur mobile */
    .tech-tag {
      font-size: 11px;
      padding: 3px 10px;
    }
    
    .values-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }
    
    .process-steps {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    /* Titres */
    h2 {
      font-size: 30px !important;
      margin-bottom: 30px !important;
    }
    
    h3 {
      font-size: 18px !important;
    }
    
    /* Images projets */
    .project-img {
      height: 250px;
    }
    
    /* Cards */
    .value-card,
    .process-step {
      padding: 25px 20px;
    }
    
    .value-icon {
      width: 70px;
      height: 70px;
    }
    
    /* Formulaire contact */
    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
    
    .contact-form {
      padding: 25px 20px;
    }
    
    .contact-intro {
      font-size: 16px;
    }
    
    .alert {
      padding: 12px 16px;
      font-size: 14px;
      gap: 10px;
    }
    
    .alert svg {
      width: 18px;
      height: 18px;
    }
    
    /* Boutons hero - mise à jour pour cohérence */
    .hero-buttons {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
      width: 100%;
      max-width: 300px;
    }
    
    /* Footer */
    .legal-links {
      flex-direction: column;
      gap: 10px;
    }
    
    .social-links {
      gap: 15px;
    }
    
    /* Modal */
    .modal-content {
      width: 90%;
      margin: 20% auto;
      padding: 20px;
    }
    
    /* About section */
    .about-content {
      font-size: 16px;
    }
    
    /* Banner */
    .banner-link {
      font-size: 20px;
      margin: 0 30px;
    }
  }
  
  /* Petits mobiles */
  @media (max-width: 576px) {
    /* Ajustements supplémentaires pour petits mobiles */
    .container {
      padding: 0 20px;
    }
    
    .navbar {
      padding: 10px 20px;
      gap: 8px;
    }
    
    .logo-img {
      height: 52px;
    }
    
    .minimal-nav {
      gap: 6px;
    }
    
    .nav-btn {
      padding: 6px 10px;
      font-size: 11px;
      border-radius: 5px;
    }
    
    .language-switcher {
      padding: 2px 6px;
      font-size: 9px;
      border-radius: 5px;
    }
    
    .lang-btn {
      font-size: 9px;
      padding: 2px 4px;
    }
    
    /* Hero section - petits mobiles */
    #hero {
      min-height: 65vh;
      padding: 10px 0;
    }
    
    #hero h1 {
      font-size: 22px;
      line-height: 1.3;
      margin-bottom: 20px;
      padding: 0 15px;
      word-break: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
    
    .hero-buttons {
      width: 100%;
      max-width: 280px;
      margin-top: 15px;
    }
    
    .cv-scroll-btn {
      width: 100%;
      max-width: 260px;
      text-align: center;
      padding: 12px 18px;
      font-size: 13px;
    }
    
    
    h2 {
      font-size: 26px !important;
    }
    
    .value-card h3,
    .process-step h3 {
      font-size: 17px !important;
    }
    
    .contact-form {
      padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
      font-size: 14px;
      padding: 10px 14px;
    }
    
    .submit-btn {
      padding: 13px 24px;
      font-size: 15px;
    }
    
    .alert {
      padding: 10px 14px;
      font-size: 13px;
    }
  }
  
  /* Écrans intermédiaires */
  @media (max-width: 480px) {
    #hero {
      min-height: 62vh;
      padding: 8px 0;
    }
    
    #hero h1 {
      font-size: 20px;
      line-height: 1.3;
      padding: 0 12px;
      margin-bottom: 15px;
      word-break: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
    
    .hero-buttons {
      max-width: 270px;
      margin-top: 12px;
      gap: 10px;
    }
    
    .cv-scroll-btn {
      max-width: 250px;
      font-size: 12px;
      padding: 11px 17px;
    }
    
  }
  
  /* Très petits écrans */
  @media (max-width: 400px) {
    /* Hero section - très petits écrans */
    #hero {
      min-height: 60vh;
      padding: 5px 0;
    }
    
    #hero h1 {
      font-size: 20px;
      line-height: 1.3;
      margin-bottom: 18px;
      padding: 0 10px;
      word-break: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
    
    .hero-buttons {
      max-width: 250px;
      margin-top: 10px;
      gap: 10px;
    }
    
    .cv-scroll-btn {
      max-width: 240px;
      padding: 11px 16px;
      font-size: 12px;
    }
    
    
    .navbar {
      padding: 8px 15px;
      gap: 6px;
    }
    
    .logo-img {
      height: 48px;
    }
    
    .minimal-nav {
      gap: 4px;
    }
    
    .nav-btn {
      padding: 5px 8px;
      font-size: 10px;
      border-radius: 4px;
    }
    
    .language-switcher {
      padding: 2px 5px;
      font-size: 8px;
      border-radius: 4px;
    }
    
    .lang-btn {
      font-size: 8px;
      padding: 1px 3px;
    }
    
    .burger-menu {
      padding: 6px;
      min-width: 40px;
      min-height: 40px;
    }
    
    .burger-line {
      width: 24px;
      height: 2px;
    }
    
    .nav-links a {
      font-size: 12px;
      padding: 6px 10px;
    }
    
    h2 {
      font-size: 24px !important;
    }
    
    .cv-scroll-btn {
      font-size: 13px;
      padding: 10px 16px;
    }
    
    .value-icon {
      width: 60px;
      height: 60px;
    }
    
    .value-icon svg,
    .process-step svg {
      width: 30px;
      height: 30px;
    }
  }



