
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }


 
/*** Spinner End ***/

:root {
    --bs-primary: #0B3D91;
    --bs-secondary: #6C757D;
    --bs-tertiary: #E99226;
    --bs-gold: #D4AF37;
    --bs-white: #ffffff;
    --bs-dark: #111827;
    --bs-body-font: 'Open Sans', sans-serif;
    --bs-heading-font: 'Bebas Neue', sans-serif;
}

body {
    font-family: var(--bs-body-font);
    color: #212529;
    background: #f8f9fa;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-1, .display-2, .display-3, .display-4 {
    font-family: var(--bs-heading-font);
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.bg-tertiary {
    background-color: var(--bs-tertiary) !important;
}

.text-tertiary {
    color: var(--bs-tertiary) !important;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-primary-outline-0 {
    border: 0;
    color: var(--bs-white) !important;
}

.btn-light-outline-0 {
    border: 0;
    color: var(--bs-primary) !important;
}

.btn-primary-outline-0:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.btn-light-outline-0:hover {
    background: var(--bs-tertiary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.sticky-top {
    transition: 0.5s;
    background: var(--bs-white);
}

.topbar {
    padding: 10px 0;
    background: var(--bs-secondary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    position: relative;
    min-height: 100vh
    
}

.carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: linear-gradient(rgba(11, 61, 145, 0.75), rgba(0, 0, 0, 0.35)); */
    color: #ffffff;
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent;
}

#carouselId .carousel-indicators {
    padding-bottom: 30px;
}

#carouselId .carousel-indicators li {
    border-top: 10px solid var(--bs-white);
    border-bottom: 10px solid var(--bs-white);
    border-right: 5px solid var(--bs-white);
    border-left: 5px solid var(--bs-white);
    margin-right: 10px;
    border-radius: 10px;
    transition: 0.5s;
}

#carouselId .carousel-indicators li.active {
    background: var(--bs-tertiary);
    border-color: var(--bs-tertiary);
    border-right: 15px solid var(--bs-tertiary);
    border-left: 15px solid var(--bs-tertiary);
}
/*** Carousel End ***/


.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/about-rig.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Services Start ***/
.services .services-item {
    transition: 0.5s;
}

.services .services-item:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-secondary) !important;
}

.services .services-item:hover .services-content p,
.services .services-item:hover .services-content h3 {
    color: var(--bs-white);
    transition: 0.5s;
}

.services .services-item:hover .services-content a.btn {
    background: var(--bs-white);
    color: var(--bs-primary) !important;
}

.services .services-item:hover .services-content a.btn:hover {
    color: var(--bs-white) !important;
}

.services .services-item .services-img {
    overflow: hidden;
}

.services .services-item .services-img img {
    transition: 0.5s;
}

.services .services-item .services-img img:hover {
    transform: scale(1.3);
}
/*** Services End ***/



/*** About Start ***/
/*** Youtube Video start ***/
.video {
    position: relative;
    padding-right: 70px; 
    padding-bottom: 70px;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    margin-left: -35px;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#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: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/
/*** About End ***/


/*** Appointment  Start ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/banner.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.appointment .appointment-form {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, .55));
    object-fit: cover;
    border-radius: 10px;
}

.appointment .appointment-form .form-control,
.appointment .appointment-form .form-select,
.appointment .appointment-form textarea {
    color: #ffffff;
}

.appointment .appointment-time {
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, .1));
    object-fit: cover;
    border-radius: 10px;
}
/*** Appointment End ***/

/*** Counter Start ***/
.counter-section .counter-item .counter-content {
    position: relative;
    margin-bottom: 60px;
    background-image: linear-gradient(rgba(252, 152, 195, 0.3), rgba(255, 255, 255, 0.3), rgba(136, 76, 210, 0.3));
    border-radius: 10px;
    z-index: 9;
}

.counter-section .counter-item {
    text-align: center;
    background: rgba(255, 255, 255, .5) !important;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    object-fit: cover;
    border-radius: 0 25% 0 25%;
}

.counter-section .counter-item .counter-content .svg-img {
    position: absolute;
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    margin-bottom: -50px; 
    margin-left: -45px; 
    transform: rotate(180deg);
}

.counter-section .counter-item .counter-quantity {
    width: 110px;
    height: 110px;
    border-radius: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}
/*** Counter End ***/


/*** Events Start ***/
.gallery .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.gallery .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.gallery .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.gallery .gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .gallery-img img {
    transition: 0.5s;
}

.gallery .gallery-img:hover img {
    transform: scale(1.3);
}

.gallery .gallery-img .gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.gallery .gallery-img .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
    
}

