* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
    font-family: Montserrat;
    src: url(../assets/font/montserrat/Montserrat-Regular.ttf);
}

@font-face {
    font-family: Bodoni;
    src: url(../assets/font/BodoniModa_28pt-Regular.ttf);
}

@font-face {
    font-family: Oswald;
    src: url(../assets/font/oswald/Oswald-Bold.ttf);
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
  font-family: Montserrat;
  background-color: #FFFFFF;
  color: #1e1e1e;
  display: flex;
  flex-direction: column;
}

h1, h2 {
    font-family: Oswald;
    color: #1e1e1e;
    letter-spacing: 10%;
    background-color: white;
}

h1 {
    font-size: 56px;
    overflow-wrap: anywhere;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 40px;
    font-family: Bodoni;
    letter-spacing: 10%;
}

h4, .sousTitre {
    font-size: 20px;
    font-family: Montserrat;
    color: #1e1e1e;
    letter-spacing: 7%;
    background-color: white;
}

/*************************** PHP ***************************/

.overlayMT {
    position: fixed; 
    inset: 0; 
    background: rgba(30, 30, 30, 0.65);
    display: flex;
    justify-content: center;
    align-items: center; 
    z-index: 9999;

}

.popup {
    background: white;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/********** TEMOIGNAGE & CONTACT **********/

.inboxAdmin {
    position: relative;
    width: 75%;
    padding: 40px;
    background-color: #1e1e1e;
}

.pageGlobal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    z-index: 2;
}

.aucun {
    color: white;
    font-size: 30px;
    text-align: center;
}

.carteTemoignage {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    padding: 20px;
    width: 50%;
}

.carteTemoignage p {
    word-break: break-word; /* je savais pas que ça existait ça ptdrr c'est pour faire une césure dans le paragraphe texte en gros */
    line-height: 1.5;
    letter-spacing: 10%;
}

.boxT {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.titreAdmin {
    display: flex;
    flex-direction: column;
    width: 95%;
    align-items: flex-start;
    gap: 20px;
}

.titreAdmin h1 {
    color: white;
    text-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
    background: none;
    width: 90%;
    letter-spacing: 15%;
    line-height: 1.6;
}

.boutonTem {
    display: flex;
    gap: 120px;
}

.horizontalAdmin {
    width: 100%;
    height: 2px;
    margin-bottom: 40px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    border: none;

}

.cartesAdmin {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: -40px;
}

/*************************** ANIMATIONS JS ***************************/

/******** "I AM" ********/

.hero {
    height: 0;
}

.iam { 
    position: fixed;
    object-position: center; 
    top: 10vh; 
    left: 50%; 
    width: clamp(10px, 45vw, 250px); /* taille contrôlée */ 
    height: auto; 
    transform: translateX(-50%); 
    z-index: 1; /* Assure que le logo est au-dessus du contenu, au même niveau que le gradient du header */
    pointer-events: none;
    opacity: 0.8; 
}

/******** SCROLL TOP ********/

#retourTop:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 30%,
        #f7f7f7 50%,
        #d9d9d9 70%,
        #6f6f6f 100%
    );
    transition: 0.3s ease;
    transform: scale(1.05);
    color: #1e1e1e;
}

#retourTop {
  position: fixed;               /* Pour que le bouton reste toujours visible à l’écran */
  bottom: 20px;                  /* espace par rapport au bas */
  right: 20px;                   
  padding: 10px 15px;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  background-color: #1e1e1e;
  color: white;
  box-shadow: 0 2px 6px rgba(255,255,255,0.6);
  cursor: pointer;
  display: none;                /* caché quand l'utilisateur est tout en haut de la page */
  z-index: 999;                  /* calque prioritaire sur tout le site */
}

/******** AGRANDIT L'IMAGE AU CLIC ********/

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
}

.fermer {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}

/*************************** HEADER ***************************/

.vertical {
    width: 1px;
    height: 100%;
    background-color: white;
}

#burgerBTN, .menuMobile, #burgerBTNfooter, .menuMobileF {
    display: none;
}

.fermerMobile, .fermerMobileFooter {
    font-size: 70px;
    font-family: Montserrat;
    color: #1e1e1e;
    text-shadow: 0 2px 4px rgba(30, 30, 30, 0.8);
}

