/* global */

html {
  font-size: 17px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* body */

body {
  font-family: "Manrope", sans-serif;
  position: relative;
  width: 100vw;
  overflow: hidden;
}

/* body homepage */

body.home {
  height: 100vh;
  background-color: #2e3f43;
  background-image: url(../photos/body-bkg.webp);
  background-size: cover;
  /* background-size: auto; */
  overflow: hidden;
  /* animation: zoomInBkg 4s forwards; Apply the zoomIn animation */
  background-position: center;
  .button-accueil,
  .header-logo {
    display: none;
  }
}

/* body not on homepage */

body.not-home{
  font-size: 18px;
}

@media screen and (max-width: 1200px){
  body.not-home{
    font-size: 16px;
  }
}

body.not-home {
  .header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #2e3f43;
    background-image: url(../photos/body-bkg.webp); /* fallback */
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.1)),
        to(rgba(0, 0, 0, 0.7))
      ),
      url(../photos/body-bkg.webp);
    background-image: -o-linear-gradient(
        top,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.7) 100%
      ),
      url(../photos/body-bkg.webp);
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.7) 100%
      ),
      url(../photos/body-bkg.webp); /* w3c */
    background-position: left;
    background-size: cover;
  }

  .header.sticky {
    position: fixed;
    top: 0; /* Stick to the top */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
    padding: 5px 0; /* Adjust padding for smaller header */
  }

  .header-nav {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .header-logo,
  .footer-logo {
    text-align: center;
    display: block;
    height: auto;
    width: auto;
    max-height: 300px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    &:hover {
      opacity: 0.6;
      -webkit-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
    }
  }

  #texte {
    padding: 1rem;
    padding-bottom: 4rem;
  }
}

/* when burger menu is opened */

body.open {
  height: 100vh;
  overflow: hidden;
}

/* typography */

.home,
a,
a:hover {
  color: black;
  font-weight: bold;
  text-decoration: none;
}

.home .page-simple-title {
  /* visibility: hidden; */
  display: none;
}

/* fonts */

@font-face {
  font-family: "Caviar-Dreams";
  src: url("../fonts/caviar-dreams/Caviar-Dreams.ttf.woff") format("woff"),
    url("../fonts/caviar-dreams/Caviar-Dreams.ttf.svg#Caviar-Dreams")
      format("svg"),
    url("../fonts/caviar-dreams/Caviar-Dreams.ttf.eot"),
    url("../fonts/caviar-dreams/Caviar-Dreams.ttf.eot?#iefix")
      format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}

/* override bootstrap */

h1 {
  font-size: 1.8rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
  margin-top: inherit;
}

/* animations */

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeInFromLeftOrRight {
  to {
    opacity: 1; /* Fade to fully opaque */
    -webkit-transform: translateX(0);
    transform: translateX(0); /* Move to original position */
  }
}

@keyframes fadeInFromLeftOrRight {
  to {
    opacity: 1; /* Fade to fully opaque */
    -webkit-transform: translateX(0);
    transform: translateX(0); /* Move to original position */
  }
}

@-webkit-keyframes zoomInBkg {
  from {
    background-size: 100% cover; /* Start with original size */
  }
  to {
    background-size: 103% cover; /* Zoom in to 110% */
  }
}

@keyframes zoomInBkg {
  from {
    background-size: 100% cover; /* Start with original size */
  }
  to {
    background-size: 103% cover; /* Zoom in to 110% */
  }
}

/* components */

.infos-card-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 35px;
  position: absolute;
  bottom: 1rem;
  left: 3rem;
  z-index: 2;  
}

.infos-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1rem 2rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--RADIUS-20, 20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(47, 47, 47, 0.6);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  -webkit-animation: fadeIn 1s ease-in-out;
  animation: fadeIn 1s ease-in-out;
}

.infos-card ul li,
.infos-card p {
  color: white;
}

