@charset "UTF-8";
@font-face {
  font-family: "Chrono Demo";
  src: url(./resources/font/ChronoDemo.ttf) format("truetype");
}
@font-face {
  font-family: "BarlowCondensed";
  src: url(./resources/font/BarlowCondensed-Regular.ttf) format("truetype");
}
body {
  margin: 0;
  box-sizing: border-box;
  background-color: #f6f6f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  font-size: 1.0714285714rem;
  line-height: 1.5;
  height: 100%;
  width: 100%;
  color: #31302f;
  font-weight: 400;
  overflow-y: scroll;
  border-left: #21211e solid 5px;
  scrollbar-width: thin;
  scrollbar-color: #ff1000 #F0F0F0;
}
body main {
  flex: 1;
  width: 100%;
  max-width: 1020px;
  padding: 50px 30px 0 30px;
  margin: 110px auto 1.5em;
  animation: Fade 1s ease;
}
@keyframes Fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.RoundedImg {
  border-radius: 24px;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Fixed {
  top: 10px;
  right: 0;
  margin-left: 50%;
  transform: translateX(-50%);
  position: fixed;
  z-index: 10;
}

.NavLogo {
  left: 10px;
  margin-right: 100%;
  top: 10px;
  position: fixed;
  z-index: 10;
  height: 70px;
}

header {
  display: block;
  width: 100%;
}
header nav {
  display: flex;
  margin: 0;
  padding: 0;
  top: 0;
  width: 100%;
  min-width: auto;
  height: 50px;
  text-align: center;
  position: fixed;
  z-index: 10;
  background: #21211e;
}
header nav .nav-link-panel {
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  list-style: none;
  gap: 10px;
  position: relative;
  transform: translateX(-50%);
  left: 50vw;
}
header nav .nav-link {
  padding: 0 10px 0 10px;
  transition: 0.2s;
  will-change: transform;
  font-family: BarlowCondensed, sans-serif;
  text-decoration: none;
  font-size: 20px;
  color: #f6f6f0;
  border: 1px solid transparent;
  position: relative;
  display: inline-block;
  margin: 0;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-decoration: #721010;
  text-transform: uppercase;
}
header nav .nav-link:hover {
  color: #721010;
}
header nav .firstnav {
  color: #721010;
}
header nav .nav-mobile-first {
  display: flex;
  margin: 0 auto auto;
}
header .BackgroundContainer {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(to top, #f6f6f0, transparent);
}
header .BackgroundContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("resources/images/Croqui.png") no-repeat center center;
  background-size: cover;
  opacity: 0.7; /* contrôle de l'opacité */
  z-index: -1; /* derrière le contenu */
}
header .BackgroundContainer .logoContainer {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(800px, 80vw, 100vh);
  height: min(800px, 80vw, 100vh);
  aspect-ratio: 1/1;
  animation: Fade 1s ease;
}
@keyframes Fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
header .BackgroundContainer .logoContainer .LogoText {
  position: absolute;
  top: 75%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  -webkit-animation: ShowLogoText 3s ease;
  animation: ShowLogoText 3s ease;
  -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
@keyframes ShowLogoText {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
header .BackgroundContainer .logoContainer .LogoImg {
  width: min(300px, 80vw, 30vw);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
header .BackgroundContainer .logoContainer .LogoImg img {
  width: 100%;
}
header .BackgroundContainer .logoContainer .LogoImg::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background-image: url("resources/svg/Logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(50%) opacity(0.4) blur(1px);
}

h1 {
  font-family: Chrono Demo, sans-serif;
  margin: 0;
  font-size: 1.9071428571rem;
  font-style: normal;
  font-weight: 300;
  text-align: center;
}

h2 {
  font-family: Chrono Demo, sans-serif;
  margin: 0;
  text-align: center;
  font-style: normal;
  font-weight: 300;
}

p {
  margin-top: 0;
}

a {
  color: #31302f;
  font-family: Chrono Demo, sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  font-size: 2.0714285714rem;
  font-style: normal;
  font-weight: 300;
  transition: 0.2s;
}
a:hover {
  color: #721010;
}

.subtitileTxt {
  text-align: center;
  margin: 0;
  margin-top: 16px;
  font-size: 0.8714285714rem;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

.flex {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
.flex .WithBackground {
  width: 100%;
  box-sizing: border-box;
}
.flex .WithBackground .img {
  margin: auto;
}
.flex .WithBackground .img img {
  margin: auto;
}

section {
  width: 100%;
  gap: 50px;
}
section .divText {
  max-width: 500px;
}
section .imgGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  height: 100%;
  position: relative;
}
section .imgGrid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
section .img {
  margin: auto 0;
}
section .img img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.Text-center {
  text-align: center;
}

.Text-Left {
  text-align: left;
}

.hidden {
  display: none;
}

button {
  color: #31302f;
  font-style: normal;
  font-weight: 300;
  width: 100%;
  margin: 2px;
  height: 50px;
  background: none;
  border: none;
  border-bottom: 1px solid #dedcd7;
  transition: 0.2s;
  cursor: pointer;
  font-family: BarlowCondensed, sans-serif;
  font-size: 1.1714285714rem;
}
button:hover {
  border-bottom: 1px solid #31302f;
}
button.active {
  border-bottom: 1px solid #31302f;
}

.content-a, .content-b {
  max-width: 700px;
  min-width: 320px;
  box-sizing: border-box;
  padding: 50px 1.5em 0 1.5em;
  margin: 0 auto;
}

form {
  width: 100%;
  padding: 20px;
  border-radius: 24px;
  font-family: Arial, sans-serif;
  position: relative;
  box-sizing: border-box;
  /* Style des labels */
  /* Style du bouton */
}
form label {
  display: block;
  margin-bottom: 5px;
  color: #31302f;
  font-size: 18px;
}
form .form-step {
  opacity: 0;
  position: unset;
  transform: translateY(15px);
  margin-bottom: 20px;
  pointer-events: auto;
  animation: 0.4s ease-out formactive forwards;
}
@keyframes formactive {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
form .form-step.current input,
form .form-step.current select,
form .form-step.current textarea {
  border-bottom: 1px solid #31302f !important;
}
form .form-step.current input.error,
form .form-step.current select.error,
form .form-step.current textarea.error {
  border-bottom: 1px solid #721010 !important;
}
form .next-btn {
  margin-top: 10px;
}
form textarea {
  resize: none;
}
form button {
  display: block;
  width: 100%;
  padding: 10px 15px;
  background-color: transparent;
  color: #31302f;
  border-radius: 16px;
  border: transparent 1px solid;
  font-size: 16px;
  cursor: pointer;
  transition: 0.5s;
  text-decoration: #31302f underline;
  text-decoration-thickness: 1px;
}
form button:hover {
  border: #f6f6f0 1px solid;
}

/* Style des champs de saisie */
input[type=text],
input[type=email],
input[type=tel],
input[type=file],
input[type=password],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-bottom: 1px solid #dedcd7;
  border-radius: 0;
  font-size: 16px;
  box-sizing: border-box;
  background-color: transparent;
  transition: border-color 0.3s ease;
  color: #31302f;
  appearance: none; /* Supprime le style par défaut de Safari */
  -webkit-appearance: none; /* Supprime l'apparence sur Safari */
  -moz-appearance: none; /* Pour Firefox */
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=file]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
  border-color: #31302f;
  outline: none;
}

.filter {
  background: #f6f6f0;
  color: #31302f;
  border: none;
  border-bottom: #dedcd7 1px solid;
  padding: 10px;
}
.filter:focus {
  border-color: #31302f;
  outline: none;
}

footer {
  padding: 50px;
  justify-content: space-around !important;
  background: #21211e;
  color: #f6f6f0;
  z-index: 10;
}
footer a {
  display: flex;
  text-align: center;
  margin-top: 50px;
  align-content: center;
  color: #f6f6f0;
  justify-content: space-evenly;
  font-family: BarlowCondensed, sans-serif;
  font-size: 1.1714285714rem;
}
footer .ReseauButton {
  text-align: center;
  border-radius: 1000px;
  backdrop-filter: blur(20px) invert(10%);
  -webkit-backdrop-filter: blur(20px) invert(10%);
  background-color: #21211e;
  border: 1px solid transparent;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: space-evenly;
  margin: 0 10px;
  padding: 10px;
  transition: 0.5s;
  user-select: none;
  overflow: hidden;
  z-index: 1;
  position: relative;
  font-size: 18px;
  line-height: 1.5;
}
footer .ReseauButton:hover {
  border: 1px solid #f6f6f0;
}

.hovered > p {
  opacity: 1;
}
.hovered::before {
  border: 1px solid rgb(155, 255, 34);
}
.hovered > h2 {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 1000px;
  color: #f6f6f0;
}

.loading-spinner {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid #31302f;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  margin-left: 5px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.volute-a {
  position: relative;
  padding-top: calc(0.2 * clamp(300px, 25vw, 500px));
}
.volute-a::before {
  content: "";
  background-image: url(./resources/images/Volute_B.png);
  background-position: 50% 0%;
  position: absolute;
  background-repeat: no-repeat;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  background-size: clamp(300px, 25vw, 500px) auto;
}

.volute-b {
  position: relative;
  padding-bottom: calc(0.1 * clamp(300px, 25vw, 500px));
}
.volute-b::before {
  content: "";
  background-image: url(./resources/images/Volute_B.png);
  background-position: 50% 100%;
  position: absolute;
  background-repeat: no-repeat;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  background-size: clamp(300px, 25vw, 500px) auto;
}

.gallery {
  margin-bottom: 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  width: 100%;
}
.gallery img, .gallery video {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: 0.5s;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

.project-name {
  color: #31302f;
  text-align: center;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #dedcd7;
  transition: 0.2s;
}

.project-return {
  border: 1px solid #dedcd7;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.project-return:hover {
  border: 1px solid #31302f;
}

.gallery-item {
  border: 1px solid #dedcd7;
  transition: 0.2s;
  box-sizing: border-box;
  background-size: cover;
}
.gallery-item:hover {
  border: 1px solid #31302f;
}

.project-wrapper:hover .project-name {
  border-top: 1px solid #31302f;
}

#projetDescription {
  margin: 50px;
  text-align: center;
}

.project-description {
  white-space: pre-line;
}

#filters {
  margin: 50px auto 10px auto;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

/* Styles pour la modale */
.modal {
  display: none; /* Masquer la modale par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Fond sombre */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Toujours au-dessus des autres éléments */
}
.modal img, .modal video {
  max-width: 90vw;
  max-height: 70vh;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.modal.show {
  display: flex; /* Afficher la modale lorsqu'elle est active */
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-btn-container {
  display: flex;
  justify-content: center;
  width: auto;
  max-width: 90vw;
}

.modal-prev,
.modal-next {
  margin: 0;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #f6f6f0;
  max-width: 300px;
  min-width: 100px;
  width: 100%;
  text-align: center;
}
.modal-prev:hover,
.modal-next:hover {
  border: none;
  text-decoration: #f6f6f0 underline;
}

.modal-counter {
  color: #f6f6f0;
  margin-top: 0.5rem;
  font-family: "Barlow Condensed", sans-serif;
  min-width: 50px;
  text-align: center;
}

/* Styles globaux de la scrollbar */
::-webkit-scrollbar {
  width: 5px; /* Largeur de la barre de défilement */
  height: 5px; /* Hauteur de la barre de défilement horizontale */
}

/* Style de la zone de la barre de défilement */
::-webkit-scrollbar-track {
  background: #21211e; /* Couleur de fond de la piste */
}

/* Style du curseur (thumb) */
::-webkit-scrollbar-thumb {
  background: #f6f6f0; /* Couleur du curseur */
}

/* Lorsque le curseur est survolé */
::-webkit-scrollbar-thumb:hover {
  background: #f6f6f0; /* Couleur du curseur au survol */
}

/* Firefox */
scrollbar {
  width: 5px;
  height: 5px;
}

scrollbar-thumb {
  background: #21211e; /* Couleur de fond de la piste */
}

scrollbar-track {
  background: #f6f6f0; /* Couleur du curseur */
}

@-moz-document url-prefix() {
  html {
    scrollbar-color: #f6f6f0 #21211e;
    scrollbar-width: thin;
  }
}
.lino {
  width: 200px;
  display: flex;
  margin: auto;
  margin-top: 50px;
}

.button-filter {
  display: flex;
  text-align: center;
}

.filter-btn {
  font-family: BarlowCondensed, sans-serif;
  font-size: 1.1714285714rem;
}

.filter {
  display: none;
}

@media screen and (max-width: 1100px) {
  body {
    border: none;
  }
  .button-filter {
    display: none;
  }
  .filter {
    display: flex;
  }
  body main {
    width: auto;
    padding: 20px;
    margin: 110px 0 0 0;
  }
  .flex {
    display: block;
    justify-content: initial;
  }
  .BigButton {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 150px;
    box-sizing: border-box;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Toujours 3 lignes */
    width: auto;
  }
  #avis-google {
    display: grid;
    grid-template-columns: repeat(1, auto); /* Toujours 3 lignes */
    width: auto;
  }
  #avis-google div {
    margin: 0;
    margin-bottom: 0;
  }
  .review-button {
    top: 100%;
    right: 50%;
    transform: translateX(50%) translateY(-50%);
  }
  .review-button img {
    transform: translateX(1%) translateY(5%) rotate(90deg);
  }
  .review-button:hover {
    border: 1px solid #f6f6f0;
  }
}
@media screen and (max-width: 600px) {
  header .ContactButton .nav-link {
    padding: 0 5px;
  }
  header .BackgroundContainer .logoContainer .LogoText {
    width: 90vw;
  }
  .lino {
    width: 40vw;
  }
}
@media screen and (max-width: 530px) {
  /* Icône burger */
  header nav {
    left: 0;
    min-width: 70px;
    min-height: 70px;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    transform: translateX(0);
    background: transparent;
  }
  header nav::after {
    display: none;
  }
  header nav .nav-mobile-first {
    padding-top: 15px !important;
    padding-left: 15px !important;
  }
  header nav .burger-icon span {
    display: block;
    width: 35px;
    height: 2px;
    background-color: #31302f;
    margin: 8px 0 0 2px;
  }
  header nav #openBtn {
    margin-top: auto;
    margin-bottom: auto;
    z-index: 100;
  }
  header nav .nav-link-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    display: block;
    height: auto;
    z-index: 10;
    margin: 0;
    padding: 0;
    transition: 0.5s;
    background-color: #21211e;
    transform: translateY(-100%);
    border: 1px transparent solid;
  }
  header nav .nav-link-panel a {
    display: block;
    height: auto;
    font-size: 20px;
    text-align: center;
    margin: 15px 5px;
  }
  header nav .nav-link {
    transform: translateY(0);
  }
  header .close .nav-link-panel {
    transform: translateY(-100%);
  }
  header .open .nav-link-panel {
    transform: translateX(0%);
  }
  header .open .nav-mobile-first .burger-icon span {
    background-color: #f6f6f0;
  }
  header .ContactButton {
    right: 10px;
    transform: translateX(0);
  }
  header .NavLogo {
    display: none;
  }
  .content-a, .content-b {
    max-width: 700px;
    min-width: unset;
    padding: 50px 0 0 0;
    margin: 0 auto;
  }
  header .BackgroundContainer .logoContainer {
    transform: translate(-50%, -60%);
  }
  .gallery {
    grid-template-columns: repeat(1, auto); /* Toujours 3 lignes */
  }
}

/*# sourceMappingURL=style.css.map */