.top {
    position: relative;
    width: 100%; 
    min-height: 112vh;
    overflow: hidden;
}

.top::before {
    content: ""; /* Obligatoire pour créer le pseudo élément */
    position: absolute;
    inset: 0; /* L’image remplit tout le header */
    background-image: url("../assets/images/backgroundFinal.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1; 
    z-index: 0; /* Couche la plus derrière */
}

.top::after {
    content: ""; 
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 30, 30, 0.6) 0%,
        rgba(30, 30, 30, 0.6) 20%, 
        rgba(255, 240, 235, 0.6) 30%,
        rgba(255, 255, 255, 0) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1; /* Le gradient passe au-dessus de l’image */
    pointer-events: none; /* Permet de cliquer à travers */
}

.contenu {
    position: relative; /* Active le z-index */
    z-index: 2; /* Passe devant l’image et le gradient */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px;
    margin-top: 40px;
}

.cont:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.menu {
    display: flex;
    justify-content: space-between;
    gap: 160px;
    align-self: flex-start;
}

.menu ul {
    list-style: none;
    display: flex;
    gap : 30px;
    align-items: center;
}

.menu ul li a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 30px;
    font-family: Oswald;
}

.menu ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;      
    transform: translateX(-50%) scaleX(0);
    width: 60%;     
    height: 3px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 30%,
        #f7f7f7 50%,
        #d9d9d9 70%,
        #6f6f6f 100%
    );
    transform-origin: center;
    transition: transform 0.3s ease;
}

.menu ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu ul li a:hover {
    background: linear-gradient(
        45deg,
        #6f6f6f 0%,
        #d9d9d9 30%,
        #f7f7f7 50%,
        #d9d9d9 70%,
        #6f6f6f 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo1 {
    height: 100%;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.logo1 img {
    width: 200px;
    height: auto;
}

.reseau {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.reseau img {
    display: block;
    object-fit: contain;
    width: 100px;
    height: 100px;
}

.reseau img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/******************************* ACCUEIL *******************************/

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

#identite {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    background-color: white;
}

#identite .sousTitre {
    text-align: center;
    width: 60%;
}

.separateur {
    height: 5px;
    width: 100%;
   background: linear-gradient(
        to left,
        rgba(30, 30, 30, 0) 0%,
        rgba(30, 30, 30, 0.5) 20%,
        rgba(30, 30, 30, 1) 35%,
        rgba(30, 30, 30, 1) 50%,
        rgba(30, 30, 30, 1) 65%,
        rgba(30, 30, 30, 0.5) 80%,
        rgba(30, 30, 30, 0) 100%
    );
    box-shadow: none;
    border: none;
}

#projet {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-direction: column;
    max-width: 95%;
}

.pres {
    width: 100%;
    display: flex;
    gap: 240px;
    text-align: center;
    align-items: center;
}

.presTexte {
    font-size: 24px;
    letter-spacing: 8%;
    line-height: 1.5;
    font-family: Montserrat;
    color: #1e1e1e;
    background-color: white;
    width: 50%;
    padding: 20px;

}

.presIMG {
    cursor: pointer;
    width: 50%;
    height: auto;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
}

.presIMG:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
}

.presentation {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.enSavoirPlus {
    background-color: #1e1e1e;
    padding: 12px 24px;
    font-size: 18px;
    font-family: Montserrat, sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.6s ease, background-color 0.6s ease;
}

.enSavoirPlus span {
    color: white;
    transition: 0.6s ease;
}

.enSavoirPlus:hover {
    transform: scale(1.15);
}

.enSavoirPlus:hover span {
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.enSavoirPlus span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    transform-origin: center;
    transition: transform 0.5s ease;
}

#Formation {
    display: flex;
    gap: 50px;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.carte {
    max-width: auto;
    min-height: 220px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
    transition: transform 0.3s ease;
    gap: 40px;
}

.cartes {
    display: flex;
    width: 100%;
    gap: 110px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.carte:hover {
    transform: translateY(-10px);
    transition: 0.3s ease;
}

.titreCarte {
    display: flex;
    flex-direction: column;
    color: #1e1e1e;
    margin-bottom: 10px;
    align-items: center;
    gap: 5px;
}

.temoignages {
    display: flex;
    height: auto;
    gap: 30px;  
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 95%;
    margin: 100px 0 -80px 0;
}

.carrousel-Fenetre {
    width: 1000px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    padding-left: 10px;
}

.contenuCarrousel {
    height: 100%;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: row;
    transition: transform 0.3s ease;
    word-break: break-word; /* je savais pas que ça existait ça ptdrr c'est pour faire une césure dans le paragraphe texte en gros */
    line-height: 1.5;
    letter-spacing: 5%;
}

#carrouselFlechePrecedente, #carrouselFlecheSuivante {
    border: none;
    background: none;
    cursor: pointer;
}

#carrouselFlechePrecedente img, #carrouselFlecheSuivante img {
    width: 100px;
    height: 110px;
}