.infos-card a {
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.infos-card a:hover {
  transform: translateX(2px);
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}

.infos-card-horaires {
  p {
    margin-bottom: 0;
  }
}

.infos-card-title {
  color: rgba(216, 216, 216, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1rem;
}
.infos-card-text{
  min-width: 75%;
}

.infos-card-text-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1rem auto;
  grid-template-columns: auto auto;
  /* grid-template-rows: repeat(2, 1fr); */
  grid-column-gap: 1rem;
  grid-row-gap: 0.5rem;
}

.infos-card {
  font-weight: 300;
  font-size: 1rem;
  color: white;
}
.infos-card-text p a{
  color: white;
}

.infos-card-contacts .infos-card-text-wrapper {
  -ms-grid-columns: auto auto;
  grid-template-columns: auto auto;
}
.infos-card-container a{
  color: black;
}
.infos-card-container h2{
  margin: 32px 0;
}
.infos-card-container{
  margin-bottom: 32px;
}
.button {
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid #fff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 10px 25px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  color: white;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: white;
  text-decoration: none;
}

/* homepage */

.logo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: white;
  position: absolute;
  left: 3.5rem;
  bottom: 16rem;

  svg {
    -webkit-animation: fadeIn 1s ease-in-out;
    animation: fadeIn 1s ease-in-out;
  }

  h1 {
    font-family: "Avenir LT Pro", sans-serif;
    text-transform: uppercase;
    font-size: 5rem;
    margin-bottom: 0;
    font-weight: 600;
    -webkit-animation: fadeIn 1.5s ease-in-out;
    animation: fadeIn 1.5s ease-in-out;
  }
  h2,
  h3 {
    font-family: "Caviar-Dreams";
    margin-bottom: 0.5rem;
    margin-top: 0;
    text-transform: uppercase;
    -webkit-animation: fadeIn 2s ease-in-out;
    animation: fadeIn 2s ease-in-out;
  }

  h2 {
    font-size: 2.3rem;
    letter-spacing: 0.7rem;
  }

  h3 {
    font-size: 1.9rem;
    letter-spacing: 0.3rem;
  }
  h1,
  h2,
  h3 {
    text-align: center;
  }
}

.nuage-illustration {
  position: absolute;
  background-image: url(../images/nuage.webp);
  width: 930px;
  height: 618px;
  background-size: cover;
  z-index: 1;
  opacity: 0; /* Initially set to transparent */
  -webkit-animation: fadeInFromLeftOrRight 2s ease forwards;
  animation: fadeInFromLeftOrRight 2s ease forwards; /* Apply animation */
}

.nuage-gauche {
  bottom: -17rem;
  left: -17rem;
  -webkit-transform: translateX(-100px);
  -ms-transform: translateX(-100px);
  transform: translateX(-100px); /* Initially shifted left */
}

.nuage-droit {
  bottom: -17rem;
  right: -33rem;
  -webkit-transform: translateX(+100px);
  -ms-transform: translateX(+100px);
  transform: translateX(+100px); /* Initially shifted left */
}

/* header */

.logo-icon svg {
  width: 100%;
  height: auto;
}

.logo-title {
  text-align: center;
}

.header-nav {
  padding-left: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 25px;
  padding: 2rem 0;
  -webkit-animation: fadeIn 1s ease-in-out;
  animation: fadeIn 1s ease-in-out;
  li {
    list-style-type: none;
  }
}

.burger-menu-wrapper {
  position: absolute;
  top: 2.5rem;
  right: 3rem;
  z-index: 11;
  -webkit-animation: fadeIn 1s ease-in-out;
  animation: fadeIn 1s ease-in-out;
}

/*header pages simples */
#page-paiement .header {
  background-size: cover;
  background-image: url(../photos/paiement-bkg.webp); /* fallback */
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.1)),
      to(rgba(0, 0, 0, 0.7))
    ),
    url(../photos/paiement-bkg.webp);
  background-image: -o-linear-gradient(
      top,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/paiement-bkg.webp);
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/paiement-bkg.webp); /* w3c */
}

#page-depot-actes .header {
  background-size: cover;
  background-image: url(../photos/depot-acte-bkg.webp); /* fallback */
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.1)),
      to(rgba(0, 0, 0, 0.7))
    ),
    url(../photos/depot-acte-bkg.webp);
  background-image: -o-linear-gradient(
      top,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/depot-acte-bkg.webp);
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/depot-acte-bkg.webp); /* w3c */
}

#page-depot-actes .header {
  background-size: cover;
  background-image: url(../photos/depot-acte-bkg.webp); /* fallback */
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.1)),
      to(rgba(0, 0, 0, 0.7))
    ),
    url(../photos/depot-acte-bkg.webp);
  background-image: -o-linear-gradient(
      top,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/depot-acte-bkg.webp);
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/depot-acte-bkg.webp); /* w3c */
}

#page-demande-constat .header {
  background-size: cover;
  background-image: url(../photos/constat-bkg.webp); /* fallback */
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.1)),
      to(rgba(0, 0, 0, 0.7))
    ),
    url(../photos/constat-bkg.webp);
  background-image: -o-linear-gradient(
      top,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/constat-bkg.webp);
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url(../photos/constat-bkg.webp); /* w3c */
}

/* footer */

.home footer,
.home .footer-nav-home {
  display: none;
}

.not-home .footer-nav-home {
  display: none;
}

.footer-nav-home {
  padding-left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* flex-direction: column; */
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 1rem;
  li {
    list-style-type: none;
  }
}

