@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@font-face {
  src: url("../assets/fonts/Montserrat-Regular.woff2") format("woff2");
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
@font-face {
  src: url("../assets/fonts/Montserrat-Bold.woff2") format("woff2");
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #131327;
}
body h2 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #FAD000;
}
body h3 {
  color: #FE9B01;
  font-family: "Montserrat", sans-serif;
}
body h4 {
  color: white;
  font-family: "Space Grotesk", sans-serif;
}

nav {
  display: flex;
  flex-direction: row;
  color: white;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 20px 0;
}
nav h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
  margin: 0;
  transition: font-size 0.3s ease;
}
nav .linkedin {
  margin-left: 13%;
  transition: margin-left 0.3s ease;
}
nav .linkedin svg {
  transition: width 0.3s ease, height 0.3s ease;
}
nav .github {
  margin-left: 50px;
  transition: margin-left 0.3s ease;
}
nav .github svg {
  transition: width 0.3s ease, height 0.3s ease;
}
nav {
  /* --- RESPONSIVE TABLETTE --- */
}
@media screen and (max-width: 768px) {
  nav h1 {
    font-size: 1.5rem;
  }
  nav .linkedin {
    margin-left: 8%;
  }
  nav .linkedin svg {
    width: 35px;
    height: 33px;
  }
  nav .github {
    margin-left: 30px;
  }
  nav .github svg {
    width: 34px;
    height: 36px;
  }
}
nav {
  /* --- RESPONSIVE MOBILE --- */
}
@media screen and (max-width: 480px) {
  nav h1 {
    font-size: 1.2rem;
  }
  nav .linkedin {
    margin-left: 5%;
  }
  nav .linkedin svg {
    width: 26px;
    height: 25px;
  }
  nav .github {
    margin-left: 15px;
  }
  nav .github svg {
    width: 26px;
    height: 28px;
  }
}

header {
  display: flex;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 50%;
}
@media screen and (max-width: 768px) {
  header {
    width: 90%;
  }
}
header img {
  width: auto;
  margin-left: 50px;
}
@media screen and (max-width: 480px) {
  header img {
    width: 100%;
    margin-left: 0;
  }
}
header h2, header p {
  align-self: center;
  text-align: center;
}
header p {
  color: white;
  line-height: 25px;
}
header section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media screen and (max-width: 480px) {
  header section {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  header section button, header section a {
    width: 100% !important;
    max-width: 250px;
  }
}

#btn_parcours {
  width: 150px;
  height: 40px;
  font-family: "Montserrat", sans-serif;
  background-color: #FE9B01;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-content: center;
  text-decoration: none;
}
#btn_parcours:hover {
  background-color: rgb(203.2, 124, 0.8);
}
#btn_parcours {
  margin-top: 20px;
}

.btn_cv {
  width: 200px;
  height: 40px;
  font-family: "Montserrat", sans-serif;
  background-color: #A599E9;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-content: center;
  text-decoration: none;
}
.btn_cv:hover {
  background-color: rgb(127.9838709677, 111.0483870968, 223.9516129032);
}
.btn_cv {
  margin-top: 20px;
}

#btn_a_propos {
  width: 150px;
  height: 40px;
  font-family: "Montserrat", sans-serif;
  background-color: #FAD000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-content: center;
  text-decoration: none;
}
#btn_a_propos:hover {
  background-color: rgb(199, 165.568, 0);
}
#btn_a_propos {
  margin-top: 20px;
}

/* =========================================
   OVERLAYS STANDARDS (Parcours, Connexing, Envoliis)
   ========================================= */
