/* Import des polices */
@font-face {
  font-family: "Monument Grotesk";
  src: url("fonts/Monument/MonumentGrotesk-Medium.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Monument Grotesk";
  src: url("fonts/Monument/MonumentGrotesk-Bold.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Monument Grotesk";
  src: url("fonts/Monument/MonumentGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Monument Grotesk Mono";
  src: url("fonts/Monument/MonumentGrotesk-Mono.ttf") format("truetype");
}

@font-face {
  font-family: "CH";
  font-weight: 100;
  font-style: normal;
  src: url("fonts/Cooper/CooperHewitt-Thin.woff"),
    url("fonts/Cooper/CooperHewitt-ThinItalic.woff");
}

@font-face {
  font-family: "CH";
  font-weight: 700;
  font-style: normal;
  src: url("fonts/Cooper/CooperHewitt-Semibold.woff"),
    url("fonts/Cooper/CooperHewitt-SemiboldItalic.woff"),
    url("fonts/Cooper/CooperHewitt-Bold.woff"),
    url("fonts/Cooper/CooperHewitt-BoldItalic.woff");
}

@font-face {
  font-family: "CH";
  font-weight: 500;
  font-style: normal;
  src: url("fonts/Cooper/CooperHewitt-Medium.woff"),
    url("fonts/Cooper/CooperHewitt-MediumItalic.woff");
}

@font-face {
  font-family: "CH";
  font-weight: 200;
  font-style: normal;
  src: url("fonts/Cooper/CooperHewitt-Light.woff"),
    url("fonts/Cooper/CooperHewitt-LightItalic.woff");
}

@font-face {
  font-family: "CH";
  font-weight: 800;
  font-style: normal;
  src: url("fonts/Cooper/CooperHewitt-Heavy.woff"),
    url("fonts/Cooper/CooperHewitt-HeavyItalic.woff");
}

@font-face {
  font-family: "Lemon";
  font-weight: 400;
  font-style: medium;
  src: url("fonts/Lemon/LEMONMILK-Medium.otf");
}

@font-face {
  font-family: "Lemon";
  font-weight: 500;
  font-style: normal;
  src: url("fonts/Lemon/LEMONMILK-Regular.otf");
}

@font-face {
  font-family: "Lemon";
  font-weight: 100;
  font-style: light;
  src: url("fonts/Lemon/LEMONMILK-Light.otf");
}

/* Global settings */
* {
  box-sizing: border-box;
  margin: 0;
}

/* Typographie */
body {
  color: white;
  font-family: "Lemon";
  font-size: 16px;
  font-weight: 100;
  background-color: #000;
}

h1 {
  font-size: 40px;
  font-weight: 200;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

h2 {
  color: #fff;
  text-align: center;
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 2px;
}

h3 {
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 1px;
}

p {
  font-family: "CH";
  font-weight: 100;
  letter-spacing: 1px;
  line-height: 36px;
}

.intro {
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 200;
  padding: 100px 0;
}

.footer h3 {
  font-weight: 200;
}

.burgermenu ul li a {
  text-decoration: none;
  font-size: 48px;
  color: white;
}

/* Mise en page générale */
.portfolio a {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
}

.portfolio a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease-out;
}

.portfolio a:hover::after {
  width: 100%;
}

/* Header */
header {
  padding: 2rem 2rem;
}

.header {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.5s ease-in-out;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.header img {
  width: 47px;
  height: 47px;
  flex-shrink: 0;
}

/* Titre */
.Titre {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0)
    ),
    url("image/AutresImages/danse-16.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

.Titre img {
  width: 112px;
  height: 96px;
}

.fleche {
  display: flex;
  width: 91px;
  height: 91px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fleche svg {
  transition: transform 0.3s ease;
}

.fleche:hover svg {
  transform: scale(1.15); /* Grossit de 15% */
}

img {
  max-width: 100%;
}

/* Navigation principale */
.topnav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
}

.topnav a {
  color: rgb(245, 245, 245);
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
  transition: color 0.3s ease-in-out;
  /* text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4); Ombre portée subtile */
}

.topnav.light a {
  color: rgb(30, 30, 30); /* fond clair → texte foncé */
}

.topnav.dark a {
  color: rgb(227, 227, 227); /* fond foncé → texte clair */
}

.topnav a:hover {
  color: white;
}

.topnav .active {
  color: white;
}

html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 750px) {
  .topnav {
    gap: 5px;
  }

  .topnav a {
    font-size: 14px;
    padding: 10px 5px;
  }

  .intro {
    padding: 60px 30px;
  }

  .Titre h1 {
    font-size: 30px;
  }

  .Titre h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .topnav {
    gap: 5px;
    margin: 0 5px;
  }

  .topnav a {
    font-size: 12px;
    padding: 5px 0;
  }

  .portfolio a {
    font-size: 13px;
  }
}

/* ---------------------------------------------------------
   Section "Travail"
--------------------------------------------------------- */

.recentwork h2:after {
  content: "";
  display: block;
  border-top: 2px solid #919191;
  width: 100%;
}

.actu {
  padding: 2rem 0rem;
}

.travailpetit {
  position: relative;
  overflow: hidden;
  padding: 0px;
  aspect-ratio: 16/9;
}

.travailpetit img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.travailpetit:hover img,
.row .travailpetit:hover img {
  transform: scale(1.04);
  /* filter: brightness(25%); */
}

.title-overlay-recent {
  z-index: 2;
  position: absolute; /* Pour qu'il s'aligne bien à .travailpetit */
  bottom: 0; /* Aligné en bas */
  left: 0;
  width: 100%;
  padding: 2rem 2rem; /* Même padding que .actu */
  color: white;
  font-size: 1.8rem;
  text-align: left;

  /* background-color: rgba(0, 0, 0, 0.8); */
  /* opacity: 0;
  transition: opacity 0.3s ease; */
}

.row .title-overlay-recent {
  opacity: 1;
}

.travailpetit::after {
  z-index: 1;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Ajuste la hauteur du dégradé */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  pointer-events: none; /* Empêche d'interférer avec les interactions */
}

/* ---------------------------------------------------------
   Pour les écrans jusqu'à 1200px
--------------------------------------------------------- */
@media (max-width: 1200px) {
  .recentwork {
    padding: 2rem 2rem;
  }

  .title-overlay-recent h3 {
    font-size: 1.2rem;
  }
}

/* ---------------------------------------------------------
   Pour les écrans jusqu'à 750px (tablettes et petits laptops)
--------------------------------------------------------- */
@media (max-width: 750px) {
  .recentwork {
    padding: 1rem 3rem;
  }

  .title-overlay-recent {
    font-size: 1.2rem;
  }
}

/* ---------------------------------------------------------
   Pour les petits écrans jusqu'à 480px (mobiles)
--------------------------------------------------------- */
@media (max-width: 480px) {
  .recentwork {
    padding: 1rem;
  }

  .title-overlay-recent p {
    font-size: 0.8rem;
    font-weight: 200;
    line-height: 20px;
  }

  .title-overlay-recent h3 {
    font-size: 0.8rem;
  }
  .travailpetit::after {
    height: 90%; /* Ajuste la hauteur du dégradé */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    pointer-events: none; /* Empêche d'interférer avec les interactions */
  }
}

/* ---------------------------------------------------------
   Comportement par défaut pour les grands écrans
--------------------------------------------------------- */
.row {
  display: grid;
  /* grid-auto-flow: column; */
  grid-template-columns: repeat(auto-fill, minmax(min(45rem, 100%), 1fr));
  gap: 0rem;
}

/* ---------------------------------------------------------
   Pied de page
--------------------------------------------------------- */

/* Section Footer */
.itemfooter {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0 1rem;
  stroke-width: 1px; /* Épaisseur par défaut */
  transition: stroke-width 0.3s ease;
}

.itemfooter svg:hover {
  stroke-width: 2px; /* Épaisseur augmentée au survol */
  transform: scale(1.05);
}

/* Séparateur */
.footer:before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  border-top: 2px solid #919191;
}

/* Lien Email */
.footer .email-link {
  display: block;
  text-align: center;
  margin: 1rem 0 2.5rem;
  padding: 10px;
  color: rgb(143, 143, 143);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .email-link:hover {
  color: #ffffff;
}

/* ---------------------------------------------------------
About me
--------------------------------------------------------- */

.about {
  position: relative; /* Nécessaire pour le positionnement absolu des enfants */
  min-height: 100vh;
  background: url("image/Moi.webp") no-repeat right;
  background-size: contain;
}

/* Contenu texte */
.abouttexte {
  position: absolute;
  top: 40%;
  left: 4%;
  width: 50%;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.abouttexte h2 {
  font-size: 28px;
  padding-bottom: 1rem;
}

.abouttexte p {
  font-weight: 300;
  font-size: 18px;
  width: 100%;
}

/* Responsivité */
@media (max-width: 750px) {
  .about {
    background-size: cover;
    padding: 50px 0;
    text-align: center;
    align-items: center;
  }

  .about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }

  .abouttexte h2 {
    font-size: 20px;
    line-height: 25px;
  }

  .abouttexte p {
    font-size: 16px;
    line-height: 25px;
  }
  .abouttexte {
    width: 80%; /* Évite un texte trop large */
    left: 10%;
    text-align: left;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }

  .abouttexte {
    width: 80%; /* Évite un texte trop large */
    left: 10%;
    text-align: left;
    align-items: center;
  }

  .about {
    background: url("image/Moi_petit.webp") no-repeat center;
    min-height: 120vh;
  }
}

/* Ligne sous le titre Contact */
.contact h1::after {
  content: "";
  display: block;
  width: 100%;
  border-top: 2px solid #919191;
}

.contact .mail {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------------------------------------------------
Projet
--------------------------------------------------------- */

.projet {
  position: relative;
  min-height: 80vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: white;
  overflow: hidden;
}

.projet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("image/SionCompresse/Fichier\ 98.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(1px) brightness(60%);
  z-index: -1;
}

#Vitrine h2,
#Vitrine p {
  position: relative;
  z-index: 1;
  top: -15%;
}

.projet h2 {
  position: relative;
  margin: 0;
  padding: 0rem 1rem;
  color: white;
  font-size: 9vw;
  font-weight: bold;
  z-index: 1;
}

.projet p {
  position: relative;
  margin: 0;
  padding: 0rem 1rem;
  color: white;
  font-size: 1.3rem;
  font-weight: 200;
  line-height: 35px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 1;
  max-width: 60%;
}

/* Ajout de la ligne blanche entre le h2 et le p */
.projet h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  margin: 1rem 0; /* Ajuster l'espace autour de la ligne */
  z-index: 1;
}

/* Style de la grille principale */
.photogridrow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 10px 10rem;
  box-sizing: border-box;
}

.column img {
  width: 100%;
  height: auto;
  padding: 2px;
  object-fit: cover;
}

.columnvid img {
  aspect-ratio: 16/9;
}

.columnvid_FAA img {
  aspect-ratio: 9/16;
}

button {
  margin: 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 20px;
  color: rgb(97, 97, 97);
  border: none;
  background-color: transparent;
  position: relative;
}

button:hover {
  color: rgb(255, 255, 255);
}

button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease-out;
}

