/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* 1) Neutralise le fond bleu global du carrousel Bootstrap */
#carouseltemform {
    background-color: #1355a2;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* 2) Supprime le fond gris des slides Bootstrap */
#carouseltemform .item {
    background: transparent !important;
    text-align: center; /* stabilise le centrage */
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Cadre blanc du témoignage */
.carousel-text {
    box-sizing: border-box;
    background: #ffffff;
    max-width: 700px;
    margin: 10px auto 60px;
    padding: 25px;
    border-radius: 8px;
    color: #333;
	
    /* centrage du contenu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
	
    /* hauteur uniforme */
    min-height: 300px;
    overflow: hidden;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Hauteur et marges adaptées sur mobile */
@media (max-width: 768px) {
    .carousel-text {
        min-height: 400px;
        margin-left: 15px;
        margin-right: 15px;
	}
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Bouton "Lire la suite" */
.lire-suite {
    display: inline-block;
    margin-top: 10px;
    color: #1355a2;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Texte complet / parties visible/cache */
.texte-complet,
.texte-complet .visible,
.texte-complet .cache {
    margin: 0;
    padding: 0;
}

.cache {
    display: none;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Titre du carrousel */
.titre-carousel-temform {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    padding: 25px;
    margin-bottom: 10px;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Icône quote (FontAwesome) */
.carousel-text::before {
    content: "\f10d";
    font-family: "FontAwesome";
    font-size: 28px;
    color: #1355a2;
    display: block;
    margin-bottom: 10px;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Auteur du témoignage */
.auteur {
	margin-top: 12px;
	color: #333;
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Nom et âge */
.auteur strong {
	display: block;
	font-weight: 700;
	color: #222;
	font-size: 15px;
	margin-bottom: 0 auto;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Fonction / rôle */
.auteur small {
	display: block;
	color: #666;
	font-size: 13px;
	font-weight: 400;
}

/* CADRE TEMOIGNAGES PAGE FORMATION E LEARNING */
/* Variante compacte pour petits écrans */
@media (max-width: 480px) {
	.auteur { font-size: 13px; margin-top: 10px; }
	.auteur strong { font-size: 14px; }
	.auteur small { font-size: 12px; }
}

/* PAGE FORMATION BILAN */
/* SOUS-MENU */
#subnav {
    position: sticky !important;
    top: 50px !important;
    z-index: 999 !important;
    background: #1a3689 !important;
    margin-top: 20px !important;
    padding: 6px !important;
}

/* PAGE FORMATION BILAN */
/* Wrapper scroll horizontal */
.subnav-wrapper {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 0 !important; /* FIX FIREFOX */
}
.subnav-wrapper::-webkit-scrollbar {
    display: none !important;
}

/* PAGE FORMATION BILAN */
/* Menu */
.subnav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* NECESSAIRE POUR LE SCRIPT */
    min-width: max-content !important; /* FIX FIREFOX */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* PAGE FORMATION BILAN */
/* Items */
.subnav-menu > li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* PAGE FORMATION BILAN */
/* Liens */
.subnav-menu > li > a {    
    display: inline-block !important;
    padding: 10px 8px 6px 8px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
}

/* PAGE FORMATION BILAN */
/* Hover : discret (pas de barre orange) */
.subnav-menu > li > a:hover {
    background-color: transparent !important;
    color: #ffffff !important;
    border-bottom: 3px solid transparent !important;
    box-shadow: none !important;
}

/* PAGE FORMATION BILAN */
/* Actif : barre blanche */
.subnav-menu > li.active > a {
    border-bottom: 3px solid #ffffff !important;
}

/* PAGE FORMATION BILAN */
/* Supprime TOUT Bootstrap résiduel */
#subnav .nav,
#subnav .navbar-nav,
#subnav .nav > li,
#subnav .navbar-nav > li,
#subnav .nav > li > a,
#subnav .navbar-nav > li > a {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* PAGE FORMATION BILAN */
/* PC : menu centré */
@media (min-width: 769px) {
    .subnav-menu {
        justify-content: center !important;
	}
}

/* PAGE FORMATION BILAN */
/* Mobile : aligné à gauche pour le scroll automatique */
@media (max-width: 768px) {
    .subnav-menu {
        justify-content: flex-start !important;
	}
}

/* PAGE FORMATION BILAN */
/* Améliore la détection des sections (FIX FIREFOX) */
section[id] {
    scroll-margin-top: 140px !important;
}

/* PAGE FORMATION BILAN */
/* Décalage automatique pour les ancres */
[id] {
	scroll-margin-top: 120px; /* ajuste selon la hauteur de ton header + sous-menu */
}

/* PAGE FORMATION BILAN */
/* FAQ */
#faq .panel-heading {
	justify-content: left !important;
	display: block !important;
}

/* PAGE FORMATION BILAN */
/* FAQ */
/* Chevron par défaut (fermé) */
.faq-toggle {
	transition: transform 0.3s ease;
}

/* PAGE FORMATION BILAN */
/* FAQ */
/* Chevron quand le panneau est OUVERT */
.panel-title a:not(.collapsed) .faq-toggle {
	transform: rotate(90deg);
}