/* Styles personnalisÃ©s pour la navbar BBS avec coins arrondis sur desktop uniquement */
.navbar.bbs-rounded {
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

@media (max-width: 991.98px) {
    .navbar.bbs-rounded {
        border-top-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
        width: 98vw;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .navbar.bbs-margin-left {
        margin-left: 0 !important;
    }
    .navbar-toggler.bbs-margin-left {
        margin-left: 0 !important;
    }
}

@media (min-width: 992px) {
    .navbar.bbs-margin-left .navbar-nav {
        margin-left: 50px !important;
    }
    .navbar-toggler.bbs-margin-left {
        margin-left: 30px !important;
    }
}
/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BBS School â Design system
   Couleurs : primaire #004185 (bleu BBS), secondaire (Customizer)
   Typo : Plus Jakarta Sans. Boutons et cartes cohÃ©rents sur tout le site.
   âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
    --bbs-font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --bbs-primary-hex: #004185;
    --bbs-card-radius: 8px;
    --bbs-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    --bbs-font-weight-body: 400;
    --bbs-font-weight-medium: 500;
    --bbs-font-weight-semibold: 600;
    --bbs-nav-link-py: 0.7rem;
}

body,
h1, h2, h3, h4, h5, h6,
.navbar .navbar-nav .nav-link,
.btn,
.section-title,
.service-item h3,
.testimonial-title,
.testimonial-text,
.donation-item .h3,
.event-item .h3,
.team-item .team-detail h3 {
    font-family: var(--bbs-font-sans);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Top Bar ***/
.top-bar {
    height: 90px;
    padding: 0 90px;
}

.top-bar h6 {
    letter-spacing: 1px;
}


/*** Nav Bar â bande bleue pleine largeur ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.nav-bar-full {
    max-width: 100%;
}

/* Lorsque la navbar devient fixe, la bande bleue reste inchangÃ©e (non transparente) */
.nav-bar.fixed-top,
.nav-bar.fixed-top .navbar {
    background-color: #004185 !important;
    background-image: none !important;
}
.nav-bar.fixed-top {
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #797E88; /* couleur secondaire BBS â appliquÃ©e aux textes du menu */
    font-size: 18px;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white); /* survol/actif : blanc pour rester lisible sur le bleu */
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    margin-right: 0;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid var(--bs-white);
    }
}

/* ââ Menu dÃ©roulant Â« Programmes Â» : hiÃ©rarchie, animation, responsive âââââââ */
.bbs-dropdown-menu {
    min-width: 320px;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.bbs-dropdown-header {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bs-primary);
    padding: 0.6rem 1.25rem 0.25rem;
    margin-top: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bbs-dropdown-header:first-child {
    margin-top: 0;
}

.bbs-dropdown-menu .dropdown-item {
    padding: 0.5rem 1.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bbs-dropdown-item-sub {
    padding-left: 2rem !important;
    font-size: 0.9rem;
    color: var(--bs-secondary);
}

.bbs-dropdown-menu .dropdown-item:hover,
.bbs-dropdown-menu .dropdown-item:focus {
    background-color: rgba(0, 65, 133, 0.08);
    color: var(--bs-primary);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu,
    .navbar .nav-item .bbs-dropdown-menu {
        display: block;
        border: 1px solid rgba(0, 0, 0, 0.06);
        margin-top: 0;
        top: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        min-width: 320px;
    }

    .navbar .nav-item:hover .dropdown-menu,
    .navbar .nav-item:hover .bbs-dropdown-menu,
    .navbar .nav-item .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar .nav-item.dropdown:hover .dropdown-toggle {
        color: var(--bs-white);
    }

    /* Ouverture au clavier / au clic (main.js pose .show et aria-expanded). */
    /* visibility bascule sans délai : un lien encore « hidden » ne peut pas
       recevoir le focus clavier. */
    .navbar .nav-item.show > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
    }

    /* Échap ferme le menu même si la souris est encore dessus. */
    .navbar .nav-item.bbs-dd-dismissed:not(.show) > .dropdown-menu {
        visibility: hidden;
        opacity: 0;
    }
}

/* Lien actif dans un sous-menu parcouru au clavier : repère bien visible. */
.navbar .dropdown-menu a:focus-visible {
    outline: 2px solid var(--bs-primary, #004185);
    outline-offset: -2px;
    background-color: rgba(0, 65, 133, 0.08);
}

.navbar-dark .navbar-nav .nav-link:focus-visible,
.navbar .navbar-toggler:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .bbs-dropdown-menu {
        min-width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 0;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 6px;
    }

    .navbar .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .navbar .navbar-nav .dropdown.show .dropdown-menu {
        display: block;
    }

    .bbs-dropdown-header {
        padding-left: 1.5rem;
        margin-top: 0.75rem;
    }

    .bbs-dropdown-header:first-child {
        margin-top: 0;
    }

    .bbs-dropdown-menu .dropdown-item,
    .bbs-dropdown-item-sub {
        padding: 0.5rem 1.5rem !important;
        color: rgba(255, 255, 255, 0.9);
    }

    .bbs-dropdown-item-sub {
        padding-left: 2.5rem !important;
    }

    .bbs-dropdown-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--bs-white);
    }

    .navbar .nav-item .nav-link.dropdown-toggle::after {
        transition: transform 0.25s ease;
    }

    .navbar .nav-item.dropdown.show .nav-link.dropdown-toggle::after {
        transform: rotate(180deg);
    }
}


/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: var(--bs-primary, #004185);
}

/* Chaque slide : flex pour centrer le contenu verticalement, overflow pour contenir le fond floutÃ© */
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
}

/* Calque image plein cadre â flou appliquÃ© en inline sur chaque slide (filter: blur) */
.header-carousel .header-carousel-item__bg {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    z-index: 0;
}

/* Voile lÃ©ger : lisibilitÃ© du texte sans assombrir excessivement l'arriÃ¨re-plan */
.header-carousel .header-carousel-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(255, 255, 255, .18) 0%,
        rgba(0, 65, 133, .28) 40%,
        rgba(0, 65, 133, .12) 100%);
    z-index: 1;
}

.header-carousel .header-carousel-item > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.header-carousel .carousel-img {
    position: relative;
    z-index: 2;
}

/* Image illustrative nette Ã  droite (par-dessus le fond flou) */
.header-carousel .carousel-img img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
    filter: none;
}

/* Forme d'image campus (vie estudiantine) : coins arrondis asymÃ©triques */
.bbs-img-campus-shape {
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    pointer-events: auto;
}

.header-carousel .owl-nav .owl-prev {
    margin-right: auto;
}

.header-carousel .owl-nav .owl-next {
    margin-left: auto;
}

/* Sur mobile : masquer les flÃ¨ches du hero carousel + hauteur rÃ©duite */
@media (max-width: 991.98px) {
    .header-carousel .owl-nav {
        display: none !important;
    }
    .header-carousel .header-carousel-item {
        min-height: 0;
    }
    .header-carousel .header-carousel-item__bg {
        transform: scale(1.06);
    }
    /* Image illustrative : plus basse sur mobile, sous le texte (ordre DOM conservÃ©) */
    .header-carousel .carousel-img img {
        height: 240px;
        margin-top: 1.25rem;
    }
}

.page-header {
    position: relative;
    background: linear-gradient(120deg, #e9f0fb 0%, #f4f7fc 55%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 65, 133, .08);
}

/* Quand une image de fond est dÃ©finie : voile clair pour garder titre + fil d'Ariane lisibles */
.page-header.page-header--image {
    min-height: clamp(180px, 22vw, 400px);
    background-image: var(--bbs-banner-image, none);
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
}
@media (max-width: 767.98px) {
    .page-header.page-header--image {
        min-height: clamp(140px, 32vw, 220px);
        background-position: center 35%;
    }
}
.page-header.page-header--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 55%, rgba(255, 255, 255, .55) 100%);
}
.page-header.page-header--image > .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    letter-spacing: -.01em;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
    --bs-breadcrumb-divider: "/";
    content: "/" !important;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 15px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}


/*** Hero vidÃ©o (style institutionnel full-bleed) ***/
.bbs-hero-video {
	position: relative;
	width: 100%;
	min-height: min(78vh, 720px);
	height: min(78vh, 720px);
	overflow: hidden;
	background: #0a1628;
}
.bbs-hero-video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
.bbs-hero-video__poster {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.bbs-hero-video__veil {
	position: absolute;
	inset: 0;
	background: #000;
	pointer-events: none;
	z-index: 1;
}
.bbs-hero-video__cta {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.6rem;
	border-radius: 9999px;
	background: var(--bs-secondary, #aab185);
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none !important;
	border: none;
	transition: background-color 0.25s ease, transform 0.2s ease;
	/* Défaut : bas centré */
	left: 50%;
	bottom: 12%;
	top: auto;
	right: auto;
	transform: translateX(-50%);
}
.bbs-hero-video__cta--bottom-center { left: 50%; right: auto; bottom: 12%; top: auto; transform: translateX(-50%); }
.bbs-hero-video__cta--bottom-left   { left: 6%;  right: auto; bottom: 12%; top: auto; transform: none; }
.bbs-hero-video__cta--bottom-right  { left: auto; right: 6%;  bottom: 12%; top: auto; transform: none; }
.bbs-hero-video__cta--center        { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.bbs-hero-video__cta--top-center    { left: 50%; right: auto; top: 12%; bottom: auto; transform: translateX(-50%); }
.bbs-hero-video__cta--top-left      { left: 6%;  right: auto; top: 12%; bottom: auto; transform: none; }
.bbs-hero-video__cta--top-right     { left: auto; right: 6%;  top: 12%; bottom: auto; transform: none; }
.bbs-hero-video__cta:hover,
.bbs-hero-video__cta:focus {
	background: var(--bs-primary, #004185);
	color: #fff !important;
}
.bbs-hero-video__cta--bottom-center:hover,
.bbs-hero-video__cta--bottom-center:focus,
.bbs-hero-video__cta--top-center:hover,
.bbs-hero-video__cta--top-center:focus { transform: translateX(-50%) translateY(-2px); }
.bbs-hero-video__cta--center:hover,
.bbs-hero-video__cta--center:focus { transform: translate(-50%, calc(-50% - 2px)); }
.bbs-hero-video__cta--bottom-left:hover,
.bbs-hero-video__cta--bottom-right:hover,
.bbs-hero-video__cta--top-left:hover,
.bbs-hero-video__cta--top-right:hover,
.bbs-hero-video__cta--bottom-left:focus,
.bbs-hero-video__cta--bottom-right:focus,
.bbs-hero-video__cta--top-left:focus,
.bbs-hero-video__cta--top-right:focus { transform: translateY(-2px); }
.bbs-hero-video__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
@media (max-width: 767.98px) {
	.bbs-hero-video {
		min-height: 52vh;
		height: 52vh;
	}
	.bbs-hero-video__cta {
		bottom: 10%;
		padding: 0.55rem 1.2rem;
		font-size: 0.88rem;
		max-width: 90%;
		text-align: center;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bbs-hero-video__media[data-bbs-hero-video] {
		/* JS pause ; poster reste visible */
	}
}

/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg_bbs.png) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}


/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}



/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}


/*** Nos chiffres clÃ©s â design moderne, sans fond colorÃ© ***/
.bbs-stats-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 65, 133, .05), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(170, 177, 133, .12), transparent 45%),
        #ffffff;
}

