/* ********************* */
/* A PROPOS SECTION */
/* ********************* */
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.présentation {
  padding: 4rem;
}
.apropos-section {
  margin-bottom: 10rem;
  padding-top: 10rem;
  margin: 3rem;
  margin-bottom: 8rem;
}
.apropos-section1 {
  padding-top: 30rem;

  position: relative;
  height: 100vh; /* prend tout l’écran */

  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 1) 100%),
    /* fondu vers le noir */ url("../PHOTO-REAL/fond2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.titre-apropos {
  display: grid;
  place-items: center;

  font-size: 4rem;
  justify-self: center;
  /* Centrer la cellule verticalement */
  align-self: center;
}
.cv-apropos {
  grid-column: 1/2;
  grid-row: 2/3;
  justify-self: center;
  /* Centrer la cellule verticalement */
  align-self: center;
}
/* BUTTON */
.btn-pdf {
  font-family: "Hammersmith One", sans-serif;
  font-size: 2rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: white;
  background-color: #000;
}
#pdfModalunique {
  width: 80%;
  height: 80%;
}
/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 80%;
  height: 80%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: 0 auto;
  padding: 0.5rem;
  background-color: #000000;
  height: 90%;
  width: 100%;
  max-width: 70rem;
}
.hero-text-box {
  padding-bottom: 6rem;
}
.blop {
  margin-bottom: 2rem;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.photo-figure {
  font-size: 1.4rem;

  /* Centrer la cellule verticalement */
  align-self: center;
}
.photo-figure {
  text-align: center;
}
.photo-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;

  /* Centrer la cellule verticalement */
  align-self: center;
}
iframe {
  width: 80%;
  height: 80%;
}
.bio-apropos,
.bio-apropos2,
.bio-apropos3 {
  text-align: center;
  max-width: 60ch;
}
.bio-apropos4 {
  color: whitesmoke;
  padding: 4rem;
  text-align: center;
  line-height: 1.9rem;

  font-size: 1.4rem;
}
.bio-apropos {
  display: grid;
  padding: 0.5rem;
  width: 45rem;
  line-height: 1.9rem;

  font-size: 1.4rem;

  /* Centrer la cellule verticalement */
  align-self: center;
}
.bio-apropos3 {
  display: grid;
  padding: 0.5rem;
  width: 45rem;
  line-height: 2.2rem;

  font-size: 1.6rem;

  /* Centrer la cellule verticalement */
  align-self: center;
}
.titre-apropos3 {
  display: grid;
  place-items: center;
  line-height: 5rem;
  font-size: 5rem;
  justify-self: center;
  /* Centrer la cellule verticalement */
  align-self: center;
  hyphens: auto;
}
.titre-apropos4 {
  display: grid;
  place-items: center;
  line-height: 1.7rem;
  font-size: 7rem;
  padding-top: 3rem;
  justify-self: center;
  /* Centrer la cellule verticalement */
  align-self: center;
  hyphens: auto;
}
.bio-apropos2 {
  display: grid;
  padding: 0.5rem;
  width: 45rem;
  line-height: 1.7rem;

  font-size: 1.4rem;

  /* Centrer la cellule verticalement */
  align-self: center;
}
.Photo-apropos {
  display: flex;
  justify-self: center;
  width: 80%;
  height: 80%;
  margin: 0 auto;
}
/*  */
/* //CAROUSEL */
/*  */
.title-carousel {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  padding: 2rem;
}
.carousel-apropos {
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 60rem; /* Adjust the width as needed */
  z-index: 1;
  margin-bottom: 10rem;
}

.carousel-slide {
  display: flex;
  width: 100%;
  transition: transform 0s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  height: auto;
}
/* CAROUSSEL BTN CONTROLS */

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.carousel-controls .prev-btn,
.carousel-controls .next-btn {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border: none;
  background-color: white;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
}

.prev-btn {
  left: 14rem; /* Adjust the value as needed */
}

.next-btn {
  right: 14rem; /* Adjust the value as needed */
}

.carousel-controls .prev-btn:hover,
.carousel-controls .next-btn:hover {
  background-color: black;
  color: white;
}
.background-image1 {
  position: absolute; /* Position absolue pour placer l'image derrière le texte */
  top: 0;
  left: 0;
  width: 100%; /* Prend la largeur de la section */
  height: 120%; /* Prend la hauteur de la section */ /* Chemin vers votre image */
  background-size: 100%; /* Ajuste la taille de l'image pour couvrir toute la section */
  background-position: center; /* Centre l'image */
  opacity: 0.4; /* Réglez l'opacité de l'image selon vos besoins */
  z-index: -1; /* Place l'image en arrière-plan derrière le texte */
}

.background {
  position: fixed;
  inset: 0;

  background-image: url("../PHOTO-REAL/FOND.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.25;
  z-index: -1;
  pointer-events: none; /* ne bloque pas les clics */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;

  /* important : padding pour ne pas toucher les bords */
  padding: 6rem 10vw; /* 10vw = 10% de chaque côté */

  box-sizing: border-box;
}

/* images */
.gallery img {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;

  opacity: 0.95;
}

/* hover */
.gallery img:hover {
  transform: scale(1.03);
  opacity: 1;
}

/* responsive */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.8rem;
    padding: 4rem 6vw; /* réduit le padding sur mobile */
  }
}