#parcours-overlay, #connexing-overlay, #envoliis-overlay {
  position: fixed;
  color: white;
  font-family: "Montserrat", sans-serif;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#parcours-overlay.active, #connexing-overlay.active, #envoliis-overlay.active {
  opacity: 1;
  visibility: visible;
}
#parcours-overlay.active .parcours-content, #parcours-overlay.active .connexing-content, #parcours-overlay.active .envoliis-content, #connexing-overlay.active .parcours-content, #connexing-overlay.active .connexing-content, #connexing-overlay.active .envoliis-content, #envoliis-overlay.active .parcours-content, #envoliis-overlay.active .connexing-content, #envoliis-overlay.active .envoliis-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}
#parcours-overlay .parcours-content, #parcours-overlay .connexing-content, #parcours-overlay .envoliis-content, #connexing-overlay .parcours-content, #connexing-overlay .connexing-content, #connexing-overlay .envoliis-content, #envoliis-overlay .parcours-content, #envoliis-overlay .connexing-content, #envoliis-overlay .envoliis-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(90%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 auto;
  gap: 5px;
  border-radius: 12px;
  background-color: #131327;
  padding: 30px;
  opacity: 0;
  transform: scale(0.9) translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#parcours-overlay .parcours-content h3, #parcours-overlay .connexing-content h3, #parcours-overlay .envoliis-content h3, #connexing-overlay .parcours-content h3, #connexing-overlay .connexing-content h3, #connexing-overlay .envoliis-content h3, #envoliis-overlay .parcours-content h3, #envoliis-overlay .connexing-content h3, #envoliis-overlay .envoliis-content h3 {
  color: white;
  font-family: "Space Grotesk", sans-serif;
}
#parcours-overlay .parcours-content a, #parcours-overlay .parcours-content button:not(.btnfermer), #parcours-overlay .connexing-content a, #parcours-overlay .connexing-content button:not(.btnfermer), #parcours-overlay .envoliis-content a, #parcours-overlay .envoliis-content button:not(.btnfermer), #connexing-overlay .parcours-content a, #connexing-overlay .parcours-content button:not(.btnfermer), #connexing-overlay .connexing-content a, #connexing-overlay .connexing-content button:not(.btnfermer), #connexing-overlay .envoliis-content a, #connexing-overlay .envoliis-content button:not(.btnfermer), #envoliis-overlay .parcours-content a, #envoliis-overlay .parcours-content button:not(.btnfermer), #envoliis-overlay .connexing-content a, #envoliis-overlay .connexing-content button:not(.btnfermer), #envoliis-overlay .envoliis-content a, #envoliis-overlay .envoliis-content button:not(.btnfermer) {
  width: 350px;
  height: 50px;
  font-family: "Montserrat", sans-serif;
  background-color: #FAD000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-content: center;
  text-decoration: none;
}
#parcours-overlay .parcours-content a:hover, #parcours-overlay .parcours-content button:not(.btnfermer):hover, #parcours-overlay .connexing-content a:hover, #parcours-overlay .connexing-content button:not(.btnfermer):hover, #parcours-overlay .envoliis-content a:hover, #parcours-overlay .envoliis-content button:not(.btnfermer):hover, #connexing-overlay .parcours-content a:hover, #connexing-overlay .parcours-content button:not(.btnfermer):hover, #connexing-overlay .connexing-content a:hover, #connexing-overlay .connexing-content button:not(.btnfermer):hover, #connexing-overlay .envoliis-content a:hover, #connexing-overlay .envoliis-content button:not(.btnfermer):hover, #envoliis-overlay .parcours-content a:hover, #envoliis-overlay .parcours-content button:not(.btnfermer):hover, #envoliis-overlay .connexing-content a:hover, #envoliis-overlay .connexing-content button:not(.btnfermer):hover, #envoliis-overlay .envoliis-content a:hover, #envoliis-overlay .envoliis-content button:not(.btnfermer):hover {
  background-color: rgb(199, 165.568, 0);
}
#parcours-overlay .parcours-content a, #parcours-overlay .parcours-content button:not(.btnfermer), #parcours-overlay .connexing-content a, #parcours-overlay .connexing-content button:not(.btnfermer), #parcours-overlay .envoliis-content a, #parcours-overlay .envoliis-content button:not(.btnfermer), #connexing-overlay .parcours-content a, #connexing-overlay .parcours-content button:not(.btnfermer), #connexing-overlay .connexing-content a, #connexing-overlay .connexing-content button:not(.btnfermer), #connexing-overlay .envoliis-content a, #connexing-overlay .envoliis-content button:not(.btnfermer), #envoliis-overlay .parcours-content a, #envoliis-overlay .parcours-content button:not(.btnfermer), #envoliis-overlay .connexing-content a, #envoliis-overlay .connexing-content button:not(.btnfermer), #envoliis-overlay .envoliis-content a, #envoliis-overlay .envoliis-content button:not(.btnfermer) {
  color: #A599E9;
  text-align: center;
}
#parcours-overlay .parcours-content, #connexing-overlay .parcours-content, #envoliis-overlay .parcours-content {
  height: 90%;
  justify-content: center;
}
#parcours-overlay .parcours-content .parcours-img-container, #connexing-overlay .parcours-content .parcours-img-container, #envoliis-overlay .parcours-content .parcours-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
#parcours-overlay .parcours-content .parcours-img-container img, #connexing-overlay .parcours-content .parcours-img-container img, #envoliis-overlay .parcours-content .parcours-img-container img {
  max-width: 200px;
  height: auto;
}
#parcours-overlay .parcours-content .parcours-img-container .bulle-texte, #connexing-overlay .parcours-content .parcours-img-container .bulle-texte, #envoliis-overlay .parcours-content .parcours-img-container .bulle-texte {
  color: #FE9B01;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  max-width: 180px;
  text-align: left;
  line-height: 1.4;
}
@media screen and (max-width: 480px) {
  #parcours-overlay .parcours-content .parcours-img-container, #connexing-overlay .parcours-content .parcours-img-container, #envoliis-overlay .parcours-content .parcours-img-container {
    flex-direction: column;
    gap: 10px;
  }
  #parcours-overlay .parcours-content .parcours-img-container .bulle-texte, #connexing-overlay .parcours-content .parcours-img-container .bulle-texte, #envoliis-overlay .parcours-content .parcours-img-container .bulle-texte {
    text-align: center;
  }
}
#parcours-overlay .connexing-content, #parcours-overlay .envoliis-content, #connexing-overlay .connexing-content, #connexing-overlay .envoliis-content, #envoliis-overlay .connexing-content, #envoliis-overlay .envoliis-content {
  height: 50%;
  justify-content: center;
}
#parcours-overlay .connexing-content img, #parcours-overlay .envoliis-content img, #connexing-overlay .connexing-content img, #connexing-overlay .envoliis-content img, #envoliis-overlay .connexing-content img, #envoliis-overlay .envoliis-content img {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}