.carteT {
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.avis {
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.2);
    padding: 20px;
    gap: 20px;
    min-width: 300px;
}

/*************************** BOUTIQUE ***************************/

.titreSoustitre {
    color: #1e1e1e;
    text-align: center;
}

.boutique {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-direction: column;
    max-width: 95%;
}

.boutique > p {
    background-color: white;
    font-size: 18px;
    width: 70%;
    line-height: 1.5;
    letter-spacing: 8%;
}

.jeuCartes {
    cursor: pointer;
    max-width: 800px;
    height: auto;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
}

.jeuCartes:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.p-q {
    display: flex;
    justify-content: space-between;
    width: 70%;
}

.prixB {
    font-size: 28px;
    font-family: Montserrat;
    color: #1e1e1e;
    background-color: white;
    border : solid 3px #1e1e1e;
    padding: 20px;
    width: auto;
}

.quantite {
  display: flex;
  align-items: center;
  background: #1e1e1e;
  width: auto;
  padding: 8px 12px;
  gap: 12px;
}

.quantite button {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

.quantite input {
  width: 45px;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  text-align: center;
}

/* enlève les flèches du input number */
.quantite input::-webkit-outer-spin-button,
.quantite input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.decouvrir {
    display: inline-block;
    background-color: #1e1e1e;
    padding: 20px 35px;
    font-size: 24px;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    transition: transform 0.6s ease, background-color 0.6s ease;
    text-decoration: none; 
}

.decouvrir:hover {
    transform: scale(1.15);
}

.decouvrir span {
    color: white;
    transition: 0.6s ease;
}

.decouvrir:hover span {
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.decouvrir span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    transform-origin: center;
    transition: transform 0.5s ease;
}
 

.reassurance {
    display: flex;
    font-size: 28px;
    gap: 20px;
    font-family: Montserrat;
    color: #1e1e1e;
    text-align: center;
    background-color: white;
}

/*************************** A PROPOS ***************************/

.about {
    display: flex;
    flex-direction: column;
    gap: 90px;

}
.p-f {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    margin-bottom: -75px;
}

.contenuPF {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    height: 100%;
    width: 100%;
}

.photo{
    width: 25%;
    height: auto;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
}

.photo:hover {
    transform : scale(1.05);
    transition: transform 0.3s ease;
}

.p-fCarte {
    display: flex;
    align-items: center;
    max-width: 95%;
    justify-content: space-between;
}

.p-fTexte {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px;
    width: 60%;
    line-height: 1.5;
    letter-spacing: 8%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
}

#qualite1 {
    display: flex;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 21px;
    gap: 10px;
    width: auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
    line-height: 1.5;
    letter-spacing: 8%;
}

/*************************** CONTACT ***************************/

#contact {
    display: flex;
    flex-direction: column;
    gap : 75px;
    width: 95%;
    align-items: center;
}
.t-st-Contact{
    display: flex;
    flex-direction: column;
    color: #1e1e1e;
    text-align: center;
    align-items: center;
}  

.messageForm {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 50%;
    justify-content: space-around;
}

#contact .enSavoirPlus {
    width: fit-content;
    display: block;
    margin: 0 auto;
}

label {
    font-family: Montserrat;
    font-size: 24px;
}