footer {
  background: url(../photos/footer-bkg.webp);
  background-size: cover;
  background-position: right;
}

.footer-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 3rem 0;
}

.footer-col-logo {
  max-width: 300px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.486);
  color: white;
  border-radius: 1rem 1rem 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1rem;
  border-top: 1px solid #ffffff4a;
  font-size: 0.9rem;
  opacity: 0.7;
}

footer a {
  font-weight: 400;
  color: white;
}

footer a:hover {
  color: white;
  font-weight: 400;
}

footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
}

footer ul {
  padding-left: 0;

  li {
    list-style-type: none;
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0.5rem 0;
  }
}

/* burger menu */

.burger-menu-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.burger-menu-label {
  font-size: 1.1rem;
}

.burger-menu-button {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: white;
}

.burger-menu-button:hover {
  cursor: pointer;
  opacity: 0.5;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.burger-menu-frame {
  -webkit-transform: translateX(100vw);
  -ms-transform: translateX(100vw);
  transform: translateX(100vw);
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-image: url(../photos/menu-bkg.webp);
  background-size: cover;
  position: absolute;
  width: 100vw;
  z-index: 12;
  display: -ms-grid;
  display: grid;
  top: 0;
  height: 100vh;
  opacity: 0;
  -ms-grid-columns: 40% 60%;
  grid-template-columns: 40% 60%;
}

.burger-menu-frame.open {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.burger-menu-frame .infos-card {
  background: rgba(47, 47, 47, 0.15);
}

.burger-menu-col {
  position: relative;
}

.burger-menu-col-left {
  background: rgba(217, 217, 217, 0.1);
  padding: 1rem 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.burger-menu-infos-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  bottom: 5rem;
}

.infos-card-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;

  .infos-card-contacts {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

.burger-menu-links-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 3rem 8rem;
}

.burger-menu-links-bloc,
.burger-menu-bottom-links {
  ul {
    padding-left: 0;
    li {
      list-style-type: none;
      font-size: 0.9rem;
    }
  }
}

.burger-menu-links-bloc {
  display: -ms-grid;
  display: grid;
  /* gap: 5rem; */
  -ms-grid-columns: 1fr 2fr;
  grid-template-columns: 1fr 2fr;
}

.burger-menu-links-bloc a {
  color: white;
}

.burger-menu-links-bloc ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;

  a {
    display: inline-block;
    font-size: 1.1rem;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    &:hover {
      opacity: 0.5;
      transform: translateX(1px);
      -webkit-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
    }
  }
}

.burger-menu-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 14;
}

.burger-menu-close-text {
  font-size: 1.1rem;
  color: white;
}

.burger-menu-links-bloc-title:hover {
  background: inherit;
  cursor: initial;
  transform: inherit;
}

.burger-menu-bottom-links ul {
  position: absolute;
  bottom: 0;
  right: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  opacity: 0.5;
}

.burger-menu-bottom-links a {
  color: white;
}

.burger-menu-logo,
.burger-menu-logo svg {
  width: 100%;
}

.burger-menu-logo-mobile {
  display: none;
}

burger-menu-logo-desktop {
  display: block;
}

@media screen and (max-width: 1600px) {
  .burger-menu-frame {
    -ms-grid-columns: 50% 50%;
    grid-template-columns: 50% 50%;
  }
  .burger-menu-links-wrapper {
    padding: 1rem 2rem;
  }
  .burger-menu-close {
    right: 1rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    top: 1rem;
    gap: 0.5rem;
  }
}

/* responsive */

