/* =========================================================
   Buttons
========================================================= */

.btn-custom {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
    border-radius: 10px;
    font-size: 18px;
    padding: 10px 20px;
    width: 50%;
    margin-top: 20px;
}

.btn-custom:hover {
    background-color: #0056b3 !important;
    border-color: #004085 !important;
}

.btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
}


/* =========================================================
   General Layout & Containers
========================================================= */

body {
    background-color: #fdfefe;
}

.container {
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 5%;
    max-width: 900px;
}

.section-nos-services {
    display: flex;
    flex-direction: column;
    gap: 2%;
}

#calculer {
    max-width: 150px;
    margin-bottom: 5%;
}

.mb-3 {
    margin-bottom: 2%;
}

.form-container,
.my-form {
    margin: 5%;
}

/************************************************** MODAL ********************************************************/

/* Styles pour le modal */
.modal {
    display: none; /* Masqué par défaut */
    position: fixed; /* Assure que la modal reste fixée par-dessus */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Utilise un z-index élevé pour être au-dessus de tous les éléments */
}


.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    max-height: 50vh; /* Limite la hauteur pour forcer le scroll si nécessaire */
    overflow-y: auto; /* Active le scroll vertical si le contenu dépasse */
    text-align: center;
}

.modal-body {
    margin-bottom: 2%;
}

#acceptButton {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#acceptButton:hover {
    background-color: #45a049;
}


/* =========================================================
   Cards
========================================================= */

.card {
    border: none;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #007bff;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3%;
    border-radius: 10px;
}

.card-body {
    padding: 3%;
}

.card-payer {
    margin: auto;
    margin-top: 5%;
    max-width: 900px;
}


/* =========================================================
   Forms
========================================================= */

.form-label {
    font-weight: bold;
    color: #333;
}

/* Required field star */
.form-label.required::after {
    content: " *";
    color: red;
}

.form-control {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}

.form-select {
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}


/* =========================================================
   Result Box
========================================================= */

.result-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.result-box p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.result-box .result {
    font-size: 22px;
    font-weight: bold;
    color: #28a745;
}


/* =========================================================
   Utility Classes
========================================================= */

.text-primary {
    color: #1d5a99;
}

.text-blue-600 {
    color: #3b82f6;
}

.h-12 {
    height: 3rem;
}

.w-12 {
    width: 3rem;
}

.lucide {
    fill: none;
    stroke-width: 2;
}

/* a:visited {
    color: white;
    text-decoration: none;
} */

.lien-payer {
    margin: auto;
}


/* =========================================================
   Background White Card
========================================================= */

.bg-white {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.bg-white:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}


/* =========================================================
   Grid & Spacing
========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3%;
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-8 {
    gap: 2rem;
}

.p-8 {
    padding: 2rem;
}

.rounded-xl {
    border-radius: 1rem;
}

.transition-shadow {
    transition: box-shadow 0.3s ease-in-out;
}


/* =========================================================
   Services
========================================================= */

#nos-services {
    padding: 3rem 0;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}


/* =========================================================
   Video Carousel
========================================================= */

.video-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    overflow: auto;
}

.video-carousel {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
}

.video-carousel a img {
    width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-carousel a img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
    position: absolute;
    left: 10px;
    z-index: 2;
}

.arrow.right {
    position: absolute;
    right: 10px;
    z-index: 2;
}


/* =========================================================
   Presentation Cards (Premium)
========================================================= */

.espace-presentation {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 40px;
    margin-bottom: 60px;
    background: #000;
    color: #979292;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    font-family: 'Roboto', sans-serif;
}

.espace-presentation img {
    width: 600px;
    height: 600px;
    object-fit: cover;
    flex-shrink: 0;
}

.espace-presentation .texte-presentation {
    flex: 1;
    min-width: 300px;
}

.espace-presentation .texte-presentation h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #979292;
    text-align: center;
}

.espace-presentation .texte-presentation p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #979292;
}

.espace-presentation .texte-presentation p strong {
    font-weight: 700;
}

