
    /* Police */
    @font-face {
    font-family: Poppins-thin;
    src: url(../police/Poppins/Poppins-Thin.ttf);

    }
    @font-face {
    font-family: Poppins-light;
    src: url(../police/Poppins/Poppins-Light.ttf);
    }
    @font-face {
    font-family: Poppins-meduim;
    src: url(../police/Poppins/Poppins-Medium.ttf);
    }
    @font-face {
    font-family: Poppins-regular;
    src: url(../police/Poppins/Poppins-Regular.ttf);
    }
    @font-face {
    font-family: Poppins-semibold;
    src: url(../police/Poppins/Poppins-SemiBold.ttf);
    }
    @font-face {
    font-family: Poppins-ExtraLight;
    src: url(../police/Poppins/Poppins-ExtraLight.ttf);
    }

    :root {
    --font-paragraphe2:Poppins-ExtraLight;
    --font-normal: Poppins-semibold;
    --font-titre: Poppins-regular;
    --font-bold: Poppins-meduim;
    --font-paragraphe: Poppins-light;
    --font-titre3: Poppins-thin;
    }


:root {
    /* --bacground: #7e5656; 
    --bacground-hover: #b23333;
    --Couleur-Background: #4c5a7d;
    --Couleur-Titre: #00c8d6;
    --Couleur-Texte: #f5f6fa;
    --Couleur-body: #f5f6fa;
    --Couleur-hover: #00b783; 
    --Couleur-logo:#eea412;
    --couleur-body: #f5f6fa;
    --Couleur-drop: #999; */

    --Couleur-Titre2: #2563eb;
    --Couleur-Titre3: #86efac;
    --Couleur-Titre: #ff5b00;
    --Couleur-bouton: #00c8d6;
    --Couleur-bouton-hover: #00b783;
}


:root {
  --color-title: #0A2540;        
  --color-title2: #00B3A4;

  --color-paragraphe: #2E2E2E;
  --color-paragraphe2: #FFFFFF;         

  --color-section: #F8FAFC;      
  
  --color-primary: #3a7e83;      
  --color-hover: #E63946;        
  --Color-hover2: #FF8C00;




    --Couleur-Titre: #ff5b00;
    --Couleur-bouton: #00c8d6;
    --Couleur-bouton-hover: #00b783;

}



.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image de fond parallax */
.hero::after {
  content: "";
  position: absolute;
  inset: -1%;
  background-image: url("../Images/Galerie/fond.jpg");
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax, 0px));
  will-change: transform;
  z-index: 0;
}

/* Contenu */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}


/* Overlay sombre */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Contenu au-dessus */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}


    /* CONTENT */
    .hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .hero-content h1 {
      font-size: clamp(3rem, 7vw, 4rem);
      font-weight: 500;
      margin-bottom: 12px;
      color: var(--color-paragraphe2);
      font-family: var(--font-paragraphe2);
    }

    /* BREADCRUMB */
    .breadcrumb {
      font-size: clamp(0.9rem, 2vw, 1.1rem);
      margin-top: -15px;
    }

    .breadcrumb a {
      color: #fff;
      text-decoration: none;
      opacity: 0.85;
      transition: opacity 0.3s ease;
      font-size: 17px;
      font-family: var(--font-titre);
      letter-spacing: 1px;
    }

      .breadcrumb span {
      color: #fff;
      font-size: 17px;
      font-family: var(--font-titre);
      letter-spacing: 1px;
    }

    .breadcrumb a:hover {
      color: var(--Couleur-Titre);
    }

    #pages {
      color: var(--Couleur-bouton);
      font-size: 18px;
      font-family: var(--font-bold);
      letter-spacing: 1px;
    }

    .breadcrumb span {
      margin: 0 6px;
      opacity: 0.6;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .hero {
        height: 40vh;
      }
    }

    @media (max-width: 600px) {
      .hero {
        height: 35vh;
      }
    }
/* Fin Hero */






/* Titre */

