* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Abel";
}

/*body {
  overflow-x: hidden;
  
}*/

@font-face {
  font-family: "Abel";
  src: url("./ressources/font/Abel.ttf") format('truetype'); /* Format 'truetype' pour les fichiers .ttf */
}

@font-face {
  font-family: "Designer";
  src: url("./ressources/font/designer.otf") format('opentype'); /* Format 'opentype' pour les fichiers .otf */
}

.designer-font {
    font-family: 'DESIGNER', sans-serif;
}


html,
body {
  height: 100%;
  width: 100%;
  font-family: "Abel";
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}




/* désactivé pour le moment
#selecteur {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: left;
  height: 33px;
  width: 100%;
  background-color: #1d3622;
  
}

#selecteur ul {
  display: flex;
  flex-direction: row;
  justify-content: left;
  padding: 0;
  width: 100%;
 
  gap: 10px;
}

#selecteur ul li {
  
  height: fit-content;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  color: white;
}

#selecteur ul li.selected {
  color: black;
  background-color: white;
} */

/* navbar */

#header {
  background: #f7f7f7;
  z-index: 10;
  width: 100%;
  height: fit-content;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#navbar {
  display: flex;
  flex-direction: row;
}

#header.closed {
  height: 85px;
}

#navbar img {
  margin: 26px;
  margin-right: 7px;
  max-height: 60px;
}

#navbar div {
  font-family: "Abel";
  color: #1d3621;
  letter-spacing: 0.5em;
  font-size: 0.8em;
  text-align: center;
  padding-top: 25px;
  height: fit-content;
}

#navbar div h3 {
  letter-spacing: 1.1em;
  font-size: 0.6em;
}

#navbar i {
  margin-left: auto;
  font-size: 3em;
  color: #1d3622;
  height: fit-content;
  margin-top: 14px;
  margin-right: 20px;
  cursor: pointer;
}

#menu {
  display: flex;
  justify-content: center;
}

#menu ul {
  display: flex;
  flex-direction: column;
  padding: 10px;
  align-items: center;
  margin: 0px;
}

#menu ul li {
  margin: 5px;
  padding: 5px;
  text-align: center;
}

#menu ul li a {
  width: 80vw;
  color: black;
}

@media (max-width:768px) {
nav#menu.navbar {
  
  margin-top: 0%!important;
  box-shadow: 0 0 0px 0px !important;
}



}

@media (min-width: 1080px) {
  #navbar i {
    display: none;
  }

  #header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  #menu {
    margin: 0;
  }

  #menu ul {
    display: flex;
    flex-direction: row;
    padding: 10px;
    align-items: center;
  }

  #menu ul li a {
    width: fit-content;
  }
}
.transparent-header {
  background-color: #00453e !important;
  transition:  0.3s ease-in-out !important;
  
}
.transparent-header .nav-link {
  color: white !important;
  transition:  0.3s ease-in-out !important;
}

.white-header {
  background-color: #F7FBF9 !important;
}

.white-header .nav-link {
  color: #00453e !important;
}

.logo-scroll-green {
  filter: invert(82%) sepia(11%) saturate(1550%) hue-rotate(78deg) brightness(97%) contrast(98%);
}

.icon-scroll-white {
  color: white !important;
}

.icon-scroll-green {
  filter: invert(82%) sepia(11%) saturate(1550%) hue-rotate(78deg) brightness(97%) contrast(98%);
}

/* ------- customize primary button color -------- */

/*#menu.nav-pills .nav-link{
    
	background-color: #1D3621;
}

.nav-pills .nav-link.active{
    background-color: #1D3621;
}*/

.nav-link {
  color: black !important;
  font-size: medium;
  font-weight: bold;
}
.nav-link.active {
  background-color: #00453e !important;
  color: white !important;
  font-size: medium;
  font-weight: bold;
}

/* content */

.container-fluid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  --bs-gutter-x: 0rem !important;
}

.container-full {
  display: flex;
  flex-direction: column;
  border: none;
  padding-top: 20px;
}

.mt-3 {
  margin-top: 25px;
}

.mt-3 {
  padding-top: 25px;
}

.card-body {
  font-weight: 700;
  padding-left: 15% !important;
  padding-right: 15% !important;
  padding-top: 2% !important;
}
.card-title {
  color: rgb(27, 121, 63);
}

.card {
  margin-top: 30px;
  --bs-card-border-width: 0px !important;
  padding: 0;
}
.card-img-top {
  height: 280px;
  background-size: cover;
}

.mt-3 p {
  /* background-color: red; */
  padding: 2vw;
}



form > * {
  margin-bottom: 1%;
}