button:hover::after {
  width: 100%;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  /* z-index: 24;
  position: sticky; */
}

@media screen and (max-width: 1200px) {
  .photogridrow {
    padding: 50px 5rem;
  }
}
@media screen and (max-width: 750px) {
  .button-container {
    display: none;
  }
  .photogridrow {
    grid-template-columns: repeat(1, 1fr);
    padding: 20px 80px;
  }
}

@media screen and (max-width: 480px) {
  .button-container {
    display: none;
  }
  .photogridrow {
    padding: 20px 20px;
  }

  .projet {
    padding: 5rem 1rem;
  }

  .projet p {
    max-width: 80%;
    font-size: 16px;
  }
}

.button-container button {
  margin: 0 15px;
}

/*-------------------------------------
 -------------- CONTACT PAGE ------------
 ------------------------------------- */

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background-color: #000;
  color: white;
  text-align: center;
  position: relative;
}

.contact h1 {
  margin-bottom: 30px;
  font-size: 3rem;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: white;
  font-weight: 200;
  position: relative;
  z-index: 1;
}

.contact a {
  font-size: 1.2rem;
  color: rgb(210, 210, 210);
  text-decoration: none;
  transition: color 0.3s ease, width 0.3s ease-out;
  position: relative;
}

.contact a:hover {
  color: #ffffff;
}