/* AMF logo */
.espace-presentation .amf-ligne {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.espace-presentation .amf-ligne img {
    height: 130px;
    width: auto;
}

/* César variant */
.espace-presentation.cesar {
    flex-direction: row-reverse;
}


/* =========================================================
   Article Layout
========================================================= */

.article-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

/* Sidebar */
.article-sidebar {
    /* position: sticky;
    top: 120px; */
    text-align: center;
}

.sticky-div {
    position: sticky;
    top: 120px;  /*dès que l'élément arrive à 120px du sommet de l'écran, alors il devient sticky*/         
    /* max-height: calc(100vh - 160px);  */
}

.author-photo {
    width: 90px;
    height: 90px;
    margin-bottom: 12px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #1d3557;
}

.author-role {
    font-size: 0.9rem;
    color: #6c757d;
}

.example {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  color: #555;
  margin-left: 1.5rem;
  padding-left: 1rem;
  border-left: 1px solid #e0e0e0;
}

.lecture-article {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: #333;
  background-color: #f5f5f5;
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.lecture-article .icon {
  font-size: 1rem;
}

/* Header */
.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 16px;
    color: #1d3557;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #6c757d;
}

.article-cover {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 16px;
}

/* Content */
.article-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: #2b2b2b;
}

.article-text h2 {
    font-size: 1.6rem;
    margin: 48px 0 16px;
    color: #1d3557;
}

/* Author box */
.article-author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 60px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
}

.article-author-box img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.written-by {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6c757d;
}

.redige-par {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 5%;
}

/* Related articles */
.related-articles {
    /* margin-top: 80px; */
    margin-top: 3%;
}

.related-articles h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.related-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-height: calc(2*140px + 24px);
    overflow: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}

.related-card {
    text-decoration: none;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.card-title {
    padding: 12px;
    font-weight: 500;
    color: #1d3557 !important;
}

.card-time {
    padding: 0 12px 12px;
    font-size: 0.85rem;
    color: #6c757d;
}

.liens-gros-titres {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background-color: aliceblue;
    margin-top: 15%;
    border-left: 1px solid rgba(0, 0, 0, 0.2); 
    padding-left: 10px; 
    padding: 2%;
}


.liens-gros-titres a {
    text-decoration: none;
    margin-bottom: 5%;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    /* height: 100%; */
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
}

ul, li {
    list-style-type: initial;
    margin: initial;
    padding: initial;
}

.navbar {
    height: 100%;
}

.nav-desktop {
    display: flex;
    flex-direction: row;
    background-color: black;
    /* height: 100%; */
}


.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 30%;
    text-decoration: none;
    text-align: center;
}

.navigation:hover {
    color: white;
    background-color: #00adef;
}

.logo {
    width: 100px;
    height: 100px;
    transition: filter ease;
}

.logo:hover {
    transform: rotate(15deg);
    filter: invert(100%); 
    filter: brightness(1.5);
}

.logo-caché {
    display: none;
}

/* Styles pour le bouton hamburger */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Masquer le bouton par défaut */
    flex-direction: column;
    gap: 5px;
    padding: 10px;
  }
  
  .menu-icon {
    background: white;
    width: 30px;
    height: 3px;
    border-radius: 2px;
  }


h1 {
    display: flex;
    flex-direction: row;
    justify-content:center;
    margin-top: 3%;
    margin-bottom: 2%;
    font-size: 20px;
  }


  

/************************************************** Mission *******************************************************/

/* Styles pour l'en-tête de mission */

.header-mission {
    background-color: #f8f9fa; /* Couleur de fond douce */
    color: #333; /* Couleur du texte */
    text-align: center; /* Centrer le texte */
    padding: 20px; /* Espacement intérieur */
    font-size: 1.5rem; /* Taille de la police */
    font-weight: 300; /* Légèrement moins gras pour un effet élégant */
    font-style: italic; /* Mettre le texte en italique */
    letter-spacing: 0.5px; /* Espacement entre les lettres pour plus de clarté */
    line-height: 1.5; /* Hauteur de ligne pour un meilleur espacement vertical */
    margin: 0; /* Supprimer les marges par défaut */
    font-family: 'Georgia', serif; /* Choix de police élégante */
}