#propos-overlay {
  position: fixed;
  color: white;
  font-family: "Montserrat", sans-serif;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 5vh 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#propos-overlay.active {
  opacity: 1;
  visibility: visible;
}
#propos-overlay.active .propos-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}
#propos-overlay .propos-content {
  position: relative;
  background-color: #A599E9;
  width: min(95%, 1000px);
  margin: auto;
  padding: 50px 20px 80px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  opacity: 0;
  transform: scale(0.9) translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#propos-overlay .propos-content h2 {
  display: block;
  width: 100%;
  text-align: center;
  color: #FAD000;
  margin-bottom: 40px;
  font-size: 2rem;
}
#propos-overlay .propos-content > div:nth-of-type(1),
#propos-overlay .propos-content > div:nth-of-type(2),
#propos-overlay .propos-content > div:nth-of-type(3) {
  background-color: #131327;
  flex: 1 1 200px;
  max-width: 260px;
  margin: 15px;
  padding: 30px 15px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
#propos-overlay .propos-content > div:nth-of-type(1):hover,
#propos-overlay .propos-content > div:nth-of-type(2):hover,
#propos-overlay .propos-content > div:nth-of-type(3):hover {
  transform: translateY(-8px);
}
#propos-overlay .propos-content > div:nth-of-type(1) h3,
#propos-overlay .propos-content > div:nth-of-type(2) h3,
#propos-overlay .propos-content > div:nth-of-type(3) h3 {
  color: #FE9B01;
  margin: 0;
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
}
#propos-overlay .propos-content > p {
  width: 100%;
  max-width: 800px;
  color: white;
  line-height: 1.6;
  margin: 30px 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  flex-basis: 100%;
}
#propos-overlay .propos-content > p:nth-of-type(1) {
  text-align: center;
}
#propos-overlay .propos-content > p:nth-of-type(2) {
  text-align: left;
  padding-right: 20%;
}
#propos-overlay .propos-content > p:nth-of-type(3) {
  text-align: right;
  padding-left: 20%;
}
#propos-overlay .propos-content > p:nth-of-type(4) {
  text-align: left;
  padding-right: 20%;
}
#propos-overlay .propos-content > p:nth-of-type(5) {
  text-align: right;
  padding-left: 10%;
  padding-right: 260px;
}
@media screen and (max-width: 768px) {
  #propos-overlay .propos-content > p:nth-of-type(5) {
    padding-right: 0;
    text-align: center;
  }
}
#propos-overlay .propos-content > img {
  max-width: 90%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: 20px auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