.gallery .gallery-img:hover .gallery-overlay,
.gallery .gallery-img:hover .search-icon {
    opacity: 1;
}
/*** Events End ***/


/*** Pricing Start ***/
.pricing {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/banner.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pricing .pricing-item {
    color: var(--bs-white);
}

.pricing .pricing-item .pricing-content {
    background: rgba(255, 255, 255, 0.4);
}

.pricing .owl-carousel.pricing-carousel {
    position: relative;
}

.pricing .owl-carousel.pricing-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-white);

}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev,
.pricing .owl-carousel.pricing-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev:hover,
.pricing .owl-carousel.pricing-carousel .owl-nav .owl-next:hover {
    color: var(--bs-primary);
}
/*** Pricing End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.team .team-item .team-text {
    background: var(--bs-primary);
}

.team .team-item .team-social {
    position: absolute;
    top: -180px; 
    left: 20px; 
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-social {
    top: 20px; 
    left: 20px;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    width: 100%;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
}

.team .team-item:hover .team-img::after {
    bottom: 0;
    height: 100%;
}

.team .team-item .team-text {
    transition: 0.5s;
}

.team .team-item:hover .team-text {
    background: var(--bs-secondary);
}
/*** Team End ***/

/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/banner.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .testimonial-item {
    background: rgba(0, 0, 0, 0.4);
}

.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-white);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-primary);
}
/*** testimonial end ***/

/*** Contact Start ***/
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/about-rig.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact .contact-form {
    background: rgba(255, 255, 255, 0.6);
}
/*** Contact End ***/

/*** footer start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a,
.footer .footer-item p {
    color: var(--bs-white);
    line-height: 40px;
    font-size: 17px;
    transition: 0.5s;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary) !important;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/




/* ---- Partners Section ---- */
.partners-section {
    background: #ffffff;
}
 
.partners-track-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}
 
.partners-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}
 
/* Dégradés de fondu sur les bords */
.partners-viewport::before,
.partners-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.partners-viewport::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}
.partners-viewport::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}
 
.partners-track {
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 12px 0;
}
 
.partner-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 140px;
    cursor: pointer;
}
 
.partner-logo-wrap {
    width: 130px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1.5px solid #e8e8e8;
    background: #f9f9f9;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
 
.partner-img {
    width: 110px;
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.85);
    transition: filter 0.35s ease, transform 0.35s ease;
}
 
.partner-item:hover .partner-logo-wrap {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.12);
    border-color: #0B3D91;
}
 
.partner-item:hover .partner-img {
    filter: grayscale(0%) brightness(1);
}
 
.partner-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin: 0;
    transition: color 0.3s ease;
}
 
.partner-item:hover .partner-name {
    color: #0B3D91;
}
 
/* Flèches de navigation */
.partners-arrow {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #0B3D91;
    background: #fff;
    color: #0B3D91;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    z-index: 3;
    position: relative;
    margin: 0 6px;
}
 
.partners-arrow:hover {
    background: #0B3D91;
    color: #fff;
    transform: scale(1.08);
}
 
.partners-arrow:active {
    transform: scale(0.95);
}
 
.partners-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}
 
@media (max-width: 768px) {
    .partner-item { width: 110px; }
    .partner-logo-wrap { width: 100px; height: 52px; }
    .partner-img { width: 85px; height: 38px; }
    .partners-arrow { width: 34px; height: 34px; margin: 0 3px; }
    .partners-viewport::before,
    .partners-viewport::after { width: 40px; }
}
 
