@font-face {
    font-family: "DINBold";
    src: url('../fonts/Din/DINBold.woff2') format('woff2'), url('../fonts/Din/DINBold.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "DINMedium";
    src: url('../fonts/Din/DINMedium.woff2') format('woff2'), url('../fonts/Din/DINMedium.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "DINRegularAlternate";
    src: url('../fonts/Din/DINRegularAlternate.woff2') format('woff2'), url('../fonts/Din/DINRegularAlternate.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "DINLightAlternate";
    src: url('../fonts/Din/DINLightAlternate.woff2') format('woff2'), url('../fonts/Din/DINLightAlternate.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Baskervville-Regular";
    src: url('../fonts/baskervville/Baskervville-Regular.woff2') format('woff2'), url('../fonts/baskervville/Baskervville-Regular.woff2') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "baskervilleitalic";
    src: url('../fonts/baskerville/baskervilleitalic.ttf') format('ttf'), url('../fonts/baskerville/baskervilleitalic.otf') format('otf'), url('../fonts/baskerville/baskervilleitalic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body.loading {
  overflow: hidden;
}


body.loading > *:not(.loader) {
  opacity: 0;
  transform: translateY(20px);
}

/* apparition smooth */
body:not(.loading) > *:not(.loader) {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}


html,
body {
    background-attachment: fixed;
    background-color: #5F6857;
    margin: 0;
    padding: 0;
    font-family: "DINRegularAlternate";
    color: #E7D7CD;
    width: 100%;
    overflow-x: hidden;
}

.nav {
    width: 100%;
    position: fixed;
    line-height: 65px;
    text-align: center;
    top: 0;
    background-color: #5F6857;
    z-index: 999999;
    display: flex;
    flex-direction: column;
}

.nav div.logo {
    float: left;
    background-color: #5F6857;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;

}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #E7D7CD;
    line-height: 65px;
}

#menu {
    position: fixed;
    width: 100%;
    margin: 0;
    top: 0;
}

a.menu {
    text-decoration: none;
    font-family: "Baskervville-Regular";
    font-weight: 400;
    font-size: 0.8rem;
    text-align: center;
    color: #E7D7CD;
    display: inline;
}

a {
    text-decoration: none;
    width: 100%;
    font-family: "Baskervville-Regular";
    color: #E7D7CD;
    font-size: 1rem;
}

a:hover {
    font-family: "baskervilleitalic";
    font-size: 1rem;
}

li {
    line-height: 38px;
    font-family: "Baskervville-Regular";
    font-size: 0.8rem;
}

.navTrigger {
    cursor: pointer;
    width: 30px;
    margin: 20px 30px 0px 335px!important;
}

.navTrigger i {
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #E7D7CD;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
    color: #E7D7CD;
}

.navTrigger i:nth-child(2) {
    margin: 7px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
    color: #E7D7CD;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
    color: #E7D7CD;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
    color: #E7D7CD;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
    color: #E7D7CD;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
    color: #E7D7CD;
}


.logo img {
    padding: 8%;
    display: block;
}


h1,
.h1 {
    font-family: "Baskervville-Regular";
    font-size: 4.2rem;
    line-height: 1.3em;
    text-transform: uppercase;
    color: #E7D7CD;
}

h2,
.h2,
h3,
.h3 {
    font-family: "Baskervville-Regular";
    font-size: 2.5rem;
    line-height: 2.8rem;
    font-weight: 100!important;
}

h4,
.h4 {
    font-size: 1.2rem;
    font-family: "Baskervville-Regular";
    margin-top: 20px;
    line-height: 2rem;
}

span {
    font-family: "Baskervville-Regular";
    font-size: 1rem;
    color: #E7D7CD;
}

p {
    font-family: "DINLightAlternate";
    font-size: 1rem;
    margin-top: 20px;
    color: #E7D7CD;
}

.navTrigger {
    display: none;
}

.nav {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.raw {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: auto;
    overflow: visible;
}

.col {
    flex-direction: column;
}

.img {
    width: 30%;
}

.img-home {
    width: 30%;
}


.col-50 {
    width: 50%;
    padding-left: 1%;
    padding-right: 1%;
    margin-right: 0;
}

.col-40 {
    width: 40%;
    padding-right: 20%;
}

.col-25 {
    width: 25%;
    padding-left: 4%;
    padding-right: 4%;
    font-size: 0.85em;
}

.space-high {
    height: 120px;
}

.space-low {
    height: 40px;
}

.footer {
    padding: 1% 1% 0 1%;
}

.verbatim {
    width: 100%;
    position: relative;
    padding: 0;
    justify-content: flex-start; /* aligne à gauche comme tes sections */
}

.verbatim h1 {
    margin: 0;
}

.verbatim .col-50.full {
    width: 75%; /* permet au texte de s’étendre */
}

.verbatim-content {
    max-width: none; /* aucune limite de largeur */
}

.title-testimonial {
    padding: 4%;
    text-align: left;
}

.title-testimonial h1{
    line-height: 1.1em;
    width: 100%;
    text-align: right;
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.link_footer {
    text-align: end;
}

.link_footer a {
    text-decoration: none!important;
    color: #E7D7CD;
    line-height: 65px;
    font-family: "HelveticaLightRegular";
}

.link_footer a:hover {
    text-decoration: underline!important;
}

.txt_mentions {
    font-size: 1rem;
}

.container-2 {
    background-color: #5F6857;
    height: 68px;
    width: 100%;
    max-width: 100%;
}

/* Pattern / Motif de fond */
.section {
    position: relative;
    overflow: hidden;
}

.motif {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 40%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.motif-2 {
   position: absolute;
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
    width: 38%;
    z-index: 0;
    pointer-events: none;
    transform: scaleX(-1);
}

.m1 {
top: -300px;
}

.m2 {
top: 400px; 
}

.m3 {
  bottom: -500px; /* 👈 descend l’image */
}

.m4 {
top: -400px;
}

/* Section photo + logo */
.img-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.img-section .raw {
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.manifeste-titre {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 50px;
}

.temoignages-titre {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 50px;
}

@media (max-width: 768px) {
    .col-50-left,
    .col-50-right {
        width: 100% !important;
        padding: 4% !important;
    }
}

/* Hide / show navbar on scroll */
.nav {
    transition: transform 0.35s ease-in-out;
}

/* état caché */
.nav.nav-hidden {
    transform: translateY(-100%);
}

.logo img {
    width: 100%;
}

.navTrigger {
    background-color: transparent;
}


.col-50.align-right {
    display: flex;
    justify-content: flex-end; 
    height: 10%;
}

.align-right{
text-align: right;
}


/* ANIMATION */
.loader {
  position: absolute;
  inset: 0;
  background: #5F6857;
  z-index: 999999;
}

.logo-transition {
  position: fixed; /* 🔥 clé */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 1000001;
  pointer-events: none;
  transition: all 2s cubic-bezier(.22, 1, .36, 1);
}

/* transforme le loader en conteneur transparent à la fin */
.loader.finished {
  background: transparent !important;
  pointer-events: none;
}

.logoloading {
  height: 180px;
  display: block;
}

/* J */
#j-main {
  opacity: 0;
  transform: translateY(10px);
  animation: revealJ 1s ease forwards;
}

@keyframes revealJ {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* détail J */
#j-extra {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 0.9s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* E (les 3 barres en même temps) */
#e1, #e2, #e3 {
  opacity: 0;
  transform: translateX(-8px);
  animation: appear 0.5s ease forwards;
  animation-delay: 1.2s;
}

@keyframes appear {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.start-animation * {
  animation-play-state: paused !important;
}

.start-animation.active * {
  animation-play-state: running !important;
}

.image-block {
  position: relative;
  width: 30%;
  margin: 0 auto;
}

.image-block .main-image {
  width: 100%;
  display: block;
}

.image-block .logo-overlay {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%) scale(0.4);
  pointer-events: none;
}

.image-wrapper {
    position: relative;
    width: 60%;
}

.img-about {
    width: 100%;
    height: auto; 
    display: block;
}

.image-wrapper .img-about {
    width: 60%;
    height: auto;
}

.image-wrapper .logo-overlay {
    position: absolute;
    left: 40%;
    bottom: 150px;
    transform: translateX(-50%) scale(0.3);
    pointer-events: none;
}

.full-width-footer{
width: 96%!important;
}

.intro{
text-align: center;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
    .img-home {
        width: 50%;
    }
    .desktop {
    display: none;
    }
    .mobile {
    display: block;
    }
    h1, .h1 {
    font-size: 3rem;
    }
    .col-40{
    padding-right: 26%;
    }
    .image-block{
    width: 50%;
    }
    .temoignages-titre{
    font-size: 2.4em;
    }
    .motif-2 {
    position: absolute;
    right: 0;
    top: auto;
    left: auto;
    width: 38%;
    z-index: 0;
    pointer-events: none;
    transform: scaleX(-1);
    }
     .reverse{
    flex-direction: column-reverse;
    }

    .col-50{
    width: 100%;
    }

    .col-50 p {
    padding: 2%;
    }

    .col-50.align-right {
    display: flex;
    justify-content: center !important;
    }

    .image-wrapper{
    display: flex;
    justify-content: center;
    }

    .image-wrapper .img-about{
    width: 100% !important;
    display: block;
    }
    .raw {
        align-items: center;
    }
    .image-wrapper .logo-overlay {
    transform: translateY(126%) scale(0.4)!important;
    }
    .image-wrapper .logo-overlay {
    left: 36%!important;
    }
    .manifeste-titre {
    padding: 2%;
    }
}

@media screen and (min-width: 768px) and (max-width: 820px) {

    .reverse{
    flex-direction: column-reverse;
    }
    .col-50{
    width: 100%;
    }
    a {
        font-size: 1.4rem!important;
    }
    p {
       font-size: 1.4rem!important; 
    }
    .image-wrapper .img-about{
    width: 100%!important;
    }
    .image-wrapper .logo-overlay {
    transform: translateY(126%) scale(0.4);
    }
    .image-wrapper img {
    display: block;
    margin: 0 auto;
    }
    .intro{
    padding: 2%;
    }
    .logo img {
    width: 36%;
    }
    .navTrigger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
         height: auto;
        display: block;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #5F6857;
        background-position: center top;
        justify-content: center;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: center;
        padding-right: 1rem;
    }
    .nav div.main_list ul li a {
        text-align: right;
        width: 100%;
        font-size: 0.9rem;
    }
    .nav div.media_button {
        display: block;
    }
    .logo {
        width: 45%!important;
    }
    .logo-footer {
        width: 45%;
    }
    .contact_mobile {
        display: block;
        background-color: #FFF;
        text-align: right;
        margin-top: 50px;
    }
    .contact_mobile p {
        margin: 0;
    }
    h1,
    .h1 {
        font-size: 2rem;
    }

    h2,
    .h2 {
        font-size: 1.8rem!important;
    }
    
    span {
        line-height: 38px;
        font-size: 1rem!important;
    }

    p {
        line-height: 30px;
        font-size: 1.1rem!important;
        margin-top: 0!important;
    }
    .raw {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        flex-direction: column!important;
    }

    .raw-50 {
        width: 50%;
    }
    .col-50 {
        width: 96%!important;
        padding: 2%!important;
    }
    .col-50-padding {
        width: 100%!important;
        padding-left: 6%!important;
        padding-right: 6%!important;
    }
    .col-50-padding img {
        width: 100%!important;
        text-align: center;
    }
    .col-50-padding h2 {
        text-align: left;
    }
    .col-50-padding p {
        text-align: left;
    }
    .col-50-padding-4 {
        width: 100%!important;
    }
    .col-65 {
        width: 100%!important;
    }
    .col-65-bloc {
        width: 100%!important;
        padding-left: 3%;
        padding-right: 6%;
    }
    .col-65 p {
        margin-top: 10px!important;
    }
    .col-60 {
        width: 100%!important;
    }
    .col-40 {
        width: 96%!important;
        padding: 10px;
    }
    .col-35 {
        width: 96%!important;
        padding: 0!important;
    }
    .col-35-full {
        width: 100%!important;
        padding: 0!important;
    }
    .col-35 img {
        padding: 3%!important;
        width: 100%!important;
    }
    .col-32 {
        width: 96%!important;
    }

    .desktop {
        display: none!important;
    }
    .mobile {
        display: block!important;
    }
    .active:after {
        display: none;
    }
    .p_mobile_menu {
        font-size: 1.1rem!important;
    }
    .reverse {
        flex-direction: column-reverse!important;
    }
    .landing_center {
        text-align: center;
        margin: 5% 5% 0 5%!important;
    }
    .img-a-propos {
        width: 100%!important;
    }
    .col-50-padding-padding-left {
        width: 100%!important;
        padding-left: 6%!important;
        padding-right: 6%!important;
    }
    .col-50-padding-padding-right {
        width: 100%!important;
        padding-left: 6%!important;
        padding-right: 6%!important;
    }
    .padding-none {
        padding: 0!important;
    }
    .col-50-accordion-2 {
        width: 100%!important;
    }
    .span_mobile {
        font-size: 1rem!important;
    }
    .col-65-center-left {
        width: 100%!important;
    }
    .col-65-center-right {
        width: 100%!important;
    }
    .col-50-padding-2 {
        width: 100%!important;
        padding-left: 10%!important;
        padding-right: 10%!important;
    }
    .verbatim {
        padding: 2%!important;
    }
    .slider-mobile {
        margin-top: 60px;
    }
    .link_footer {
        text-align: justify!important;
    }
    .raw-mentions {
        margin: 20% 5% 5% 5%!important;
    }
    .container-2 {
    background-color: #5F6857;
    }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .raw {
    width: 100%;
  }

  .motif {
    width: 100%;
  }

  .motif-2 {
    width: 100%;
  }

  .verbatim-02 h1 {
    width: 96%;
  }

  .verbatim h2 {
    padding: 1%;
  }

  .infos {
    display: flex;
  }
  
  .col-25{
    width: 50%;
  }

  .full-width{
    width: 100%!important;
  }

  .center {
    text-align: center;
  }

  .img {
    width: 100%!important;
  }

  .img-home {
    width: 100%!important;
  }

  .img-about {
    width: 100%!important;
  }

  /* .logo-transition.to-final {
    /* transform: translate(-50%, -2px) scale(0.3); 
    left: 50% !important;
    bottom: -96px !important;
    } */

    /* .logo-transition {
    left: 50% !important;
    bottom: 350px !important;
    } */

  .image-block {
    width: 100%!important;
    }

    .img-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    }

    .image-wrapper .logo-overlay {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%) scale(0.3);
    }

    .image-block .logo-overlay {
    bottom: -54px;
    }

    p {
    margin-bottom: 0;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .align-left {
        text-align: center!important;
    }

    .full-width {
        width: 100%!important;
    }

    .no-padding {
        padding: 0!important;
    }

    footer {
    text-align: center;
    padding: 4%;
    }

    .footer_notes{
        text-align: center;
    }

    /* === BOUTON BURGER === */
    .navTrigger {
    width: 30px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    }

    /* === LES 3 BARRES === */
    .navTrigger i {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff; /* adapte à ta couleur */
    transition: all 0.3s ease;
    }

    /* === ÉTAT ACTIF (CROIX) === */
    .navTrigger.active i:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    }

    .navTrigger.active i:nth-child(2) {
    opacity: 0;
    }

    .navTrigger.active i:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    }

}

