html{ scroll-behavior: smooth;
    }

html, body { 
    margin:0;
    padding:0;
    background-color: white;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight:300;
    overflow-x: hidden;
    letter-spacing: 0.6px;
    box-sizing: border-box;
}
.overflow_y   { overflow-y:hidden ;}
.overflow_clip{ overflow-y:clip ;}
.overflow_x   { overflow-x: hidden;}

a { font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none !important;}

a:hover{ 
    color :#6d6875;
    text-decoration: none;
}

p { font-size: 1.2rem;
    font-weight: 400;
    text-align: left;
    line-height: 1.3;
}

h1 { font-size: 2.5rem;
    line-height: 1.4;
    font-weight: 700;
    color:#ffffff;
     margin-block-start: 0.3em;
     margin-block-end: 0.3em;
}
h2 {  font-size: 2.2rem;
      line-height: 1.5;
    font-weight: 700;
     margin-block-start: 10px;
     margin-block-end: 20px;
}
h3 { font-size: 1.9rem;
    line-height: 1.3;
    font-weight: 700;
    margin-block-start: 0.2em;
    margin-block-end: 1em;
}
h4 { font-size:1.6rem ;
     line-height: 1.3;
     margin-block-start: 0.3em;
     margin-block-end: 0.3em;  
}
h5 { font-size:1.3rem ;
     line-height: 1.3;
     margin-block-start: 0.3em;
     margin-block-end: 0.3em;  
}
.surtitre{
    font-size: 1.3rem;
    line-height: 25px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.taillelegende{
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
li{
  font-size: 1.3rem;
}
.c_1 {color:#ffff}
.c_2 {color:#f22613}
.c_3 {color:#28282B}
.c_4 {color:#EBF1F3}
.c_5 {color:#777777}
.c_6 {color:#000000}

.bg_1{ background-color: #ffff}
.bg_2{ background-color: #f22613}
.bg_3{ background-color: #28282B}
.bg_4{ background-color: #EBF1F3}
.bg_5{ background-color: #777777}
.bg_6{ background-color: #000000}

.tr {text-align: right; }
.tl {text-align: left;}
.tc {text-align: center;}
.jl { justify-content: left;}
.jc { justify-content: center;}

.flex-row   { display: flex;
            flex-direction: row;
            }
.flex-col   { display:flex;
            flex-direction: column;}
.justify{
  text-align:justify;
   text-justify:auto;
}
.max-width{
  max-width: 1500px;
  margin: 0 auto;
}

.width33  { width:33%; }
.width50 { width:50%; }
.gap4 { gap:4%}
.p-4 {  padding: 4%;
       box-sizing: border-box;}
.p-2 {  padding: 2%;
       box-sizing: border-box;}
.pl-4{ padding-left: 4%;
       box-sizing: border-box;}
.pr-4{ padding-right: 4%;
       box-sizing: border-box;}
.pb-4{ padding-bottom: 4%;
       box-sizing: border-box;}
.pt-4 { padding-top: 4%;
       box-sizing: border-box;}
.m-4  {margin:4%}
.mt-4 { margin-top: 4%;}
.mb-4  { margin-bottom: 4%;}
.nowrap{ white-space: nowrap;}

.main-header{
  max-height: 130px;
}
.nav-link { /*titres seuls*/
    font-weight: 500;
    font-optical-sizing: auto;
    text-decoration: none;
}

/*liste avec sous-menus*/
.boutonheader{
  cursor: pointer;
  font-size: 15px;
  text-transform: uppercase;
  padding: 12px 20px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition:  .5s;
}

li:hover .boutonheader{
  background-color: #ffffff;;
  color:#28282B;
}
.navclass li{
  list-style-type: none;
}
.navbar>li, .dd_list { cursor: pointer; }

.dd_list .item-1 {
  transform-origin: top center;
  animation: rotateX 300ms 60ms ease-in-out forwards;
}
.dd_list .item-2 {
  transform-origin: top center;
  animation: rotateX 300ms 120ms ease-in-out forwards;
}
.dd_list .item-3 {
  transform-origin: top center;
  animation: rotateX 300ms 180ms ease-in-out forwards;
}

@-moz-keyframes rotateX {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  50% {
    transform: rotateX(-20deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}
@-webkit-keyframes rotateX {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  50% {
    transform: rotateX(-20deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}
@-o-keyframes rotateX {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  50% {
    transform: rotateX(-20deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}
@keyframes rotateX {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  50% {
    transform: rotateX(-20deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}
/*barre responsive*/
.barre_resp{
  justify-content: center;
  margin: 0 auto;
  max-width: 1500px;
}

.liens_sociaux{
  padding: 25px;
}
.facebook{
  display: inline-flex;
  width:40px;
  height:40px
}

/*burger*/
.menu {
  position: fixed;
  left:10px;
  display:none;
  z-index:100
}
.hamburger {
  cursor: pointer;
  background: #f22613;
  width: 220px;
  height:60px;
  margin-top: 20px;
  display: block;
  text-align: right;
  transform: translateX(-168px);
  padding: 8px;
  font-size: 35px;
  border:none;
}
.hamburger, nav {
  transition: 0.7s;
}
.decalage{
  transform: translate(0);
}
.decalage1{transform: translate(00px)}
nav {
  display: flex;
  flex-direction: column;
  background: #777777;
  overflow: hidden;
  transform: translateX(-280px);
}
nav a {
  color: white;
  text-decoration: none;
  padding: 10px;
}
nav a:hover {
color:black;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width:30px;
  height: 30px;
  cursor: pointer;
  background: #f22613;
  transform: translateX(168px);
}
.burger-menu span {
  width: 100%;
  height: 3.5px;
  background-color: #FFFFFF; 
  border-radius: 2px;
  transition: all 0.3s ease-in-out; 
  transform-origin: left center; 
}
.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-35px); 
}
.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
}

/*footer*/
.contenu_footer{
  font-size: 25px;
}
.contenu_footer figure {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    unicode-bidi: isolate;
}
.contenu_footer a,.mentions a{
  color:white;
}
.mentions{
  justify-content: space-between;
}

/*animations*/

.animate-right {
  opacity: 0;
  transform: translateX(200px);
}
.animate-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: 1.4s cubic-bezier(.5, 0, 0, 1);
}
.animate-bottom {
  opacity: 0;
  transform: translateY(30px);
}
.animate-bottom.is-visible {
  opacity: 1;
  transform: translateY(0px);}

.b-1 { transition: 1s cubic-bezier(.5, 0, 0, 1);}
.b-2 { transition: 1.2s cubic-bezier(.5, 0, 0, 1)}
.b-3 { transition: 1.6s cubic-bezier(.5, 0, 0, 1)}

.animate-serv_left{
  opacity: 0;
  transform: translate3d(-75%, 0, 0);
}
.animate-serv_left.is-visible {
  opacity: 1;
  transform: none;
  transition: 1s ;
}
.animate-serv_right{
    opacity: 0;
  transform: translate3d(75%, 0, 0);
}
.animate-serv_right.is-visible {
  opacity: 1;
  transform: none;
  transition:1s ;
}