.bbs-stats-section .bbs-stats-grid {
    position: relative;
}

.bbs-stats-section .bbs-stat-card {
    position: relative;
    background: transparent;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

/* SÃ©parateur fin entre colonnes (desktop) â pas de bloc de couleur */
.bbs-stats-section .bbs-stat-col:not(:last-child) .bbs-stat-card::after {
    content: "";
    position: absolute;
    top: 18%;
    right: -1px;
    height: 64%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 65, 133, .14), transparent);
}

.bbs-stats-section .bbs-stat-card:hover {
    transform: translateY(-8px);
}

.bbs-stats-section .bbs-stat-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.7rem;
    color: var(--bbs-primary, #004185);
    background: linear-gradient(145deg, rgba(0, 65, 133, .10), rgba(170, 177, 133, .14));
    box-shadow: inset 0 0 0 1px rgba(0, 65, 133, .08);
    margin-bottom: .65rem;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), color .4s ease, background .4s ease, box-shadow .4s ease;
}

.bbs-stats-section .bbs-stat-card:hover .bbs-stat-icon {
    transform: rotate(-6deg) scale(1.08);
    color: #fff;
    background: linear-gradient(145deg, var(--bbs-primary, #004185), var(--bbs-primary-dark, #002f60));
    box-shadow: 0 14px 30px rgba(0, 65, 133, .28);
}

.bbs-stats-section .bbs-stat-figure {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.bbs-stats-section .bbs-stat-number {
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(120deg, var(--bbs-primary, #004185), #2f6fb0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--bbs-primary, #004185);
}

.bbs-stats-section .bbs-stat-suffix {
    font-weight: 800;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin-left: .12em;
    color: var(--bbs-accent, #aab185);
    -webkit-text-fill-color: var(--bbs-accent, #aab185);
}

.bbs-stats-section .bbs-stat-label {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    color: var(--bbs-muted, #5c6b7a);
    margin-top: .35rem;
    max-width: 16ch;
    line-height: 1.3;
}

/* Compat : grille de stats colorÃ©es rÃ©utilisÃ©e hors accueil (ex. page Programmes) */
.bbs-stats-grid:not(.row) {
    box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
    border-radius: 12px;
    overflow: hidden;
}

.bbs-stat-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    transition: transform .35s ease, background .35s ease;
}

/* Le survol ne cible que .bbs-stat-icon-wrapper (absent de l'accueil, qui utilise .bbs-stat-icon) */
.bbs-stat-card:hover .bbs-stat-icon-wrapper {
    transform: scale(1.1);
    background: rgba(255, 255, 255, .3);
}


/*** Case bleue Inscrivez-vous ***/
.bbs-highlight-cta {
    min-height: 180px;
}


/*** Mot du Directeur GÃ©nÃ©ral â photo + discours ***/
.bbs-director-photo-wrap img {
    max-width: 280px;
    width: 100%;
}


/* ââ Contenu Ã©diteur (page-content / entry-content) âââââââââââââââââââââââ */

.entry-content,
.page-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #374151;
}

.entry-content h2,
.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-top: 2rem;
    margin-bottom: .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid rgba(0, 65, 133, 0.12);
}

.entry-content h3,
.page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.entry-content h4,
.page-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.25rem;
    margin-bottom: .4rem;
}

.entry-content p,
.page-content p {
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.entry-content li,
.page-content li {
    margin-bottom: .35rem;
}

.entry-content ul li::marker {
    color: var(--bs-primary);
}

.entry-content strong,
.page-content strong {
    color: #1e293b;
    font-weight: 600;
}

.entry-content a,
.page-content a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover,
.page-content a:hover {
    color: var(--bs-secondary);
}

.entry-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

.entry-content table th,
.page-content table th {
    background: var(--bs-primary);
    color: #fff;
    padding: .6rem 1rem;
    text-align: left;
    font-weight: 600;
}

.entry-content table td,
.page-content table td {
    padding: .55rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.entry-content table tr:nth-child(even) td,
.page-content table tr:nth-child(even) td {
    background: #f8fafc;
}

.entry-content blockquote,
.page-content blockquote {
    border-left: 4px solid var(--bs-primary);
    background: #eff6ff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #1e40af;
}

.entry-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: .75rem 0;
}

.entry-content .wp-caption,
.page-content .wp-caption {
    max-width: 100%;
}

.entry-content .wp-caption-text,
.page-content .wp-caption-text {
    font-size: .82rem;
    color: #64748b;
    text-align: center;
    margin-top: .35rem;
}


/* ââ Page article (single.php) âââââââââââââââââââââââââââââââââââââââââââââ */

.single-article-meta .badge {
    font-size: .85rem;
}

.single-article-nav .event-item {
    border-radius: 8px;
}


/* ââ Cards formations diplÃ´mantes ââââââââââââââââââââââââââââââââââââââââââ */

.page-template-page-formations-diplomantes .service-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}

.page-template-page-formations-diplomantes .service-item:hover {
    box-shadow: 0 12px 40px rgba(0, 65, 133, 0.12);
    transform: translateY(-4px);
}

/* ââ Breadcrumb page-header ââââââââââââââââââââââââââââââââââââââââââââââââ */

.page-header .breadcrumb-item a {
    color: var(--bs-secondary);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: #475569;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BBS SCHOOL â AMÃLIORATIONS ERGONOMIE UX/UI
   Objectif : lisibilitÃ©, hiÃ©rarchie visuelle, espacements, accessibilitÃ©,
   cohÃ©rence boutons/formulaires, mobile-first, performances perÃ§ues.
   Aucun changement de charte graphique : couleurs/typos BBS prÃ©servÃ©es.
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* ââ 1. VARIABLES UX & TRANSITIONS GLOBALES âââââââââââââââââââââââââââââââââ */
:root {
    --bbs-transition:  0.22s ease;
    --bbs-radius-sm:   6px;
    --bbs-radius-md:   10px;
    --bbs-radius-lg:   16px;
    --bbs-shadow-sm:   0 2px 8px rgba(0,0,0,.07);
    --bbs-shadow-md:   0 6px 24px rgba(0,0,0,.10);
    --bbs-shadow-lg:   0 12px 40px rgba(0,0,0,.13);
    --bbs-focus-ring:  0 0 0 3px rgba(0,65,133,.25);
}

/* ââ 2. FOCUS VISIBLE â ACCESSIBILITÃ ââââââââââââââââââââââââââââââââââââââ */
:focus-visible {
    outline: none;
    box-shadow: var(--bbs-focus-ring) !important;
}
a:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #004185;
    outline-offset: 3px;
}

/* ââ 3. LISIBILITÃ GÃNÃRALE ââââââââââââââââââââââââââââââââââââââââââââââââ */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: #1e293b;
    line-height: 1.7;
}

p {
    line-height: 1.8;
    color: #374151;
}

/* Titres plus lisibles */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* HiÃ©rarchie h2 sur les pages de formation */
h2.display-6 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

/* ââ 4. TOPBAR â LISIBILITÃ & ESPACEMENT âââââââââââââââââââââââââââââââââââ */
.top-bar {
    height: auto;
    min-height: 80px;
    padding: 14px 80px;
}

.top-bar h6 {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: 2px;
}

.top-bar span {
    font-size: .9rem;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .top-bar {
        padding: 14px 16px;
        text-align: center;
    }
}

/* ââ 5. NAVBAR â LISIBILITÃ & HOVER AMÃLIORÃ âââââââââââââââââââââââââââââââ */
.navbar .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: 18px 0;
    transition: color var(--bbs-transition);
    position: relative;
}

/* Liens du menu : PAS de soulignement (barre animÃ©e retirÃ©e Ã  la demande).
   L'Ã©tat actif/survol se traduit uniquement par la couleur du texte. */
.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link.active {
    text-decoration: none;
}

/* ââ 6. DROPDOWN â ANIMATIONS & LISIBILITÃ âââââââââââââââââââââââââââââââââ */
.bbs-dropdown-menu {
    min-width: 340px;
    border-radius: var(--bbs-radius-md);
    box-shadow: var(--bbs-shadow-lg);
    border: 1px solid rgba(0,0,0,.07);
    padding: .75rem 0;
}

.bbs-dropdown-header {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #004185;
    padding: .7rem 1.25rem .3rem;
    margin-top: .5rem;
    border-bottom: 1px solid rgba(0,65,133,.1);
    background: rgba(0,65,133,.03);
}

.bbs-dropdown-menu .dropdown-item {
    padding: .5rem 1.25rem;
    font-size: .9rem;
    border-radius: 0;
    transition: background var(--bbs-transition), color var(--bbs-transition), padding-left var(--bbs-transition);
}

.bbs-dropdown-item-sub {
    padding-left: 2rem !important;
    font-size: .875rem;
    color: #475569;
}

.bbs-dropdown-menu .dropdown-item:hover,
.bbs-dropdown-menu .dropdown-item:focus {
    background: rgba(0,65,133,.07);
    color: #004185;
    padding-left: 1.5rem;
}

.bbs-dropdown-item-sub:hover,
.bbs-dropdown-item-sub:focus {
    padding-left: 2.25rem !important;
}

/* ââ 7. BOUTONS â COHÃRENCE & ÃTATS ââââââââââââââââââââââââââââââââââââââââ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .9rem;
    line-height: 1.2;
    letter-spacing: .01em;
    border-radius: var(--bbs-radius-sm);
    transition: all var(--bbs-transition);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Boutons compacts : hauteur proportionnÃ©e (corrige le conflit avec min-height) */
.btn-sm {
    min-height: 36px;
    font-size: .82rem;
    padding: .4rem 1.1rem;
}

/* Micro-interaction cohÃ©rente : la flÃ¨che glisse Ã  droite au survol (toutes pages) */
.btn .fa-arrow-right,
.btn .fa-chevron-right {
    transition: transform .3s var(--bbs-ease-out, ease);
}
.btn:hover .fa-arrow-right,
.btn:hover .fa-chevron-right {
    transform: translateX(4px);
}

/* Les <a class="btn"> dans les cartes .service-item NE doivent PAS hÃ©riter
   du style Â« lien-texte Â» du thÃ¨me (padding:0, 14px, MAJUSCULES, ::after parasite).
   Corrige les boutons Â« En savoir plus Â» / Â« DÃ©couvrir Â» sur toutes les pages. */
.service-item a.btn {
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-size: .85rem;
    line-height: 1.2;
    text-transform: none;
}
.service-item a.btn::after {
    display: none !important;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    box-shadow: 0 2px 8px rgba(0,65,133,.25);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(0,65,133,.35);
}

.btn-secondary {
    box-shadow: 0 2px 8px rgba(170,177,133,.25);
}

.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-light {
    border-width: 2px;
}

/* Taille minimale tactile (accessibilitÃ© mobile) */
.btn {
    min-height: 40px;
}

/* ââ 8. CARTES DE FORMATION â HOVER AMÃLIORÃ âââââââââââââââââââââââââââââââ */
.service-item {
    border-radius: var(--bbs-radius-md);
    box-shadow: var(--bbs-shadow-sm);
    transition: transform var(--bbs-transition), box-shadow var(--bbs-transition);
    background: #fff;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--bbs-shadow-md);
}

/* Cartes de formation avec fond bg-light */
.bg-light .service-item {
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* ââ 9. FORMULAIRES â ERGONOMIE & ACCESSIBILITÃ ââââââââââââââââââââââââââââ */
.form-control,
.form-select {
    border-radius: var(--bbs-radius-sm);
    border: 1.5px solid #cbd5e1;
    padding: .6rem 1rem;
    font-size: .9rem;
    transition: border-color var(--bbs-transition), box-shadow var(--bbs-transition);
    background: #fff;
    color: #1e293b;
}

.form-control:focus,
.form-select:focus {
    border-color: #004185;
    box-shadow: var(--bbs-focus-ring);
    outline: none;
}

.form-control::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.form-label {
    font-weight: 600;
    font-size: .85rem;
    color: #334155;
    margin-bottom: .35rem;
}

/* ââ 10. SECTIONS & ESPACEMENTS ââââââââââââââââââââââââââââââââââââââââââââ */
section,
.container-fluid.py-5 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

@media (max-width: 767.98px) {
    section,
    .container-fluid.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ââ 11. PAGE HEADER â HIÃRARCHIE VISUELLE âââââââââââââââââââââââââââââââââ */
.page-header {
    padding: 3.5rem 0;
    min-height: 180px;
    display: flex;
    align-items: center;
}

.page-header h1,
.page-header .display-5 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

/* ââ 12. SECTION-TITLE â LISIBILITÃ âââââââââââââââââââââââââââââââââââââââ */
.section-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
}

/* ââ 13. BADGES & TAGS âââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.badge {
    font-weight: 600;
    letter-spacing: .02em;
    padding: .35em .7em;
    border-radius: 4px;
}

/* ââ 14. TABLES â LISIBILITÃ âââââââââââââââââââââââââââââââââââââââââââââââ */
.table > :not(caption) > * > * {
    padding: .65rem 1rem;
}

.table th {
    font-size: .82rem;
    letter-spacing: .04em;
    font-weight: 700;
}

/* ââ 15. FOOTER â LISIBILITÃ âââââââââââââââââââââââââââââââââââââââââââââââ */
.footer {
    font-size: .9rem;
    line-height: 1.75;
}

.footer h5 {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .02em;
    margin-bottom: 1.25rem;
}

.footer .btn.btn-link {
    font-size: .88rem;
    transition: color var(--bbs-transition), letter-spacing var(--bbs-transition);
}

/* ââ 16. BACK TO TOP â STYLE AMÃLIORÃ âââââââââââââââââââââââââââââââââââââ */
.back-to-top {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--bbs-shadow-md);
    transition: transform var(--bbs-transition), box-shadow var(--bbs-transition);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--bbs-shadow-lg);
}

/* ââ 17. PERFORMANCE PERÃUE â SKELETON & TRANSITIONS ââââââââââââââââââââââ */
img {
    transition: opacity .3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded,
img[loading="eager"],
img:not([loading]) {
    opacity: 1;
}

/* Images d'en-tÃªte formation : toujours visibles (above the fold) */
.bbs-formation-header__img,
.bbs-offre-figure .bbs-offre-img {
    opacity: 1 !important;
}

/* ââ 18. MOBILE â AMÃLIORATION GÃNÃRALE ââââââââââââââââââââââââââââââââââââ */
@media (max-width: 767.98px) {

    /* Taille de police lisible sur mobile */
    body { font-size: .95rem; }

    /* Boutons pleine largeur sur mobile dans les CTA */
    .bbs-cta-mobile .btn {
        width: 100%;
    }

    /* Top bar masquÃ© : rÃ©duit l'encombrement mobile */
    .top-bar .col-lg-8 {
        display: none !important;
    }

    /* Cards pleine largeur sur xs */
    .service-item {
        margin-bottom: 1rem;
    }

    /* Padding horizontal rÃ©duit */
    .nav-bar {
        padding: 0 12px;
    }

    /* Dropdown mobile : fond translucide lisible */
    .bbs-dropdown-menu {
        background: rgba(0, 30, 90, 0.97);
    }

    .bbs-dropdown-header {
        color: rgba(255,255,255,.6);
        border-bottom-color: rgba(255,255,255,.1);
    }

    /* Grille 1 colonne sur mobile */
    .row.g-4 > [class*="col-lg-4"],
    .row.g-4 > [class*="col-lg-5"] {
        padding-bottom: 0;
    }
}

/* ââ 19. TABLETTE â AJUSTEMENTS ââââââââââââââââââââââââââââââââââââââââââââ */
@media (min-width: 768px) and (max-width: 991.98px) {
    .top-bar {
        padding: 14px 30px;
    }

    .nav-bar {
        padding: 0 24px;
    }
}

/* ââ 20. ICÃNES DANS LES INFOS CARTES âââââââââââââââââââââââââââââââââââââ */
.btn-square {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--bbs-radius-sm);
    flex-shrink: 0;
}

/* ââ 21. LIENS DANS LE CONTENU â COHÃRENCE VISUELLE âââââââââââââââââââââââ */
.entry-content a,
.page-content a {
    transition: color var(--bbs-transition), text-decoration-color var(--bbs-transition);
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

/* ââ 22. CARROUSEL TÃMOIGNAGES â LISIBILITÃ ââââââââââââââââââââââââââââââââ */
.testimonial-text p {
    font-size: 1rem;
    line-height: 1.85;
    font-style: italic;
    color: #374151;
}

/* ââ 23. STATS â HIÃRARCHIE NUMÃRIQUE âââââââââââââââââââââââââââââââââââââ */
.bbs-stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* ââ 24. ANIMATIONS â RÃDUCTION DES MOUVEMENTS (ACCESSIBILITÃ) ââââââââââââ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .wow {
        visibility: visible !important;
        animation: none !important;
    }
}

/* ââ 25. PRINT â STYLES D'IMPRESSION ââââââââââââââââââââââââââââââââââââââ */
@media print {
    .top-bar,
    .nav-bar,
    .back-to-top,
    #spinner,
    .footer .copyright { display: none !important; }

    body { font-size: 11pt; color: #000; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BBS HOMEPAGE â COMPOSANTS UI DÃDIÃS
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* ââ BOUTONS CONNEXION / DÃCONNEXION DANS LA NAVBAR âââââââââââââââââââââââ */
.bbs-navbar-actions {
    padding: 8px 0;
}

.bbs-btn-login {
    background: var(--bs-secondary, #aab185);
    color: #fff !important;
    font-weight: 600;
    font-size: .88rem;
    padding: .55rem 1.1rem;
    border-radius: var(--bbs-radius-md, 10px);
    border: 2px solid var(--bs-secondary, #aab185);
    transition: all var(--bbs-transition, .22s ease);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(170, 177, 133, 0.28);
    line-height: 1.2;
    white-space: nowrap;
}

.bbs-btn-login:hover {
    background: #fff;
    color: var(--bs-primary, #004185) !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.bbs-btn-login:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.bbs-btn-logout {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: .55rem .85rem;
    border-radius: var(--bbs-radius-md, 10px);
    transition: all var(--bbs-transition, .22s ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bbs-btn-logout:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Mobile : bouton compact */
@media (max-width: 991.98px) {
    .bbs-navbar-actions {
        width: 100%;
        margin-top: 1rem;
        padding-bottom: .5rem;
        justify-content: stretch;
    }
    .bbs-btn-login {
        width: 100%;
        justify-content: center;
        padding: .75rem 1rem;
    }
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   CARTES ACTUALITÃS (Homepage section ActualitÃ©s)
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 65, 133, .06);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
    border: 1px solid #eef2f7;
}

.bbs-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(0, 65, 133, 0.16);
}

.bbs-news-card__image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
}

.bbs-news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.bbs-news-card:hover .bbs-news-card__image {
    transform: scale(1.07);
}

/* Voile dÃ©gradÃ© bas de l'image pour la lisibilitÃ© des badges */
.bbs-news-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 47, 96, 0) 45%, rgba(0, 47, 96, .35) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}

.bbs-news-card:hover .bbs-news-card__image-wrap::after { opacity: 1; }

/* Badge catÃ©gorie (haut-gauche) */
.bbs-news-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--bbs-accent, #aab185);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .32rem .7rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

/* Pastille date (haut-droite) jour + mois */
.bbs-news-card__date {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    background: rgba(255, 255, 255, .95);
    color: var(--bbs-primary, #004185);
    padding: .45rem .6rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 65, 133, .18);
    backdrop-filter: blur(4px);
}

.bbs-news-card__date-day {
    font-size: 1.15rem;
    font-weight: 800;
}

.bbs-news-card__date-month {
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .8;
}

.bbs-news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.4rem;
}

.bbs-news-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .65rem;
    min-height: 2.7em;
}

.bbs-news-card__title a {
    color: #1e293b;
    text-decoration: none;
    background-image: linear-gradient(var(--bbs-primary, #004185), var(--bbs-primary, #004185));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: color .2s ease, background-size .3s ease;
}

.bbs-news-card__title a:hover {
    color: var(--bs-primary, #004185);
    background-size: 100% 2px;
}

.bbs-news-card__excerpt {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1 1 auto;
}

.bbs-news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .85rem;
    border-top: 1px solid #eef2f7;
}

.bbs-news-card__meta {
    font-size: .8rem;
    font-weight: 600;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.bbs-news-card__meta i { color: var(--bbs-accent, #aab185); }

.bbs-news-card__link {
    color: var(--bs-primary, #004185);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(0, 65, 133, .07);
    transition: background .25s ease, color .25s ease, gap .25s ease;
}

.bbs-news-card__link:hover {
    color: #fff;
    background: var(--bbs-primary, #004185);
    gap: .65rem;
}

.bbs-news-card__link i {
    transition: transform .25s ease;
}

.bbs-news-card__link:hover i {
    transform: translateX(3px);
}

.bbs-news-card__link--media {
    background: rgba(170, 177, 133, .15);
    color: #5a6330;
}

.bbs-news-card__link--media:hover {
    background: var(--bbs-accent, #aab185);
    color: #fff;
}

.bbs-news-card__footer {
    flex-wrap: wrap;
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   CARTES FORMATIONS (Homepage section Formations)
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-formation-card {
    background: #fff;
    border-radius: var(--bbs-radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--bbs-shadow-sm, 0 2px 8px rgba(0,0,0,.07));
    border: 1px solid #eef2f7;
    transition: transform var(--bbs-transition, .22s ease),
                box-shadow var(--bbs-transition, .22s ease),
                border-color var(--bbs-transition, .22s ease);
    position: relative;
}

.bbs-formation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--bbs-accent-color, #004185);
    z-index: 1;
}

.bbs-formation-card.bbs-accent-primary  { --bbs-accent-color: #004185; --bbs-accent-bg: rgba(0, 65, 133, 0.08); }
.bbs-formation-card.bbs-accent-success  { --bbs-accent-color: #5a6848; --bbs-accent-bg: rgba(90, 104, 72, 0.10); }
.bbs-formation-card.bbs-accent-warning  { --bbs-accent-color: #002f60; --bbs-accent-bg: rgba(0, 47, 96, 0.08); }

.bbs-formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.13);
    border-color: var(--bbs-accent-color);
}

.bbs-formation-card__header {
    background: var(--bbs-accent-bg);
    padding: 1.75rem 1.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bbs-formation-card__icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--bbs-accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: transform var(--bbs-transition, .22s ease);
}

.bbs-formation-card:hover .bbs-formation-card__icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}

.bbs-formation-card__badge {
    background: #fff;
    color: var(--bbs-accent-color);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .4rem .85rem;
    border-radius: 100px;
    border: 1.5px solid var(--bbs-accent-color);
    white-space: nowrap;
}

.bbs-formation-card__body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.bbs-formation-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .75rem;
    line-height: 1.3;
}

.bbs-formation-card__desc {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.bbs-formation-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.bbs-formation-card__list li {
    margin-bottom: .4rem;
}

.bbs-formation-card__sublink {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .65rem;
    border-radius: 6px;
    color: #475569;
    font-size: .87rem;
    text-decoration: none;
    transition: all .2s ease;
    line-height: 1.4;
}

.bbs-formation-card__sublink i {
    color: var(--bbs-accent-color);
    font-size: .7rem;
    transition: transform .2s ease;
    flex-shrink: 0;
}

.bbs-formation-card__sublink:hover {
    background: var(--bbs-accent-bg);
    color: var(--bbs-accent-color);
    padding-left: 1rem;
}

.bbs-formation-card__sublink:hover i {
    transform: translateX(2px);
}

.bbs-formation-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bbs-accent-color);
    color: #fff !important;
    font-weight: 600;
    font-size: .9rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--bbs-transition, .22s ease);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.bbs-formation-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
}

.bbs-formation-card__cta i {
    transition: transform .2s ease;
}

.bbs-formation-card__cta:hover i {
    transform: translateX(4px);
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   CARTES NOS FORCES (Homepage section Nos Forces)
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-force-card {
    background: #fff;
    border-radius: var(--bbs-radius-md, 10px);
    padding: 2rem 1.75rem;
    box-shadow: var(--bbs-shadow-sm, 0 2px 8px rgba(0,0,0,.07));
    border: 1px solid #eef2f7;
    transition: transform var(--bbs-transition, .22s ease),
                box-shadow var(--bbs-transition, .22s ease),
                border-color var(--bbs-transition, .22s ease);
    position: relative;
    overflow: hidden;
}

.bbs-force-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary, #004185), var(--bs-secondary, #aab185));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.bbs-force-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(0, 65, 133, 0.14);
    border-color: var(--bs-primary, #004185);
}

.bbs-force-card:hover::after {
    transform: scaleX(1);
}

.bbs-force-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--bs-primary, #004185), #002d5a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 65, 133, 0.28);
    transition: transform var(--bbs-transition, .22s ease);
}

.bbs-force-card:hover .bbs-force-card__icon {
    transform: scale(1.08) rotate(5deg);
}

.bbs-force-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .65rem;
    line-height: 1.3;
}

.bbs-force-card__desc {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.65;
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Ã PROPOS â ITEMS DE MISSION
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-mission-item {
    display: flex;
    align-items: flex-start;
    font-size: .92rem;
    color: #374151;
    line-height: 1.5;
    padding: .65rem .85rem;
    background: rgba(0, 65, 133, 0.04);
    border-radius: 8px;
    border-left: 3px solid var(--bs-primary, #004185);
    transition: all var(--bbs-transition, .22s ease);
}

.bbs-mission-item:hover {
    background: rgba(0, 65, 133, 0.08);
    transform: translateX(3px);
}

.bbs-mission-item i {
    flex-shrink: 0;
    margin-top: 3px;
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   TÃMOIGNAGES â SECTION SUR FOND PRIMAIRE
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.testimonial-title {
    background: linear-gradient(135deg, var(--bs-primary, #004185), #003163);
    color: #fff !important;
    padding: 2.5rem 2rem;
    border-radius: var(--bbs-radius-md, 10px);
    box-shadow: 0 12px 32px rgba(0, 65, 133, 0.22);
    background-image: none !important;
    height: 100%;
}

.testimonial-title h2,
.testimonial-title p {
    color: #fff !important;
}

.testimonial-title .section-title {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.testimonial-title .section-title::before,
.testimonial-title .section-title::after {
    border-color: rgba(255, 255, 255, 0.4) !important;
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   CONTRASTES â RÃGLES DE LISIBILITÃ STRICTES
   Objectif : aucun texte sombre sur fond bleu/foncÃ©.
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* Sur fond primary : tout texte doit Ãªtre blanc */
.bg-primary,
.bg-primary p,
.bg-primary li,
.bg-primary span,
.bg-primary div,
.bg-primary small,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6 {
    color: #fff !important;
}

.bg-primary a:not(.btn) {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bg-primary a:not(.btn):hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Exception : les .alert et .badge Ã  l'intÃ©rieur d'un bg-primary gardent leurs couleurs propres */
.bg-primary .alert,
.bg-primary .alert *,
.bg-primary .badge {
    color: inherit !important;
}

/* Boutons sur fond primary : garantir contraste */
.bg-primary .btn-secondary {
    color: #fff !important;
    background-color: var(--bs-secondary, #aab185) !important;
    border-color: var(--bs-secondary, #aab185) !important;
}

.bg-primary .btn-light,
.bg-primary .btn-outline-light {
    color: var(--bs-primary, #004185) !important;
}

.bg-primary .btn-light:hover {
    background: #f1f5f9 !important;
}

.bg-primary .btn-outline-light {
    background: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}

.bg-primary .btn-outline-light:hover {
    background: #fff !important;
    color: var(--bs-primary, #004185) !important;
}

/* Cartes "Niveaux d'entrÃ©e" page admissions : header colorÃ© â contenu doit avoir bon contraste */
.bg-primary.p-3.text-center,
.bg-secondary.p-3.text-center {
    color: #fff;
}

.bg-primary.p-3.text-center i,
.bg-primary.p-3.text-center h5,
.bg-secondary.p-3.text-center i,
.bg-secondary.p-3.text-center h5 {
    color: #fff !important;
}

/* ââ TOPBAR BLANC â logo + coordonnÃ©es (ergonomie & contraste) âââââââââââââ */
.bbs-topbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e8ebf0;
}

/* ââ RÃSEAUX SOCIAUX â TOPBAR (charte BBS) âââââââââââââââââââââââââââââââââ
   Classes dÃ©diÃ©es (pas .btn-square) pour Ã©viter la rÃ¨gle Â« pictogrammes sans
   cadres Â» qui rendait les icÃ´nes transparentes sur fond blanc. */
.bbs-topbar-social {
    gap: .55rem;
    padding: .35rem 0;
}

.bbs-topbar-social__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 65, 133, 0.18);
    background: #fff;
    color: var(--bs-primary, #004185) !important;
    font-size: .95rem;
    line-height: 1;
    text-decoration: none !important;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.bbs-topbar-social__link i {
    color: inherit !important;
    font-size: inherit;
    line-height: 1;
}

.bbs-topbar-social__link:hover,
.bbs-topbar-social__link:focus-visible {
    background: var(--bs-primary, #004185);
    border-color: var(--bs-primary, #004185);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 65, 133, 0.22);
}

.bbs-topbar-social__link:focus-visible {
    outline: 3px solid var(--bs-secondary, #aab185);
    outline-offset: 2px;
}

.bbs-topbar-social--compact {
    gap: .4rem;
}

.bbs-topbar-social--compact .bbs-topbar-social__link {
    width: 36px;
    height: 36px;
    font-size: .88rem;
}

/* Page header (breadcrumb) : garantir lisibilitÃ© */
.page-header h1,
.page-header .display-5 {
    color: #1e293b;
}

.page-header .breadcrumb,
.page-header .breadcrumb li {
    color: #475569;
}

/* Texte sur image hero du carrousel â fond floutÃ© + voile dÃ©gradÃ© assurent la lisibilitÃ© */
.carousel-text h1 {
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.carousel-text p {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    max-width: 33rem;
}

/* Liens dans le footer (dÃ©jÃ  foncÃ©) â garder visibles */
.footer,
.footer p,
.footer span,
.footer li,
.footer .btn-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer h4,
.footer h5,
.footer h6 {
    color: #fff !important;
}

.footer a:not(.btn) {
    color: rgba(255, 255, 255, 0.85);
}

.footer a:not(.btn):hover {
    color: #fff;
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   MOBILE â AJUSTEMENTS HOMEPAGE
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 767.98px) {
    .bbs-formation-card__header {
        padding: 1.25rem;
    }
    .bbs-formation-card__body {
        padding: 1.25rem;
    }
    .bbs-news-card__body {
        padding: 1.1rem;
    }
    .bbs-news-card__title {
        font-size: 1rem;
        min-height: auto;
    }
    .testimonial-title {
        padding: 1.75rem 1.5rem;
    }
}


/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   LISIBILITÃ & ERGONOMIE GLOBALES (audit UX/UI â juin 2026)
   Garantir des textes lisibles (WCAG AA), un rendu responsive et moderne sur
   TOUTES les pages, sans dÃ©vier de la maquette (bleu #004185 / sauge #aab185).
   Principe : le sauge est une couleur d'ACCENT et de FOND, jamais de texte courant.
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* 1. TEXTE Â« SECONDAIRE Â» LISIBLE âââââââââââââââââââââââââââââââââââââââââââââ
   .text-secondary rendait le texte en sauge (~2.2:1 sur fond clair = illisible).
   On le ramÃ¨ne Ã  un gris ardoise lisible (~6.5:1). Sur fonds colorÃ©s/sombres,
   on bascule en blanc attÃ©nuÃ©. */
.text-secondary {
    color: #51606e !important;
}
.bg-primary .text-secondary,
.bg-secondary .text-secondary,
.bg-dark .text-secondary,
.footer .text-secondary {
    color: rgba(255, 255, 255, .85) !important;
}

/* .text-muted : gris suffisamment contrastÃ© sur fond clair, blanc sur fond colorÃ© */
.text-muted {
    color: #5b6573 !important;
}
.bg-primary .text-muted,
.bg-secondary .text-muted,
.footer .text-muted {
    color: rgba(255, 255, 255, .8) !important;
}

/* Texte blanc attÃ©nuÃ© : sur le sauge (clair), l'opacitÃ© rÃ©duite devient illisible */
.bg-secondary .opacity-75 {
    opacity: .95 !important;
}

/* 1b. TEXTE SUR LE SAUGE ââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Le sauge #aab185 est CLAIR : le texte blanc dessus tombe Ã  ~2.25:1 (illisible).
   On impose un texte FONCÃ (~6.7:1) sur tout fond sauge, boutons inclus â le
   sauge de la maquette est conservÃ©, seul le texte change. */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.bg-primary .btn-secondary,
.bbs-btn-login {
    color: #1c2a12 !important;
}
.bg-secondary,
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3,
.bg-secondary h4, .bg-secondary h5, .bg-secondary h6,
.bg-secondary p, .bg-secondary span, .bg-secondary small,
.bg-secondary i, .bg-secondary .text-white,
.bg-secondary.p-3.text-center,
.bg-secondary.p-3.text-center i,
.bg-secondary.p-3.text-center h5 {
    color: #1c2a12 !important;
}

/* btn-outline-secondary : le texte sauge sur blanc (~2.2:1) devient gris lisible */
.btn-outline-secondary {
    color: #51606e !important;
    border-color: #aab185 !important;
}
.btn-outline-secondary:hover {
    color: #1c2a12 !important;
    background-color: #aab185 !important;
    border-color: #aab185 !important;
}

.lead {
    line-height: 1.7;
}

/* 2. PAGE-HEADER (banniÃ¨re interne) : voile clair garanti âââââââââââââââââââââ
   Le titre (bleu) et le fil d'Ariane (foncÃ©) restent lisibles quelle que soit
   l'image de fond. */
.page-header {
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .90));
    z-index: 0;
}
.page-header > .container {
    position: relative;
    z-index: 1;
}
@media (max-width: 575.98px) {
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: .9rem;
    }
}

/* 3. BADGES Â« durÃ©e / niveau Â» sur fond clair : contraste renforcÃ© ââââââââââââ */
.badge.bg-light {
    color: #003a6b !important;
    font-weight: 600;
    border: 1px solid rgba(0, 65, 133, .25);
}

/* 4. COPYRIGHT footer : lisible sur fond sombre âââââââââââââââââââââââââââââââ */
.footer .copyright,
.footer .copyright a {
    color: rgba(255, 255, 255, .75) !important;
}
.footer .copyright a:hover {
    color: #fff !important;
}

/* 5. RESPONSIVE â confort tablette / mobile ââââââââââââââââââââââââââââââââââ */
@media (max-width: 575.98px) {
    /* Titres d'affichage adaptÃ©s au trÃ¨s petit Ã©cran (Ã©vite dÃ©bordements) */
    .display-4 { font-size: calc(1.6rem + 1.5vw); }
    .display-5 { font-size: calc(1.45rem + 1.2vw); }
    .display-6 { font-size: calc(1.3rem + 1vw); }
    /* Sections moins hautes sur mobile */
    section,
    .container-fluid.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* 6. LIENS DE CONTENU : bleu de marque lisible + soulignement au survol âââââââ */
.entry-content a:not(.btn),
.page-content a:not(.btn) {
    color: #004185;
    text-decoration-color: rgba(0, 65, 133, .4);
}
.entry-content a:not(.btn):hover,
.page-content a:not(.btn):hover {
    color: #00305f;
    text-decoration-color: #00305f;
}

/* 7. MENU DÃROULANT Â« FORMATIONS Â» : lisibilitÃ© garantie selon la charte ââââââ
   Panneau blanc, en-tÃªtes de section en bleu de marque, items en ardoise foncÃ©,
   survol bleutÃ©. MÃªme rendu lisible en desktop ET en mobile (fini le translucide). */
.navbar .bbs-dropdown-menu,
.navbar .dropdown-menu {
    background-color: #fff !important;
    border: 1px solid rgba(0, 65, 133, .12) !important;
    box-shadow: 0 16px 44px rgba(0, 32, 80, .18) !important;
}
.navbar .bbs-dropdown-header {
    color: #004185 !important;
    background: rgba(0, 65, 133, .05) !important;
    border-bottom: 1px solid rgba(0, 65, 133, .10) !important;
}

/* En-tÃªte de sous-menu cliquable (ex. Â« Formation Continue Â» â page d'ensemble) */
.navbar .bbs-dropdown-header--link {
    padding: 0 !important;
}

.navbar .bbs-dropdown-header--link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .5rem 1.25rem;
    color: #004185 !important;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.navbar .bbs-dropdown-header--link a i {
    font-size: .7rem;
    opacity: .55;
    transition: transform .2s ease, opacity .2s ease;
}

.navbar .bbs-dropdown-header--link a:hover,
.navbar .bbs-dropdown-header--link a:focus {
    background: rgba(0, 65, 133, .10);
    color: #002f60 !important;
}

.navbar .bbs-dropdown-header--link a:hover i {
    transform: translateX(3px);
    opacity: 1;
}
.navbar .bbs-dropdown-menu .dropdown-item,
.navbar .dropdown-menu .dropdown-item,
.navbar .bbs-dropdown-item-sub {
    color: #1f2a37 !important;
    text-decoration: none !important;
}
/* Sous-items (fallback) : surtout pas le sauge (illisible sur blanc) */
.navbar .bbs-dropdown-item-sub {
    color: #475569 !important;
}
.navbar .bbs-dropdown-menu .dropdown-item:hover,
.navbar .bbs-dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: rgba(0, 65, 133, .08) !important;
    color: #004185 !important;
}

/* Mobile : conserver un panneau blanc lisible (remplace le fond translucide) */
@media (max-width: 991.98px) {
    .navbar .bbs-dropdown-menu,
    .navbar .dropdown-menu {
        background-color: #fff !important;
        border: 1px solid rgba(0, 65, 133, .12) !important;
        box-shadow: 0 8px 24px rgba(0, 32, 80, .15) !important;
    }
    .navbar .bbs-dropdown-menu .dropdown-item,
    .navbar .bbs-dropdown-item-sub {
        color: #1f2a37 !important;
    }
    .navbar .bbs-dropdown-item-sub {
        color: #475569 !important;
    }
    .navbar .bbs-dropdown-header {
        color: #004185 !important;
        background: rgba(0, 65, 133, .05) !important;
    }
    .navbar .bbs-dropdown-menu .dropdown-item:hover {
        background-color: rgba(0, 65, 133, .08) !important;
        color: #004185 !important;
    }
}

/* BBS 2026 corrections */
.bbs-site-logo {
    width: auto;
    max-width: 150px;
    height: 70px;
    object-fit: contain;
    display: inline-block;
}

/* LisibilitÃ© du texte sur le fond flou sombre */
.header-carousel .carousel-text h1,
.header-carousel .carousel-text p {
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .25);
}

/* Image latÃ©rale slider : forme campus via .bbs-img-campus-shape (voir bloc header-carousel) */

.bbs-profile-strip {
    background: transparent;
    margin-top: -90px;
    position: relative;
    z-index: 4;
    padding: 0 0 1rem;
}

/* Conteneur flex centrÃ© : contrÃ´le prÃ©cis de l'espace entre les 2 cartes */
.bbs-profile-strip__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--bbs-profile-gap, 1.5rem);
}

/* Carte profil Â« carrÃ©e Â» : icÃ´ne en haut, texte centrÃ©, CTA en bas */
.bbs-profile-card {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 290px;
    max-width: 100%;
    margin-inline: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .85rem;
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 65, 133, .22);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

/* Halo lumineux animÃ© au survol */
.bbs-profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .25), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}

.bbs-profile-card:hover,
.bbs-profile-card:focus-visible {
    transform: translateY(-12px);
    color: #fff;
    box-shadow: 0 34px 70px rgba(0, 65, 133, .34);
}

.bbs-profile-card:hover::before { opacity: 1; }

.bbs-profile-card--student { background: linear-gradient(150deg, #004185 0%, #002f60 100%); }
.bbs-profile-card--pro { background: linear-gradient(150deg, #aab185 0%, #8f9968 100%); }

.bbs-profile-card__icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.9rem;
    position: relative;
    z-index: 1;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s ease;
}

.bbs-profile-card:hover .bbs-profile-card__icon {
    transform: scale(1.12) translateY(-2px);
    background: rgba(255, 255, 255, .26);
}

.bbs-profile-card__body { position: relative; z-index: 1; }

.bbs-profile-card strong,
.bbs-profile-card small {
    display: block;
}

.bbs-profile-card strong {
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 700;
}

.bbs-profile-card small {
    color: rgba(255, 255, 255, .85);
    margin-top: .35rem;
    font-size: .92rem;
}

.bbs-profile-card__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.bbs-profile-card__cta i {
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.bbs-profile-card:hover .bbs-profile-card__cta i {
    transform: translateX(6px);
}

.bbs-formation-card {
    color: inherit;
    text-decoration: none;
}

.bbs-formation-card:hover {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Section Â« Notre vision Â» â design moderne (charte BBS)
   ========================================================================== */
.bbs-vision-section {
    background:
        radial-gradient(circle at 85% 12%, rgba(170, 177, 133, .10), transparent 40%),
        #ffffff;
}

.bbs-vision-media {
    position: relative;
    border-radius: 22px;
    overflow: visible;
}

.bbs-vision-media::before {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 62%;
    height: 62%;
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(0, 65, 133, .14), rgba(170, 177, 133, .22));
    z-index: 0;
}

.bbs-vision-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    border-radius: 22px 22px 22px 60px;
    box-shadow: 0 26px 60px rgba(0, 65, 133, .20);
}

/* Pastille statistique posÃ©e sur l'image */
.bbs-vision-media__badge {
    position: absolute;
    right: -8px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 65, 133, .18);
    border: 1px solid rgba(0, 65, 133, .06);
}

.bbs-vision-media__badge-num {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bbs-primary, #004185);
}

.bbs-vision-media__badge-num span {
    color: var(--bbs-accent, #aab185);
}

.bbs-vision-media__badge-txt {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--bbs-muted, #5c6b7a);
}

.bbs-vision-lead {
    line-height: 1.7;
}

.bbs-mini-proof {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    padding: .85rem 1rem;
    font-weight: 600;
    color: var(--bbs-primary, #004185);
    box-shadow: 0 8px 22px rgba(0, 65, 133, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.bbs-mini-proof:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 65, 133, .18);
    box-shadow: 0 14px 30px rgba(0, 65, 133, .12);
}

.bbs-mini-proof__icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #fff;
    background: linear-gradient(145deg, var(--bbs-primary, #004185), var(--bbs-accent, #aab185));
}

.bbs-alumni-card,
.bbs-governance-card,
.bbs-pole-card,
.bbs-partner-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(0,0,0,.06);
}

.bbs-alumni-card {
    padding: 1.25rem;
}

.bbs-alumni-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.bbs-alumni-card p {
    color: #475569;
    min-height: 96px;
}

.bbs-alumni-card h4 {
    font-size: 1.05rem;
    margin-bottom: .2rem;
}

.bbs-alumni-card span,
.bbs-governance-card span,
.bbs-partner-card small {
    color: #64748b;
    font-size: .9rem;
}

/* ==========================================================================
   Conventions et partenariats â bandeau dÃ©filant (slider lent)
   ========================================================================== */
.bbs-partners-section {
    background: var(--bbs-surface, #f4f6f8);
}

.bbs-partners-carousel .bbs-partner-slide {
    height: 100%;
    padding: .25rem;
}

.bbs-partner-card {
    height: 100%;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

a.bbs-partner-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.bbs-partner-card--link:focus-visible {
    outline: 2px solid var(--bbs-primary, #004185);
    outline-offset: 3px;
}

.bbs-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 65, 133, .14);
}

.bbs-partner-card__logo {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: #f1f5f9;
    color: var(--bbs-primary, #004185);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: .85rem;
    overflow: hidden;
}

/* Logos tÃ©lÃ©versÃ©s : grayscale au repos, couleur au survol (effet Â« mur de partenaires Â») */
.bbs-partner-card__logo--img {
    background: #fff;
    border: 1px solid #e6ebf2;
    padding: .6rem;
}

.bbs-partner-card__logo--img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .8;
    transition: filter .35s ease, opacity .35s ease;
}

.bbs-partner-card:hover .bbs-partner-card__logo--img img {
    filter: grayscale(0);
    opacity: 1;
}

.bbs-partner-card strong {
    color: var(--bbs-primary, #004185);
    font-size: 1rem;
}

/* Centre verticalement les slides de hauteurs Ã©gales */
.bbs-partners-carousel.owl-carousel .owl-stage {
    display: flex;
}

.bbs-partners-carousel.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

/* FlÃ¨ches de navigation du slider partenaires */
.bbs-partners-carousel.owl-carousel {
    position: relative;
    padding: 0 8px;
}

.bbs-partners-carousel.owl-carousel .owl-nav {
    margin: 0;
}

.bbs-partners-carousel.owl-carousel .owl-nav .owl-prev,
.bbs-partners-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    background: transparent;
}

.bbs-partners-carousel.owl-carousel .owl-nav .owl-prev { left: -10px; }
.bbs-partners-carousel.owl-carousel .owl-nav .owl-next { right: -10px; }

.bbs-partners-carousel.owl-carousel .owl-nav .owl-prev.disabled,
.bbs-partners-carousel.owl-carousel .owl-nav .owl-next.disabled {
    opacity: .35;
    cursor: default;
}

.bbs-partners-carousel .bbs-owl-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--bbs-primary, #004185);
    font-size: 1.15rem;
    box-shadow: 0 10px 26px rgba(0, 65, 133, .18);
    border: 1px solid rgba(0, 65, 133, .08);
    transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.bbs-partners-carousel .owl-prev:hover .bbs-owl-arrow,
.bbs-partners-carousel .owl-next:hover .bbs-owl-arrow {
    background: var(--bbs-primary, #004185);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 14px 32px rgba(0, 65, 133, .3);
}

@media (max-width: 575.98px) {
    .bbs-partners-carousel.owl-carousel .owl-nav .owl-prev { left: -4px; }
    .bbs-partners-carousel.owl-carousel .owl-nav .owl-next { right: -4px; }
    .bbs-partners-carousel .bbs-owl-arrow { width: 38px; height: 38px; font-size: 1rem; }
}

/* ==========================================================================
   Page Â« Formation Continue Â» â atouts + cartes dispositifs
   ========================================================================== */
.bbs-fcont-atout {
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 24px rgba(0, 65, 133, .05);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.bbs-fcont-atout:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 65, 133, .12);
}

.bbs-fcont-atout__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.5rem;
    color: var(--bbs-primary, #004185);
    background: linear-gradient(145deg, rgba(0, 65, 133, .10), rgba(170, 177, 133, .16));
    margin-bottom: 1rem;
}

.bbs-fcont-atout__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--bbs-primary, #004185);
    margin-bottom: .4rem;
}

.bbs-fcont-atout__desc {
    font-size: .88rem;
    color: var(--bbs-muted, #5c6b7a);
    line-height: 1.5;
    margin: 0;
}

.bbs-fcont-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.6rem 1.4rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 24px rgba(0, 65, 133, .05);
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

.bbs-fcont-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 65, 133, .18);
    box-shadow: 0 22px 48px rgba(0, 65, 133, .16);
    color: inherit;
}

.bbs-fcont-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(145deg, var(--bbs-primary, #004185), var(--bbs-primary-dark, #002f60));
    margin-bottom: 1rem;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.bbs-fcont-card:hover .bbs-fcont-card__icon {
    transform: scale(1.08) rotate(-4deg);
}

.bbs-fcont-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bbs-primary, #004185);
    margin-bottom: .55rem;
}

.bbs-fcont-card__desc {
    font-size: .88rem;
    color: var(--bbs-muted, #5c6b7a);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.bbs-fcont-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: 1rem;
}

.bbs-fcont-card__tag {
    font-size: .72rem;
    font-weight: 600;
    color: var(--bbs-primary, #004185);
    background: rgba(0, 65, 133, .07);
    border-radius: 999px;
    padding: .2rem .6rem;
}

.bbs-fcont-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    font-size: .85rem;
    color: var(--bbs-primary, #004185);
}

.bbs-fcont-card__cta i {
    transition: transform .25s ease;
}

.bbs-fcont-card:hover .bbs-fcont-card__cta i {
    transform: translateX(5px);
}

.about-img--plain::before,
.about-img--plain::after {
    display: none;
}

.bbs-pole-card {
    padding: 1.5rem;
}

.bbs-pole-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: rgba(0, 65, 133, .08);
    color: #004185;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bbs-pole-card ul {
    padding-left: 1.1rem;
    color: #475569;
    margin-bottom: 1.25rem;
}

.bbs-governance-card {
    overflow: hidden;
}

.bbs-governance-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.bbs-governance-card div {
    padding: 1rem;
}

.bbs-governance-card h4 {
    margin-bottom: .25rem;
    font-size: 1.05rem;
}

.bbs-alumni-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.bbs-alumni-photo-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.bbs-alumni-photo-grid img:first-child {
    grid-row: span 2;
    height: 100%;
    min-height: 376px;
}

@media (max-width: 991.98px) {
    .bbs-profile-strip {
        margin-top: -48px;
        padding-top: 0;
    }
    .bbs-site-logo {
        height: 56px;
    }
    /* Les sÃ©parateurs de colonnes des stats n'ont pas de sens sur 2 colonnes */
    .bbs-stats-section .bbs-stat-col:not(:last-child) .bbs-stat-card::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .bbs-profile-strip {
        margin-top: -36px;
    }
    .bbs-profile-card {
        aspect-ratio: auto;
        width: 100%;
        max-width: 360px;
        padding: 1.5rem 1.25rem;
        gap: .6rem;
    }
    .bbs-profile-card__icon {
        width: 64px;
        height: 64px;
        font-size: 1.55rem;
    }
    .bbs-alumni-photo-grid {
        grid-template-columns: 1fr;
    }
    .bbs-alumni-photo-grid img,
    .bbs-alumni-photo-grid img:first-child {
        height: 220px;
        min-height: 0;
    }
}

/* ==========================================================================
   Contraste BBS â aucun texte sombre sur fond bleu (lisibilitÃ© / accessibilitÃ©)
   ========================================================================== */
.bg-primary,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary p, .bg-primary li, .bg-primary small, .bg-primary span:not(.badge) { color: #fff; }
.bg-primary a:not(.btn) { color: #fff; }
.bg-primary .text-dark, .bg-primary .text-secondary, .bg-primary .text-muted { color: rgba(255,255,255,.85) !important; }

/* Restaurer un texte sombre dans les blocs CLAIRs imbriquÃ©s dans une zone bleue */
.bg-primary .bg-white, .bg-primary .bg-white *,
.bg-primary .bg-light, .bg-primary .bg-light *,
.bg-primary .card:not(.bg-primary):not(.text-white) { color: #243044; }
.bg-primary .bg-white .text-secondary,
.bg-primary .bg-light .text-secondary { color: #6c757d !important; }

/* Boutons / badges sur bleu */
.btn-primary { color: #fff !important; }
.badge.bg-primary, .badge.text-bg-primary { color: #fff !important; }

/* Le Â« section-title Â» reste bleu sur fond clair (et non l'inverse) */
.section-title.text-primary { color: #004185 !important; }

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BBS UI POLISH â accessibilitÃ©, topbar mobile, horaires, 404
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

.bbs-skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100000;
    padding: .65rem 1.1rem;
    background: var(--bs-primary, #004185);
    color: #fff !important;
    font-weight: 600;
    font-size: .9rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 32, 80, .25);
    transition: top .2s ease;
}

.bbs-skip-link:focus {
    top: 0;
    outline: 3px solid var(--bs-secondary, #aab185);
    outline-offset: 2px;
}

.bbs-main:focus {
    outline: none;
}

.bbs-topbar__logo-link {
    display: inline-block;
    line-height: 0;
}

/* Logo blanc dans la barre de navigation â visible en mobile uniquement, fond transparent */
.bbs-navbar-logo {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    line-height: 0;
    background: transparent;
}

.bbs-navbar-logo img {
    height: 40px;
    width: auto;
    max-width: 150px;
    display: block;
    background: transparent;
    transition: transform .2s ease, opacity .2s ease;
}

.bbs-navbar-logo:hover img,
.bbs-navbar-logo:focus-visible img {
    transform: scale(1.04);
    opacity: .92;
}

.bbs-navbar-logo:focus-visible {
    outline: 3px solid var(--bs-secondary, #aab185);
    outline-offset: 3px;
    border-radius: 6px;
}

.bbs-topbar-mobile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bs-primary, #004185);
    color: #fff !important;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bbs-topbar-mobile__btn:hover,
.bbs-topbar-mobile__btn:focus-visible {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 65, 133, .28);
}

.bbs-topbar-mobile__btn:focus-visible {
    outline: 3px solid var(--bs-secondary, #aab185);
    outline-offset: 2px;
}

.nav-bar.is-sticky {
    box-shadow: 0 8px 28px rgba(0, 32, 80, .22);
    animation: bbsNavSlideDown .25s ease;
}

@keyframes bbsNavSlideDown {
    from { transform: translateY(-8px); opacity: .92; }
    to   { transform: translateY(0); opacity: 1; }
}

.bbs-hours-list {
    display: grid;
    gap: .85rem;
}

.bbs-hours-item {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.bbs-hours-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bbs-hours-item__label {
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    font-weight: 600;
}

.bbs-hours-item__value {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.bbs-footer-legal a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: .92rem;
    transition: color .2s ease;
}

.bbs-footer-legal a:hover,
.bbs-footer-legal a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.bbs-footer-legal__sep {
    color: rgba(255, 255, 255, .35);
    user-select: none;
}

.bbs-404-card {
    background: #fff;
    border-radius: var(--bbs-radius-lg, 14px);
    box-shadow: 0 18px 48px rgba(0, 32, 80, .1);
    border: 1px solid rgba(0, 65, 133, .08);
}

.bbs-404-code {
    line-height: 1;
    letter-spacing: -.04em;
}

html.bbs-reduced-motion *,
html.bbs-reduced-motion *::before,
html.bbs-reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

@media (max-width: 575.98px) {
    .bbs-footer-legal .list-inline-item {
        display: block;
        margin: 0 0 .35rem;
    }
    .bbs-footer-legal__sep {
        display: none;
    }
}

/* ââ Bandeau cookies âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99990;
    background: rgba(5, 19, 17, .96);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .25);
}

.bbs-cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bbs-cookie-banner__text a {
    color: var(--bs-secondary, #aab185);
    text-decoration: underline;
}

.bbs-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    flex-shrink: 0;
}

.bbs-cookie-banner__body {
    flex: 1 1 520px;
    max-width: 860px;
}

.bbs-cookie-banner__title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}

.bbs-cookie-banner__text p {
    color: rgba(255, 255, 255, .92);
    margin-bottom: .35rem;
    font-size: .9rem;
    line-height: 1.5;
}

.bbs-cookie-banner .btn:focus-visible,
.bbs-cookie-banner a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.bbs-cookie-banner__settings {
    background: none;
    border: 0;
    padding: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
    cursor: pointer;
}

.bbs-cookie-banner__settings:hover,
.bbs-cookie-banner__settings:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.bbs-map-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    background: #fff;
}

.bbs-map-frame iframe {
    border: 0;
    display: block;
    width: 100%;
}

.bbs-consent-placeholder {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.bbs-consent-placeholder[hidden] {
    display: none;
}

/* ââ Cartes CPT / archives âââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-cpt-card {
    background: #fff;
    border-radius: var(--bbs-radius-md, 10px);
    border: 1px solid rgba(0, 65, 133, .08);
    box-shadow: 0 8px 24px rgba(0, 32, 80, .08);
    transition: transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
    color: inherit;
}

.bbs-cpt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 32, 80, .14);
}

.bbs-cpt-card__body h3 {
    transition: color .2s ease;
}

.bbs-cpt-card:hover .bbs-cpt-card__body h3 {
    color: var(--bs-primary, #004185) !important;
}

.bbs-search-form .form-control {
    border-radius: var(--bbs-radius-md, 10px) 0 0 var(--bbs-radius-md, 10px);
}

.bbs-search-form .btn {
    border-radius: 0 var(--bbs-radius-md, 10px) var(--bbs-radius-md, 10px) 0;
}

.bbs-cpt-single {
    background: #fff;
    border-radius: var(--bbs-radius-lg, 14px);
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(0, 32, 80, .08);
    border: 1px solid rgba(0, 65, 133, .06);
}

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BBS CARDS 2026 â relief, zoom d'image et animations au survol (toutes pages)
   Bloc final : prime volontairement sur les rÃ¨gles de cards prÃ©cÃ©dentes.
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
:root {
    --bbs-ease-out: cubic-bezier(.2, .7, .2, 1);
    --bbs-card-shadow:       0 6px 22px rgba(0, 32, 80, .08);
    --bbs-card-shadow-hover: 0 20px 46px rgba(0, 32, 80, .18);
}

/* Coins arrondis + clipping pour le zoom d'image (event-item n'en avait pas) */
.event-item,
.bbs-cpt-card,
.service-item,
.blog-item {
    border-radius: var(--bbs-radius-lg, 14px);
    overflow: hidden;
    box-shadow: var(--bbs-card-shadow);
    transition: transform .35s var(--bbs-ease-out),
                box-shadow .35s var(--bbs-ease-out);
    will-change: transform;
}

/* LÃ©vitation + ombre profonde au survol */
.event-item:hover,
.bbs-cpt-card:hover,
.service-item:hover,
.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--bbs-card-shadow-hover);
}

/* Zoom doux de l'image de la carte (les conteneurs ont dÃ©jÃ  overflow:hidden) */
.event-item img,
.bbs-cpt-card img,
.blog-item img {
    transition: transform .55s var(--bbs-ease-out);
}
.event-item:hover img,
.bbs-cpt-card:hover img,
.blog-item:hover img {
    transform: scale(1.07);
}

/* Le titre de la carte ActualitÃ©s vire au bleu au survol */
.event-item:hover a.h4,
.event-item:hover .h4 {
    color: var(--bs-primary) !important;
}

/* LiserÃ© d'accent qui se rÃ©vÃ¨le en haut de la carte au survol */
.event-item,
.bbs-cpt-card {
    position: relative;
}
.event-item::after,
.bbs-cpt-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary, #004185), var(--bs-secondary, #aab185));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .4s var(--bbs-ease-out);
    z-index: 3;
}
.event-item:hover::after,
.bbs-cpt-card:hover::after {
    transform: scaleX(1);
}

/* Cartes Bootstrap gÃ©nÃ©riques : lÃ©ger relief homogÃ¨ne */
.card {
    transition: transform .35s var(--bbs-ease-out),
                box-shadow .35s var(--bbs-ease-out);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bbs-shadow-lg, 0 12px 40px rgba(0, 0, 0, .13));
}

/* Respect de la prÃ©fÃ©rence Â« rÃ©duire les animations Â» */
@media (prefers-reduced-motion: reduce) {
    .event-item, .bbs-cpt-card, .service-item, .blog-item, .card,
    .event-item img, .bbs-cpt-card img, .blog-item img,
    .event-item::after, .bbs-cpt-card::after {
        transition: none !important;
    }
    .event-item:hover, .bbs-cpt-card:hover, .service-item:hover, .blog-item:hover, .card:hover {
        transform: none !important;
    }
    .event-item:hover img, .bbs-cpt-card:hover img, .blog-item:hover img {
        transform: none !important;
    }
    .event-item:hover::after, .bbs-cpt-card:hover::after {
        transform: scaleX(1) !important;
    }
}

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   PAGE Â« Toutes nos formations Â» (/formations/) â grille centrÃ©e et cohÃ©rente
   ScopÃ© Ã  .bbs-formations-grid pour ne PAS toucher les autres cartes .service-item
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bbs-formations-grid .service-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

/* Texte centrÃ© et lisible : largeur de ligne maÃ®trisÃ©e */
.bbs-formations-grid .service-item p {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Titres : couleur de marque homogÃ¨ne sur toutes les cartes */
.bbs-formations-grid .service-item h4,
.bbs-formations-grid .service-item h5 {
    color: var(--bs-primary, #004185);
    font-size: 1.15rem;
    font-weight: 700;
}

/* Pastille d'icÃ´ne ronde, centrÃ©e, dÃ©gradÃ© doux aux couleurs de la marque */
.bbs-formations-grid .btn-square {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 65, 133, .10) 0%, rgba(170, 177, 133, .20) 100%);
    color: var(--bs-primary, #004185);
    box-shadow: inset 0 0 0 1px rgba(0, 65, 133, .10);
    transition: background .35s var(--bbs-ease-out, ease),
                color .35s var(--bbs-ease-out, ease),
                transform .35s var(--bbs-ease-out, ease);
}
.bbs-formations-grid .btn-square i {
    color: inherit !important;
}

/* Au survol de la carte : la pastille se remplit en bleu marque (cohÃ©rence + animation) */
.bbs-formations-grid .service-item:hover .btn-square {
    background: var(--bs-primary, #004185);
    color: #fff;
    transform: scale(1.08);
}

/* Bouton Â« En savoir plus Â» centrÃ© sous le contenu */
.bbs-formations-grid .service-item .btn {
    align-self: center;
}

/* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   EN-TÃTE DE PAGE AVEC IMAGE â le gestionnaire peut dÃ©finir une image de banniÃ¨re.
   Voile sombre + texte blanc pour garantir la lisibilitÃ© quelle que soit l'image.
   (Prioritaire sur le voile blanc gÃ©nÃ©rique .page-header::before)
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.page-header.page-header--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 32, 80, .78) 0%, rgba(0, 65, 133, .60) 60%, rgba(0, 65, 133, .45) 100%);
    z-index: 0;
}
.page-header.page-header--image h1,
.page-header.page-header--image .h2,
.page-header.page-header--image .display-5,
.page-header.page-header--image .lead,
.page-header.page-header--image .breadcrumb-item,
.page-header.page-header--image .breadcrumb-item a,
.page-header.page-header--image .breadcrumb-item.active,
.page-header.page-header--image .breadcrumb-item + .breadcrumb-item::before {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.page-header.page-header--image .breadcrumb-item a:hover {
    color: #e8eef7 !important;
    text-decoration: underline;
}

/* Infographie Â« Structure de l'offre de formation Â» (page Formations DiplÃ´mantes) */
.bbs-offre-figure .bbs-offre-img {
    background: #fff;
    padding: .5rem;
    border: 1px solid #e2e8f0;
    max-height: 720px;
    width: auto;
    transition: transform .35s var(--bbs-ease-out, ease), box-shadow .35s var(--bbs-ease-out, ease);
}
.bbs-offre-figure a:hover .bbs-offre-img {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 32, 80, .14) !important;
}

/* Image d'en-tÃªte formation â sous la banniÃ¨re, avant le contenu */
.bbs-formation-header {
    position: relative;
    z-index: 2;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 65, 133, .06);
}
.bbs-formation-header__figure {
    text-align: center;
    margin: 0;
}
.bbs-formation-header__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border: 1px solid #e2e8f0;
}
@media (min-width: 992px) {
    .bbs-formation-header__img {
        max-height: 640px;
        object-fit: contain;
    }
}
/* =============================================================================
   RETOUR CLIENT (aout 2026) â typo plus fine, bandeau menu, pictos, partenaires
   Overrides cibles en fin de cascade pour eviter les regressions structurelles.
   ============================================================================= */

/* 1) Police plus fine --------------------------------------------------------- */
body {
    font-weight: var(--bbs-font-weight-body, 400);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
h2.display-6 {
    font-weight: var(--bbs-font-weight-semibold, 600) !important;
    letter-spacing: 0;
}

.fw-bold { font-weight: 600 !important; }
.fw-medium { font-weight: 500 !important; }

.navbar .navbar-nav .nav-link,
.bbs-topbar .bbs-topbar__value,
.bbs-topbar .bbs-topbar__value a,
.bbs-btn-login,
.section-title,
.bbs-formation-card__title,
.bbs-formations-grid .service-item h4,
.bbs-formations-grid .service-item h5,
.bbs-profile-card strong,
.bbs-partner-card strong,
.bbs-stat-label,
.bbs-stats-section .bbs-stat-label,
.bbs-stats-section .bbs-stat-number,
.bbs-stats-section .bbs-stat-suffix {
    font-weight: 500 !important;
}

.bbs-topbar .bbs-topbar__label {
    font-weight: 500 !important;
}

.bbs-stats-section .bbs-stat-number,
.bbs-stats-section .bbs-stat-suffix {
    font-weight: 600 !important;
}

/* 2) Bandeau menu plus compact (hauteur reduite) ------------------------------ */
.top-bar {
    min-height: 64px;
    padding: 8px 48px;
}

.nav-bar {
    padding: 0 48px;
}

.navbar.navbar-expand-lg {
    min-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar .navbar-nav .nav-link {
    padding-top: var(--bbs-nav-link-py, 0.7rem) !important;
    padding-bottom: var(--bbs-nav-link-py, 0.7rem) !important;
    font-size: 15px;
}

.bbs-navbar-actions {
    padding: 4px 0;
}

.bbs-btn-login {
    font-weight: 500 !important;
    font-size: .84rem;
    padding: .4rem .9rem;
}

@media (max-width: 991.98px) {
    .top-bar { padding: 10px 16px; }
    .nav-bar { padding: 0 12px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .top-bar { padding: 10px 24px; }
    .nav-bar { padding: 0 16px; }
}

/* 3) Pictogrammes sans cadres ------------------------------------------------- */
.bbs-stats-section .bbs-stat-icon,
.bbs-stat-icon-wrapper,
.bbs-profile-card__icon,
.bbs-formation-card__icon-wrap,
.bbs-force-card__icon,
.bbs-fcont-atout__icon,
.bbs-fcont-card__icon,
.bbs-pole-card__icon,
.bbs-mini-proof__icon,
.bbs-formations-grid .btn-square,
.service-item .btn-square {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-bottom: .5rem;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.bbs-stats-section .bbs-stat-icon,
.bbs-stat-icon-wrapper,
.bbs-formation-card__icon-wrap,
.bbs-force-card__icon,
.bbs-fcont-atout__icon,
.bbs-fcont-card__icon,
.bbs-pole-card__icon,
.bbs-mini-proof__icon,
.bbs-formations-grid .btn-square,
.service-item .btn-square {
    color: var(--bs-primary, #004185) !important;
    font-size: 1.65rem;
}

.bbs-stats-section .bbs-stat-card:hover .bbs-stat-icon,
.bbs-stat-card:hover .bbs-stat-icon-wrapper,
.bbs-formation-card:hover .bbs-formation-card__icon-wrap,
.bbs-force-card:hover .bbs-force-card__icon,
.bbs-fcont-card:hover .bbs-fcont-card__icon,
.bbs-formations-grid .service-item:hover .btn-square {
    transform: none;
    color: var(--bs-primary, #004185) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bbs-formations-grid .btn-square i,
.bbs-formation-card__icon-wrap i,
.bbs-stats-section .bbs-stat-icon i {
    color: inherit !important;
}

/* Cartes profil (fond deja colore) : icone libre, sans pastille */
.bbs-profile-card__icon {
    color: #fff !important;
    font-size: 2rem;
    margin-bottom: .15rem;
}
.bbs-profile-card:hover .bbs-profile-card__icon {
    background: transparent !important;
    transform: none;
}

/* 4) Partenariats : logos sans carres / cartes -------------------------------- */
.bbs-partners-section .bbs-partner-card,
.bbs-partners-section a.bbs-partner-card--link {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 0;
    padding: 1rem .75rem;
}

.bbs-partners-section .bbs-partner-card:hover,
.bbs-partners-section a.bbs-partner-card--link:hover {
    transform: none;
    box-shadow: none !important;
}

.bbs-partners-section .bbs-partner-card__logo,
.bbs-partners-section .bbs-partner-card__logo--img {
    width: auto;
    height: 72px;
    min-width: 0;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin-bottom: .65rem;
    overflow: visible;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--bbs-primary, #004185);
}

.bbs-partners-section .bbs-partner-card__logo--img img {
    max-height: 72px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: .92;
}

.bbs-partners-section .bbs-partner-card:hover .bbs-partner-card__logo--img img {
    filter: none;
    opacity: 1;
}

.bbs-partners-section .bbs-partner-card strong {
    font-size: .95rem;
}

/* =============================================================================
   RETOUR CLIENT (suite)  justification, typo pages, pictos socles/diplomantes
   ============================================================================= */

/* Paragraphes justifiés (pas titres / menus / boutons) */
.entry-content p,
.page-content p,
.bbs-presentation-text p,
.bbs-offre-figure + p,
.container .lead,
.container p.text-secondary,
.single .entry-content p,
.page-template-default .entry-content p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* À propos  polices plus compactes */
.page-template-page-a-propos .display-6,
body.page-slug-a-propos .display-6 {
    font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem) !important;
}
.page-template-page-a-propos .fs-5,
body.page-slug-a-propos .fs-5 {
    font-size: 1.05rem !important;
    line-height: 1.65;
}
.page-template-page-a-propos p,
body.page-slug-a-propos p {
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Offre complète (diplomantes) */
.bbs-offre-section .display-6,
.page-template-page-formations-diplomantes .display-6 {
    font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem) !important;
}
.page-template-page-formations-diplomantes .lead {
    font-size: 1rem !important;
    line-height: 1.65;
}

/* Socles  typo compacte + pictos sans cadres */
.bbs-socle-page .display-6,
.bbs-socle-page h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.55rem) !important;
}
.bbs-socle-page .lead { font-size: 0.98rem !important; }
.bbs-socle-page .btn-square,
.page-template-page-formations-diplomantes .btn-square,
.bbs-diplom-socle-icon {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.bbs-socle-page .btn-square i,
.bbs-diplom-socle-icon i {
    font-size: 1.35rem;
    color: inherit;
}
.bbs-socle-info-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    align-items: baseline;
}
.bbs-socle-info-inline > div {
    display: inline-flex;
    gap: 0.35rem;
    align-items: baseline;
    white-space: nowrap;
}

/* ============================================================
   Expérience BBS  pages simples (chiffres, campus, alumni, vie)
   ============================================================ */
.bbs-exp-page {
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
	background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 42%);
}
.bbs-exp-intro {
	max-width: 720px;
	margin: 0 auto 2.25rem;
	text-align: center;
}
.bbs-exp-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bbs-primary-hex, #004185);
}
.bbs-exp-title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.75rem, 3.5vw, 2.45rem);
	font-weight: 700;
	line-height: 1.15;
	color: #0d2545;
}
.bbs-exp-title--sm {
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	text-align: left;
}
.bbs-exp-lead {
	margin: 0 auto;
	max-width: 40rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #5c6b7a;
}
.bbs-exp-actions { margin: 1.25rem 0 0; }
.bbs-exp-hero-row .bbs-exp-intro,
.bbs-exp-hero-row .bbs-exp-lead { margin-left: 0; text-align: left; }

.bbs-exp-pills {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 1.25rem 0 0;
}
.bbs-exp-pills li {
	margin: 0;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 65, 133, 0.18);
	background: #fff;
	color: #004185;
	font-size: 0.86rem;
	font-weight: 600;
}

.bbs-exp-hero-media {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e8eef5;
	box-shadow: 0 18px 40px rgba(0, 47, 96, 0.12);
}
.bbs-exp-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bbs-exp-stats { margin-bottom: 0.5rem; }
.bbs-exp-stat {
	height: 100%;
	padding: 1.35rem 1rem;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(0, 65, 133, 0.08);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0, 47, 96, 0.05);
	transition: transform .2s ease, box-shadow .2s ease;
}
.bbs-exp-stat:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(0, 47, 96, 0.09);
}
.bbs-exp-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 0.65rem;
	border-radius: 50%;
	background: rgba(0, 65, 133, 0.08);
	color: #004185;
	font-size: 1.05rem;
}
.bbs-exp-stat__figure {
	margin: 0 0 0.35rem;
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1;
	color: #004185;
}
.bbs-exp-stat__suffix { color: #aab185; margin-left: 0.1rem; }
.bbs-exp-stat__label {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.35;
	color: #5c6b7a;
}

.bbs-exp-card {
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 65, 133, 0.08);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(0, 47, 96, 0.06);
}
.bbs-exp-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e8eef5;
}
.bbs-exp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bbs-exp-card__body { padding: 1.25rem 1.35rem 1.45rem; }
.bbs-exp-card__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #aab185;
}
.bbs-exp-card__title {
	margin: 0 0 0.55rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #0d2545;
}
.bbs-exp-card__text {
	margin: 0;
	color: #5c6b7a;
	line-height: 1.6;
}

.bbs-exp-cta {
	margin-top: 2.5rem;
	padding: 1.5rem 1.6rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	border-radius: 14px;
	background: linear-gradient(120deg, #004185, #002f60);
	color: #fff;
}
.bbs-exp-cta__title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}
.bbs-exp-cta__text {
	margin: 0;
	color: rgba(255,255,255,.86);
	max-width: 36rem;
	line-height: 1.55;
}
.bbs-exp-cta .btn-primary {
	background: #aab185;
	border-color: #aab185;
	color: #1f2937;
	font-weight: 700;
}
.bbs-exp-cta .btn-primary:hover {
	background: #c2c9a4;
	border-color: #c2c9a4;
	color: #111827;
}

.bbs-exp-page--alumni .bbs-exp-alumni-directory {
	padding-top: 0.25rem;
}

/* Vie estudiantine  cards plus sobres */
.page-template-page-vie-estudiantine .service-item,
.page-template-page-vie-estudiantine .event-item {
	border: 1px solid rgba(0, 65, 133, 0.08);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0, 47, 96, 0.05);
	background: #fff;
}
.page-template-page-vie-estudiantine .btn-square {
	border-radius: 10px;
}
.page-template-page-vie-estudiantine .section-title {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
}

@media (max-width: 767.98px) {
	.bbs-exp-title--sm,
	.bbs-exp-hero-row .bbs-exp-lead { text-align: center; }
	.bbs-exp-hero-row .bbs-exp-eyebrow { text-align: center; }
	.bbs-exp-pills { justify-content: center; }
	.bbs-exp-cta { text-align: center; justify-content: center; }
}

/* =============================================================================
   Charte logo — icônes lisibles + aucun rouge sur les pages publiques
   Bleu #004185, bleu nuit #002f60, sauge foncée #5a6848.
   ============================================================================= */

/* Pictos dont le cadre coloré a été retiré : bleu marque, jamais blanc sur blanc. */
.service-item .btn-square,
.service-item .btn-square i,
.bbs-formations-grid .btn-square,
.bbs-formations-grid .btn-square i,
.bbs-socle-page .btn-square,
.bbs-socle-page .btn-square i,
.page-template-page-formations-diplomantes .service-item .btn-square i,
.bbs-stat-icon-wrapper,
.page-template-page-a-propos .service-item .btn-square i {
    color: var(--bbs-primary, #004185) !important;
}

/* Sur un aplat bleu réellement peint, l'icône reste blanche (contraste). */
.bbs-stat-card.bg-primary .bbs-stat-icon-wrapper,
.bbs-stat-card.bg-primary .bbs-stat-icon-wrapper i,
.bg-primary > i.fa,
.bg-primary > i.fas {
    color: #fff !important;
}

/* Anciennes couleurs hors charte encore présentes en style local. */
[style*="6b1a1a"],
[style*="6B1A1A"],
[style*="dc3545"],
[style*="c0392b"],
[style*="e74c3c"] {
    background-color: #002f60 !important;
}
[style*="006644"] {
    background-color: #5a6848 !important;
}

/* Le rouge Bootstrap n'est pas dans la charte du logo. */
.text-danger { color: #002f60 !important; }
.bg-danger { background-color: #002f60 !important; }
.border-danger { border-color: #004185 !important; }
.btn-danger,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #002f60 !important;
    border-color: #002f60 !important;
    color: #fff !important;
}
.btn-outline-danger {
    color: #002f60 !important;
    border-color: #004185 !important;
}
.btn-outline-danger:hover {
    background-color: #004185 !important;
    border-color: #004185 !important;
    color: #fff !important;
}
.alert-danger,
.alert-warning {
    color: #002f60;
    background-color: #eef3f8;
    border-color: #004185;
}
.badge-danger,
.badge.bg-danger {
    background-color: #002f60 !important;
    color: #fff !important;
}

.bbs-section-slot { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }

/* Vert et orange Bootstrap hors charte : sauge et bleu nuit du logo. */
.text-success { color: #5a6848 !important; }
.text-warning { color: #002f60 !important; }
.bg-success { background-color: #5a6848 !important; }
.badge.bg-success, .badge.bg-warning { color: #fff !important; }

/* Icônes de filière : bleu marque, y compris au survol (le cadre a été retiré). */
.bbs-formations-grid .service-item:hover .btn-square,
.bbs-formations-grid .service-item:hover .btn-square i,
.page-template-page-formations-diplomantes .btn-square,
.page-template-page-formations-diplomantes .btn-square i {
    color: var(--bbs-primary, #004185) !important;
}

.bbs-extra-block[style*="004185"] .text-secondary,
.bbs-extra-block[style*="004185"] .section-title,
.bbs-extra-block[style*="004185"] h2 {
    color: #fff !important;
}