.photos {
  border-radius: 5%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 45%;
}
.misenpage {
  margin: 5%;
}
h1 {
  text-align: center;
}
h2 {
  text-align: center;
}
.photo-info {
  margin: auto;
}
.prenom {
  text-align: center;
}

.box {
  position: relative;
  /*display: inline-block; /* Make the width of box same as image */
}
.box .text {
  position: absolute;
  z-index: 999;
  margin: 0 auto;
  left: 0;
  right: 0;
  text-align: center;
  align-items: center;
  justify-content: center;
  top: 55%; /* Adjust this value to move the positioned div up and down */
  background: rgba(67, 92, 72, 0.8);
  font-family: Abel;
  color: #fff;
  width: 45%; /* Set the width of the positioned div */
  height: 21%;
}


/* Reduit le rectangle "candidature" en version mobile */
@media (max-width: 768px) {
  #menu .nav-item a[href="/inscription.htm"] {
    display: inline-block;   /* déjà défini inline, mais on le renforce */
    width: auto;             /* ne prend que la place du contenu */
    padding: 9px 16px;       /* garde votre padding */
    text-align: center;      /* centrage du texte et icône */
  }
}



.backdwwm {
  background-color: blue;
  color: black;
}

h4 mark {
  margin-left: 35px;
}

.accordion {
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(7, 101, 29, 0.268) !important;
  --bs-accordion-body-padding-x: 1.25rem;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: #ffffff !important;
  --bs-accordion-active-bg: #00453e !important;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='green'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

a {
  color: #024500 !important;
}

.bi-linkedin {
  color: #ffffff;
}
.bi-facebook {
  color: #ffffff;
}

.section-title {
  padding-bottom: 25px;
  padding-top: 35px;
}
.section-title h2 {
  font-weight: 700;
  color: #00453e;
  font-size: 45px;
  margin: 0 0 15px;
  border-left: 5px solid #b3d76b;
  padding-left: 40px;
  text-align: left !important;
}

/* Réduire la taille de la police pour les écrans inférieurs à 768px */
@media (max-width: 768px) {
  .section-nos-formations h1 {
    font-size: 40px; /* Taille ajustée pour tablettes et mobiles */
  }
}

.section-title-formation h2 {
  font-weight: 700;
  color: #00453e;
  font-size: 45px;
  margin: 0 0 15px;
  border-left: 3px solid #FFCA79;
  padding-left: 40px;
  text-align: left !important;
}

.section-title-nos-formations h2 {
  font-weight: 700;
  color: #00453e;
  font-size: 60px;
  text-align: center !important;
  text-decoration: underline; /* Ajout du soulignement */
  text-underline-offset: -5px; /* Distance entre le texte et la ligne de soulignement */
  text-decoration-color: #b3d76b; /* Couleur de la ligne de soulignement */
  text-decoration-thickness: 14px; /* Épaisseur de la ligne de soulignement */
  text-decoration-skip-ink: none
}

@media (max-width: 768px) {
  .section-title-nos-formations h2 {
    font-size: 35px; /* Taille ajustée pour tablettes et mobiles */
  }
}


.section-title h4 {
  font-weight: 700;
  color: #00453e;
  font-size: 30px;
  margin: 0 0 15px;
  border-left: 5px solid #b3d76b;
  padding-left: 40px;
  text-align: left !important;
}

.section-title h5 {
  font-weight: 700;
  color: #00453e;
  font-size: 25px;
  margin: 0 0 0px;
  border-left: 5px solid #b3d76b;
  padding-left: 15px;
  text-align: left !important;
}

.section-title-right h5 {
  font-weight: 700;
  color: #00453e;
  font-size: 20px;
  margin: 0 0 0px;
  border-right: 5px solid #b3d76b;
  padding-right: 15px;
  text-align: right !important;
}

.text-custom {
  color: #1d9c19 !important;
}

.video-title {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.video-title video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.video-title .container {
  position: relative;
  z-index: 2;
}

.video-title .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #00453ed7;

  z-index: 1;
}

@media (max-width: 768px) {
  #left1 {
    border-right: 0px !important;
    border-bottom: solid #00453e 1px !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
  }
}

.card-formation {
  transition: 0.5s;
}
.card-formation:hover {
  filter: invert(18%) grayscale(100%) brightness(95%)
    contrast(101%);
}


.vignette {
  position: relative;
  overflow: hidden;
}

.vignette-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  border-radius: 12px;
}

.vignette:hover .vignette-overlay {
  opacity: 1;
}

.vignette-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.vignette-description {
  font-size: 16px;
  margin-bottom: 10px;
}

.vignette-button {
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
}

.cnil {
font-size=9px;
}


/* Style de base pour les vignettes */

/* Style de l'image à agrandir */
.vignette-image {
    transition: transform 0.4s ease;
}