.contact-info a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease-out;
}

.contact-info a:hover::after {
  width: 100%;
}

/* -------------------------------------
Social Media Icons
------------------------------------- */
.social-icons {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  margin-top: 100px;
}

.contact p {
  font-weight: 300;
}

.icons a {
  padding: 0 15px;
  justify-content: center;
}
@media (max-width: 750px) {
  .icons a {
    padding: 0 0px; /* Réduction du padding */
    justify-content: center; /* Pas de changement pour centrer les éléments */
  }
}
.icons svg:hover {
  stroke-width: 1px;
  transform: scale(1.05);
  stroke: rgb(255, 255, 255);
}

.contact-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

.contact-menu.active {
  display: block;
  transform: translateX(0);
}

.contact-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  padding: 60px 0;
}

.contact-menu ul li a {
  transition: color 0.3s ease;
  padding: 15px 0;
  line-height: 3em;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.contact-menu ul li:not(:last-child)::after {
  display: block;
  content: " ";
  height: 0px;
  border-top: 2px solid #565656;
  position: absolute;
  left: 30%;
  right: 30%;
}

/* -------------------------------------
______________PHOTOS PROJET _____________:___ 
-------------------------------------*/
/* lightbox */

.photogridrow img {
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s;
}

.photogridrow img:hover {
  transform: scale(1.01);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.titre_photos {
  padding: 100px;
  text-align: center;
  box-sizing: border-box; /* Évite les débordements */
}

.titre_photos h1::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  margin: 1rem 0;
  z-index: 1;
}

.photogrid_projet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 0rem;
  padding: 0px 0px 200px 0px;
}

