@charset "UTF-8";
@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
/* Styles généraux de la lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Fond blanc semi-transparent */
  visibility: hidden; /* Initialement caché */
  opacity: 0; /* Initialement invisible */
  display: flex; /* Toujours affiché, mais invisible */
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Empile les éléments en colonne (verticalement) */
  z-index: 100; /* Assurez-vous que la lightbox se trouve au-dessus du contenu */
  transition: opacity 0.3s ease, visibility 0s 0.3s; /* Transition de l'opacité et de la visibilité */
}

/* Quand la lightbox est affichée */
.lightbox.show {
  visibility: visible; /* La rend visible */
  opacity: 1; /* Transition vers l'opacité pleine */
  transition: opacity 0.3s ease, visibility 0s 0s; /* Réinitialiser la transition pour l'activation */
}

#lightbox {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s; /* transition de l'opacité avec un délai pour la visibilité */
}

#lightbox.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease; /* transition de l'opacité sans délai */
}

/* Image de la lightbox sans l'ombre */
.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  -o-object-fit: contain;
     object-fit: contain; /* Préserve les proportions de l'image */
}

#lightbox-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Bouton de fermeture (croix) */
.close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  z-index: 102;
}
.close::before, .close::after,
.close > span::before,
.close > span::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 2px;
}
.close::before, .close > span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.close::after, .close > span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.close::before, .close::after {
  box-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
.close > span {
  z-index: 103;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.close > span::before, .close > span::after {
  background-color: #333;
}

/* Boutons de navigation gauche et droite */
.prev,
.next {
  display: block;
  position: absolute;
  height: 100%;
  width: 100px;
  cursor: pointer;
  z-index: 101;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prev::before, .prev::after,
.prev > span::before,
.prev > span::after,
.next::before,
.next::after,
.next > span::before,
.next > span::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 2px;
}
.prev::before, .prev > span::before,
.next::before,
.next > span::before {
  transform: translate(-50%, -50%) rotate(40deg);
}
.prev::after, .prev > span::after,
.next::after,
.next > span::after {
  transform: translate(-50%, -50%) rotate(-40deg);
}
.prev::before, .prev::after,
.next::before,
.next::after {
  box-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
.prev > span,
.next > span {
  z-index: 103;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.prev > span::before, .prev > span::after,
.next > span::before,
.next > span::after {
  background-color: #333;
}

.prev, .prev > span {
  left: 0;
}
.prev::before, .prev::after, .prev > span::before, .prev > span::after {
  transform-origin: left center;
}

.next, .next > span {
  right: 0;
}
.next::before, .next::after, .next > span::before, .next > span::after {
  transform-origin: right center;
}

#lightbox.show .prev,
#lightbox.show .next {
  opacity: 1;
}

/* Bouton plein écran */
.fullscreen-btn {
  display: block;
  position: absolute;
  top: 0;
  left: 0; /* Déplacé à gauche */
  width: 100px;
  height: 100px;
  background-color: transparent;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  z-index: 102;
}
.fullscreen-btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  box-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, inset 0 0 10px #fff, inset 0 0 10px #fff, inset 0 0 10px #fff, inset 0 0 10px #fff, inset 0 0 10px #fff, inset 0 0 10px #fff;
  transform: translate(-50%, -50%);
}

/* Miniatures en bas de la lightbox */
.lightbox-thumbnails {
  display: flex;
  flex-direction: row; /* Aligne les miniatures horizontalement sous l'image */
  justify-content: center;
  margin-top: 20px;
  padding: 0 10px; /* Pour éviter que les miniatures collent au bord */
}

/* Chaque miniature */
.thumbnail {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease; /* Effet d'agrandissement et de transparence sur hover */
  /* La bordure a été supprimée */
}

/* Miniature active */
.thumbnail.active {
  opacity: 1; /* Miniature active pleine opacité */
}

/* Effet hover sur les miniatures */
.thumbnail:hover {
  transform: scale(1.1); /* Agrandir légèrement la miniature au survol */
  opacity: 0.7; /* Réduire l'opacité au survol */
}

/* Pour masquer les miniatures autres que l'actuelle */
.lightbox-thumbnails img:not(.active) {
  opacity: 0.5; /* Rendre les autres miniatures semi-transparentes */
}

.lightbox.lightbox-fullscreen .lightbox-img {
  max-height: 100%;
  max-width: 100%;
}
.lightbox.lightbox-fullscreen .lightbox-thumbnails {
  position: absolute;
  bottom: 30px;
}

.uppercase {
  text-transform: uppercase;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  letter-spacing: 0.05em;
  color: #333;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  padding: 10px 30px;
  font-size: 16px;
  background-color: transparent;
  border: 1px solid #333;
  transition: background-color ease 0.3s, color ease 0.3s;
  cursor: pointer;
}

button:hover {
  color: #fff;
  background-color: #333;
}

input[type=submit] {
  color: #fff;
  background-color: #333;
}
input[type=submit]:hover {
  color: #333;
  background-color: transparent;
}

img {
  width: 100%;
}

ul {
  list-style: none;
}

h1 {
  font-weight: 400;
  font-size: 38px;
}
h1 span {
  font-size: 22px;
}

h2 {
  width: 100%;
  font-size: 50px;
  word-break: break-word;
}

h3 {
  font-size: 42px;
  word-break: break-word;
}

h5 {
  font-size: 20px;
}

@media screen and (max-width: 939px) {
  h2 {
    font-size: calc(50px - 50%) !important;
  }
}
strong {
  font-weight: 400;
}

p {
  color: #666;
}

.divide {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background-color: #aaa;
}

.grid_list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  max-width: 500px;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}
.grid_list div {
  padding: 5px;
}
.grid_list div:nth-child(odd) {
  text-align: right;
  padding-right: 10px;
}
.grid_list div:nth-child(even) {
  text-align: left;
}

body {
  display: grid;
  grid-template-rows: max-content 1fr max-content;
  min-height: 100vh;
}
body header {
  z-index: 99;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 80px;
  background-color: #fff;
}
body header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
body header .logo img {
  width: 100%;
  max-width: 50px;
}
body header .logo p {
  margin-left: 15px;
  font-size: 25px;
  font-weight: 400;
  color: #333;
}
body main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 107px;
}
body main section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 80px;
  max-width: 1200px;
}
@media screen and (max-width: 939px) {
  body main section {
    padding: 50px 20px;
  }
}
body main section#accueil {
  position: relative;
  width: calc(100% - 120px);
  max-width: unset;
  padding-top: 120px;
  padding-bottom: 120px;
  margin-bottom: 120px;
  background-image: linear-gradient(to right, #9c7e5d, transparent);
}
body main section#accueil .image-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-right: 240px;
}
body main section#accueil .image-container img {
  -o-object-fit: cover;
     object-fit: cover;
}
body main section#accueil .title-box {
  position: absolute;
  top: 44%;
  left: 70%;
  width: -moz-max-content;
  width: max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  padding: 35px 80px;
  background-color: #fff;
  transform: translate(-50%, -50%);
}
body main section#accueil .title-box h1 {
  line-height: 1.2em;
  margin-bottom: 40px;
}
@media screen and (max-width: 1179px) {
  body main section#accueil {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  body main section#accueil .image-container {
    margin-right: 0;
  }
  body main section#accueil .title-box {
    top: 85%;
    left: 50%;
    padding: 25px 50px;
  }
}
@media screen and (max-width: 829px) {
  body main section#accueil {
    margin-bottom: 240px;
  }
}
body main section#histoire {
  flex-direction: row;
  width: 100%;
  max-width: 1600px;
  padding-bottom: 180px;
}
body main section#histoire > div {
  width: 50%;
}
body main section#histoire .col-left {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 30px;
}
@media screen and (max-width: 1041px) {
  body main section#histoire .col-left {
    padding-right: 10px;
  }
}
body main section#histoire .col-left > div {
  position: relative;
  width: 100%;
  max-width: 452px;
}
body main section#histoire .col-left > div::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 140px;
  width: calc(100% - 50px);
  height: calc(100% + 175px);
  background-color: #9c7e5d;
  transform: translate(0, -50%);
  transform-origin: center center;
}
body main section#histoire .col-left > div img {
  position: relative;
}
body main section#histoire .col-right {
  padding-left: 110px;
}
@media screen and (max-width: 1041px) {
  body main section#histoire .col-right {
    padding-left: 40px;
  }
}
body main section#histoire .col-right > div {
  width: 100%;
  max-width: 325px;
}
body main section#histoire .col-right > div h2 {
  letter-spacing: 0;
}
body main section#histoire .col-right > div p {
  margin-top: 30px;
  margin-bottom: 50px;
  text-align: justify;
  font-size: 20px;
  line-height: 1.9em;
  letter-spacing: 0;
}
@media screen and (max-width: 829px) {
  body main section#histoire {
    flex-direction: column;
    padding-bottom: 80px;
  }
  body main section#histoire > div {
    width: 100%;
  }
  body main section#histoire .col-left {
    justify-content: center;
    padding-right: 0;
    padding-bottom: 30px;
  }
  body main section#histoire .col-left > div {
    max-width: 350px;
  }
  body main section#histoire .col-right {
    display: flex;
    justify-content: center;
    padding-left: 0;
    padding-top: 110px;
  }
}
body main section#savoir_faire {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
body main section#savoir_faire h2 {
  text-align: center;
}
body main section#savoir_faire p {
  text-align: center;
}
body main section#savoir_faire > p {
  margin-top: 20px;
  line-height: 32.4px;
}
body main section#savoir_faire .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 40px;
}
body main section#savoir_faire .container > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 20px;
  width: 33%;
}
@media screen and (max-width: 1004px) {
  body main section#savoir_faire .container > div {
    width: 50%;
  }
}
@media screen and (max-width: 722px) {
  body main section#savoir_faire .container > div {
    width: 100%;
  }
}
body main section#savoir_faire .container > div img {
  width: 121px;
  border-radius: 50%;
}
body main section#savoir_faire .container > div h5 {
  text-align: center;
  font-weight: 400;
}
body main section#savoir_faire .container > div p {
  line-height: 28.8px;
}
body main section#savoir_faire .container > div * + * {
  margin-top: 40px;
}
body main section#realisations {
  width: 100%;
  max-width: 1600px;
}
body main section#realisations h2 {
  width: 100%;
}
body main section#realisations .gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin-top: 50px;
}
body main section#realisations .gallery .image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  margin: 5px 5px;
  overflow: hidden;
}
@media screen and (max-width: 1104px) {
  body main section#realisations .gallery .image-box {
    width: 225px;
    height: 225px;
  }
}
@media screen and (max-width: 819px) {
  body main section#realisations .gallery .image-box {
    width: 175px;
    height: 175px;
  }
}
body main section#realisations .gallery .image-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
  transition: transform 0.3s ease;
}
body main section#realisations .gallery .image-box img:hover {
  transform: scale(1.05);
}
body footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 100px 50px 50px 50px;
}
@media screen and (max-width: 939px) {
  body footer {
    padding: 100px 20px 50px 20px;
  }
}
body footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: max-content;
  grid-template-areas: "footer_contact footer_form footer_info";
  gap: 30px;
  width: 100%;
  max-width: 1600px;
}
body footer .container > * {
  padding: 0 40px;
}
body footer .container .footer_contact {
  grid-area: footer_contact;
}
body footer .container .footer_contact h2 {
  font-size: 60px;
}
body footer .container .footer_contact p:nth-of-type(1) {
  margin-top: 50px;
}
body footer .container .footer_contact > * + * {
  margin-top: 40px;
}
body footer .container .footer_contact a {
  display: block;
}
body footer .container .footer_contact a img {
  width: 26px;
}
body footer .container .footer_form {
  grid-area: footer_form;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body footer .container .footer_form > p {
  margin-top: 15px;
  font-size: 22px;
}
body footer .container .footer_form form {
  margin-top: 60px;
  max-width: 315px;
}
body footer .container .footer_form form > * + * {
  margin-top: 20px;
}
body footer .container .footer_form form label {
  margin-bottom: 10px;
}
body footer .container .footer_form form label.form_message {
  font-size: 12px;
}
body footer .container .footer_form form input {
  width: 100%;
}
body footer .container .footer_form form input[type=submit] {
  width: -moz-max-content;
  width: max-content;
}
body footer .container .footer_form form .form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
body footer .container .footer_form form .form_col {
  display: flex;
  flex-direction: column;
}
body footer .container .footer_form form .form_col:last-child {
  margin-top: 0;
}
body footer .container .footer_info {
  grid-area: footer_info;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 14px;
}
body footer .container .footer_info > * + * {
  margin-top: 10px;
}
@media screen and (max-width: 1322px) {
  body footer .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: max-content max-content;
    grid-template-areas: "footer_contact footer_form" "footer_info footer_info";
  }
}
@media screen and (max-width: 916px) {
  body footer .container {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content max-content;
    grid-template-areas: "footer_contact" "footer_form" "footer_info";
  }
}