.doublechamp {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.champ input {
    appearance: none;
    margin: 0;
    border: 3px solid #1e1e1e;
    padding: 8px;
    font-family: Montserrat;
    letter-spacing: 5%;
    width: 100%; 
}

/*
.champ-craie {
    position: relative; 
    width: 100%;
}

.champ-craie::before {
    content: "";
    position: absolute; /* Place le contour autour du champ 
    inset: -8px;  Fait dépasser le contour 
    background: url("../assets/images/contour/contour-craie.png") center / 100% 100% no-repeat;
    pointer-events: none; /* Ne bloque pas le clic dans l’input 
    z-index: 0; 
}

.champ-craie input,
.champ-craie textarea {
    position: relative;  Passe devant le contour 
    z-index: 1;  Texte/champ au-dessus 
    width: 100%; 
    border: none; 
    background: white; 
    padding: 10px;
    font-family: Montserrat;
    outline: none;
}

.craie-textarea::before {
  inset: -12px;
  background: url("../assets/images/contour/contour-craieTA.png") center / 100% 100% no-repeat;
}

*/

#textArea {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%; 
}

textarea {
    appearance: none;
    margin: 0;
    border: 3px solid #1e1e1e;
    padding: 8px;
    font-family: Montserrat;
    letter-spacing: 5%;
}

.champ {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 25%;
}

#formLaisserT {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: -85px;
    gap: 20px;
}

.blocTemoignage {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease;   
}

.blocTemoignage form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;  
    height: auto;
    padding: 0 8px 5px 8px;
}

.blocTemoignage.is-open {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
}

#ouvrirT {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background-color: transparent;   
    margin: 0;
    padding: 20px;
    font-family: LibrBodini;
    letter-spacing: 5%;
    cursor: pointer;
    width: 100%;
    border: none;
}

.ligneT {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
}

#flecheTemoignage {
    display: inline-block;
    font-size: 50px;
    transition: transform 0.3s ease;
}

#flecheTemoignage.rotate {
    transform: rotate(180deg);
}

.t-T {
    font-size: 50px;
    font-family: Oswald;
    line-height: 1;
}

.s-tT {
    font-family: Montserrat;
    font-size: 22px;
}

/************************************* PAGES DES 4 FORMATIONS *************************************/

.f-4 {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    width: 100%;
    padding: 10px;
}

.explication {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 180px;
    width: 70%;
}

.titreFormations {
    background-color: white;
    color: #1e1e1e;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.titreFormations h4 {
    width: 60%;
}

.problematiqueF {
    display: flex;
    gap: 80px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
    padding: 30px;
    align-items: center;
    width: 100%;
}

.problematiqueF p {
    text-align: center;
    line-height: 1.5;
    letter-spacing: 5%;
    width: 50%;
}

.problematiqueF h2 {
    width: 50%;
}

.prix-duree {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.prix-duree p {
    font-size: 28px;
    font-family: Montserrat;
    color: white;
    background-color: #1e1e1e;
    padding: 20px;
    width: auto;
}

.offreFormation {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    padding: 36px;
    width: 50%;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
}

.offreFormation p {
    font-size: 24px;
}

.redirection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 70%;
    margin-bottom: -80px;
}

.redirection p {
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 5%;
    width: 80%;
    text-align: center;
    background-color: white;
}

/*************************** FOOTER ***************************/

.bottom {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: 30vh;
    min-height: 100px;
}

.bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(30, 30, 30, 1) 0%,
        rgba(30, 30, 30, 1) 55%,
        rgba(255, 240, 235, 0.6) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 0;
}

.contenuFooter {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 24px;
    font-family: Montserrat;
}

.vertical-degrade {
    border: none;
    bottom: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
            to top,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.65) 40%,
            rgba(255, 255, 255, 0) 60%
        );

    box-shadow: none;
}

.menuFooter {
    display: flex;
    height: 100%;
    width: 33%;
    justify-content: space-around;
    align-items: flex-end;    
}

.menuFooter ul {
    align-items: center;
    flex-direction: column;
    padding-bottom: 20px;
}

.menuFooter ul li {
    list-style: none;
}

.menuFooter ul li a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-family: Oswald;
}

.menuFooter ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%) scaleX(0);
    width: 75%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 30%,
        #f7f7f7 50%,
        #d9d9d9 70%,
        #6f6f6f 100%
    );
    transform-origin: center;
    transition: transform 0.5s ease;
}

