/*

Theme Name: Astra Child

Template: astra

*/



.site-logo-img .transparent-custom-logo img, .ast-theme-transparent-header .site-logo-img img {

    filter: none;

}

.ast-site-identity {

    margin: 8px auto;

}



.ast-header-html.inner-link-style- .ast-builder-html-element p{
    text-align: right;
}



.ast-header-html.inner-link-style- .ast-builder-html-element p span#info-phone{

    color: #0056b3;

    font-size: 1.3em;

    font-weight: 500;

}





.ast-header-html.inner-link-style- .ast-builder-html-element p a#info-email{

    text-decoration: none;

    color: #1f2937;

}





/* Style moderne pour Polylang dropdown uniquement */

select#lang_choice_1 {

    appearance: none;          /* Supprime le style par défaut */

    -webkit-appearance: none;

    -moz-appearance: none;

    padding: 6px 30px 6px 12px;

    border: 2px solid #0056b3;

    border-radius: 8px;

    background-color: #fff;

    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><polygon points='0,0 12,0 6,6' style='fill:%230056b3;'/></svg>");

    background-repeat: no-repeat;

    background-position: right 10px center;

    background-size: 12px;

    font-weight: 600;

    font-size: 14px;

    color: #0056b3;

    cursor: pointer;

    transition: all 0.3s ease;

    margin-top: 30px;

}



/* Hover */

select#lang_choice_1:hover {

    border-color: #005bb5;

    color: #005bb5;

}



/* Focus */

select#lang_choice_1:focus {

    outline: none;

    box-shadow: 0 0 5px rgba(0,115,230,0.5);

}



/* Responsive mobile */

@media (max-width: 768px) {

    select#lang_choice_1 {

        width: 100%;

        font-size: 14px;

        padding: 8px 30px 8px 12px;

    }

}



/* Menu secondaire en haut */

.secondary-menu-top {

    background-color: #0073e6;

    padding: 5px 20px;

    text-align: right; /* ou left selon ton choix */

}



.secondary-menu-top .menu-secondary-items li {

    display: inline-block;

    margin-left: 15px;

}



.secondary-menu-top .menu-secondary-items li a {

    color: #fff;

    font-weight: 600;

    text-transform: uppercase;

    transition: color 0.3s;

}



.secondary-menu-top .menu-secondary-items li a:hover {

    color: #ffdd00;

}

.ast-above-header-bar

.main-header-bar-navigation a  {

    color: #1f2937 !important;

    padding: 0 0.5em;

    /*text-transform: uppercase;*/

    font-weight: 500;

}



.ast-above-header-bar{

    border: none!important;

}



.ast-theme-transparent-header 

.ast-builder-menu 

.main-header-menu 

.menu-link:hover {

    color: #fdc300 !important;

}



.ast-theme-transparent-header 

.ast-builder-menu 

.current-menu-item > .menu-link {

    color: #fdc300 !important;

}



.ast-theme-transparent-header #masthead{

    position: initial;

}



.ast-theme-transparent-header .site-content {

    padding-top: 0px;

}



.ast-primary-header-bar {

    background-color: #0056b3 !important;

}





.uagb-icon svg,

.uagb-social-share svg {

    display: inline-block !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: 30px;   /* ajuste la taille */

    height: 30px;

    fill: #0056b3; /* couleur icône */

}





/* Forcer l’affichage des icônes Spectra */

.uagb-icon svg,

.uagb-social-share svg {

    display: inline-block !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: 30px;    /* ajuste la taille */

    height: 30px;

    fill: #0056b3;  /* couleur icône */

}



/* Hover */

.uagb-icon svg:hover,

.uagb-social-share svg:hover {

    fill: #ffdd00;  /* couleur au survol */

}





[data-aos] {

  transition-delay: 400ms !important;

}



.delay-100[data-aos] { transition-delay: 100ms !important; }

.delay-200[data-aos] { transition-delay: 200ms !important; }

.delay-300[data-aos] { transition-delay: 300ms !important; }





.menu-home-icon svg {

  vertical-align: middle;

  margin-bottom: 14px;

}



.sr-only {

  position: absolute;

  left: -9999px;

}



.btn-icon svg {

  vertical-align: middle;

  margin-right: 8px; /* espace entre icône et texte */

}



.custom-top-nav a {

  display: inline-flex;

  align-items: center;

  text-decoration: none;

  color: #0A66C2; /* exemple bleu LinkedIn ou personnalise */

  font-weight: 400;

  font-size: 1em;

}



.custom-top-nav a i {

  margin-right: 8px; /* espace entre icône et texte */

  font-size: 16px;   /* taille icône */

  color: #0056b3;

}



.custom-top-nav a:hover {

  color: #005a9c;

}



/* Ajouter une icône avant le bouton Téléchargements */

.ast-custom-button-link[aria-label="Téléchargements"] .ast-custom-button::before {

    font-family: "Font Awesome 6 Free";

    content: "\f019"; /* icône download */

    font-weight: 900;  /* solid */

    margin-right: 8px;

    font-size: 18px;   /* taille icône */

    vertical-align: middle;

}





/* Appliquer le background seulement pour les écrans >= 768px */

@media (min-width: 768px) {

    .ast-primary-header-bar {

        background-color: #0056b3 !important;

    }

}



/* Pour les petits écrans (<768px), tu peux définir une autre couleur */

@media (max-width: 767px) {

    .ast-primary-header-bar {

        background-color: transparent !important; /* ou la couleur souhaitée */

    }

}





/* Fond du submenu */