body header #mobile_nav_button {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
  width: 40px;
  height: 40px;
  padding: 5px;
  cursor: pointer;
}
body header #mobile_nav_button span {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: width ease 0.4s, opacity ease 0.4s, transform ease 0.4s;
}
body header #mobile_nav_button .mid {
  width: 75%;
  opacity: 1;
}
body header #mobile_nav_button .bot {
  width: 25%;
}
body header #mobile_nav_button:hover .mid,
body header #mobile_nav_button:hover .bot {
  width: 100%;
}
body header #mobile_nav_button.active .top {
  transform: translateY(10px) rotateZ(45deg);
}
body header #mobile_nav_button.active .mid {
  width: 100%;
  opacity: 0;
}
body header #mobile_nav_button.active .bot {
  width: 100%;
  transform: translateY(-10px) rotateZ(-45deg);
}
body header #mobile_nav_button + nav {
  transition: opacity ease 0.4s, transform ease 0.4s;
}
body header #mobile_nav_button + nav ul {
  display: flex;
}
body header #mobile_nav_button + nav ul li + li {
  margin-left: 2.5em;
}
body header #mobile_nav_button + nav ul li {
  -o-border-image: linear-gradient(to right, transparent, transparent) 1;
     border-image: linear-gradient(to right, transparent, transparent) 1;
  border-width: 0;
  border-style: solid;
  border-bottom-width: 1px;
  transition: border-image ease-in-out 0.5s;
  transition: border-image ease-in-out 0.5s, -o-border-image ease-in-out 0.5s;
}
body header #mobile_nav_button + nav ul li:hover {
  -o-border-image: linear-gradient(to right, transparent, #333) 1;
     border-image: linear-gradient(to right, transparent, #333) 1;
}
body header #mobile_nav_button.active + nav {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
@media screen and (max-width: 1079px) {
  body header #mobile_nav_button {
    display: flex;
  }
  body header #mobile_nav_button + nav {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 107px;
    left: 0;
    width: 100%;
    height: calc(100vh - 107px);
    background-color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
  }
  body header #mobile_nav_button + nav ul {
    flex-direction: column;
  }
  body header #mobile_nav_button + nav ul li {
    text-align: center;
  }
  body header #mobile_nav_button + nav ul li + li {
    margin-top: 2.5em;
    margin-left: 0;
  }
}

.form-success {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
}

.form-error {
  color: #c62828;
  background: #ffebee;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
}