@media screen and (max-width: 1400px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 1200px) {
  html {
    /* font-size: 14px; */
  }
  body.home,
  body .burger-menu-frame,
  body.open {
    height: auto;
    overflow: inherit;
    min-height: 100vh;
  }

  #texte,
  footer,
  header {
    max-height: 10000px;
    -webkit-transition: max-height 0.5s ease-in-out 1s,
      -webkit-transform 0.3s ease-in-out;
    transition: max-height 0.5s ease-in-out 1s,
      -webkit-transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out, max-height 0.5s ease-in-out 1s;
    transition: transform 0.3s ease-in-out, max-height 0.5s ease-in-out 1s;
    transition: transform 0.3s ease-in-out, max-height 0.5s ease-in-out 1s,
      -webkit-transform 0.3s ease-in-out;
  }

  header {
    padding-top: 2rem;
  }

  body.home {
    /* padding-top: 4rem; */
    overflow: inherit;
  }

  .home .footer-nav-home {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 2rem;
  }

  .header-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .burger-menu-col-left {
    background: inherit;
    padding: 0.75rem;
  }

  .burger-menu-links-wrapper {
    padding: 1rem;
    height: auto;
    gap: 2rem;
  }

  .burger-menu-bottom-links ul {
    position: relative;
    right: inherit;
    display: none;
  }

  .burger-menu-links-bloc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
  }

  .burger-menu-infos-wrapper {
    position: relative;
    bottom: inherit;
  }

  .burger-menu-wrapper {
    right: 1rem;
    top: 1rem;
  }

  .burger-menu-frame,
  .logo-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .burger-menu-frame {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    padding-top: 0rem;
    /* max-height: 0; */

    &.open {
      max-height: 10000px;
    }

    .infos-card {
      width: 100%;
    }
  }

  .burger-menu-links-bloc ul a {
    font-size: 1rem;
    margin-left: 1rem;
  }

  .logo-wrapper {
    position: relative;
    left: inherit;
    bottom: inherit;
    gap: 0;
    width: 100%;
    /* margin-top: 3rem; */
  }
  .infos-card-wrapper {
    /* flex-direction: column; */
    position: relative;
    left: inherit;
    bottom: inherit;
    padding: 2rem 0.7rem;
  }
  .header-nav {
    display: none;
  }
  .home .footer-nav,
  .not-home .footer-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
    padding: 1rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    li {
      list-style-type: none;
    }
  }
  .logo-title {
    h1 {
      font-size: 2.3rem;
    }
    h2 {
      font-size: 1.2rem;
      letter-spacing: 0.2rem;
    }
    h3 {
      font-size: 1.1rem;
    }
  }
  .logo-icon {
    width: 150px;
  }
  .burger-menu-logo {
    width: 100%;
    svg {
      width: 100%;
    }
  }
  .burger-menu-logo-mobile {
    display: block;
  }
  .burger-menu-logo-desktop {
    display: none;
  }
  .nuage-illustration {
    display: none;
  }

  .footer-top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
  }

  footer h4 {
    margin-top: 0;
  }
}

@media screen and (max-width: 1000px) {
  body.open #texte,
  body.open footer,
  body.open header,
  body.open .footer-nav-home {
    opacity: 0.2;
    -webkit-transform: translateX(-1000px);
    -ms-transform: translateX(-1000px);
    transform: translateX(-1000px);
    /* max-height: 0; */
    -webkit-transition: max-height 0.5s ease-in-out 1s,
      -webkit-transform 0.3s ease-in-out;
    transition: max-height 0.5s ease-in-out 1s,
      -webkit-transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out, max-height 0.5s ease-in-out 1s;
    transition: transform 0.3s ease-in-out, max-height 0.5s ease-in-out 1s;
    transition: transform 0.3s ease-in-out, max-height 0.5s ease-in-out 1s,
      -webkit-transform 0.3s ease-in-out;
    /* display: none; */
  }
  .footer-nav-home {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .infos-card-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/**
Lenis library
*/
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* not home */
.not-home {
  h2 {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  h1 {
    margin-bottom: 4rem;
    margin-top: 3rem;
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
  }
  .infos-card{
    margin-bottom: 2rem;
    margin-top: 1rem;
    padding: 2rem;
  }
}

.card-wrapper {
  display: flex;
  padding-left: inherit;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}



.card-wrapper li {
  list-style-type: none;
  display: flex;
  flex: 1 1 0px;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: blue;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1rem 2rem;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: var(--RADIUS-20, 20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(47, 47, 47, 0.6);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  animation: fadeIn 1s ease-in-out;
  color: white;
  text-align: center;
  max-width: 350px;
}

.card img {
  width: 70%;
  height: auto;
  filter: invert(1);
  margin: 1rem 0;
}

#page-constat-huissier .header{
  background-image: url(../photos/constat-2.jpg);
  background-size: cover;
  background-position: center;
}

.infos-card{
  display: flex;
}

.infos-card a {
  color: white;
}

.infos-card-image{
  filter: invert(1);
  width: 100px;
}

.infos-card-image img{
  width: 100%;
  min-width: 96px;
  height: auto;
}

.infos-card-contact{
  min-height: 300px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* text-align: center; */
  gap: 2rem;
  background-color: #426d77;
}

.next-missions-link-wrapper{
  display: flex;
  justify-content: space-between;
  margin: 4rem 0 1rem 0;
}

.next-missions-link-wrapper a {
  display: flex;
  color: black;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.next-missions-link-wrapper a:hover{
  letter-spacing: 0.2px;
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
  .card-wrapper, .infos-card-contact{
    flex-direction: column;
    align-items: center;
  }
}
.contact-info{
  margin-top: 20px;
  text-align: center;
}
.check-list{
  list-style: none;
  padding: 0;
}
.mission-content section{
  margin-bottom: 2rem;
}
.mission-content a{
  color: black;
  font-weight: 600;
}