.main-navigation .sub-menu {

    background-color: #ffffff !important;

    padding: 8px 0 !important;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;

    min-width: 240px !important;

}



/* Liens du submenu */

.main-navigation .sub-menu li a {

    color: #1f2937 !important;

    font-size: 14px !important;

    padding: 10px 18px !important;

    font-weight: 500 !important;

    transition: all 0.25s ease !important;

}



/* Hover élégant */

.main-navigation .sub-menu li a:hover {

    background-color: #f1f5f9 !important;

    color: #0056b3 !important;

}



.main-header-bar {

    padding: 0em 0!important;

}



.ast-search-icon {

    margin-top: 5px!important;

}



.main-header-menu .menu-link, .main-header-menu>a {

    padding: 0 0.5em!important;

}



.ast-theme-transparent-header 

#ast-desktop-header > .ast-main-header-wrap > .main-header-bar, 

.ast-theme-transparent-header.ast-header-break-point #ast-mobile-header > .ast-main-header-wrap > .main-header-bar {

    border-bottom-width: 0px;

    border-bottom-style: solid;

}





#icbCards-5 .icbCards .first4Theme .content h2  {

    position: relative;

    font-weight: 300;

    margin-bottom: 34px;

}



h2.title-with-two-border  {

    position: relative;

    font-weight: 300;

    margin-bottom: 34px;

    font-size: 24px!important;

}





.dt-sc-title.with-sub-title h2 {

    margin-bottom: 10px;

}





h2.title-with-two-border:before, 

h2.title-with-two-border:after,

#icbCards-5 .icbCards .first4Theme .content h2:before,

#icbCards-5 .icbCards .first4Theme .content h2:after {

    left: 0;

    right: 0;

}



h2.title-with-two-border:before,

#icbCards-5 .icbCards .first4Theme .content h2:before {

    bottom: -17px;

    width: 80%;

    height: 1px;

    background: #dddddd;

}



h2.title-with-two-border:before, 

h2.title-with-two-border:after,

#icbCards-5 .icbCards .first4Theme .content h2:before,

#icbCards-5 .icbCards .first4Theme .content h2:after {

    position: absolute;

    content: "";

    left: 0;

    margin: 0 auto;

}



.title-with-two-border.with-sub-title h2,

#icbCards-5 .icbCards .first4Theme .content h2 {

    position: relative;

    font-weight: 300;

    margin-bottom: 34px;

}



.title-with-two-border.aligncenter h2:before,

 .title-with-two-border.aligncenter h2:after,

 #icbCards-5 .icbCards .first4Theme .content h2:before,

 #icbCards-5 .icbCards .first4Theme .content h2:after {

    left: 0;

    right: 0;

}





h2.title-with-two-border:after,

#icbCards-5 .icbCards .first4Theme .content h2:after {

    width: 51px;

    height: 4px;

    bottom: -18px;

    background: #fdc300;

}



#icbCards-5 .icbCards .first4Theme .content h2:after {

    right:100%;

}



.home-container h1, .home-container h2, .home-container h4{

    color: #2a2a2a!important;

    text-transform: uppercase;

}





.home-features-container h4 {

    font-weight: bold;

    position: relative;

    color: #2a2a2a;

}



.home-features-container h4:before {

    position: absolute;

    content: "";

    width: 40px;

    height: 3px;

    bottom: -13px;

}



.home-features-container h4:before{

    background: #fdc300;

}



.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {

    font-size: 1.15em;

}





.news-slider-wrapper {

    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

}



.news-slider {

    overflow: hidden;

    width: 100%;

}



.news-slider .wp-block-latest-posts {

    display: flex;

    gap: 24px;

    scroll-behavior: smooth;

    overflow-x: auto;

}



.news-slider .wp-block-latest-posts li {

    flex: 0 0 auto;

    min-width: 320px;

    background: #ffffff;

    border-radius: 16px;

    padding: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);

    transition: transform 0.3s ease;

}



.news-slider .wp-block-latest-posts li:hover {

    transform: translateY(-6px);

}



/* Flèches */

.news-arrow {

    border: none;

    background: #ffffff;

    color: #0f4c81;

    font-size: 28px;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    cursor: pointer;

    box-shadow: 0 6px 20px rgba(0,0,0,0.1);

    transition: transform 0.2s ease, background 0.2s ease;

}



.news-arrow:hover {

    background: #0f4c81;

    color: #ffffff;

    transform: scale(1.05);

}



/* Mobile */

@media (max-width: 768px) {

    .news-arrow {

        display: none;

    }



    .news-slider .wp-block-latest-posts {

        overflow-x: auto;

        scroll-snap-type: x mandatory;

    }



    .news-slider .wp-block-latest-posts li {

        scroll-snap-align: start;

    }

}










/* Conteneur principal - Style Institutionnel EPB */
.epb-infinite-slider {
    width: 100%;
    overflow: hidden;
    background: #ffffff !important;
    padding: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    align-items: center;
}

/* Le rail (Track) */
.epb-logos-track {
    display: flex;
    width: max-content;
    animation: scroll-infinite 40s linear infinite;
    will-change: transform;
}