@media (max-width: 480px) {
    .partner-item { width: 95px; }
    .partner-logo-wrap { width: 88px; height: 46px; }
    .partner-img { width: 72px; height: 32px; }
} 



    /* container principal large et aéré */
    .section-directeur {
      max-width: 1400px;
      margin: 0 auto;
      padding: 3rem 2rem;
      background: #ffffff;
    }

    /* grille : texte à gauche / photo + trait à droite */
    .directeur-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      align-items: flex-start;
    }

    /* colonne gauche : MOT et contenu textuel */
    .mot-texte {
      flex: 1.1;
      min-width: 280px;
      background: #ffffff;
    }

    /* colonne droite : bloc photo + le trait dynamique */
    .photo-colonne {
      flex: 0.9;
      min-width: 320px;
      position: relative;
    }

    /* conteneur relatif pour le cadre et le canvas (trait) */
    .director-img-container {
      position: relative;
      width: 100%;
      display: flex;
      justify-content: center;
    }

    /* le cadre photo avec bord #E99226 */
    .frame-border {
      border: 5px solid #E99226;
      background: #ffffff;
      display: inline-block;
      width: 100%;
      max-width: 480px;
      margin: 0 auto;
      transition: all 0.2s ease;
      box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05);
    }

    /* image parfaitement responsive, professionnelle */
    .director-photo {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
      aspect-ratio: 4 / 5;  /* format élégant portrait */
      background: #F5F7FA;
    }

    /* canvas superposé pour le trait bleu (#0B3D91) */
    .line-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 10;
    }

    /* STYLES DU TEXTE — ÉPURÉ, TRÈS PROPRE, LISIBLE */
    .mot-titre {
      font-size: 2.2rem;
      font-weight: 600;
      letter-spacing: -0.02em;
      color: #0B3D91;
      border-left: 6px solid #E99226;
      padding-left: 1.2rem;
      margin-bottom: 1.8rem;
      line-height: 1.2;
    }

    .lettre {
      font-size: 1rem;
      color: #1e2f3e;
      margin-bottom: 2rem;
    }

    .lettre p {
      margin-bottom: 1.2rem;
      text-align: justify;
    }

    .signature {
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 1px solid #e9edf2;
    }

    .signature p {
      margin: 0.2rem 0;
      font-weight: 500;
    }

    .nom-directeur {
      font-size: 1.2rem;
      font-weight: 700;
      color: #0B3D91;
      margin-top: 0.5rem;
    }

    .poste {
      font-size: 0.9rem;
      font-weight: 500;
      color: #5a6e7c;
      letter-spacing: 0.3px;
    }

    .citation {
      margin-top: 1.8rem;
      font-style: italic;
      font-size: 1.05rem;
      color: #2c4c6e;
      background: #F9FAFC;
      padding: 1rem 1.5rem;
      border-radius: 0px;
      border-left: 3px solid #E99226;
      font-weight: 450;
      line-height: 1.4;
    }

    /* RESPONSIVE : la colonne droite reste propre, le trait s'adapte */
    @media (max-width: 900px) {
      .directeur-grid {
        flex-direction: column;
      }
      .mot-texte, .photo-colonne {
        width: 100%;
      }
      .frame-border {
        max-width: 100%;
      }
      .section-directeur {
        padding: 2rem 1.25rem;
      }
      .mot-titre {
        font-size: 1.8rem;
      }
    }

    /* petit espacement sous la photo pour que le trait ait de l'air */
    .photo-colonne {
      padding-bottom: 0.5rem;
    }

    /* garantie fond blanc total, aucun artifice de couleur */
    a, button, ::selection {
      background: transparent;
    }



        /* Personnalisation du modal – très propre */
    .modal-service-img {
        width: 100%;
        max-height: 320px;
        object-fit: cover;
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
    }
    .modal-service-body {
        padding: 1.8rem;
    }
    .modal-service-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #0B3D91;
        margin-bottom: 1rem;
        border-left: 5px solid #E99226;
        padding-left: 1rem;
    }
    .modal-service-description p {
        margin-bottom: 1rem;
        line-height: 1.6;
        color: #2c3e4e;
    }
    .modal-service-description ul {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }
    .modal-service-description li {
        margin-bottom: 0.5rem;
    }
    .modal-service-description strong {
        color: #0B3D91;
    }
    .btn-modal-close {
        background-color: #E99226;
        border: none;
        color: white;
        padding: 0.6rem 1.5rem;
        border-radius: 40px;
        transition: 0.2s;
    }
    .btn-modal-close:hover {
        background-color: #c97a1a;
        color: white;
    }


    /* ---- Section Vidéos YouTube ---- */
.yt-section {
    background: #ffffff;
}
 
/* Layout grille : 10 colonnes à gauche, 2 à droite */
.yt-layout {
    display: grid;
    grid-template-columns: 10fr 2fr;
    gap: 16px;
    align-items: stretch;
}
 
.yt-main-col { min-width: 0; }
 
.yt-side-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
 
/* ---- Carte vidéo ---- */
.yt-card {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(11, 61, 145, 0.04);
    border: 1.5px solid rgba(11, 61, 145, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
 
.yt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(11, 61, 145, 0.10);
}
 
/* Grande carte */
.yt-card--main {
    height: auto;
}
 
/* Petites cartes */
.yt-card--side {
    flex: 1;
}
 
/* ---- Wrapper miniature ---- */
.yt-thumb-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}
 
.yt-card--main .yt-thumb-wrap {
    aspect-ratio: 16 / 9;
}
 
.yt-card--side .yt-thumb-wrap {
    aspect-ratio: 16 / 9;
}
 
.yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
 
.yt-card:hover .yt-thumb {
    transform: scale(1.04);
}
 
/* ---- Bouton play ---- */
.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.22s, transform 0.22s;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
 
.yt-play-btn::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    animation: ytpulse 2.2s ease-out infinite;
}
 
@keyframes ytpulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}
 
