/* =======================================================
   1. BASE, VARIABLES & COULEURS
   ======================================================= */
   :root {
    /* --- PALETTE (Mode Clair) --- */
    --blue-dark: #003051;    
    --blue-medium: #2b6c96;
    --blue-light: #4d8ab5;
    --yellow-pop: #FC9100;   
    
    --bg-body: #ffffff;      
    --text-main: #003051;    
    --text-light: #ffffff;   
    --border-soft: #e0e0e0;
    
    --shadow-soft: 0 10px 40px -10px rgba(0, 48, 81, 0.2);
    --shadow-hover: 0 20px 50px -10px rgba(0, 48, 81, 0.4);
    
   
    --font-main: "Roboto", sans-serif;
    --font-display: "Parisienne", cursive;
  }
  
  /* --- DARK MODE (MANUEL via classe .dark-mode) --- */
  body.dark-mode {
    --bg-body: #051624;
    --text-main: #eef4f8;
    --border-soft: #1a3b52;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  }
  
  /* Header & Footer en Dark Mode */
  body.dark-mode .site-header {
    background: rgba(5, 22, 36, 0.95) !important;
    border-top-color: var(--yellow-pop) !important;
  }
  
  /* Formulaire : Fond et Texte en Dark Mode */
  body.dark-mode .contact-section {
    background-color: #0b1e2b !important;
    border-top: none !important;
  }
  
  /* Les Labels (Nom, Email, Message) deviennent BLANCS */
  body.dark-mode .form-group label {
    color: #ffffff !important;
  }
  
  body.dark-mode .form-group input, 
  body.dark-mode .form-group textarea {
    background: #0f2d42 !important;
    color: #fff !important; 
    border-color: #2b6c96 !important;
  }
  
  /* Focus ORANGE en Dark Mode */
  body.dark-mode .form-group input:focus, 
  body.dark-mode .form-group textarea:focus {
    border-color: var(--yellow-pop) !important; 
    box-shadow: 0 0 0 4px rgba(252, 145, 0, 0.2); 
    background: #0f2d42 !important;
  }
  
  /* Titres en Blanc */
  body.dark-mode .hero h1,
  body.dark-mode .project-text h2,
  body.dark-mode .contact-text h2 {
    color: #fff; 
  }
  
  /* Boutons principaux en Dark Mode */
  body.dark-mode .btn-primary {
    border-color: var(--yellow-pop);
    color: var(--yellow-pop);
  }
  body.dark-mode .btn-primary:hover {
    background: var(--yellow-pop);
    color: var(--blue-dark);
  }
  
  /* --- RESET & BASE --- */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }
  ::selection { background: var(--yellow-pop); color: var(--blue-dark); }
  
  body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  /* =======================================================
   GESTION DES IMAGES LIGHT / DARK
   ======================================================= */

/* --- Par défaut (Mode Clair) --- */
.logo-dark, .wb-dark {
  display: none !important; /* On cache les images sombres */
}

.logo-light, .wb-light {
  display: block; /* On affiche les images claires */
}

/* --- Quand le Mode Sombre est activé --- */
body.dark-mode .logo-light, 
body.dark-mode .wb-light {
  display: none !important; /* On cache les images claires */
}

body.dark-mode .logo-dark, 
body.dark-mode .wb-dark {
  display: block !important; /* On affiche les images sombres */
}

/* --- Ajustement spécifique Logo Sombre --- */
.logo-dark {
  height: 45px; /* Même taille que l'original */
  margin: 0 auto;
}