/* Mode manuel déclenché par le JS */
.epb-logos-track.manual-mode {
    animation: none !important;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Style des cartes logos */
.epb-logo-item {
    flex: 0 0 calc(100vw / 6); /* Affiche 6 logos */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.epb-logo-item img {
    max-width: 100%;
    max-height: 65px;
    object-fit: contain !important;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.epb-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Animation de base */
@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause au survol */
.epb-infinite-slider:hover .epb-logos-track:not(.manual-mode) {
    animation-play-state: paused;
}









/* Responsive */
@media (max-width: 1024px) { .epb-logo-item { flex: 0 0 calc(100vw / 4); } }
@media (max-width: 600px) { .epb-logo-item { flex: 0 0 calc(100vw / 2); } }

/* === Navigation Slider Spectra : Corporate moderne === */

.spectra-slider-navigation .swiper-button-prev,

.spectra-slider-navigation .swiper-button-next {

    position: absolute; /* position relative au slider */

    top: 50%;           /* milieu vertical */
    margin: 0px 15px;

    transform: translateY(-50%);

    background-color: #0056b3 !important;

    width: 44px;

    height: 44px;

    border-radius: 10%;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0.1;       /* cacher par défaut */

    pointer-events: none; /* désactiver clic quand invisible */

    transition: 

        opacity 0.3s ease,

        background-color 0.3s ease,

        transform 0.25s ease,

        box-shadow 0.25s ease;

    z-index: 10;        /* au-dessus du slider */

}



/* Décalage intérieur */

.spectra-slider-navigation .swiper-button-prev { left: 24px; }

.spectra-slider-navigation .swiper-button-next { right: 24px; }



/* === Afficher boutons au survol du slider === */

.spectra-overlay-color:hover .spectra-slider-navigation .swiper-button-prev,

.spectra-overlay-color:hover .spectra-slider-navigation .swiper-button-next {

    opacity: 1;

    pointer-events: auto;

}



/* Hover boutons */

.spectra-slider-navigation .swiper-button-prev:hover,

.spectra-slider-navigation .swiper-button-next:hover {

    background-color: #0042a6 !important;

    box-shadow: 0 12px 30px rgba(0, 44, 112, 0.6);

}



/* Animation directionnelle SVG */

.spectra-slider-navigation .swiper-button-prev:hover svg {

    transform: translateX(-2px);

}

.spectra-slider-navigation .swiper-button-next:hover svg {

    transform: translateX(2px);

}



/* Icônes SVG */

.spectra-slider-navigation svg {

    width: 18px;

    height: 18px;

    fill: #ffffff;

    transition: transform 0.25s ease;

}



/* Responsive */

@media (max-width: 768px) {

    .spectra-slider-navigation .swiper-button-prev,

    .spectra-slider-navigation .swiper-button-next {

        width: 38px;

        height: 38px;

    }



    .spectra-slider-navigation svg {

        width: 16px;

        height: 16px;

    }



    .spectra-slider-navigation .swiper-button-prev { left: 14px; }

    .spectra-slider-navigation .swiper-button-next { right: 14px; }

}



select#lang_choice_1 {

    appearance: none;

    -webkit-appearance: none;

    -moz-appearance: none;

    padding: 6px 30px 6px 12px;

    border: 2px solid #0056b3;

    border-radius: 2px;

    background-color: #fff;

    background-image: url(data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><polygon points='0,0 12,0 6,6' style='fill:%230056b3;'/></svg>);

    background-repeat: no-repeat;

    background-position: right 10px center;

    background-size: 12px;

    font-weight: 500;

    font-size: 14px;

    color: #0056b3;

    cursor: pointer;

    transition: all 0.3s ease;

    margin-top: 30px;

}



/* === Above Header Premium avec motifs modernes === */

.ast-above-header-wrap {

    position: relative;

    background-color: #ffffff; /* fond clair */

    color: #002c70; /* texte bleu foncé */

    padding: 0px 0;

    overflow: hidden;

}





/* Contenu du header au-dessus des motifs */

.site-above-header-wrap {

    position: relative;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    max-width: 1300px;

    margin: 0 auto;

    padding: 0 20px;

    z-index: 1; /* au-dessus des motifs */

}



/* Logo clair et premium */

.site-logo-img img {

    width: 90px;

    height: auto;

    display: block;

    background-color: #ffffff;

    padding: 4px;

    border-radius: 8px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.1);

}



/**/

.call-to-action {

    position: relative;

    padding: 10px 0;

    overflow: hidden;

}



/* Triangle côté droit */

/*.call-to-action::after {

    content: '';

    position: absolute;

    top: 60% !important;

    right: -6% !important;

    width: 220px;

    height: 220px;

    background: linear-gradient(135deg, #004080 0%, #0056b3 100%);

    clip-path: polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%);

    z-index: 0;

    pointer-events: none;

    transform: rotate(15deg);

}*/



/* Formes géométriques supplémentaires pour effet moderne */

/*.call-to-action::before {

    content: '';

    position: absolute;

    top: 60% !important;

    left: -7% !important;

    width: 220px;

    height: 220px;

    background: linear-gradient(135deg, #009ee0 0%, #009ee0 100%)!important;

    clip-path: polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%);

    z-index: 0;

    pointer-events: none;

    transform: rotate(15deg);

}*/



/* Contenu du header au-dessus des motifs */

.call-to-action {

    position: relative;

    display: flex;

    justify-content: space-between;

    align-items: center;

    max-width: 1300px;

    margin: 0 auto;

    padding: 0 20px;

    z-index: 0; /* au-dessus des motifs */

}

/**/



/* Container pagination */

.swiper-pagination {

    position: absolute!important;

    bottom: 3%!important;

    margin-top: 24px!important;

    text-align: center!important;

}



/* Bullet par défaut */

.swiper-pagination-bullet {

    width: 10px!important;

    height: 10px!important;

    background: #009ee0!important;

    opacity: 1!important;

    margin: 0 6px!important;

    border-radius: 50%!important;

    transition: 

        transform 0.3s ease,

        background-color 0.3s ease,

        box-shadow 0.3s ease!important;

    cursor: pointer!important;

}



/* Hover */

.swiper-pagination-bullet:hover {

    transform: scale(1.25)!important;

    background: rgba(15, 76, 129, 0.6)!important;

}



/* Bullet actif */

.swiper-pagination-bullet-active {

    width: 26px!important;

    border-radius: 10px!important;

    background: #0f4c81!important;

    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.35)!important;

    transform: scale(1.05)!important;

}



