/* Import de la police SF Pro */
@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/SF-Pro-Text-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/SF-Pro-Text-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/SF-Pro-Text-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/SF-Pro-Text-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/SF-Pro-Text-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/SF-Pro-Text-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

/* Réinitialisation des styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style de base du corps du document */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'SF Pro Text';
    color: #333;
    margin: 0 auto;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #333;
}

/* Styles d'en-tête et navigation */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    max-width: 1240px;
    width: 100%;
    background-color: white;
    z-index: 100;
    padding: 22px 20px 22px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: nowrap;
    left: 50%;
    transform: translateX(-50%);
}

.nav-left a {
    margin-right: 28px;
    font-weight: 400;
}

.nav-right a {
    margin-left: 28px;
    font-weight: 400;
}

.btn {
    background-color: #14141A;
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 400;
}

.btn_cta {
    background-color: #14141A;
    color: white;
    padding: 16px 20px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 18px;
}

.btn_light {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #14141A;
}

/* Section projets */

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.main_p_about {
    margin-top: 200px;
}

h1 {
    font-weight: 500;
    color: #14141A;
    font-size: 30px;
}

.about_h1 {
    margin-bottom: 18px;
}

.pc_img_div {
    margin-top: 150px;
}

.main_p, .main_p_about, .rep_p_line, .rep_p {
    width: 600px;
}

h2 {
    font-weight: 500;
    font-size: 16px;
    color: #14141A;
}

.h2_no_line {
    font-weight: 500;
    font-size: 16px;
    color: #14141A;
    padding-bottom: 16px;
}

.rep_p_line {
    padding-top: 80px;
    margin-top: 80px;
    border-top: 1px solid #00000010;
}

.app_img_div {
    margin: 60px 0 60px 0;
}

h3{
    font-size: 16px;
    color: #AFAFAF;
    margin-top: 16px;
    margin-bottom: 12px;
    font-weight: 400;
}

.project-type {
    font-size: 16px;
    color: #AFAFAF;
    margin-top: 14px;
    margin-bottom: 16px;
    font-weight: 400;
}

.project-desc, p {
    font-size: 16px;
    color: #14141A;
    font-weight: 400;
    line-height: 26px;
}

/* Pied de page */
footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1240px;
    padding: 50px 50px;
    margin: 150px 0 30px 0;
    background-color: #F6F6F6;
    border-radius: 10px;
}

.footer-left {
    max-width: 425px;
}

.footer-left h2 {
    margin-bottom: 15px;
    font-size: 40px;
    color: #797979;
    font-weight: 400;
    letter-spacing: -0.8px;
}

.footer-left p {
    color: #727272;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: right;
    justify-content: space-between;
}

.footer-links a {
    margin-left: 28px;
    font-size: 16px;
    font-weight: 400;
    color: #14141A;
}

.footer-signature {
    font-size: 16px;
    color: #727272;
    font-weight: 400;
}

/* Styles responsifs */

@media (max-width: 1020px) {
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-left h2 {
        margin-bottom: 15px;
    }

    .footer-links {
        display: none;
    }

    .footer-signature {
        margin-top: 30px;
    }
}

@media (max-width: 930px) {

    .app_img {
        width: 600px;
    }

}

@media (max-width: 830px) {

    .pc_img {
        width: 700px;
    }

}

@media (max-width: 700px) {

    .pc_img {
        width: 500px;
    }

    .app_img {
        width: 500px;
    }

    .main_p, .main_p_about, .rep_p_line, .rep_p {
        width: 500px;
    }

}

@media (max-width: 600px) {

    .pc_img {
        width: 400px;
    }

    .app_img {
        width: 350px;
    }

    .main_p, .main_p_about, .rep_p_line, .rep_p {
        width: 350px;
    }

}

@media (max-width: 420px) {

    .sidenav.open {
        width: 95% !important;
    }

    .pc_img {
        width: 370px;
    }

    .app_img {
        width: 320px;
    }

    .main_p, .main_p_about, .rep_p_line, .rep_p {
        width: 300px;
    }

}

/* Menu burger styles - Fade in effect */
.sidenav {
  height: fit-content;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 78px;
  right: 10px;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10);
  opacity: 0;
  overflow: hidden;
}

.sidenav.open {
  width: 382px;
  opacity: 1;
}

.sidenav ul {
  padding: 0;
  list-style: none;
  width: 100%;
}

.sidenav li {
  width: 100%;
}

.sidenav li a {
  font-size: 16px;
  color: #14141A;
  text-decoration: none;
  display: flex;
  width: 100%;
  padding: 20px 0px;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #FBFBFB;
}

.sidenav .btnSidenav {
  background-color: #14141A;
  color: white;
  font-weight: 400;
  text-align: center;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-family: 'SF Pro Text';
  color: #ffffff;
  position: fixed;
  right: 10px;
  top: 20px;
  text-decoration: none;
  cursor: pointer;
  background-color: #14141A;
  padding: 12px 14px;
  border-radius: 100px;
  z-index: 200;
}

/* État actif (Close menu) */
.menu-toggle.active {
    background-color: #ffffff;
    color: #14141A90;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
  }
}


#pdfOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
}

#pdfOverlay iframe {
  width: 90%;
  height: 90%;
  border: none;
  margin: 5vh auto;
  display: block;
  background: white;
  border-radius: 10px;
}

.pdf-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}