/* --- Ajustement spécifique Wonderbox --- */
.wb-light, .wb-dark {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}
  
  /* =======================================================
     2. GÉNÉRAL
     ======================================================= */
  .section { padding: 5rem 1.5rem; }
  img { display: block; max-width: 100%; }
  
  .skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--yellow-pop); color: var(--blue-dark);
    font-weight: bold; padding: 1rem; z-index: 2000;
    transition: top 0.3s;
  }
  .skip-link:focus { top: 0; }
  
  @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
  .fade-in-left { animation: fadeInUp 1s ease-out forwards; }
  .fade-in-right { animation: fadeInUp 1s ease-out 0.2s forwards; opacity: 0; }
  
  /* =======================================================
     3. HEADER
     ======================================================= */
  .site-header {
    border-top: 6px solid var(--yellow-pop); 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 500;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .header-inner {
    max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  
  .logo-img { height: 45px; transition: transform 0.3s; }
  .logo-area:hover .logo-img { transform: rotate(-5deg) scale(1.05); }
  
  .main-nav ul {
    list-style: none; display: flex; gap: 1rem; align-items: center;
    margin: 0; padding: 0;
  }
  
  .main-nav a, .main-nav a.nav-link, .nav-btn {
    display: inline-block; padding: 0.6rem 1.2rem;
    border-radius: 30px; text-decoration: none;
    font-weight: 700; text-transform: uppercase;
    font-size: 0.8rem; letter-spacing: 0.05em;
    color: #fff !important; transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .main-nav a.nav-link::after { display: none; }
  
  /* Couleurs Boutons (Bleu) */
  .main-nav li:nth-child(1) a { background-color: #4d8ab5; }
  .main-nav li:nth-child(2) a { background-color: #2b6c96; }
  .main-nav li:nth-child(3) a { background-color: #1a4f75; }
  .main-nav li:nth-child(4) a { background-color: #003051; }
  
  .main-nav li a:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--yellow-pop);
    color: var(--blue-dark) !important;
    box-shadow: 0 10px 20px rgba(0, 48, 81, 0.3);
  }
  
  /* Bouton Dark Mode */
  .theme-li {
    display: flex; align-items: center;
    margin-left: 0.5rem; padding-left: 1rem;
    border-left: 2px solid var(--border-soft);
  }
  .theme-btn {
    background: transparent; border: 2px solid var(--blue-dark);
    color: var(--blue-dark); border-radius: 50%;
    width: 35px; height: 35px; font-size: 1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
  }
  .theme-btn:hover {
    background-color: var(--blue-dark); color: #fff; transform: rotate(20deg);
  }
  body.dark-mode .theme-btn { border-color: var(--yellow-pop); color: var(--yellow-pop); }
  body.dark-mode .theme-btn:hover { background-color: var(--yellow-pop); color: var(--blue-dark); }
  
  
  /* --- Burger button (caché en desktop) --- */
  .burger-btn {
    display: none;
    background: transparent;
    border: 2px solid var(--blue-dark);
    border-radius: 12px;
    width: 46px;
    height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .burger-btn:hover { transform: translateY(-1px); }
  .burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blue-dark);
    border-radius: 2px;
  }
  body.dark-mode .burger-btn {
    border-color: var(--yellow-pop);
  }
  body.dark-mode .burger-bar {
    background: var(--yellow-pop);
  }

/* =======================================================
     4. HERO
     ======================================================= */
     .hero,
     .hero img {
       margin-top:50px;
     }
     
.hero { 
  
  
  max-width: 1200px; 
  margin: 0 auto;        
  min-height: 80vh; 
  display: flex; 
  align-items: center; 
  padding: 0 2rem;       
}

.hero-inner { 
  display: grid; 
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 4rem; 
  align-items: center; 
  width: 100%;
}

.hero-text {
  text-align: left;     
}

.hero h1 {
  font-family: var(--font-display); 
  font-size: clamp(3.5rem, 5vw, 5rem);
  color: var(--blue-dark); 
  line-height: 1.1; 
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 0px var(--yellow-pop);
}

.hero-illustration { 
  position: relative; 
  display: flex; 
  justify-content: center; 
}

/* Le fond jaune */
.blob-bg {
  position: absolute; width: 300px; height: 300px;
  background: var(--yellow-pop); border-radius: 50%;
  z-index: -1; opacity: 0.3; filter: blur(40px);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.float-img { max-width: 300px; animation: float 6s ease-in-out infinite; }

  /* =======================================================
   STYLE VIDEO COMPETENCES
   ======================================================= */


.skills-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-body); 
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 20px 60px -10px rgba(0, 48, 81, 0.25); /* Ombre plus profonde */
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}


.skills-container::before {
  content: '';
  display: block;
  height: 36px;
  background-color: #f1f1f1; /* Gris très clair style fenêtre */
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
  /* Les 3 petits points colorés via un dégradé radial ou box-shadow */
  background-image: radial-gradient(circle, #ff5f56 4px, transparent 5px),
                    radial-gradient(circle, #ffbd2e 4px, transparent 5px),
                    radial-gradient(circle, #27c93f 4px, transparent 5px);
  background-size: 100% 100%;
  background-position: 15px center, 35px center, 55px center; 
  background-repeat: no-repeat;
}

.skills-video {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -4px; /* Fix pour supprimer l'espace vide sous la vidéo */
}

/* AJUSTEMENT DARK MODE POUR LA FENÊTRE */
body.dark-mode .skills-container {
  background: #0b1e2b;
  border-color: #1a3b52;
}
body.dark-mode .skills-container::before {
  background-color: #0f2d42; /* Barre sombre */
  border-bottom-color: #1a3b52;
}

.skills-banner:hover .skills-video {
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
  /* =======================================================
     6. PROJET
     ======================================================= */
  .project-highlight { max-width: 1100px; margin: 0 auto; }
  .project-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
  .img-hover-zoom { overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-soft); }
  .project-logo img { transition: transform 0.6s ease; }
  .project-logo:hover img { transform: scale(1.08); }
  .tag {
    display: inline-block; background: var(--yellow-pop); color: var(--blue-dark);
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    padding: 0.3rem 0.8rem; border-radius: 4px; margin-bottom: 1rem;
  }
  .project-text h2 { font-family: var(--font-display); font-size: 3rem; color: var(--blue-dark); margin-bottom: 1rem; }
  .btn-primary {
    display: inline-block; margin-top: 1.5rem; padding: 0.8rem 2rem;
    background: transparent; border: 2px solid var(--blue-dark); color: var(--blue-dark);
    font-weight: 700; text-transform: uppercase; text-decoration: none;
    border-radius: 50px; transition: all 0.3s;
  }
  .btn-primary:hover {
    background: var(--blue-dark); color: #fff; border-color: var(--blue-dark);
    transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 48, 81, 0.3);
  }
  
  /* =======================================================
     7. GALERIE
     ======================================================= */
  .gallery-strip {
    background-color: var(--yellow-pop); padding: 0; width: 100%; height: 450px;
    display: flex; overflow: hidden; position: relative; align-items: center;
  }
  .gallery-left { flex: 1; display: flex; height: 100%; padding-left: 0; }
  .gallery-col {
    flex: 1; min-width: 0; height: 100%; position: relative; cursor: pointer;
    border-radius: 0 40px 40px 0; margin-right: -50px;
    box-shadow: 10px 0 25px rgba(0,0,0,0.3); overflow: hidden;
    will-change: flex, margin-right; transform: translateZ(0); 
    transition: flex 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), margin-right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-radius 0.4s ease;
  }
  .gallery-col:nth-child(1) { z-index: 10; }
  .gallery-col:nth-child(2) { z-index: 9; }
  .gallery-col:nth-child(3) { z-index: 8; }
  .gallery-col:nth-child(4) { z-index: 7; }
  .gallery-col:nth-child(5) { z-index: 6; }
  .gallery-col:nth-child(6) { z-index: 5; }
  .gallery-col img {
    width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%);
    will-change: transform, filter; backface-visibility: hidden; 
    transition: transform 0.5s ease, filter 0.5s ease;
  }
  .gallery-col:hover { flex: 1.5; margin-right: -10px; border-radius: 0 30px 30px 0; }
  .gallery-col:hover img { filter: grayscale(0%); transform: scale(1.05); }
  
  .insta-right {
    width: 20%; min-width: 200px; height: 100%;
    display: flex; justify-content: center; align-items: center;
    position: relative; z-index: 1; background: var(--yellow-pop);
  }
  .insta-link {
    text-decoration: none; display: flex; flex-direction: column;
    align-items: center; text-align: center; padding: 1rem; perspective: 1000px; 
  }
  @keyframes softPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  }
  .insta-link img {
    width: 100px; height: 100px; object-fit: contain; margin-bottom: 1.2rem;
    border-radius: 50%; padding: 22px;
    box-shadow: 0 10px 25px rgba(0, 48, 81, 0.15); 
    animation: softPulse 3s infinite; will-change: transform, box-shadow; 
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .insta-label {
    font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase;
    color: var(--blue-dark); font-size: 0.95rem; letter-spacing: 0.5px;
    transition: letter-spacing 0.3s ease, color 0.3s ease;
  }
  .insta-link:hover img { transform: scale(1.15) rotate(15deg); box-shadow: 0 15px 35px rgba(0, 48, 81, 0.3); animation: none; }
  .insta-link:hover .insta-label { letter-spacing: 2px; color: #fff; }
  
  /* =======================================================
     8. LIGHTBOX
     ======================================================= */
  .lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0, 48, 81, 0.95);
    z-index: 2000; justify-content: center; align-items: center; padding: 2rem;
    backdrop-filter: blur(5px); animation: fadeIn 0.3s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; }}
  .lightbox:target { display: flex; }
  .lightbox-content { max-width: 90%; max-height: 85vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
  .lightbox-close {
    position: absolute; top: 30px; right: 40px; font-size: 3rem; color: #fff;
    text-decoration: none; transition: transform 0.2s;
  }
  .lightbox-close:hover { transform: rotate(90deg); color: var(--yellow-pop); }
  
  /* =======================================================
     9. CONTACT FORM
     ======================================================= */
  .contact-section {
    background-color: #fff;
    border-top: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
  }
  
  .contact-inner {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem;
  }
  
  .contact-text h2 {
    font-family: var(--font-display); font-size: 2.8rem;
    color: var(--blue-dark); margin-bottom: 1rem;
  }
  
  .form-group { margin-bottom: 1.2rem; }
  .form-group label {
    display: block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--blue-dark); margin-bottom: 0.5rem;
  }
  
  .form-group input, .form-group textarea {
    width: 100%; border-radius: 12px;
    border: 2px solid var(--border-soft); padding: 1rem; font: inherit;
    color: var(--text-main); background: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  /* Focus par défaut (Mode Clair) : BLEU */
  .form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--blue-dark);
    box-shadow: 0 0 0 4px rgba(0, 48, 81, 0.1); background: #fff;
  }
  
  .btn-submit {
    padding: 1rem 2.5rem; border-radius: 50px; border: none;
    background: linear-gradient(45deg, var(--blue-dark), var(--blue-medium));
    color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    cursor: pointer; box-shadow: 0 10px 20px rgba(0, 48, 81, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  }
  .btn-submit:hover {
    transform: translateY(-3px); background: var(--yellow-pop);
    color: var(--blue-dark); box-shadow: 0 15px 30px rgba(0, 48, 81, 0.4);
  }
  
  /* =======================================================
     10. FOOTER
     ======================================================= */
  .site-footer {
    background-color: var(--yellow-pop); color: var(--blue-dark);
    padding: 3rem 1.5rem; text-align: center;
  }
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
  .footer-logo img { height: 40px; }
  .footer-socials { display: flex; gap: 1.5rem; }
  .footer-socials img { height: 30px; transition: transform 0.2s; border-radius: 10px; }
  .footer-socials a:hover img { transform: scale(1.2); }
  .copyright { font-size: 0.8rem; font-weight: 600; opacity: 0.9; }
  
  /* =======================================================
   11. RESPONSIVE 
   ======================================================= */

/* Dès 1650px  */
@media (max-width: 1650px) {
  
  /* --- 1. ON CACHE INSTAGRAM --- */
  .insta-right {
    display: none !important; /* Disparaît complètement */
  }

  /* --- 2. LA GALERIE PREND TOUTE LA PLACE --- */
  
     
  .gallery-col {
   
     margin-right: -30px; 
  }
  
  .gallery-col:hover {
     margin-right: 0; 
  }
}

/* --- AJUSTEMENTS SPECIFIQUES TABLETTE & MOBILE --- */
@media (max-width: 1024px) {
  
  
  .hero-inner {
    display: flex; flex-direction: column; gap: 2rem; padding: 0 1rem;
  }
  
  .hero-illustration { order: -1; justify-content: center; width: 100%; margin-bottom: 1rem; }
  .hero-text { width: 100%; text-align: left; } /* Texte forcé à gauche */
  .hero h1 { text-align: left; font-size: 3rem; }
  .hero-intro { text-align: left; }

  /* Header Mobile */
  .header-inner { flex-direction: column; gap: 1rem; padding: 1rem; }
  .nav-wrapper, .main-nav ul { justify-content: center; width: 100%; }
  
  /* Autres sections */
  .project-inner, .contact-inner { display: flex; flex-direction: column; gap: 3rem; }
  .project-text, .contact-text { text-align: left; }


  /* Burger menu (tablette & mobile) */
  .burger-btn { 
    display: inline-flex;
    align-self: flex-end;
  }

  /* On cache le menu par défaut */
  #site-nav { 
    display: none;
    width: 100%;
  }

  /* On affiche le menu quand la classe nav-open est active */
  .site-header.nav-open #site-nav { 
    display: block;
  }

  /* Menu en colonne */
  #site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  #site-nav a, #site-nav .nav-btn {
    width: 100%;
    text-align: center;
  }

  .theme-li {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    justify-content: center;
  }

}
/* =======================================================
   PATCH MOBILE 
   ======================================================= */
   @media (max-width: 768px) {
  /* Paragraphes alignés à gauche en mobile */
  main p { text-align: left; }


    /* 1. LE HEADER & MENU */
    .header-inner {
      flex-direction: column; 
      padding: 10px 15px;    
      gap: 10px;             
    }
  
    .logo-img {
      height: 35px; /* Logo un peu plus petit sur mobile */
    }
  
    /* Force les boutons à se mettre sur plusieurs lignes */
    .main-nav ul {
      display: flex;
      flex-wrap: wrap;    
      justify-content: center;
      gap: 8px;            
      width: 100%;
    }
  
    .main-nav a, .nav-btn {
      font-size: 11px;        /* Texte plus petit */
      padding: 8px 14px;      /* Boutons moins "gras" */
      width: auto;            /* Largeur automatique */
      flex-grow: 1;           /* Les boutons prennent la place disponible */
      text-align: center;
      border-radius: 20px;    /* Arrondi ajusté */
    }
  
    /* Cache le bouton thème s'il gêne */
    .theme-li {
      padding-left: 5px;
      border: none;
    }
  
    /* 2. SECTION PROJET (WONDERBOX) */
    .project-logo img {
      max-width: 200px;       /* Limite la taille du logo Wonderbox */
      margin: 0 auto 1.5rem auto; /* Centre le logo */
    }
    
    .project-text {
      text-align: left;     /* Centre le texte */
      padding: 0 10px;        /* Ajoute une petite marge de sécurité */
    }
  
    .project-text h2 {
      font-size: 2rem;        /* Titre "Projet à la une" plus petit */
      margin-top: 0;
    }
    
    /* 3. GALERIE (En bas) */
    /* Transforme les bandes verticales en un carrousel horizontal */
    .gallery-strip {
      display: flex;
      flex-direction: row;    /* Force la ligne horizontale */
      overflow-x: auto;       /* Active le scroll horizontal */
      height: 300px;          /* Hauteur fixe pour le mobile */
      scroll-snap-type: x mandatory; /* Effet aimanté au scroll */
    }
  
    .gallery-col {
      min-width: 85vw;        /* Chaque photo prend 85% de l'écran */
      width: 85vw;
      margin-right: 15px;
      border-radius: 15px;    /* Bords arrondis */
      scroll-snap-align: center; /* Centre l'image au scroll */
      flex: none;             /* Empêche l'image de s'écraser */
    }
  }