.site-below-footer-wrap[data-section="section-below-footer-builder"] {

    background-color: #1874c1;

}



.site-above-footer-wrap, .site-below-footer-wrap {

    padding-top: 0px; 

    padding-bottom: 0px; 

}



h3.newsletter-title{

    color:#fff;

}



.site-footer .widget-title, h3.newsletter-title {

    position: relative;

    font-weight: 600;

    margin-bottom: 1em;

    line-height: 1.5;

    /*border-bottom: 2px solid #fdc300;*/

    padding-bottom: 1em;

    text-transform: uppercase;

    letter-spacing: 0.1em;
    color: #fff;
}


.site-footer .widget-title::after, h3.newsletter-title::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 20%;          /* longueur de la ligne */

    height: 3px;

    background-color: #fdc300;

}



.site-footer p, .site-footer a  {
    color: #e3e3e3!important;
    text-align: justify;
}



.site-footer ul li  {

    border-color: #42505b;

    display: block;

    clear: both;

    margin: 0px;

    padding: 10px 0px 10px 20px;

    width: 100%;

    border-bottom: 1px solid;

    position: relative;

}



.site-footer ul li:not(:last-child) {

    border-color: #42505b;

    border-bottom: 1px solid;

}





.site-footer li a i  {

    color:  #99abb8;

}
/* ============================================================
   DESIGN EPB : BOUSSOLE MARINE (OPTION 2)
   ============================================================ */

/* 1. Le Conteneur (Cercle Technique) */
#ast-scroll-top {
    background-color: #0056b3 !important; /* Noir profond / Technique */
    border: 3px solid #ffffff !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    display: none !important; /* Caché par défaut pour le JS */
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 9999 !important;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4) !important;
}

/* État d'apparition via JS */
#ast-scroll-top.show-navire {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Masquer la flèche Astra */
#ast-scroll-top .ast-icon.icon-arrow {
    display: none !important;
}

/* 2. L'Aiguille de la Boussole (Losange Bicolore) */
#ast-scroll-top::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 42px;
    /* Aiguille : Haut Rouge (Nord/Haut), Bas Blanc */
    background: linear-gradient(to bottom, #fdc300 50%, #ffffff 50%);
    /* Forme Losange */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transition: transform 0.4s ease;
}

/* Petit pivot central de l'aiguille */
#ast-scroll-top::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 50%;
    z-index: 3;
}

/* 3. Effet au Survol (Hover) */
#ast-scroll-top:hover {
    background-color: #0056b3 !important; /* Bleu EPB au survol */
    border-color: #fdc300 !important;
    transform: scale(1.1) !important;
}

#ast-scroll-top:hover::before {
    /* L'aiguille vibre légèrement comme une vraie boussole */
    animation: compass-shake 0.5s infinite ease-in-out;
}

@keyframes compass-shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}