.photo-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.photogrid_projet img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.photogrid_projet .photo-container:hover img {
  transform: scale(1.1);
  filter: brightness(35%);
}

.title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.8rem;
  text-align: center;
  align-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.photogrid_projet .photo-container:hover .title-overlay {
  opacity: 1;
}

.title-overlay p {
  font-size: 1.2rem;
}

/* Écrans jusqu'à 1200px (grands laptops et tablettes en paysage) */
@media (max-width: 1200px) {
  .titre_photos:not(:last-child)::after {
    left: 37%;
    right: 37%;
  }
}

/* Écrans jusqu'à 750px (tablettes et petits laptops) */
@media (max-width: 750px) {
  .titre_photos:not(:last-child)::after {
    left: 32%;
    right: 32%;
  }

  .photogrid_projet {
    grid-template-columns: repeat(auto-fill, minmax(27rem, 1fr));
    padding: 0px 0px 90px 0px;
  }

  .title-overlay {
    opacity: 0.9;
  }

  .title-overlay:hover {
    opacity: 1;
  }

  .photogrid_projet img {
    opacity: 0.6;
  }
}

/* Écrans jusqu'à 480px (mobiles) */
@media (max-width: 480px) {
  .titre_photos {
    padding: 100px 100px 20px 100px;
  }

  .photogrid_projet {
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 0rem;
    padding: 0px 0px 50px 0px;
  }
}

/* --------------------------------
----------- VIDEO --------------- 
-----------------------------------*/

.projet .grand {
  font-size: 8rem;
}

/* Conteneur global de la grille */
.videogrid_projet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  padding-bottom: 200px;
}

/* Style pour chaque vidéo */
.video-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

/* .video-container img,
.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1;
} */

/* Vidéo masquée par défaut */
/* .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
} */

/* Titre overlay */
.video-container .title-overlay-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.8rem;
  text-align: center;
  z-index: 2;
  opacity: 1;
}

.title-overlay-videogrand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.8rem;
  text-align: center;
  z-index: 2;
  opacity: 1;
}

.title-overlay-video p {
  font-size: 1.2rem;
}

/* Section vidéo */
.videoprojet {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 9;
}