/* Responsive design */
@media (max-width: 768px) {
    .header-mission {
        font-size: 1.2rem; /* Réduire la taille de la police sur les petits écrans */
        padding: 15px; /* Ajuster l'espacement intérieur */
    }
}


/***************************************** CALL TO ACTION **********************************************************/

.cta-button {
    position: fixed; /* La position fixe */
    bottom: 20px;
    right: 20px;
    
    background-color: #ff6f61; /* Couleur du bouton */
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    z-index: 1000; /* S'assurer que le bouton est au-dessus des autres éléments */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Pour l'effet de disparition */
  }
  
  .cta-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .cta-button.hidden {
    opacity: 0;
    visibility: hidden;
  }



/**************************************** Partie Recherche ***********************************************/

#partie-recherche {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 5%;
    margin-top: 5%;
    margin-bottom: 5%;
}

#barre-recherche {
    height: 100%;
    width: 30%;
}

#bouton-recherche {
    height: 100%;
    width: 8%;
}

/* On crée un effet pour surligner un texte */
.highlight {
    background-color: yellow;
}

#conteneur-page {
    background: #fff;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    text-align: justify;
}


h2 {
    margin-top: 20px;
    /* border-bottom: 2px solid #333; */
    padding-bottom: 5px;
    color: #00adef;
}

h3 {
    margin-top: 6%;
}

ul {
    margin: 15px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 3%;
}

.highlight {
    background-color: yellow;
    padding: 0.2em;
}


/********************************** Cadre flexibles des photos des analystes *****************************/

/* le parent de ce conteneur : #conteneur-page */

.conteneur-photos-analystes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}

.espace-profil-analyste {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-left: 1%;
    padding-right: 1%;
}

.espace-profil-analyste img{

    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    min-height: 180px;
    max-width: 250px;
    max-height: 250px; /* Par exemple, limite la hauteur à 600px */
}

.espace-profil-analyste  p {
    margin: 10px 0; /* Marge entre les paragraphes */
    line-height: 1.5; /* Hauteur de ligne pour une meilleure lisibilité */
    font-size: 16px; /* Taille de la police */
    color: #333; /* Couleur du texte */
    font-family: 'Playfair Display', serif; /* Police pour les paragraphes */
    box-sizing: content-box;
}


/******************************************* Nos partenaires ********************************************/

.nos-partenaires {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 20px;
    margin-top: 10%;
    margin-bottom: 3%;
}

.nos-commerciaux {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 20px;
    margin-top: 10%;
    margin-bottom: 3%;
} 

#conteneur-page2 {
    display: flex;
    align-items: stretch;
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: #f4f4f4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-height: 500px; /* Hauteur minimum pour garantir un espace suffisant */
}

.description-alexandre-photo-display-none {
    display: none;
}

.description-alexandre-photo {
    flex: 1.3;
    margin-right: 20px;
    display: flex; /* Utilisation de Flexbox pour que l'image s'adapte parfaitement */
    align-items: center;
    justify-content: center;
}

.description-alexandre-photo img {
    /* width: 100%; */
    height: 100%; /* Hauteur auto pour que l'image conserve ses proportions */
    max-height: 100%; /* Empêche l'image de dépasser la hauteur du conteneur */
    object-fit: contain; /* Empêche le rognage de l'image, elle sera entièrement visible */
    border-radius: 10px;
}