.ast-theme-transparent-header [CLASS*="ast-header-button-"] .ast-custom-button {

    /*color: #ffffff;

    background: linear-gradient(

        180deg,

        #002c80 0%,

        #00356f 100%

    );

    border: 1px solid #002c60;

    padding: 12px 28px;

    border-radius: 6px;

    font-weight: 500;

    box-shadow: 0 2px 6px rgba(0, 44, 112, 0.25);*/



    /*background: linear-gradient(90deg, #06b6d4, #8b5cf6) !important;

    color: #fff !important;

    padding: 10px 22px;

    border-radius: 5px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    border: none;*/



    /*background: rgba(255, 255, 255, 0.1) !important;

    color: #fff !important;

    border: 2px solid #fff !important;

    padding: 8px 18px;

    border-radius: 4px;

    backdrop-filter: blur(5px); /* Flou moderne */



    /*background: rgba(255, 255, 255, 0.15) !important;

    backdrop-filter: blur(8px);

    color: #fff !important;

    border: 1px solid rgba(255, 255, 255, 0.3) !important;

    padding: 8px 20px;

    border-radius: 8px;

    transition: all 0.3s ease;*/



    /*background: #fff !important;

    color: #0056b3 !important;

    padding: 8px 22px;

    border-radius: 4px;

    font-weight: 600;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/



    background: transparent !important;

    color: #fff !important;

    border: 1px solid rgba(255, 255, 255, 0.5) !important;

    padding: 6px 16px;

    border-radius: 2px;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-size: 0.85rem;

}



.ast-theme-transparent-header [CLASS*="ast-header-button-"] .ast-custom-button:hover{

background: linear-gradient(

        180deg,

        #001f52 0%,

        #002c70 100%

    );

}



.main-header-menu .menu-item li:not(:last-child) {

    border-bottom: #0056b3 solid 1px;

}



/* État initial du menu quand il devient sticky */

.ast-main-header-wrap.is-sticky {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 9999;

    background: #ffffff; /* Changez la couleur selon votre design */

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    

    /* Lancement de l'animation */

    animation: menuSmoothAppearance 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

}



/* Ajustement pour la barre WordPress */

.admin-bar .ast-main-header-wrap.is-sticky {

    top: 32px;

}



/* Définition de l'animation fluide */

@keyframes menuSmoothAppearance {

    0% {

        transform: translateY(-100%);

        opacity: 0;

    }

    100% {

        transform: translateY(0);

        opacity: 1;

    }

}



/* Optionnel : transition fluide lors de la perte de la classe sticky */

.ast-main-header-wrap {

    transition: all 0.3s ease;

}



/* 1. Cacher le logo du menu par défaut */

.ast-main-header-wrap .site-branding, 

.ast-main-header-wrap .custom-logo-link {

    display: none;

    opacity: 0;

    transition: all 0.3s ease;

    max-width: 120px; /* Ajustez la taille de votre logo réduit */

}



/* Cache le logo par défaut */

.sticky-logo-container, .sticky-logo-unique {

    display: none;

    opacity: 0;

    transition: all 0.5s ease-in-out;

    transform: translateX(-30px); /* Part de la gauche */

}



/* Affiche le logo uniquement quand c'est sticky */

.is-sticky .sticky-logo-container, 

.is-sticky .sticky-logo-unique {

    display: flex;

    align-items: center;

    opacity: 1;

    transform: translateX(0); /* Glisse vers sa place */

    margin-right: 15px;

}



/* Assure que la barre de menu ne saute pas */

.is-sticky .main-header-bar-container {

    display: flex !important;

    align-items: center !important;

}



/* Cibler l'image du logo quand le menu est fixe */

.is-sticky .sticky-logo-container img, 

.is-sticky .sticky-logo-unique img {

    height: 56px;    /* Force la hauteur (ajustez entre 30px et 50px selon vos goûts) */

    width: auto;     /* Garde les proportions de l'image pour ne pas l'écraser */

    display: block;  /* Évite les espaces vides sous l'image */

    background-color: #fff;

    padding: 2px;

}



/* Ajuster l'alignement vertical du conteneur */

.is-sticky .sticky-logo-container, 

.is-sticky .sticky-logo-unique {

    display: flex;

    align-items: center;

    margin-right: 20px; /* Espace entre le logo et le premier lien du menu */

}



#ast-desktop-header .ast-main-header-wrap.is-sticky .ast-primary-header-bar .site-primary-header-wrap {

    max-height: 70px;

}



.site-footer #nav_menu-2 .widget-title{

    /*visibility: hidden;*/

}







/* État initial du sous-menu */

@keyframes fadeInLeft {

    from {

        opacity: 0;

        transform: translateX(-20px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



.main-navigation .sub-menu {

    display: block; /* important pour Astra */

    opacity: 0;

    visibility: hidden;

    transform: translateX(-20px);

}



.main-navigation li:hover > .sub-menu,

.main-navigation li.focus > .sub-menu {

    animation-name: fadeInLeft;

    animation-duration: 0.35s;

    animation-timing-function: ease;

    animation-fill-mode: forwards;

    visibility: visible !important;

    opacity: 1;

}





.main-navigation li:hover > .sub-menu {

    animation-name: fadeInLeft;

    animation-duration: 0.4s;

    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

}



.main-navigation .sub-menu {

    display: block !important;

}



.ast-main-header-bar {

    overflow: visible !important;

}



#spectra-slider-4 {

    margin-top: -1px;

}



/* 1. On empêche l'image de déborder de la boîte pendant le zoom */

.ma-boite-logistique {

    overflow: hidden; 

    transition: all 0.3s ease;

}



/* 2. On cible l'image à l'intérieur de la boîte */

.ma-boite-logistique img {

    transition: transform 0.5s ease; /* Animation fluide du zoom */

    display: block;

    width: 100%;

    height: auto;

    box-shadow: inset 20px 0px 30px -20px rgba(0, 0, 0, 0.7);

}



/* 3. L'effet Zoom In au survol de la boîte */

.ma-boite-logistique:hover img {

    transform: scale(1.5); /* Zoom de 10% */

}



/* 4. Optionnel : Ajouter une ombre sur la boîte entière au survol */

.ma-boite-logistique:hover {

    box-shadow: 0px 15px 30px rgba(0,0,0,0.15);

}



.wp-block-spectra-container

 {

    padding: 0px;

}



body .wp-block-spectra-container:where([data-spectra-id='spectra-mk43cer3-crohfk'])

{

    gap: initial!important;

}



/* 1. Conteneur principal avec ombre interne */

.ma-boite-logistique {

    position: relative; /* Nécessaire pour placer le dégradé */

    overflow: hidden;

    background-color: #1874c1; /* Votre couleur bleue de fond */

    box-shadow: inset 20px 0px 30px -20px rgba(0, 0, 0, 0.7);

    transition: all 0.3s ease;

}



/* On cible le conteneur principal */

.ma-boite-logistique {

    position: relative !important;

    overflow: hidden !important;

    /* On force le bleu ici, mais il ne sera visible que si l'image est transparente ou via l'overlay */

    background-color: #009ee0 !important; 

    transition: all 0.3s ease;

    z-index: 1;

}



/* On crée l'ombre interne et le dégradé sur une seule couche au-dessus de l'image */

.ma-boite-logistique::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(to bottom, #0274be 0%, rgb(0 0 0 / 33%) 100%);

    box-shadow: inset 20px 0px 30px -20px #2a2a2a !important;

    z-index: 2;

    pointer-events: none;

}



/* L'image doit être derrière l'ombre et le dégradé */

.ma-boite-logistique img {

    position: relative;

    z-index: 1 !important;

    display: block;

    width: 100%;

    height: auto;

    transition: transform 0.5s ease !important;

    /* Pour laisser voir le bleu du fond si l'image ne remplit pas tout */

    mix-blend-mode: multiply; 

}



/* Le contenu (titre/texte) doit être tout en haut */

.ma-boite-logistique .uagb-ifb-content, 

.ma-boite-logistique h3, 

.ma-boite-logistique p,

.ma-boite-logistique .uagb-icon-list-item {

    position: relative !important;

    z-index: 3 !important; 

    color: white !important;

}



/* L'effet Zoom */

.ma-boite-logistique:hover img {

    transform: scale(1.3) !important;

}



/* On force l'icône ou l'image de l'icône au premier plan */

.ma-boite-logistique .uagb-ifb-icon, 

.ma-boite-logistique .uagb-ifb-icon-content,

.ma-boite-logistique i, 

.ma-boite-logistique svg,

.ma-boite-logistique img[class*="icon"] {

    position: relative !important;

    z-index: 10 !important; /* On la met tout en haut de la pile */

    opacity: 1 !important;

    transition: all 0.3s ease;

}



/* Optionnel : Petit effet de zoom sur l'icône au survol pour plus de dynamisme */

.ma-boite-logistique:hover .uagb-ifb-icon {

    transform: scale(1.1);

    color: #ffb400; /* Change en jaune au survol si vous voulez l'effet DT Logistics */

}



.post-overlay{

background-color: #146ef54f;

}



.wp-block-spectra-content.wp-block-spectra-content[data-spectra-id='spectra-3f15a6cb-heading']

{

    width: 50%!important;

}



.sit-nav-counter-title{

    width:100%;

    text-align: right;

    font-size: 18px;

}



.sit-nav-element h4{

    color: #424242 !important;

    font-weight: bold;

}



.sit-nav-element h3{

    font-size: 28px;

    color: #fff;

    font-weight: bold;

    background: #424242;

    padding: 3px 5px;

}



.sit-nav-element h3:before{

    background: #5dc300;

}



.sit-nav-element h4:before {

    position: absolute;

    content: "";

    width: 40px;

    height: 3px;

    bottom: -13px;

}



.sit-nav-element h4:before {

    background-color: #fff;

}



.sit-nav-element figure {

    max-width: 80%;

    border-bottom: 2px solid #424242;

}



.wp-block-cover, .wp-block-cover-image{

    min-height: 100%;

}



body{

    color:#777777;

}

.wp-block-column.is-vertically-aligned-top {
    align-self: flex-end!important;
}


/* 1. Style global pour les labels visibles (Couleur, taille) */
#colophon .tnp-subscription label,
#colophon .tnp-profile label {
    color: #fafafa !important;
    font-weight: normal;
    font-size: 1em;
}

/* 2. MASQUER UNIQUEMENT les labels de Prénom et Email */
/* On cible précisément les classes des divs parentes pour ne pas toucher à la privacy */
#colophon .tnp-field-firstname label,
#colophon .tnp-field-email label {
    display: none !important;
}