/* Effet d'agrandissement au survol */
.vignette:hover .vignette-image {
    transform: scale(1.1); /* Vous pouvez ajuster la valeur pour définir l'ampleur de l'agrandissement */
}

/* Style de base pour les images */
.card-img-top {
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Ajoute une transition fluide au changement de transformation et à l'ombre */
	width: 100%;  /* Prend toute la largeur du conteneur */
    height: auto; /* Conserve les proportions de l'image */
    display: block; /* Évite les espaces blancs en bas de l'image */
    margin: 0; /* Supprime les marges */
    padding: 0; /* Supprime les paddings */
	
}

.card-img-top:hover {
    transform: translateY(5px) scale(0.95) rotate(-3deg); /* L'image se déplace légèrement vers le bas, est légèrement réduite et effectue une légère rotation dans le sens antihoraire au survol */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Augmente l'ombre pour un effet de profondeur plus prononcé */
}

.rounded-image {
  border-radius: 15px; /* Ajuste la valeur pour plus ou moins d'arrondi */
}

/* Style normal */
.vignette-mobile {
    position: relative; /* Nécessaire pour positionner le pseudo-élément */
    overflow: hidden;   /* Masque le contenu hors des limites */
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1); /* Animation de réduction */
	opacity: 0.85; /* 85% visible, 15% transparent */
}

/* Pseudo-élément pour l'animation de grisage */
.vignette-mobile::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Couche de gris (ajustez l'opacité selon vos besoins) */
    transition: top 0.1s ease-in; /* Animation rapide du bas vers le haut */
    z-index: 1;
}

/* Applique l'effet au clic */
.vignette-mobile:active::after {
    top: 0; /* Le gris monte pour couvrir la vignette */
}

.vignette-mobile img {
    position: relative; /* Pour s'assurer que l'image reste en dessous du pseudo-élément */
    z-index: 0;
}


/* Survol bouton moderne */
.btn-holographic {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 15px;
  border-radius: 8px;

  background: #6C757D; /* ✅ gris */
  color: #FFFFFF !important;          /* ✅ texte blanc */
  text-decoration: none;
  position: relative;
  overflow: hidden;

  transition: all 0.3s ease;
}

/* effet lumière (adapté au vert) */
.btn-holographic::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(29, 54, 33, 0.4) /* ✅ vert cohérent */
  );

  transform: rotate(-45deg);
  opacity: 0;
  transition: all 0.5s ease;
}

/* hover */
.btn-holographic:hover {
  background: #A5CFBC; /* ✅ fond vert */
  color: #ffffff;         /* ✅ reste blanc */
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(29, 54, 33, 0.5);
}

/* animation holographique */
.btn-holographic:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}
/* Survol bouton moderne */



/* Survol bouton trait futuriste header */
.hover-underline {
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #1D3621, #ffffff);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}
/* Fin Survol bouton trait futuriste header */






/* background pleine largeur */
.filieres-section-bg {
  width: 100%;
  background: rgba(0, 69, 62, 0.9); /* ✅ transparent */
  padding: 80px 0;
}

.filieres-wrapper {
	
  display: flex;
  justify-content: center; /* ✅ centre le bloc */
  align-items: stretch;
  gap: 40px; /* espace entre titres et images */
  width: 100%;
}

/* colonne titres = 25% */
.filieres-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* liens à l'intérieur des filieres-item */
.filiere-item a {
  display: block;            /* bloc entier cliquable */
  text-decoration: none;     /* pas de souligné */
  color: inherit !important; /* hérite du .filiere-item */
}

/* titres */
.filiere-item {
  color: #9299A0;
  font-size: 52px;
  font-weight: 650;
  padding: 1.0rem 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filiere-item:first-child {
  border-top: 1px solid #ddd;
}

.filiere-item:hover {
  color: #FFFFFF;!important;
  transform: translateX(10px);
}

/* colonne image = 25% */
.filieres-right {
  width: 18%;
  position: relative;
  height: 520px; /* important */
}

/* images */
.filieres-right img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 10px;
}

.filieres-right img.active {
  opacity: 1;
}


/* TITRE */
.intro-title {
  text-align: left; 
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
}

/* TEXTE */
.intro-text {
  font-size: 20px;
  line-height: 1.6;
}

/* LIEN */
.intro-link {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  .intro-title {
    font-size: 30px;        /* taille réduite */
    text-align: left;       /* aligné à gauche ✅ */
    margin-bottom: 5px;
	width: 100%;
	font-weight: 1200;
  }

  .intro-text {
    font-size: 19px;
	font-weight: 500;
  }

  .row {
    text-align: left;       /* évite centrage automatique */
  }
}