/* =======================================================
  GALERIE MOBILE 
   ======================================================= */
   @media (max-width: 768px) {
  /* Paragraphes alignés à gauche en mobile */
  main p { text-align: left; }


    /* 1. LE CONTENEUR (Bande jaune) */
    .gallery-strip {
      display: flex !important;
      height: 400px !important;    /* Hauteur fixe style vertical */
      overflow-x: auto !important; /* Scroll horizontal activé */
      overflow-y: hidden;
      background: var(--yellow-pop); 
      padding: 0 !important;
      align-items: center; 
      
      /* Scroll fluide sur iPhone */
      -webkit-overflow-scrolling: touch; 
      scroll-snap-type: x mandatory;
    }
  
    /* 2. LA PISTE (Alignement) */
    .gallery-left {
      display: flex !important;
      width: auto !important;
      min-width: 100% !important; /* Force à prendre au moins toute la largeur */
      height: 100% !important;
      padding-left: 0 !important;
    }
  
    
    .insta-right { display: none !important; }
  
    /* 3. LES IMAGES (BANDELETTES PLUS LARGES) */
    .gallery-col {
     
      flex: 0 0 28vw !important;   
      min-width: 110px !important; /* Sécurité pour les très petits écrans */
      height: 100% !important;     
      
      /* Le style visuel "Bandelettes" conservé */
      margin-right: -25px !important; 
      border-radius: 0 40px 40px 0 !important; 
      box-shadow: 5px 0 20px rgba(0,0,0,0.4) !important;
      
    
      transition: none !important; 
      transform: none !important;
      scroll-snap-align: center;
    }
  
    /* Ajustement de la dernière image pour qu'on puisse bien la voir */
    .gallery-col:last-child {
      margin-right: 0 !important; /* Pas de marge négative à la fin */
      padding-right: 20px; /* Petit espace de respiration */
    }
  
    /* 4. LE NOIR & BLANC ( */
    .gallery-col img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      filter: grayscale(100%) !important;
    }
  
    /* Petit bonus : Couleur au clic/toucher */
    .gallery-col:active img {
      filter: grayscale(0%) !important;
    }
  }