/* 3. AFFICHER ET STYLISER la case à cocher (Privacy) */
/* Dans votre HTML, le label contient l'input, donc on doit l'afficher en flex */
#colophon .tnp-privacy-field label {
    display: flex !important; /* Force l'affichage du label parent */
    align-items: center;      /* Aligne verticalement la case et le texte */
    cursor: pointer;
    gap: 10px;               /* Espace entre la case et le texte */
    margin-top: 10px;
}

/* Ajustement de la case elle-même pour qu'elle ne soit pas écrasée */
#colophon .tnp-privacy-field input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    width: auto;
}

/* 4. Style des boutons (Votre code d'origine) */
#colophon .tnp-subscription input.tnp-submit {
    background-color: transparent;
    color: #fafafa;
    border: solid #fafafa 2px;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

#colophon .tnp-subscription input.tnp-submit:hover {
    background-color: #fdc300;
    color: #1a73e8;
    border-color: #fdc300;
}


#icbCards-5 .btnWrapper,

div.home-consultation div.apbReadMore a{

    text-align: left;

}



.container-mg-top{

    margin-top: 80px!important;

    margin-bottom: 80px!important;

}



.wp-block-icb-cards .icbCards a.card{

    position: relative;

}



a.card h2 {

    margin: 15px 0px!important;

    font-size: 18px!important;

    font-weight: bold;

    text-transform: uppercase;

}



a.card p{

    line-height: 28px;

}





a.card h2:after {

    position: absolute;

    content: "";

    width: 40px;

    height: 3px;

    left: 0;

    bottom: -12px;

    background: #fdc300;

}



h3 {

    font-size: 18px;

    font-weight: 400;

    letter-spacing: 1px;

}



h2 {

    font-size: 24px;

    font-weight: 400;

    letter-spacing: 1.5px!important;

}





.btnWrapper a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 14px!important;

}



.btnWrapper a::after,

div.home-consultation div.apbReadMore a::after {

    content: "\f054"; /* icône flèche droite */

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    padding-left: 8px;

    font-size: 9px;

}



.wp-block-spectra-tabs-child-tabpanel {

    border: none!important;

}



div.onglet button.spectra-text-color{

    color: #2a2a2a!important;

    font-weight: 500!important;

}





div.onglet button.spectra-block-is-active{

        color: #fff!important;

} 



.wp-block-spectra-tabs-child-tab-button:where(div,button)[class*=wp-block].spectra-text-color {

    color: #2a2a2a !important;

}



