@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");


:root {
  --color-btn: #334960;
  --color-btn-hover: #a88d39;
  --color-bgc-input : #D9D9D9;
  --color-white: #fff
}

*,
::before,
::after {
  box-sizing: inherit;
  margin: 0px;
  padding: 0px;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  height: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  color: black;
  font-weight: 100;
  line-height: 1.1;
  min-height: 100vh;
  width: 100%;
  font-family: "Roboto", sans-serif;
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html, body {
  overscroll-behavior: contain;
  overscroll-behavior-y: none;
  /* optionnel, pour éviter trop de rebond */
}





.title_h2 {
  font-size: 64px;
  font-weight: lighter;
  font-family: "Bebas Neue", cursive;
  text-transform: uppercase;
}

.title_h3 {
  font-size: 35px;
  font-weight: lighter;
  color: white;
  font-family: "Bebas Neue", cursive;
  text-transform: uppercase;
  text-align: center;
}

.title_h4{
  font-size: 32px;
  font-weight: bolder;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.shadow {
  text-shadow: 0px 0 8px rgba(0, 0, 0, 0.5);
}

.p_description {
  font-size: 24px;
  font-family: "Roboto", sans-serif;
  text-align: center;
}

.p_description_small {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  text-align: center;
  width: 100%;
}

.black {
  color: black;
}

.white {
  color: white;
}

.hidden {
  display: none;
}

.btn {
  padding: 6px 24px;
  background-color: var(--color-btn);
  color: white;
  font-size: 24px;
  font-family: "Bebas Neue", cursive;
  font-weight: lighter;
  border: none;
  outline: none;
  border-radius: 360px;
  cursor: pointer;
  transition: all 0.5s;
}

.btn:hover {
  background-color: var(--color-btn-hover);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.575);
}

.btn_big {
  font-size: 40px;
  height: 86px;
  padding: 0 80px;
}

p{
  font-weight: 400;
}



@media screen and (max-width: 1280px) {

  .title_h2 {
    font-size: 56px;
    font-weight: lighter;
    font-family: "Bebas Neue", cursive;
    text-transform: uppercase;
  }
  .p_description {
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    text-align: center;
  }

  .p_description_small {
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    text-align: center;
    width: 100%;
  }

.btn {
  padding: 6px 24px;
  background-color: var(--color-btn);
  color: white;
  font-size: 24px;
  font-family: "Bebas Neue", cursive;
  font-weight: lighter;
  border: none;
  outline: none;
  border-radius: 360px;
  cursor: pointer;
  transition: all 0.5s;
}


.btn_big {
  font-size: 30px;
  height: 76px;
  padding: 0 70px;
}
  
}

@media screen and (max-width: 500px) {
    
  .title_h2{
    font-size: 40px;
    width: 100%;
    text-align: center;
  }
  
}

/* --------------------------------------------------------- bgc_header + title --------------------------------------*/
.box_bgc_header {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  z-index: -1000;
  overflow: hidden;
}

.box_bgc_other{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 424px;
  width: 100%;
  z-index: -1000;
  overflow: hidden;

}

.box_bgc_other_fake{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 424px;
  width: 100%;
}
.box_bgc_header_fake{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

.bgc_section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.title_header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  transition: transform 0.1s ease-out;
}

.title_header h1 {
  width: 70%;
  font-size: 128px;
  color: white;
  text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.575);
  font-family: "Bebas Neue", cursive;
  letter-spacing: 3px;
  font-weight: lighter;
}

/* Style pour les titres longs */
.long-title {
  margin-top: 50px;
  font-size: 98px !important;
  color: white;
  text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.575);
  font-family: "Bebas Neue", cursive;
  letter-spacing: 3px;
  font-weight: lighter;
}

.title_header p {
  font-size: 24px;
  font-family: "Roboto", sans-serif;
  color: white;
}




.shadow_header_down{
  position: absolute;
  height: 130px;
  width: 100%;
  bottom: 0;

  background-image: linear-gradient(
    rgba(0, 0, 0, 0.0) 1%,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.8)
  ); 
}

.link_arrow_down{
  cursor: pointer;
}

.arrow_down{
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 28px;
  object-fit: contain;
}



.bgc_section_img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.masquotte_formulaire_img{
  object-fit: contain;
  position: absolute;
  bottom: 0;
  right: -250px;
  width: 75%;
  height: 75%;
  z-index: 10000;
}