.description-alexandre-texte {
    flex: 1.7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

strong {
    color: #d0d4d7;
}



/******************************************** Accordions ************************************************/

.accordion-button {

    font-family: Arial, sans-serif; 
    background-color: #f8f9fa;;
    color: black;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    font-weight: 400;
    border: none;
    outline: none;
    transition: background-color 0.4s ease;
    font-size: 18px;
    display: flex;
    justify-content: space-between; /* Espace entre le texte et la flèche */
    align-items: center;
}

.accordion-button i {
    margin-right: 10px; /* Ajouter un espace entre l'icône et le texte */
}

.accordion-button:hover {
    background-color: #ddd;
}

.accordion-content {
    max-height: 0; /* Par défaut, la section est fermée */
    overflow: hidden;
    padding: 0 10px;
    background-color: white;
    transition: max-height 0.4s ease-out; /* Transition fluide pour l'ouverture */
    border-left: 4px solid #00adef;
}

.accordion-content p {
    margin: 10px 0;
}

/* Style pour l'icône flèche */
.arrow {
    margin-left: auto; /* Force la flèche à aller à l'extrême droite car ça pousse tout vers la gauche */
    font-size: 16px;
    transition: transform 0.3s ease; /* Transition pour la flèche */
}

/* Lorsque le bouton est actif, la flèche tourne */
.accordion-button.active .arrow {
    transform: rotate(180deg); /* Tourner la flèche vers le haut */
}


/******************************* Partie Vidéos intégrées par le code générateur du DOM **********************/

#video-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.video-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    width: 100%; /* Utilisation de pourcentage pour les dimensions */
    max-width: 560px; /* Largeur maximale */
    margin-bottom: 20px;
    height: 300px;
    min-height: 300px;
}

.video-section iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.thumbnail {
    cursor: pointer;
    width: 100%;
    height: 100%;
    /* min-height: 300px; */
}

.video-frame {
    width: 100%;
    height: 100%;
    display: none;
}

/**************************************** LIEN PAIEMENT STRIPE ***********************************************/

.lien-paiement {
    position: fixed;
    right: 15px;                 /* à droite */
    top: 20%;
    transform: translateY(-50%);
    z-index: 9999;

    width: 10%;
    min-width: 200px;
    opacity: 0.7;

    padding: 6px 12px;
    font-size: 14px;

    text-align: center;
    text-decoration: none;       /* enlève le style lien */
   background-color: #0056b3 !important;
    border-color: #004085 !important;
    color: #fff;
    border-radius: 4px;
}

.lien-paiement:hover {
    opacity: 1;
    cursor: pointer;
}


/******************************************* FOOTER ************************************************************/


.footer {
    height: 30%;
    display: flex;
    flex-direction: row;
    background-color: black;
    /* background-color: #333; */
    flex-shrink: 0;
    padding-bottom: 2%;
}

.conteneur-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.presentation-ours {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.lien-linkedin {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
    max-height: 50%;
}

.lien-linkedin:hover {
    transform: rotate(15deg);
    filter: invert(100%); 
    filter: brightness(1.5);
}

.photo-megrours {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Contient l'image proportionnellement */
    transition: filter ease;
}

.prenom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 5%;
    color: white;
}

.coordonnees {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 5%;
    color: white;
}
.liste-diplomes-ours {
    color: white;
    list-style-type: disc; /* Assure que les puces sont des disques */
    padding-left: 20px; /* Ajoute de l'espace pour les puces */
    margin: 0; /* Réinitialise les marges pour éviter les conflits */
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

#contact1 {
    margin-bottom: 1%;
    font-weight: bold;
}

#contact2 {
    color: white;
}

#contact2:hover {
    color:#00adef;
}

#contact2:active {
    color: cyan;
}

#contact2:visited {
    color: purple;
}