.wp-block-bicb-carousel .bicbCarousel .carouselItem .image img{

    object-fit: contains!important;

}





.weatherwidget-io{

    width: 100%;

}





/* Style de la fenêtre Pop-up */

.modal {

    max-width: 800px !important;

    border-radius: 8px !important;

    padding: 0 !important;

    overflow: hidden;

}



/* En-tête de la pop-up si vous en générez une dans votre fichier externe */

.modal-header {

    background: #1e3a8a;

    color: white;

    padding: 15px 20px;

    font-weight: bold;

}



/* Animation d'ouverture */

.blocker {

    background-color: rgba(0,0,0,0.75) !important;

    z-index: 9999 !important;

}



#icbCards-5 .icbCards .first4Theme .content h2, #icbCards-5 .icbCards .theme5 .content .details h2 {

    color: #2a2a2a;

    text-align: left;

    font-weight: 500!important;

    margin-bottom: 30px !important;

}



#icbCards-5 .icbCards .first4Theme {

  overflow: hidden;    /* Empêche l'image de dépasser du cadre lors du zoom */

  border-radius: 8px;  /* Optionnel : arrondit les coins */

}



#icbCards-5 .icbCards .first4Theme img {

  width: 100%;

  height: 100%;

  object-fit: cover;   /* Garde les proportions de l'image */

  transition: transform 0.9s ease; /* Animation fluide */

}



/* L'effet au survol */

#icbCards-5 .icbCards .first4Theme:hover img {

  transform: scale(1.2); /* Zoom de 20% (1.1 pour 10%, etc.) */

  cursor: pointer;

}



.bpi-year{
    color: #fff !important;
    width: 30%;
    position: absolute;
    right: 7px;
    bottom: -10%;
    border-radius: 5px;
}



/* Style de base (Mobile First) */

.epaiment-section-bleue {

    background: #009ee0; /* Couleur unie plus simple sur petit écran */

    display: flex;

    flex-direction: column; /* On empile les éléments verticalement */

    align-items: center;

    padding: 20px 5%; /* Moins de padding sur les côtés */

    color: white;

    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);

    text-align: center;

}



/* Tablettes et Desktop (Écrans larges) */

@media (min-width: 768px) {

    .epaiment-section-bleue {

        background: linear-gradient(104deg, #009ee0 50%, #0274be 50%);

        flex-direction: row; /* On remet les éléments côte à côte */

        padding: 0 10%;

        text-align: left;

        min-height: 200px; /* Optionnel : pour donner du souffle */

    }

}



.wp-block-spectra-container[class*=wp-block].spectra-background-color:not(.spectra-background-image):before {

    background: none!important;

}



#bicbCarousel-13{

    background: #ffffff!important;

    border-left: 15px solid #0056b3; /* Rappel de votre bleu clair */

    padding: 20px 40px;

    display: flex;

    align-items: center;

    justify-content: space-around;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Effet de lévitation */

}



#bicbCarousel-13 {

    background: radial-gradient(circle at top right, #0056b3, #002b5c);

    padding: 10px 0;

    display: flex;

    justify-content: center;

    gap: 30px;

}



#bicbCarousel-13 .image {

    background: rgba(255, 255, 255, 0.05); /* Blanc transparent */

    backdrop-filter: blur(10px); /* Flou derrière la carte */

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 5px;

    padding: 10px;

    transition: transform 0.3s ease;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

}



#bicbCarousel-13 .image:hover {

    transform: translateY(-10px);

    background: rgba(255, 255, 255, 0.1);

}



#bicbCarousel-13 .bicbCarousel .swiper-button-prev::after, #bicbCarousel-13 .bicbCarousel .swiper-button-next::after {

    color:#0056b3;

}



@media (max-width: 767px) {

        body .wp-block-spectra-container:where([data-spectra-id='spectra-mkz738mm-zjmidz']) {

        display: block !important; /* Force le passage en bloc */

        padding: 20px 5%;          /* Ajustement de l'espacement pour mobile */

        text-align: center;        /* Optionnel : centre le texte pour un meilleur rendu */

    }

}





/* Tablettes et Ordinateurs (Écrans < 768px) */

@media (max-width: 768px) {

    figure.home-sit-nav-icon {

        max-width: 30%;

    }

}



body .is-layout-flex {

    display: flex;

    align-items: center;

}



@media (max-width: 767.98px) {

    .wp-block-spectra-container.wp-block-spectra-container[data-spectra-id='spectra-2898c896-cf71-421d-823b-520eff7169be'].wp-block-spectra-container {

        margin-bottom: 40px!important;

    }

}



@media (max-width: 767.98px) {

body .wp-block-spectra-container:where([data-spectra-id='spectra-dfaa9373-3044-47bb-9039-267361393445'])

{

display: block!important;

gap: 0px;

}
}


@media (max-width: 767.98px) {

body .wp-block-spectra-container:where([data-spectra-id='spectra-mfwh2dik-sz8gx5']) {

    display: block!important;

    gap: 0px;

}
}


@media (max-width: 767.98px) { 

    body .wp-block-spectra-container:where([data-spectra-id='spectra-mkdwb4o9-irs41o']){

        display: block!important;

    }

}