.menuFooter ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menuFooter ul li a:hover {
    background: linear-gradient(
        45deg,
        #6f6f6f 0%,
        #d9d9d9 30%,
        #f7f7f7 50%,
        #d9d9d9 70%,
        #6f6f6f 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.listeF {
    text-decoration: none;
    color: white;
}

.listeF ul {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contactF {
    list-style: none;
}

.mentions {
    gap: 8px;  
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 40px;
    padding-left: 20px;
}

.mFooter {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    width: 33%;
    align-items: flex-end;
}

.confiance {
    font-size: 18px;
    font-family: Montserrat;
    color: white;
    text-align: center;
}

.r-c {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    width: 34%;
    margin-bottom: 20px;
}

.reseauFooter {
    display: flex;
    gap: 20px;
}

.reseauFooter img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/************************************* ADMINISTRATION *************************************/

/*********** LIEN ADMIN COMMUN ***********/

.lienAdmin {
    position: relative;
    display: inline-block;
    color: white;
    padding: 8px 12px;
    font-size: 20px;
    width: fit-content;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.lienAdmin::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%) scaleX(0);
    width: 75%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    transform-origin: center;
    transition: transform 0.5s ease;
}

.lienAdmin:hover {
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.lienAdmin:hover::after, .enSavoirPlus:hover span::after, .decouvrir:hover span::after {
    transform: translateX(-50%) scaleX(1);
}

/*********** BOUTON ADMINISTRATION ***********/

.adminLink {
    margin-bottom: 50px;
}

.adminLink a {
    text-align: center;
    position: relative;
    display: inline-block;
    color: white;
    
    padding: 12px ;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 5%;
    font-family: Montserrat, sans-serif;
    cursor: pointer;
    text-decoration: none;
}

.adminLink a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;      
    transform: translateX(-50%) scaleX(0);
    width: 60%;     
    height: 2px;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    transform-origin: center;
    transition: transform 0.5s ease;
}

.adminLink a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.adminLink a:hover {
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/*********** PAGE LOGIN ***********/

.loginIAM {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 30px;
    justify-content: space-around;
    gap: 50px;
}

.loginIAM h1 {
    background: none;
    color:white;
}

.log {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    padding: 40px;
    background-color: #1e1e1e;
    z-index: 1;
    border: 0;
    margin : 0 30px 0 30px;
}

.log form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 50%;
    height: auto;
}

.boutonAdmin {
    background: none;
    border: none;
    width: fit-content;
}

.log form input {
    border: 2px solid white;
    padding: 8px;
    font-family: Montserrat;
    letter-spacing: 5%;
    width: 100%;
}

.logcenter {
    display: flex;
    justify-content: center;
    width: 100%;
}

/*********** PAGE ADMINISTRATION ***********/

.verticalAdmin {
    width: 1px;
    height: auto;
    border: none;
    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #d9d9d9 20%,
        #f7f7f7 50%,
        #d9d9d9 80%,
        #6f6f6f 100%
    );
}

.fond {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px;
}

.fond-admin {
    min-height: 100vh;
    align-items: center;
}

.fond-tm {
    min-height: auto;
    align-items: flex-start;
}

.fond::before {
    height: 100%;
    content: "";
    position: fixed; /* le fond reste sur tout l’écran */
    inset: 0;
    background:
        linear-gradient(
            rgba(30,30,30,0.65), 
            rgba(30,30,30,0.65)),
        url("../assets/images/backgroundFinal.png");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#admin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 70px;
    width: 60%;
    padding: 50px;
    background-color: black;
    box-shadow: 0 4px 8px rgba(30, 30, 30, 0.6);
    z-index: 2;
}

#admin h1 {
    color: white;
    background: none;
}

#adminbtn {
    display: flex;
    gap: 30px;
    height: 100%;
}


/************************************* RESPONSIVE *************************************/

@media (max-width: 768px) {

    h1 {
        font-size: 32px;
        text-align: center;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 15px;
    }

/********** ADMINISTRATION **********/

    .adminLink a {
        font-size: 16px;
        padding: 0;
    }

    .adminLink a::after {
        bottom: -5px;
    }

    #admin {
        gap: 30px;
        padding: 40px 20px 40px 20px;
    }

    #adminbtn a {
        font-size: 15px;
    }

    #adminbtn {
        width: 80%;
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .verticalAdmin {
        width: 100%;
        height: 2px;
    }

    .lienAdmin::after {
        width: 60%;
        bottom: 0;
    }
    