.videoprojet video {
  max-width: 90%;
}

.video-container img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.video-container:hover img {
  transform: scale(1.1);
  filter: brightness(35%);
}

/* Responsive */
@media (max-width: 750px) {
  .title-overlay-video {
    font-size: 10px;
  }

  .projet .grand {
    padding-top: 2rem;
    font-size: 2rem;
  }

  .title-overlay-videogrand {
    font-size: 1.3rem;
  }

  .videogrid_projet {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }
}

/* ---------------------------------------------------------
Burger Menu
--------------------------------------------------------- */

/* .burgermenu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  transition: transform 0.1s ease;
}

.burgermenu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  padding: 60px 0;
}

.burgermenu ul li a {
  transition: color 0.3s ease;
  padding: 15px 0;
  line-height: 3em;
}

.burgermenu ul li a:hover {
  color: gray;
}

.burgermenu.active {
  transform: translateX(0);
}

.burgermenu ul li:not(:last-child)::after {
  display: block;
  content: " ";
  height: 0px;
  border-top: 2px solid #565656;
  left: 30%;
  right: 30%;
  position: absolute;
} */

/* .navPrincipale {
  min-height: initial;

  padding: 1rem;
  z-index: 24;

  top: 0;
}

.navPrincipale:before {
  display: block;
  content: " ";
  height: 0px;
  border-top: 2px solid #919191;
  width: 60%;
}

.navPrincipale:after {
  display: block;
  content: " ";
  height: 0px;
  border-top: 2px solid #919191;
  width: 60%;
  position: absolute;
  right: 0;
}

.navPrincipale ul {
  list-style-type: none;
  margin: 0;
  padding-bottom: 24px;
  padding-top: 24px;

  display: flex;
  justify-content: center;
  gap: 12rem;
}

.navPrincipale a {
  text-decoration: none;
  color: rgb(97, 97, 97);
  font-size: 32px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  transition: color 0.3s ease;
}

.navPrincipale a:hover {
  color: #fff;
} */

/* FUUUUCK */

/* .projet .grand {
  font-size: 8rem;
}

/* Conteneur global de la grille */
/* .videogrid_projet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  padding-bottom: 200px;
}


.video-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-container img,
.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.6s ease;
  opacity: 1;
}


.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}


.video-container .title-overlay-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.8rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
}

.video-container:hover .title-overlay-video {
  opacity: 1;
}

.title-overlay-videogrand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.8rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
}
.video-container:hover .title-overlay-videogrand {
  opacity: 1;
}


.video-container:hover img {
  opacity: 0;
}

.video-container:hover video {
  opacity: 0.5;
  pointer-events: auto;
}

.title-overlay-video p {
  font-size: 1.2rem;
} */

/* Section vidéo */
/* .videoprojet {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 9;
}

.videoprojet video {
  max-width: 90%;
}

.video-container.hover video {
  opacity: 0.5;
  pointer-events: auto;
}

.video-container.hover img {
  opacity: 0;
}

.video-container.hover .title-overlay-video,
.video-container.hover .title-overlay-videogrand {
  opacity: 1;
}

.video-container.hover img {
  opacity: 0 !important;
}

.video-container.hover .title-overlay-video,
.video-container.hover .title-overlay-videogrand {
  opacity: 1 !important;
}

.video-container img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.video-container:hover img {
  transform: scale(1.1);
  filter: brightness(35%);
} */

/* Responsive */
/* @media (max-width: 750px) {
  .title-overlay-video {
    font-size: 10px;
  }
  .projet .grand {
    padding-top: 2rem;
    font-size: 2rem;
  }

  .video-container .title-overlay-video {
    opacity: 1;
  }

  .title-overlay-videogrand {
    opacity: 1;
    font-size: 1.3rem;
  }

  .videogrid_projet {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .video-container:hover video {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .video-container:hover img {
    opacity: 1 !important;
    transform: scale(1.1);
    filter: brightness(35%);
  }
}

@media (hover: none) {
  .video-container:hover img,
  .video-container:hover video {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .video-container .title-overlay-video,
  .video-container .title-overlay-videogrand {
    opacity: 1 !important;
  }
}  */