.titre {
    margin-bottom: 20px;
}
    .subtitle-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
    }

    .lines.left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      align-items: flex-end;
    }

    /* Conteneur lignes à droite (alignées à gauche) */
    .lines.right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      align-items: flex-start; 
    }

    /* Ligne du haut (plus courte) */
    .lines span:first-child {
      width: 45px;
      height: 2px;
      background-color: var(--Couleur-Titre);
      border-radius: 2px;
    }

    /* Ligne du bas (plus longue) */
    .lines span:last-child {
      width: 70px;
      height: 2px;
      background-color: var(--Couleur-Titre);
      border-radius: 2px;
    }

    .subtitle {
      color: var(--Couleur-Titre);
      font-size: 35px;
      letter-spacing: 1px;
      margin-bottom: 10px;
      text-transform: uppercase;
      color: --;
      user-select: none;
      font-family: var(--font-paragraphe);
    }

    .main-title {
      text-align: center;
      font-size: 32px;
      color: var(--Couleur-bouton-hover);
      margin: -20px auto;
      max-width: max-content;
      font-family: var(--font-titre3);
      letter-spacing: 1px;

    }


    @media (max-width: 610px){
    .main-title {
      font-size: 25px;
    }

    .subtitle {
      font-size: 25px;
    }

    .lines {
      width: 60px;
      margin-top: -4px;
    }


    }


       @media (max-width: 490px){
    .main-title {
      font-size: 20px;
      margin-top: -13px;
    }

    .subtitle {
      font-size: 20px;
    }

    .lines {
      margin-top: -4px;
    }

    .lines span:first-child {
      width: 25px;
    }

    .lines span:last-child {
      width: 50px;
    }

        .lines.left {
      gap: 4px;
    }

    .lines.right {
      gap: 4px;
    }

    }
/* Fin Titre */













/* CONTAINER */
.container {
  max-width: 1500px;
  margin: auto;
  padding: 10px 20px;
}

/* TITRES */
h1 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin: 10px 0 30px;
  font-family: var(--font-paragraphe2);
  color: var(--Couleur-Titre);

}

/* GALERIE — FLEXBOX */
/* 8 colonnes par défaut */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 10px;
  margin-top: -20px;
}

/* IMAGE — largeur calculée pour 8 colonnes */
.gallery img {
  width: calc((100% - (7 * 10px)) / 8); /* 8 colonnes avec gap 10px */
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  transition: transform .35s ease, box-shadow .35s ease;
}

.gallery img:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 18px 35px rgba(0,0,0,.25);
}

/* RESPONSIVE : ajustement des colonnes */

/* 6 colonnes ≤ 1200px */
@media (max-width: 1200px) {
  .gallery img {
    width: calc((100% - (5 * 10px)) / 6); /* 6 colonnes */
  }
}

/* 5 colonnes ≤ 930px */
@media (max-width: 930px) {
  .gallery img {
    width: calc((100% - (4 * 10px)) / 5); /* 5 colonnes */
  }
}

/* 4 colonnes ≤ 830px */
@media (max-width: 830px) {
  .gallery img {
    width: calc((100% - (3 * 10px)) / 4); /* 4 colonnes */
  }
}

/* 3 colonnes ≤ 730px */
@media (max-width: 730px) {
  .gallery img {
    width: calc((100% - (2 * 10px)) / 3); /* 3 colonnes */
  }
}

/* 2 colonnes ≤ 550px */
@media (max-width: 550px) {
  .gallery img {
    width: calc((100% - (1 * 10px)) / 2); /* 2 colonnes */
  }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 7px;
}

/* TITRE LIGHTBOX */
.lightbox-title {
font-family: var(--font-titre);
  position: absolute;
  top: 20px;
  margin-bottom: 20px;
  color: var(--Couleur-Titre);
  left: 50%;
  transform: translateX(-50%);
  font-size: 25px;

}

/* BOUTONS */
.lightbox button {
  position: absolute;
  border: none;
  background: rgba(255,255,255,.25);
  color: #fff;
  padding: 10px;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}

.lightbox button:hover {
  background: rgba(255,255,255,.45);
  color: var(--Color-hover2);
}

.lightbox .close {
  top: 20px;
  font-size: 30px;
  font-weight: 300;
  right: 20px;
background: none;
}

.lightbox .close:hover {
background: none;
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

@media (max-width: 810px) {
.lightbox .prev {
  left: 10px;
}

.lightbox .next {
  right: 10px;
}

.lightbox .close {
  top: 10px;
  right: 10px;

}

.lightbox button {
  color: var(--Color-hover2);

}

.lightbox-title {

  left: 50%;

  font-size: 18px;

}

}