.yt-card:hover .yt-play-btn {
    background: rgba(11, 61, 145, 0.85);
    border-color: rgba(11, 61, 145, 0.9);
}
 
.yt-play-btn--sm {
    width: 40px;
    height: 40px;
}
 
.yt-play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}
 
.yt-play-btn--sm .yt-play-icon {
    border-width: 6px 0 6px 11px;
    margin-left: 2px;
}
 
/* ---- Label "Cliquer pour afficher" ---- */
.yt-swap-label {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(233, 146, 38, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 4;
    pointer-events: none;
}
 
.yt-card--side:hover .yt-swap-label {
    opacity: 1;
}
 
/* ---- iFrame embed ---- */
.yt-iframe-wrap {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #000;
}
 
.yt-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}
 
/* ---- Zone texte sous la vidéo ---- */
.yt-card-info {
    padding: 16px 20px 18px;
    background: rgba(11, 61, 145, 0.03);
    border-top: 1px solid rgba(11, 61, 145, 0.07);
}
 
.yt-card-info--sm {
    padding: 10px 14px 12px;
}
 
.yt-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #0B3D91;
    margin: 0 0 6px;
    line-height: 1.2;
}
 
.yt-card-info--sm .yt-card-title {
    font-size: 13px;
    margin-bottom: 4px;
}
 
.yt-card-desc {
    font-size: 13px;
    color: #5a6e7c;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.yt-card-info--sm .yt-card-desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
}
 
/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .yt-layout {
        grid-template-columns: 1fr;
    }
    .yt-side-col {
        flex-direction: row;
    }
    .yt-card--side {
        flex: 1;
    }
    .yt-swap-label { display: none; }
}
 
@media (max-width: 576px) {
    .yt-side-col {
        flex-direction: column;
    }
    .yt-card--side {
        flex: none;
    }
    .yt-play-btn { width: 46px; height: 46px; }
    .yt-play-btn .yt-play-icon { border-width: 8px 0 8px 14px; }
    .yt-card-title { font-size: 16px; }
}
 

/* ===== Modal Services ===== */
.svc-modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}
 
.svc-modal-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}
 
.svc-modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
 
.svc-modal-hero:hover .svc-modal-hero-img {
    transform: scale(1.03);
}
 
.svc-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,61,145,0.88) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px 32px;
}
 
.svc-modal-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #E99226;
    color: #fff;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 10px;
}
 
.svc-modal-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
 
.svc-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s;
    z-index: 5;
    font-size: 14px;
}
 
.svc-modal-close:hover {
    background: rgba(255,255,255,0.35);
}
 
.svc-modal-body {
    padding: 28px 32px 10px;
    max-height: 58vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0B3D91 #f0f0f0;
}
 
.svc-modal-body::-webkit-scrollbar { width: 5px; }
.svc-modal-body::-webkit-scrollbar-track { background: #f0f0f0; }
.svc-modal-body::-webkit-scrollbar-thumb { background: #0B3D91; border-radius: 3px; }
 
/* ---- Contenu du modal ---- */
.svc-intro {
    font-size: 1.05rem;
    color: #2c3e4e;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f3;
}
 
.svc-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
 
.svc-block {
    background: rgba(11,61,145,0.03);
    border: 1.5px solid rgba(11,61,145,0.08);
    border-radius: 10px;
    padding: 18px 20px;
}
 
.svc-block-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    color: #0B3D91;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.svc-block-title i {
    color: #E99226;
    font-size: 1rem;
}
 
.svc-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
 
.svc-block ul li {
    font-size: 0.9rem;
    color: #3d5166;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
    border-bottom: 1px solid rgba(11,61,145,0.05);
}
 
.svc-block ul li:last-child { border-bottom: none; }
 
.svc-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E99226;
}
 
.svc-certifs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
 
.svc-certif-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f0f4fa;
    color: #0B3D91;
    border: 1px solid #d0ddf0;
    letter-spacing: 0.5px;
}
 
.svc-cta-strip {
    background: linear-gradient(135deg, #0B3D91 0%, #0a2d6e 100%);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
 
.svc-cta-strip p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}
 
.svc-cta-strip strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}
 
.svc-modal-footer {
    padding: 16px 28px;
    background: #f8f9fc;
    border-top: 1px solid #eef0f4;
    gap: 10px;
}
 
 
@media (max-width: 768px) {
    .svc-blocks { grid-template-columns: 1fr; }
    .svc-modal-hero { height: 200px; }
    .svc-modal-hero-title { font-size: 1.8rem; }
    .svc-modal-body { padding: 20px 18px 10px; }
    .svc-cta-strip { flex-direction: column; text-align: center; }
}
 