.main {
  position: relative;
  background-color: #f2f2f2;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}


@media screen and (max-width: 700px) {
    
  .title_header h1 {
    font-size: 7rem;
  }

}

@media screen and (max-width: 500px) {
    
  .title_header h1 {
    font-size:5rem;
  }

  .shadow_header_down{
    display: none;
  }
  
}

/* --------------------------------------------- carousel ------------------------------------------------------------------- */

.carousel_section {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 40px;
}


.bgc_section_separateur {
  position: absolute;
  transform: translateY(-50%);
  width: 100%;
  height: 210px;
  background-image: linear-gradient(to right, #334960, #4479b5);
}

.separateur_carousel {
  top: 55%;
}


.box_carousel_title{
  padding-bottom: 60px;
}

.box_carousel_description {
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}



.carousel { width: 100%; max-width: 1600px; height: 430px; margin: 40px auto; padding: 0; z-index: 10000; }
.carousel-viewport { position: relative; width: 100%; padding: 10px 0px; overflow: hidden; }
.carousel-track { display: flex; will-change: transform; }

/* Carte */
.card { position: relative; flex: 0 0 auto; height: var(--card-height); width: var(--card-width); margin: 24px 6px; height: var(--card-height); border-radius: 16px; background: linear-gradient(180deg, #1f2430 0%, #151922 100%); box-shadow: 0px -5px 10px rgba(0,0,0,0.25); transition: transform 300ms ease, filter 300ms ease; transform-origin: center center; overflow: hidden;}
.card-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;}

/* Mise en avant via scale dynamique (JS met à jour une variable CSS) */
.card { transform: scale(var(--scale, 1)); filter: brightness(var(--bright, 1)); }



.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }

/* Dots pagination */
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 0 4px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #DDDDDD; transition: background 200ms ease, transform 200ms ease; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: #334960; transform: scale(1.25); }

/* Désactiver la sélection/drag sur les cartes du carousel */
.carousel, .carousel * { -webkit-tap-highlight-color: transparent; }
.card, .card * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.background-image, .mascot-image-card { -webkit-user-drag: none; pointer-events: none; }

/* Responsif: cible 5 cartes visibles par défaut */
:root { 
  --card-width: 310px; 
  --card-height: 360px;
}
@media (max-width: 1100px) { 
  :root { 
    --card-width: 300px; 
    --card-height: 350px;
  } 
}
@media (max-width: 900px)  { 
  :root { 
    --card-width: 270px; 
    --card-height: 330px;
  } 
}
@media (max-width: 680px)  { 
  :root { 
    --card-width: 240px; 
    --card-height: 320px;
  } 
}
@media (max-width: 480px)  { 
  :root { 
    --card-width: 210px; 
    --card-height: 300px;
  } 
}


.background-card{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -o-filter: blur(10px);
  -ms-filter: blur(10px);
  filter: blur(5px);
}

.background-image-card{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.box_info_card{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0px 10px; 
}

.title_card{
  margin: 20px 0px 10px 0px;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

.content_card{
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.5);

}

.mascot-image-card{
  width: 300px;
  height: 300px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  display: block;
}



/* ---------------------------------------- brand slider logo ------------------------------------------------------------------ */

.partenaires {
  text-align: center;
  z-index: 1000;

}

.box_bgc_partenaires {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 300px;
  width: 100%;
  margin-bottom: 50px;
  z-index: 1;
}

.voile_blanc_image {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.6);
}

.img_bgc_partenaires{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


.title_partenaires {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  z-index: 3;

}


@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0px;
  white-space: nowrap;
  position: relative;
  margin-top: 50px;
  z-index: 10;
}

.logos:before, .logos:after {
  position: absolute;
  top: 0;
  content: '';
  width: 250px;
  height: 100%;
  z-index: 2;
}



.logo_items {
  display: inline-block;
  animation: 35s slides infinite linear;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img {
  height: 70px;
  filter: none;
  transition: filter 0.3s ease;
  margin: 0 20px;
}

.logo_items img:hover {
  filter: none;
}

/* Supprimer les anciens styles du slider */
.partners-slider,
.partners-track,
.partner-item,
.partner-logo,
.partner-link,
.slider_logo,
.list_logo,
.item_logo,
.brand_logo_img {
  display: none;
}

@media screen and (max-width: 500px) {
  .box_bgc_partenaires {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 200px;
    width: 100%;
    margin-bottom: 50px;
    z-index: 1;
  }

  
.logo_items img {
  height: 60px;
  filter: none;
  transition: filter 0.3s ease;
  margin: 0 20px;
}

}

/* ------------------------------------------- campagne -----------------------------------------*/

/* ----------------------------------------- decouvrez nous ------------------------------------------------------------------- */

.decouvrez_nous {
  position: relative;
  width: 100%;
  height: 750px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 30px;
  
}

.decouvrez_nous_container {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding: 24px 40px 30px;
}

.decouvrez_nous_content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.p_decouvrez_nous {
  padding-bottom: 34px;
  padding-top: 44px;
}

.decouvrez_nous_img {
  width: 100%;
  height: 334px;
  object-fit: cover;
}

@media screen and (max-width: 400px) {
    
  .decouvrez_nous {
    height: 500px;

    
  }
  
.decouvrez_nous_container {

  padding: 14px 15px 15px;
}

.p_decouvrez_nous {
  padding-bottom: 0px;
  padding-top: 5rem;
  font-weight: 300;
}

.decouvrez_nous_img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

}


/* --------------------------------------- formulaire d'inscription -------------------------------------------------------------------- */

.formulaire_inscription {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
}

.formulaire_inscription img {
  position: absolute;
  z-index: 1;
}

.formulaire_content {
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  padding: 100px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}



.box_formulaire {
  padding: 50px 200px;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.5);
}

.box_formulaire_title{
  height: max-content;
  text-align: center;
}

.box_formulaire_title h2{
  font-size: clamp(28px, 4vw, 56px);
}

.box_formulaire_title p{
  font-size: clamp(16px, 2vw, 20px);
}

.box_formulaire_title h2{
  margin-bottom: 2rem;
}
.box_formulaire_title p{
  margin-bottom: 4rem;
}

.formulaire {
  width: 100%;
}

.form_contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  height: 100%;
  gap: 24px;
  position: relative;
}

.grid_formulaire_2_col{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form_group {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  height: 70px;
  gap: 10px;
}

.form_textarea {
  height: 240px;
}

.box_label {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  height: 30px;
  gap: 1rem;
}

.box_label label {
  font-size: clamp(16px, 2vw, 24px);
  font-family: "Roboto Slab", serif;
  font-weight: bold;
  width: max-content;
  text-wrap: nowrap;
}

.sep_lab_inp {
  width: 100%;
  height: 1px;
  background-color: black;
}

.input_contact {
  height: 40px;
  padding: 9px;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 4px;
  background-color: rgb(255, 255, 255);
  font-family: "Roboto", sans-serif;
}

.textarea_contact {
  text-transform: lowercase;
  padding: 9px;
  width: 100%;
  height: 180px;
}

.loading-animation {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  padding: 20px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  background-color: rgba(51, 73, 96, 0.9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-animation.visible {
  opacity: 1;
}

.loading-animation::after {
  content: "";
  width: 25px;
  height: 25px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.response-message {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
}

.response-message.visible {
  opacity: 1;
  transform: translate(-50%, 50%) scale(1);
}

.success-message {
  background-color: rgba(51, 73, 96, 0.9);
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-message {
  background-color: rgba(220, 53, 69, 0.9);
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form_contact.sending {
  pointer-events: none;
  opacity: 0.7;
}

@media screen and (max-width: 1280px) {

  .box_formulaire {
    padding: 20px 20px;
  }

  .formulaire_content {

    justify-content: center;

  }

  .grid_formulaire_2_col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form_group {
    height: auto;
  }

  .input_contact,
  .form_group select {
    height: 40px;
  }

  .form_textarea {
    height: auto;
  }

  .form_textarea .input_contact {
    height: auto;
  }

  .textarea_contact {
    min-height: 180px;
  }
}

.btn_check {
  opacity: 0;
  position: absolute;
}

.box_label_check {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  padding-left: 15px;
  z-index: 1000;
}

.box_btn_check {
  position: absolute;
  width: 15px;
  height: 15px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  cursor: pointer;
  background-color: #ffffff9b;
}

.box_btn_check.clicked {
  background-color: var(--color-btn);
}

.label_commentaire {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  color: #757582;
  margin-left: 25px;
  cursor: pointer;
}

.link_politique_confidentialite:link,
.link_politique_confidentialite:visited {
  color: var(--color-btn);
  text-decoration: underline;
}

@media screen and (max-width: 500px) {
  .g-recaptcha{
    width: 80%;
    transform: scale(0.7);
    transform-origin: left top;
  }


  .textarea_contact {
    text-transform: lowercase;
    padding: 9px;
    width: 200px;
    height: 170px;
  }
}