/* -------------------------- GÉNÉRAL -------------------------- */
*,
a::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8EB2A7;
  --black: #2A2A29;
}

html{
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-size: 20px;
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

html.menuOpen,
body.menuOpen{
  overflow-y: hidden;  
}

main{
  padding-top: 45px;
}

@media (max-width: 992px){
  main{
    padding-top: 20px;
  }
}

@media (min-width: 993px){
  .desktopDisplayNone{
    display: none !important;
  }
}

@media (max-width: 992px){
  .mobileDisplayNone{
    display: none !important;
  }
}

/* ---------------- BOUTON ---------------- */

.btn{
  position: relative;
  display: block;
  width: fit-content;
  height: fit-content;
}

.btn p{
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  padding: 12px 34px;
  text-align: center;
  outline: 0;
  border: solid 5px var(--primary);
  color: #000;
  background-color: #fff;
  height: fit-content;
  width: fit-content;
  display: block;
  position: relative;
  z-index: 1;
}

.btn::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  transition: 300ms ease;
}

@media (min-width: 993px){
  .btn:hover::after{
    bottom: 0px;
    right: 0px;
    transition: 300ms ease;
  }
}

@media (max-width: 992px){
  .btn p{
    padding: 8px 16px;
  }
}

/* ---------------- CONTAINER ---------------- */

.container{
    width: 100%;
    padding-inline: 80px;
    max-width: 1480px;
    margin-inline: auto;
}

@media (max-width: 992px) {
  .container{
      padding-inline: 36px;
  }
}

/* ---------------- 404 ---------------- */

.page404{
  min-height: 80vh;
  position: relative;
  padding-inline: 36px;
  margin: 0px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page404 > div{
  transform: translate(-50%, -35%);
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.page404 h1 span,
.page404 h1{
  font-family: "Open Sans", sans-serif;
  font-size: 80px;
  line-height: 80px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  font-weight: 700;
}

.page404 h1 span{
  color: var(--jaune);
}

.page404 h2{
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 992px){
  .page404{
    min-height: 60vh;
  }
  .page404 h1,
  .page404 h1 span{
    font-size: 40px;
    line-height: 40px;
  }
  .page404 h2{
    font-size: 20px;
    line-height: 20px;
  }
}

/* ---------------- BREADCRUMBS ---------------- */

#breadcrumbs{
  padding-inline: 8%;
  padding-block: 38px;
}

#breadcrumbs p,
#breadcrumbs a,
#breadcrumbs span{
  color: #000;
  font-size: 13px;
  line-height: 15px;
}

#breadcrumbs > span{
  display: flex;
  align-items: center;
  gap: 7px;
}

#breadcrumbs > span > span{
  display: flex;
  align-items: center;
  gap: 7px;
}

#breadcrumbs > span > span:not(.breadcrumb_last):after{
  content: "";
  height: 6px;
  width: 12px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.002' height='5.801' viewBox='0 0 12.002 5.801'%3E%3Cpath id='Icon_ionic-ios-arrow-round-forward' data-name='Icon ionic-ios-arrow-round-forward' d='M10.154,11.363a.4.4,0,0,0,0,.556l1.837,1.84H1.693a.393.393,0,0,0,0,.786H11.985l-1.837,1.84a.4.4,0,0,0,0,.556.391.391,0,0,0,.553,0l2.49-2.508h0a.441.441,0,0,0,.082-.124.375.375,0,0,0,.03-.151.394.394,0,0,0-.112-.275L10.7,11.372A.385.385,0,0,0,10.154,11.363Z' transform='translate(-1.303 -11.252)' fill='%231d1d1d'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

@media (max-width: 1200px){
  #breadcrumbs{
    padding-inline: 80px;
  }
}

@media (min-width: 993px){
  #breadcrumbs a:hover{
    color: var(--vert);
  }
}

@media (max-width: 500px){
  #breadcrumbs{
    padding-inline: 36px;
    padding-block: 26px;
  }
}

/* ---------------- H1 ---------------- */

.titrePage{
    font-size: 41px;
    line-height: 56px;
    text-transform: uppercase;
    display: flex;
    align-items: start;
    gap: 15px;
    font-weight: 500;
    margin-left: -30px;
    margin-bottom: -45px;
    font-family: "filson-pro", serif;
}

.titrePage svg{
  width: 110px;
  height: auto;
  aspect-ratio: 112/77;
  transform: translateY(8px);
}

@media (max-width: 1400px){
    .titrePage{
        font-size: 32px;
        line-height: 44px;
        gap: 20px;
    }
}

@media (max-width: 992px){
    .titrePage{
        font-size: 20px;
        line-height: 27px;
        gap: 8px;
        margin-bottom: -18px;
    }
    .titrePage svg{
      width: 55px;
    }
}