/********** HEADER **********/

    .menu ul, .menuFooter ul, .contactF {
        display: none;
    }

    #burgerBTN {
        background: transparent;
        border: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        cursor: pointer;
        margin: 0 60px 0 40px;
    }

    #burgerBTN span {
        display: block;
        width: 50px;
        height: 6px;
        border: solid #1e1e1e 0.2px;
        background: white;
        transition: 0.4s;
        box-shadow: 0 2px 4px rgba(30, 30, 30, 0.8);
    }

    #burgerBTN:hover span {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }

    .iam {
        width: clamp(10px, 25vh, 150px);
        height: auto;
        top: 5vh;
    }

    .menuMobile {
        position: fixed;
        top: 0;
        right: -100%;
        display: flex;  
        flex-direction: column;
        align-items: flex-end;
        gap: 60px;
        width: 35%;
        height: 100vh;
        padding: 120px 30px;
        background-color: white;
        color: #1e1e1e;
        transition: right 0.4s ease;
        z-index: 3;
    }

    .menuMobile.ouvert {
        right: 0;
    }

    .menuMobile a, .menuMobileF a {
        text-decoration: none;
    }

    .menuMobile .cont, .menuMobileF .cont{
        filter: invert(1); /* blanc → noir */
    }

    .lienMenuM {
        display: flex;
        flex-direction: column;
        gap: 50px;
        align-items: flex-end;
    }

    .top {
        min-height: 50vh;
    }

    .top::after {
        background: linear-gradient(
        to bottom,
        rgba(30, 30, 30, 0.6) 0%,
        rgba(30, 30, 30, 0.6) 35%, 
        rgba(255, 240, 235, 0.6) 45%,
        rgba(255, 255, 255, 0) 65%
    );
    }

    .top::before {
        background-size: cover;
        background-position: top center;
    }

    .lienMenuM a {
        position: relative; /* Sert de repère au ::after */
        width: fit-content; /* Le lien garde juste sa largeur de texte */
        font-family: Oswald;
        color: #1e1e1e;
        font-size: 22px;
    }

    .lienMenuM a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -6px;      
        transform: translateX(-50%) scaleX(0);
        width: 60%;     
        height: 3px;
        background: linear-gradient(
            90deg,
            #6f6f6f 0%,
            #d9d9d9 30%,
            #d9d9d9 70%,
            #6f6f6f 100%
        );
        transform-origin: center;
        transition: transform 0.5s ease;
    }

    .lienMenuM a:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

    .lienMenuM a:hover {
        background: linear-gradient(
            90deg,
            #6f6f6f 0%,
            #d9d9d9 30%,
            #d9d9d9 70%,
            #6f6f6f 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .reseau {
        gap: 10px;
        padding: 0;
    }

    .reseau img {
        display: block;
        object-fit: contain;
        width: 50px;
        height: 50px;
    }

    .logo1 img {
        width: 150px;
        height: auto;
    }

/********** FOOTER **********/

    .menuMobileF {
        position: fixed;
        right: -100%;
        top: 0;
        width: 35%;
        height: 100vh;
        padding: 120px 30px;
        background: white;
        transition: right 0.4s ease;
        z-index: 3;
        display: flex;  
        flex-direction: column;
        align-items: flex-end;
        gap: 60px;
    }

    .menuMobileF.ouvert {
        right: 0;
    }

    #burgerBTNfooter {
        background: transparent;
        border: none;
        padding: 0;
        display: inline-flex;
        flex-direction: column;
        gap: 10px;
        cursor: pointer;
        margin-bottom: 50px;
    }

    #burgerBTNfooter span {
        display: block;
        width: 50px;
        height: 6px;
        border: solid #1e1e1e 0.2px;
        background: white;
        transition: 0.4s;
        box-shadow: 0 2px 4px rgba(30, 30, 30, 0.8);
    }

    #burgerBTNfooter:hover span {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }

    .mFooter p {
        font-size: 16px;
    }   

    .mFooter {
        gap: 20px;
    }

    .menuFooter {
        display: flex;
        justify-content: space-between;
    }

    .mentions {
        padding: 0;
        width: auto;
    }

    .confiance {
        font-size: 12px;
        width: 100%;
    }

    .r-c {
        padding: 0 20px 0 20px;
    }

