@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    cursor: none;
    position: relative;
    background-color: inherit;
    scrollbar-width: none;
    scroll-behavior: smooth;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    background-color: #e0dfdb;
    color: black;
    font-family: "Aesthetic", sans-serif;
    background-image: url(../images/fondDev.png);
    background-size: cover;
    background-position: center;
}

p {
    font-family: "DM Sans";
    font-weight: 200;
}

a {
    color: white;
    text-decoration: none;
    cursor: none;
}

@font-face {
    font-family: "Aesthetic";
    src: url(../font/AestheticRegular.otf) format("opentype");
    src: url(../font/AestheticRegular.ttf) format("truetype");
}

#curseur {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999999999;
    transition: transform 0.1s ease-out;
}

#menu-sortant-main {
    z-index: 10000;
    margin-left: -100vw;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    transition: 0.2s ease-in-out;
    animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.main-container {
    display: flex;
    align-items: center;
}

.main-container .number {
    font-family: "Aesthetic";
    margin-right: 300px;
}

.main-container .text h2 a {
    font-family: "Aesthetic";
    text-decoration: none;
    color: white;
    cursor: none;
}

#nav-menu-sortant {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-menu-sortant div a {
    color: white;
    text-decoration: none;
    font-family: "DM Sans";
    font-weight: 200;
    margin: 0;
}

.line {
    background-color: white;
    height: 0.5px;
    width: 1200px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.6s ease-out;
    transform-origin: left;
}

.line.visible {
    opacity: 1;
    transform: scaleX(1);
}

header #divNavLinks a {
    text-decoration: none;
    font-family: "DM Sans";
    font-weight: 300;
    transition: 0.5s ease-in-out;
}

#btn-menu {
    padding-left: 30px;
    height: 35px;
    width: 35px;
    transition: 0.5s ease-in-out;
}

.navlinks {
    color: black;
    text-decoration: none;
    font-family: "DM Sans";
    font-weight: 300;
    padding-right: 30px;
}

header {
    position: fixed;
    z-index: 10000;
    width: 100%;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.scroll {
    padding-top: 10px;
    background: linear-gradient(rgba(0, 0, 0, 0.237), rgba(255, 255, 255, 0));
}

section {
    min-height: 100vh;
}

.Vignette {
    padding: 0 50px;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
}

.Vignette img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}


.descriptionIcon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.descriptionIcon p {
    font-weight: 300;
}

#plus1, #plus2, #plus3, #plus4, #plus5, #plus6 {
    font-weight: 200;
    text-decoration: underline 0.2px;
    text-underline-offset: 4px;
    cursor: pointer;
}

.number {
    font-family: "Aesthetic";
}

#DetailProjet1, #DetailProjet2, #DetailProjet3, #DetailProjet4, #DetailProjet5, #DetailProjet6 {
    margin-left: -200vh;
    display: flex;
    flex-direction: row;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 100000;
    height: 200vh;
    width: 100vw;
    background-color: #e0dfdb;
    overflow-x: hidden;
    transition: 0.2s ease-in-out;
}

.closeDetail {
    position: absolute;
    font-size: 45px;
    top: 0;
    left: 50px;
    transition: 0.2s ease-in-out;
}

.closeDetail:hover {
    scale: 1.2;
}

#DetailProjet1 article, #DetailProjet2 article, #DetailProjet3 article, #DetailProjet4 article, #DetailProjet5 article, #DetailProjet6 article {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
}

#DetailProjet1 article div h2, #DetailProjet2 article div h2, #DetailProjet3 article div h2 {
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 200;
}

#DetailProjet1 article div p, #DetailProjet2 article div p, #DetailProjet3 article div p, #DetailProjet4 article div p, #DetailProjet5 article div p, #DetailProjet6 article div p {
    text-align: justify;
}

.tabDetail {
    margin-top: 150px;
    margin-bottom: 200px;
}

#DetailProjet1 article div, #DetailProjet2 article div, #DetailProjet3 article div, #DetailProjet4 article div, #DetailProjet5 article div, #DetailProjet6 article div {
    width: 80%;
}

.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info p:first-child {
    font-weight: 300;
}

#detail h2 {
    font-weight: 300;
    font-family: "DM Sans";
}

.line2 {
    background-color: black;
    height: 0.5px;
    width: 600px;
}

#DetailProjet1 aside, #DetailProjet2 aside, #DetailProjet3 aside, #DetailProjet4 aside, #DetailProjet5 aside, #DetailProjet6 aside {
    margin-left: 50%;
    width: 50%;
    float: right;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#DetailProjet1 aside img, #DetailProjet2 aside img, #DetailProjet3 aside img, #DetailProjet4 aside img, #DetailProjet5 aside img, #DetailProjet6 aside img {
    margin-top: 100px;
    width: 700px;
    height: auto;
}

.revenir {
    margin-top: 100px;
    background-color: inherit;
    text-align: center;
    border: 1px solid black;
    border-radius: 50px;
    padding: 25px 40px;
    transition: 0.5s;
}

.revenir:hover {
    background-color: black;
    color: white;
    box-shadow: 0px 2px 16px -2px rgba(0,0,0,0.5);
}

#section-projets {
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
}


.grid-projets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  width: 100%;
  max-width: 1400px;
}




.grid-projets .Vignette {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}




.grid-projets .Vignette img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 12px;
}



.grid-projets .descriptionIcon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
  font-family: "DM Sans";
  padding-right: 10px;
}


.grid-projets .Vignette img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
}

.grid-projets .descriptionIcon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.grid-projets .number {
  font-family: "Aesthetic";
  font-size: 14px;
  margin-bottom: 8px;
}

#plus1, #plus2, #plus3, #plus4, #plus5, #plus6 {
  font-weight: 300;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #000;
  cursor: none;
}


@media screen and (max-width: 768px) {
  .grid-projets {
    flex-direction: column;
    align-items: center;
  }

  .grid-projets .Vignette {
    width: 90%;
  }

  .grid-projets .descriptionIcon {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}
.pdf-wrapper {
  margin-top: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pdf-frame {
  width: 595px;   /* largeur standard A4 en pixels */
  height: 842px;  /* hauteur standard A4 en pixels */
  max-width: 90vw;
  max-height: 90vh;
  border: none;
  border-radius: 8px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.2);
  background-color: white;
  transition: transform 0.3s ease;
}

.pdf-frame:hover {
  transform: scale(1.01);
}
.pdf-container {
  margin-top: 80px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 90%;
  max-width: 750px;
}

.pdf-container h3 {
  font-family: "Aesthetic";
  font-size: 28px;
  margin-bottom: 15px;
  color: black;
}

.pdf-embed {
  width: 100%;
  height: 1000px;
  border: none;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-download {
  display: inline-block;
  margin-top: 20px;
  font-family: "DM Sans";
  padding: 10px 25px;
  border: 2px solid black;
  border-radius: 40px;
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: black;
  color: white;
}
.pdf-container {
  margin-top: 80px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 90%;
  max-width: 750px;
}

.pdf-container h3 {
  font-family: "Aesthetic";
  font-size: 26px;
  margin-bottom: 15px;
  color: #000;
}

.pdf-embed {
  width: 100%;
  height: 1000px;
  border: none;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-download {
  display: inline-block;
  margin-top: 20px;
  font-family: "DM Sans";
  padding: 10px 25px;
  border: 2px solid black;
  border-radius: 40px;
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: black;
  color: white;
}

@media screen and (max-width: 768px) {
  .pdf-embed {
    height: 70vh;
  }
}