#propos-overlay .propos-content > img:nth-of-type(1) {
  width: 800px;
  max-width: 100%;
  box-shadow: none;
  border-radius: 0;
  margin: 20px auto;
}
#propos-overlay .propos-content > p:last-of-type {
  color: #FAD000;
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  text-align: right;
  padding-right: 260px;
  margin-top: 40px;
  padding-left: 0;
}
@media screen and (max-width: 768px) {
  #propos-overlay .propos-content > p:last-of-type {
    padding-right: 0;
    text-align: center;
    margin-top: 20px;
  }
}
#propos-overlay .propos-content > img:last-of-type {
  position: absolute;
  bottom: -50px;
  right: -30px;
  width: 240px;
  height: auto;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  z-index: 10;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  #propos-overlay .propos-content > img:last-of-type {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 20px auto -50px auto;
    display: block;
  }
}
#propos-overlay .propos-content .btnfermer {
  color: #131327;
  background-color: transparent;
}
#propos-overlay .propos-content .btnfermer:hover {
  background-color: #FAD000;
}
#propos-overlay .propos-content {
  /* --- RESPONSIVE MOBILE EXCLUSIF --- */
}
@media screen and (max-width: 480px) {
  #propos-overlay .propos-content {
    padding: 40px 15px 40px 15px;
  }
  #propos-overlay .propos-content > div:nth-of-type(1),
  #propos-overlay .propos-content > div:nth-of-type(2),
  #propos-overlay .propos-content > div:nth-of-type(3) {
    flex: 1 1 100%;
    max-width: 220px;
    margin: 10px auto;
    padding: 15px 10px;
    gap: 10px;
  }
  #propos-overlay .propos-content > div:nth-of-type(1) svg,
  #propos-overlay .propos-content > div:nth-of-type(2) svg,
  #propos-overlay .propos-content > div:nth-of-type(3) svg {
    width: 28px;
    height: 28px;
  }
  #propos-overlay .propos-content > div:nth-of-type(1) h3,
  #propos-overlay .propos-content > div:nth-of-type(2) h3,
  #propos-overlay .propos-content > div:nth-of-type(3) h3 {
    font-size: 1rem;
  }
  #propos-overlay .propos-content > p {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
  #propos-overlay .propos-content > p:nth-of-type(5),
  #propos-overlay .propos-content > p:last-of-type,
  #propos-overlay .propos-content > img:last-of-type {
    display: none !important;
  }
}

/* =========================================
   BOUTON FERMER GLOBAL (La Croix)
   ========================================= */