@media (max-width: 767.98px) {

    .epaiment-section-bleue {

        /* 180deg crée une ligne de séparation parfaitement horizontale */

        background: linear-gradient(180deg, #009ee0 50%, #0274be 50%);

        

        /* On passe en colonne pour que le contenu s'aligne avec les couleurs haut/bas */

        display: flex;

        flex-direction: column; 

        

        padding: 20px 10%; /* Un peu de padding vertical pour décoller du bord */

        text-align: center; /* Souvent plus esthétique en mode empilé */

        min-height: 200px;

        align-items: center;

        justify-content: center;

    }

}


@media (min-width: 1024px) {
    body .wp-block-spectra-container:where([data-spectra-id='spectra-mmbx8hws-4sdufj']) {
        display: contents!important;
        gap: var(--wp--style--block-gap, 1em);
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
        background: #de0;
    }
}

body #spectra-mmbx8hws-4sdufj div.wp-block-makeiteasy-flip-card{
    height: 100% important;
}

.ast-footer-copyright p{
    text-align: center!important;
}

#spectra-slider-5{
    margin-top: 0px!important;
}




/* ==========================================================================
   PERSONNALISATION DLM LIST AND BUTTONS
   ========================================================================== */


/*.dlm-cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:12px;
    margin:30px 0;
}

.dlm-card{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    border:1px solid #e5e5e5;
}

.dlm-card-title{
    margin:0 0 15px;
    color:#0274be;
}

.dlm-card-description{
    margin-bottom:20px;
}

.dlm-card-meta{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
    font-size:.9rem;
    color:#666;
}

.dlm-card-button a{
    display:inline-block;
    background:#0274be;
    color:#fff!important;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
}

.dlm-card-button a:hover{
    background:#009ee0;
}

.dlm-btn{
    display:inline-block;
    background:#0274be;
    color:#fff !important;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.dlm-btn:hover{
    background:#009ee0;
}

.dlm-filesize{
    display:flex;
    align-items:center;
    gap:8px;
}

.dlm-icon{
    width:40px;
    height:40px;
    object-fit:contain;
}
*/


/* ==========================================================================
   STRUCTURE DES CARTES DOWNLOAD MONITOR (Astra Child)
   ========================================================================== */

/* Alignement global du bouton dans la carte */
.dlm-card-button {
    margin-top: 15px !important;
}

/* Le bouton : Largeur fixe et alignement flexible */
a.dlm-btn {
    display: inline-flex !important;    
    align-items: center !important;     
    justify-content: center !important; 
    
    width: 250px !important;            /* Force la largeur de votre bouton */
    box-sizing: border-box !important;  
    
    white-space: nowrap !important;     
    overflow: hidden !important;        
    text-overflow: ellipsis !important;

    background-color: #0073aa !important; 
    color: #ffffff !important;            
    padding: 12px 20px !important;        
    border-radius: 5px !important;        
    text-decoration: none !important;     
    font-weight: bold !important;
}

a.dlm-btn:hover {
    background-color: #005177 !important;
}

/* Sécurité CSS pour l'icône */
img.dlm-btn-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important; /* Empêche l'icône de s'écraser si le texte est long */    
}




/* ==========================================================================
   CSS POUR WIDGETS PERSONNALISES - PAGES INTERNES
   ========================================================================== */


/* ==========================================================================
   BOUTONS DE LA COLONNE LATÉRALE (ALIGNÉS À GAUCHE AVEC FLÈCHE BLANCHE)
   ========================================================================== */

/* Conteneur vertical des boutons */
.sidebar-button-container {
    display: flex;
    flex-direction: column;    
    justify-content: flex-start; 
    align-items: flex-start;   
    gap: 10px;                  /* Espace réduit entre les boutons */
    width: 100%;
    max-width: 280px;          /* S'adapte à la largeur de la sidebar */
    margin: 20px 0;            
    padding: 10px 0;           
    box-sizing: border-box;
}

/* Style des boutons (Bleu Marin, presque carrés, texte et icône en blanc) */
.sidebar-button-container .sidebar-animated-button {
    display: flex;
    justify-content: space-between; /* Aligne le texte à gauche et la flèche à droite */
    align-items: center;
    width: 100%;               
    text-decoration: none;
    padding: 14px 20px;        
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff !important;  /* Texte blanc garanti */
    border-radius: 4px;         /* Angles à peine arrondis, presque carrés */
    box-sizing: border-box;
    
    /* Dégradé bleu marine riche */
    background: linear-gradient(135deg, #0f172a, #1e3a8a); 
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.15); 
    
    position: relative;
    overflow: hidden;
    z-index: 1;
    
    /* Transition fluide pour les mouvements et l'ombre */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
}

/* Style spécifique de l'icône flèche blanche */
.sidebar-button-container .sidebar-animated-button .btn-arrow {
    color: #ffffff !important;  /* Flèche strictement blanche */
    font-size: 14px;
    transition: transform 0.3s ease; /* Transition pour l'animation de la flèche */
}

/* Effet de reflet lumineux blanc au survol */
.sidebar-button-container .sidebar-animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    z-index: -1;
    transition: none;
}

.sidebar-button-container .sidebar-animated-button:hover::before {
    left: 100%;
    transition: left 0.6s ease-in-out;
}

/* Mouvements au survol (Hover) */
.sidebar-button-container .sidebar-animated-button:hover {
    transform: translateX(6px); /* Le bouton glisse doucement vers la droite de 6px */
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.4); /* Accentue la lueur bleue marine */
}

/* Animation de la flèche : elle se décale un peu plus vers la droite au survol */
.sidebar-button-container .sidebar-animated-button:hover .btn-arrow {
    transform: translateX(4px);
}

/* Effet d'enfoncement actif lors du clic */
.sidebar-button-container .sidebar-animated-button:active {
    transform: translateX(2px);
}



p {
    text-align: justify;
}