/******* ACCUEIL *******/

    .presTexte {
        font-size: 15px;
        width: 100%;
    }

    #identite h4 {
        text-align: center;
        width: 70%;
    }   

    .pres {
        gap: 40px;
    }

    .enSavoirPlus {
        font-size: 16px;
        padding: 10px 20px;
    }

    .presentation {
        gap: 10px;
    }

    #projet {
        gap: 30px;
    }

    .cartes {
        gap: 30px;
        width: 100%;
    }

    #Formation {
        gap: 20px;
        padding: 20px;
    }

    .carte {
        padding: 20px;
        gap: 20px;
        width: 45%;
    }

    .temoignages {
        margin: 0 0 -80px 0;
        max-width: 95%;
    }

    #carrouselFlechePrecedente img, #carrouselFlecheSuivante img{
        width: 70px;
        height: 75px;
    }

    .carrousel-Fenetre {
        width: 100%;
        height: auto;
    }

    .avis {
        min-width: 220px;
    }

    .carteT {
        gap : 20px;
    }

    .avis p {
        font-size: 14px;
    }

    .avis h4 {
        font-size: 18px;
    }

/******* PAGES DES 4 FORMATIONS *******/

    .f-4 {
        gap: 50px;
    }

    .explication {
        gap: 80px;
        width: 95%;
    }

    .problematiqueF {
        flex-direction: column;
        gap: 40px;
    }

    .problematiqueF p {
        font-size: 14px;
    }

    .offreFormation {
        width: 95%;
    }

    .offreFormation p {
        font-size: 18px;
    }

    .prix-duree p {
        font-size: 20px;
    }

    .redirection p {
        font-size: 16px;
     }

     .redirection {
        gap: 15px;
        width: 95%;
     }

/******* BOUTIQUE *******/

        .boutique > p {
            font-size: 14px;
            width: 95%;
        }
    
        .prixB {
            font-size: 20px;
            padding: 12px;
        }

        .quantite {
            gap: 5px;
        }
    
        .quantite button {
            font-size: 24px;
        }
    
        .quantite input {
            font-size: 20px;
        }
    
        .decouvrir {
            font-size: 18px;
            padding: 10px 20px;
        }
    
        .reassurance {
            font-size: 18px;
        }
    
        .p-q {
            gap: 20px;
        }

        .jeuCartes {
            max-width: 95%;
            height: auto;
        }

/******* A PROPOS *******/

    .p-f {
        gap: 30px;
    }

    .photo {
        width: 40%;
    }

    .p-fCarte {
        gap: 30px;
    }

    .p-fTexte {
        width: 60%;
        font-size: 14px;
        overflow: hidden;
        padding: 20px;
    }

    .contenuPF {
        gap: 30px;
    }

    #qualite1 {
        gap: 5px;
        font-size: 14px;
    }

/******* CONTACT *******/

    #contact {
        gap: 30px;
    }

    .messageForm {
        width: 95%;
    }

    .t-st-Contact h4 {
        width: 60%;
    }

    .t-T {
        font-size: 32px;
        background-color: white;
        padding: 15px 15px 15px 0;
    }
}




















/*************************** PARTICULIERS / PROFESSIONNELS ***************************/

.Part-pro {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-direction: column;
    max-width: 95%;
}

.presentationP {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.presentationP p {
    font-size: 20px;
    width: 70%;
    line-height: 1.5;
    font-family: Montserrat;
    color: #1e1e1e;
    text-align: center;
    background-color: white;
}

.p-s {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.probleme-solution {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.probleme-solution ul li {
    font-size: 24px;
    list-style-type: none;
    width: 100%;
    line-height: 1.5;
    font-family: Montserrat;
    color: #1e1e1e;
    text-align: left;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.offre {
    gap: 30px;
    display: flex;
    flex-direction: column;
    width: 60%;
    align-items: center;
    gap: 60px;
    padding: 30px;
}

.offre p {
    font-size: 24px;
    line-height: 1.5;
    font-family: Montserrat;
    background-color: white;
}

.prix {
    font-size: 24px;
    font-family: Montserrat;
    color: white;
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    width: 15%;
}