.presentation-ourse {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.photo-magrours {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Contient l'image proportionnellement */
}

.liste-diplomes-ourse {
    color: white;
    list-style-type: disc; /* Assure que les puces sont des disques */
    padding-left: 20px; /* Ajoute de l'espace pour les puces */
    margin: 0; /* Réinitialise les marges pour éviter les conflits */
}






/********************************************* Media queries **************************************************/

@media only screen and (max-width: 600px) {


    header {
        margin-bottom: 10%;
    }

    .nav-desktop {
        display: none; /* Masquer le menu par défaut sur les petits écrans */
        flex-direction: column; /* Disposer les éléments du menu en colonne */
        width: 100%; /* Occuper toute la largeur de l'écran */
        position: absolute; /* Positionner absolument par rapport au conteneur parent */
        top: 100%; /* Positionner juste en dessous du bouton hamburger */
        left: 0; /* Aligner à gauche de l'écran */
        background-color: #333; /* Couleur de fond du menu */
        z-index: 1000; /* Assurer que le menu apparaît au-dessus des autres éléments */
    }
    
      .nav-desktop.show {
        display: flex; /* Afficher le menu lorsque la classe 'show' est ajoutée */
        background-color: black;
        position: absolute;
        width: 30%;
        position: absolute; /* Position absolue */
        top: 100%;          /* Distance depuis le haut */
        left: 0; 
      }

      .nav-desktop a {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-bottom: 9%;
      }

      .menu-toggle {
        display: flex; /* Afficher le bouton hamburger sur les petits écrans */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: black;
        width: 30%;
      }

      .menu-icon {
        margin-bottom: 10%;
        width: 80%;
      }

      .navbar {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background-color: #333;
      }

      .logo-caché {
        display: block;
        width: 100px;
        height: 100px;
        transition: filter ease;
    }

    .navigation-logo {
        width: 90%;
    }
    
    .logo-caché:hover {
        transform: rotate(15deg);
        filter: invert(100%); 
        filter: brightness(1.5);
    }

    /************************************ section analystes financiers ************************************/

.conteneur-photos-analystes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.espace-profil-analyste {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align:center;
}

.conteneur-photos-analystes img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    }

.conteneur-photos-analystes  p {
    margin: 10px 0; /* Marge entre les paragraphes */
    line-height: 1.5; /* Hauteur de ligne pour une meilleure lisibilité */
    font-size: 14px; /* Taille de la police */
    color: #333; /* Couleur du texte */
    font-family: 'Playfair Display', serif; /* Police pour les paragraphes */
}

.dernier-paragraphe-analystes {
    margin-bottom: 5%;
}

    /************************************ section nos partenaires ******************************************/

#conteneur-page2 {
    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 20px;
    background-color: #f4f4f4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-height: 500px; /* Hauteur minimum pour garantir un espace suffisant */
}


.alexandre {
    display: none;
}


.description-alexandre-photo-display-none {
    flex: 1.3;
    display: flex; /* Utilisation de Flexbox pour que l'image s'adapte parfaitement */
    align-items: center;
    justify-content: center;
}


.description-alexandre-photo-display-none img {
    /* width: 100%; */
    height: 100%; /* Hauteur auto pour que l'image conserve ses proportions */
    max-height: 100%; /* Empêche l'image de dépasser la hauteur du conteneur */
    object-fit: contain; /* Empêche le rognage de l'image, elle sera entièrement visible */
    border-radius: 10px;
    margin-right: 0;
}


.description-alexandre-texte {
    flex: 1.7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    

    
    /************************************* vidéos bas de page ***********************************************/

.thumbnail {
    cursor: pointer;
    width: 80%;
    height: 70%;
}
    

      /***************************************************************************************************/

.footer {
    height: 100%;
}

.conteneur-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.presentation-ours {
    width: 100%;
    margin-bottom: 4%;
}

.contact {
    margin-bottom: 4%;
    width: 100%;
}

.presentation-ourse {
    width: 100%;
}

ul {
    width: 100%;
}


.liste-diplomes-ours {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    }

.liste-diplomes-ourse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    }


}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .espace-presentation,
    .espace-presentation.cesar {
        flex-direction: column;
        text-align: center;
    }

    .espace-presentation img {
        width: 200px;
        height: 200px;
    }

    .espace-presentation .texte-presentation h2 {
        font-size: 1.75rem;
    }

    .espace-presentation .texte-presentation p {
        font-size: 1rem;
    }

    .espace-presentation .amf-ligne img {
        height: 70px;
    }

    footer {
        margin-top: 35%;
    }

    .article-text .example {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 0.95rem;
        color: #555;
        margin-left: 1.5rem;
        padding-left: 1rem;
        border-left: 1px solid #e0e0e0;
    }
}