.btnfermer {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.btnfermer svg {
  width: 28px;
  height: 28px;
}
.btnfermer:hover {
  background-color: #FAD000;
  color: #131327;
  transform: scale(1.1) rotate(90deg);
}

/* =========================================
   COMPÉTENCES (HARD SKILLS)
   ========================================= */
.competence h2 {
  color: white;
  margin-bottom: 10px;
}
.competence {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.hardskills {
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 1200px;
  margin: 20px auto;
}
.hardskills div {
  display: flex;
  flex-direction: column;
  background-color: #A599E9;
  align-items: center;
  border-radius: 16px;
  width: 340px;
  padding: 25px 20px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (max-width: 480px) {
  .hardskills div {
    width: 100%;
    max-width: 340px;
  }
}
.hardskills div:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.hardskills div h4 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  width: 80%;
  text-align: center;
}

.langage {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 100%;
}
.langage figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}
.langage figure:hover {
  transform: scale(1.15);
}
.langage figure img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}
.langage figure figcaption {
  color: white;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.compacad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 90%;
  margin: 20px auto;
}
.compacad button {
  width: min(100%, 600px);
  height: 75px;
  font-family: "Montserrat", sans-serif;
  background-color: #A599E9;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-content: center;
  text-decoration: none;
}
.compacad button:hover {
  background-color: rgb(127.9838709677, 111.0483870968, 223.9516129032);
}
.compacad button {
  padding: 0 15px;
}

/* =========================================
   GRILLE DES PROJETS & CARDS
   ========================================= */
.projet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.projet h2 {
  color: white;
  margin-bottom: 20px;
}
.projet h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #FE9B01;
}

.projet-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 40px;
}

.projet-card {
  background-color: #131327;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  width: 280px;
  max-width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 0;
  text-align: left;
}
.projet-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
.projet-card:hover img {
  filter: brightness(1);
}
.projet-card img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  border-bottom: 3px solid #FAD000;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}
.projet-card .projet-info {
  padding: 20px;
  background-color: #A599E9;
}
.projet-card .projet-info h4 {
  margin: 0 0 5px 0;
  color: #131327;
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
}
.projet-card .projet-info p {
  margin: 0;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}

/* =========================================
   OVERLAYS DES PROJETS
   ========================================= */
.overlay-projet {
  position: fixed;
  color: white;
  font-family: "Montserrat", sans-serif;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay-projet.active {
  opacity: 1;
  visibility: visible;
}
.overlay-projet.active .projet-overlay-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.overlay-projet .projet-overlay-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(90%, 650px);
  max-height: 90vh;
  overflow-y: auto;
  background-color: #131327;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  opacity: 0;
  transform: scale(0.9) translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.overlay-projet .projet-overlay-content h2 {
  color: #FAD000;
  margin-bottom: 20px;
  font-family: "Space Grotesk", sans-serif;
}
.overlay-projet .projet-overlay-content img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.overlay-projet .projet-overlay-content iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.overlay-projet .projet-overlay-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: white;
}
.overlay-projet .projet-overlay-content strong {
  color: #FE9B01;
}

/* =========================================
   CARROUSEL FLIPPER (Images complètes)
   ========================================= */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 25px auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0b0b1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.carousel-container .carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}
.carousel-container .carousel-track img {
  width: 100%;
  height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
}
.carousel-container .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}
.carousel-container .carousel-btn:hover {
  background-color: #FAD000;
  color: #131327;
}
.carousel-container .carousel-btn.prev {
  left: 10px;
}
.carousel-container .carousel-btn.next {
  right: 10px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 20px 30px 20px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
footer p {
  color: white;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
footer p:last-of-type {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 30px;
}
footer .contact-mail {
  margin: 20px 0;
}
footer .contact-mail a {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FAD000;
  text-decoration: none;
  padding: 12px 25px;
  border: 2px solid #FAD000;
  border-radius: 8px;
  transition: all 0.3s ease;
}
footer .contact-mail a:hover {
  background-color: #FAD000;
  color: #131327;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(250, 208, 0, 0.2);
}/*# sourceMappingURL=style.css.map */