 /* Stylesheets and Google fonts import */
@import url("font-awesome.css");
@import url("animations.css");
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700);
@import url(http://fonts.googleapis.com/css?family=Roboto:400,700);
@import url(http://fonts.googleapis.com/css?family=Volkhov:400italic);

/*-------------------------------------------------------------------------------------------*/
/* 0. RESET */
/*-------------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: "Source Sans Pro", sans-serif;
    font-size: 100%;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

iframe {
    border: 0;
}

/* ==================================================
   Basic Styles
================================================== */

html, body {
    height: 100%;
}

html, hmtl a {
    width: 100%;
    font-size: 100%; 
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%;
}

a {
    color: #5e5e5e;
    cursor: pointer;
    -webkit-transition: color 0.1s linear 0s;    
    -moz-transition: color 0.1s linear 0s;
    -o-transition: color 0.1s linear 0s;
    transition: color 0.1s linear 0s;
}

a:hover {
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    outline: 0;
    color: #666666;
}

a img {
    border: none;
}

a > img {
    vertical-align: middle;    
}

.gray-bg {
    background: #bababa;
}

.gray-text {
    color: #bababa;
}

.lgray-bg {
    background: #f8f8f8;
}

.dgray-bg {
    background: #333333;
}

img {
    max-width: 100%;    
}

img, object, embed, audio, video {
    max-width: 100%;
}

img {
    height: auto;
}

strong, .strong {
    font-weight: 700;
}

p {
    margin: 0 0 20px;
}

i, em, .italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.align-left {
    float: left;
    margin: 0 25px 0 0px !important;
}

.align-right {
    float: right;
    margin: 0 0 0 25px !important;
}

.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right;    
}

.color-text {
    color: #ffffff;
}

.through {
    text-decoration: line-through;
}

.border-radius {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

/* ==================================================
   Typography
================================================== */

@font-face {
    font-family: 'century gothic';
    src: url('fonts/century-gothic.ttf');
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 12px 0;
    color: #2b4277;
    font-family: "Source Sans Pro", sans-serif;
}

h1 {
    font-size: 36px;
    font-family: 'century gothic', sans-serif;
}

h2 {
    font-size: 25px;
    text-transform: uppercase;
    font-family: 'century gothic', sans-serif;
}

h3 {
    font-size: 18px;
    font-weight: 600;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

h6 {
    font-size: 12px;
}

h1.short, h2.short, h3.short, h4.short, h5.short, h6.short, p.short {
    margin-bottom: 5px;
}

h1.spaced, h2.spaced, h3.spaced, h4.spaced, h5.spaced, h6.spaced {
    margin-top: 22px;
}

h1 a, h2 a, h3 a, h5 a, h6 a {
    color: #5e5e5e;
    text-decoration: none;
}

.huge {
    font-size: 10em;
    text-align: center;
}

blockquote {
    margin: 30px 0;
    padding: 0 0 0 30px;
    border-left: 3px solid;
}

blockquote p, .unordered {
    margin-bottom: 0;
    white-space: normal;
    font-size: 13px;
}

blockquote .centre {
    font-weight: bold;
    text-align: center;
    color: #2b4277;
    font-size: 15px;
    padding: 10px;
}

blockquote cite {
    color: #ffffff;
}

blockquote cite:before {
    content: "- ";
}

p {
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 15px 0;
}

p.md {
    font-size: 16px;
    line-height: 22px;
}

p.lg {
    font-size: 30px;
    line-height: 1.2em;
}

.big {
    font-size: 200%;
    line-height: 1.5em;
}

.thin {
    font-weight: 300;
}

p.drop-caps:first-child:first-letter {
    float: left;
    padding: 4px;
    font-size: 75px;
    font-family: "century gothic", sans-serif;
    line-height: 60px;
}

p.drop-caps.secondary:first-child:first-letter {
    margin-right: 10px;
    padding: 12px;
    width: 50px;
    border-radius: 4px;
    color: rgb(255, 255, 255);
}

hr {
    display: block;
    clear: both;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    height: 1px;
    border: 0;
    background: #cccccc;
}

hr.fw {
    display: block;
    clear: both;
    margin-top: 0;
    margin-bottom: 50px;
    width: 100%;
    height: 1px;
    border: 0;
    background: #eaeaea;
}

hr.sm {
    display: inline-block;
    margin: 15px 0;
    width: 40px;
    height: 2px;
    border: 0;
    background: #eaeaea;
}

/* ==================================================
   Margin Bottom Sets
================================================== */

.margin-0 {
    margin-bottom: 0 !important;
}

.margin-10 {
    margin-bottom: 10px !important;
}

.margin-15 {
    margin-bottom: 15px !important;
}

.margin-20 {
    margin-bottom: 20px !important;
}

.margin-30 {
    margin-bottom: 30px !important;
}

.margin-40 {
    margin-bottom: 40px !important;
}

.margin-50 {
    margin-bottom: 50px !important;
}

.margin-60 {
    margin-bottom: 60px !important;
}

.margin-70 {
    margin-bottom: 70px !important;
}

.margin-80 {
    margin-bottom: 80px !important;
}

.push-top {
    margin-top: 35px;
}

/* ==================================================
   Padding Sets
================================================== */
.padding-b0 {
    padding-bottom: 0 !important;
}

.padding-tb20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.padding-tb45 {
    padding-top: 45px;
    padding-bottom: 45px;
}

.padding-tb75 {
    padding-top: 75px;
    padding-bottom: 75px;
}

.padding-tb100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.padding-tb125 {
    padding-top: 125px;
    padding-bottom: 125px;
}

/* ==================================================
   Spacers
================================================== */
.spacer-20 {
    height: 20px;
    clear: both;
    width: 100%;
}

.spacer-30 {
    height: 30px;
    clear: both;
    width: 100%;
}

.spacer-40 {
    height: 40px;
    clear: both;
    width: 100%;
}

.spacer-50 {
    height: 50px;
    clear: both;
    width: 100%;
}

.spacer-75 {
    height: 75px;
    clear: both;
    width: 100%;
}

.spacer-100 {
    height: 100px;
    clear: both;
    width: 100%;
}

/* ----------------------------------------------------------------------------------------- */
/* Multi purpose classes */
/* ----------------------------------------------------------------------------------------- */

.demande {
    background-color: #e6e6e6;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.demande h3 {
    margin-right: 10px;
    margin-bottom: 0;
    text-align: right;
    line-height: 30px;
}

.demande .btn {
    margin: 0;
}

.linkedin {
    width: 90px;
    display: inline-block;
    margin-left: 60px;
}

.linkedin :hover {
    opacity: 0.6;
}

.annuaire h4 {
    padding-top: 30px;
    padding-bottom: 50px;
    text-align: center;
    color: #ed6e2a;
    font-size: 26px;
}

.annuaire a {
    text-decoration: none;
    color: #2b4277;
    font-weight: 500;
}

.annuaire a:hover {
    font-weight: 600;
}

.section-title {
    margin-bottom: 30px;
    padding-left: 10px;
    position: relative;
}    

.section-title::before {
    background: #ed6e2a none repeat scroll 0 0;
    content: "";
    height: 55px;
    left: -2px;
    position: absolute;
    top: 0;
    width: 3px;
    box-sizing: border-box;
}

.section-title::after {
    background: #ed6e2a none repeat scroll 0 0;
    content: "";
    height: 3px;
    left: -1000px;
    position: absolute;
    top: 44%;
    width: 1000px;
    box-sizing: border-box;
}

.section-title strong {
    color: #ed6e2a;
    font-weight: 500;
}

.overlay-transparent {
    background: rgba(0,0,0,.6);
}

.btn {
    border-width: 0;
    text-decoration: none;
    font-family: "Source Sans Pro", sans-serif;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

.btn a {
    text-decoration: none;
    color: white;
}

.btn-default {
    border-width: 1px;
}

.checkers-overlay {
    background: url(../images/checkers.png) repeat;
}

.pattern-overlay {
    background: url(../images/pattern.png) repeat;
}

.img-thumbnail {
    padding: 5px;
}

.social-icons a {
    margin: 0 8px;
    text-decoration: none;
}

.next-prev-nav {
    display: inline-block;
}

.next-prev-nav a {
    display: inline-block;
    width: 20px;
    height: 20px;
    color: #fff;
    text-align: center;
    line-height: 20px;
    text-decoration: none;
}

.next-prev-nav a:hover {
    color: #fff;
}

.meta-data {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-style: italic;
    font-family: 'Volkhov', serif;
    color: #999999;
}

.meta-data a {
    color: #666666;
}

.meta-data a i {
    color: #999999;
}

.meta-data a:hover {
    text-decoration: none;
}

.meta-data > span {
    margin-right: 20px;
    display: inline-block;
}

.meta-data i {
    margin-right: 4px;
}

.meta-data > span:last-child {
    margin-right: 0;
}

.isotope, .isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
}

.isotope.no-transition, .isotope.no-transition .isotope-item, .isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}

.media-box {
    position: relative;
    display: block;
    max-width: 100%;
}

.media-box .zoom, .media-box .expand {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #ffffff !important;
    font-size: 1.5em;
    z-index: 999;
    left: 0;
    top: 0;
    margin: 0;
    background-color: rgba(0,0,0,.5);
    opacity: 0;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

.img-thumbnail img:hover, .img-thumbnail:hover {
    opacity: .9
}

.media-box:hover .zoom, .media-box:hover .expand {
    opacity: 1;
    -webkit-transition: opacity .3s .2s;
    -moz-transition: opacity .3s .2s;
    -ms-transition: opacity .3s .2s;
    -o-transition: opacity .3s .2s;
    transition: opacity .3s .2s;
}

.mejs-container {
    margin-bottom: 20px;
}

.media-box .media-box-wrapper {
    padding: 30px;
}

.info-table li {
    border-bottom: 1px solid #eceae4;
    padding: 10px 20px;
}

.info-table li:nth-child(2n+1) {
    background-color: #f8f7f3;
}

.info-table li i.fa {
    margin-right: 5px;
}

.info-table li:last-child {
    border-bottom: 0;
}

/*-------------------------------------------------------------------------------------------*/
/* SITE STRUCTURE & APPEARANCE */
/*-------------------------------------------------------------------------------------------*/
body {
    background-color: #ffffff;
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    font-family: "Source Sans Pro", sans-serif;
    line-height: 20px;
    background-attachment: fixed;
}

body.boxed .body {
    position: relative;
    margin: 25px auto;
    max-width: 1080px;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.2);
    box-shadow: 0 0 2px rgba(0,0,0,.2);
}

@media (min-width: 1200px) {
    body.boxed .body .site-header, body.boxed .body .main-menu-wrapper {
        max-width: 100%;
        width: 1080px;
    }
}

.site-header {
    width: 100%;
}

.site-header .topbar {
    background-color: rgba(255,255,255,.8);
    position: relative;
    z-index: 3;
    -webkit-box-shadow: 0 2px 0 rgba(0,0,0,.1);
    -moz-box-shadow: 0 2px 0 rgba(0,0,0,.1);
    box-shadow: 0 2px 0 rgba(0,0,0,.1);
    margin-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
}

.site-header h1.logo {
    position: relative;
    z-index: 1300;
    display: table;
    margin: 0;
    height: 65px;
    vertical-align: middle;
    line-height: 0;
}

.logo a {
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
}

/* Hero Slider */
.flexslider {
    margin: 0;
    padding: 0;
    background: url(../images/loader.gif) no-repeat scroll center center;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
} 

html[xmlns] .slides {
    display: block;
} 

* html .slides {
    height: 1%;
}

.flexslider .slides {
    zoom: 1;
}  

.hero-slider {
    position: relative;
    top: -81px;
    margin-bottom: -81px;
    left: 0;
    z-index: 1;
    height: 370px;
    width: 100%;
    overflow: hidden;
}

.hero-slider .flex-viewport {
    width: 100%;
}

.hero-slider.flexslider > ul.slides {
    height: 100%;
}

.hero-slider.flexslider ul.slides li {
    height: 370px;
    width: 100%;
    overflow: hidden;
    position: static;
    background-attachment: scroll !important
}

.flexslider .flex-control-nav {
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 111;
    left: 0;
    bottom: 10px;
    padding: 0;
    margin: 0;
}

.hero-slider.flexslider .flex-control-nav {
    bottom: -40px;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

.hero-slider.flexslider:hover .flex-control-nav {
    bottom: 10px;
    -webkit-transition: bottom .3s .2s;
    -moz-transition: bottom .3s .2s;
    -ms-transition: bottom .3s .2s;
    -o-transition: bottom .3s .2s;
    transition: bottom .3s .2s;
}

.flexslider .flex-control-nav li {
    display: inline;
}

.flexslider .flex-control-nav a {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: #ffffff;
    display: inline-block;
    margin: 0 6px;
    text-indent: -9999px;
    text-decoration: none;
}

.flexslider .flex-prev, .flexslider .flex-next {
    background: rgba(0,0,0,.6);
    color: #f8f7f3;
    display: block;
    margin-bottom: 10px;
    position: absolute;
    top: 50%;
    right: 10px;
    font-size: 14px;
    line-height: 25px;
    width: 25px;
    height: 25px;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    display: none;
    text-align: center;
}

.flexslider .flex-prev {
    left: 10px;
    right: auto;
}

.flexslider .flex-prev:before {
    content: "\f104";
}

.flexslider .flex-next:before {
    content: "\f105";
}

.hero-slider.flexslider .flex-prev, .hero-slider.flexslider .flex-next {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    width: 100px;
    height: 100px;
    right: -100px;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
    font-size: 30px;
    line-height: 100px;
    display: block;
    text-align: left;
}

.flexslider:hover .flex-prev, .flexslider:hover .flex-next {
    display: block;
}

.hero-slider.flexslider .flex-prev {
    left: -100px;
    padding-left: 60px;
}

.hero-slider.flexslider .flex-next {
    padding-left: 30px;
}

.hero-slider.flexslider:hover .flex-prev {
    left: -50px;
    -webkit-transition: left .3s .2s;
    -moz-transition: left .3s .2s;
    -ms-transition: left .3s .2s;
    -o-transition: left .3s .2s;
    transition: left .3s .2s;
}

.hero-slider.flexslider:hover .flex-next {
    right: -50px;
    -webkit-transition: right .3s .2s;
    -moz-transition: right .3s .2s;
    -ms-transition: right .3s .2s;
    -o-transition: right .3s .2s;
    transition: right .3s .2s;
}

.notice-bar, .page-header {
    background: #f8f7f3;
    padding: 20px 0;
    box-shadow: 0 2px 0 rgba(0,0,0,.07);
}

.notice-bar.latest-sermon {        
    padding-bottom: 0;        
}

.latest-sermon h3 {        
    margin-bottom: 0;        
}

.notice-bar-title-icon {
    display: inline-block;
    float: left;
    margin-right: 15px;
}

.notice-bar-title .title-note {
    margin-top: 4px;
}

.notice-bar-title strong {
    font-family: 'century gothic', sans-serif;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

.notice-bar-event-title h5, .notice-bar-event-title .date {
    margin-bottom: 0;
}

.counter .timer-col {
    display: inline-block;
    width: 24%;
    text-align: center;
}

.timer-col #days, .timer-col #hours, .timer-col #minutes, .timer-col #seconds {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    padding: 5px 10px;
}

.timer-col #days {
    color: #ffffff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.timer-col #hours, .timer-col #minutes, .timer-col #seconds {
    background: #eceae4;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.timer-col .timer-type {
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

.content {
    padding-top: 40px;
}

.featured-blocks {
    margin-bottom: 30px;
}

.featured-block strong {
    color: #fff;
    font-size: 13px;
    display: inline-block;
    padding: 5px 30px;
    margin: 0;
    position: absolute;
    z-index: 10;
    left: 10px;
    bottom: 30px;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;    
}

.featured-block:hover strong {
    bottom: 58px;
    -webkit-transition: bottom .3s .2s;
    -moz-transition: bottom .3s .2s;
    -ms-transition: bottom .3s .2s;
    -o-transition: bottom .3s .2s;
    transition: bottom .3s .2s;
}

.featured-block .more {
    background: #2b4277;
    color: #fff;
    display: inline-block;
    padding: 5px 15px 5px 15px;
    margin: 0;
    position: absolute;
    z-index: 9;
    left: 10px;
    bottom: 30px;
}

.featured-block .img-thumbnail:hover {
    opacity: 1;
}

.featured-block .dimension {
    margin-top: 10px;
    margin-left: 15px;
    width: 325px;
    border: 1px solid #dedede;
    border-radius: 3px;
    color: black;
}

.featured-block .dimension p {
    margin: 5px 0 5px 0;
}

.listing-cont {
    padding: 0 0 0 15px;
}

.post-title strong {
    color: #fff;
    font-size: 13px;
    display: inline-block;
    background-color: #ed6e2a;
    padding: 5px 30px;
    margin: 0;
    position: absolute;
    z-index: 10;
    left: -45px;
    bottom: 120px;
}

.post-title p {
    margin-top: 75px;
}

.post-title a {
    margin: 0 auto;
}

.listing-header-sub {
    text-align: right;
    padding-top: 10px;
}

.listing-header-sub h5 {
    display: inline-block;
    margin-right: 20px;
}

.listing .item {
    width: 100%;
    padding: 10px 0;
    float: left;
}

.event-date {
    width: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    color: #333333;
    text-align: center;
    padding: 5px 0 0 0;
}

.event-date .date {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 0;
    display: block;
    margin-top: 2px;
}

.event-date .month, .event-date .year {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999999;
    display: block;
    margin-top: 4px;
}

.event-date .year {
    font-size: 11px;
    margin-top: 0;
    margin-bottom: 2px;
}

.event-item .event-date {
    width: 6%;
    float: left;
    margin-right: 4%;
}

.event-item .event-detail {
    float: left;
    width: 70%;
    margin-right: 3%
}

.event-item .to-event-url {
    float: left;
    width: 17%;
    text-align: right;
    display: table;
    vertical-align: middle;
}

.event-item .to-event-url div {
    display: table-cell;
    vertical-align: middle;
}

.event-item .event-detail h4 {
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
    margin-bottom: 0;
}

.event-item .event-detail h4 a {
    text-decoration: none;
}

.post-listing .post {
    padding: 20px 0 10px 0;
}

.post-listing .media-box {
    margin-bottom: 10px;
}

.post-listing .post-title {
    margin-bottom: 12px;
}

.post-listing .post-title h2, .sermons-listing h2.sermon-title {
    font-size: 16px;
    margin-bottom: 0;
}

.sermon .meta-data {
    margin: 0;
}

.item.featured-sermon {
    border-bottom: 0;
    margin-top: 20px;
    padding: 30px;
    background: #f8f7f3;
    position: relative;
    margin-bottom: 10px;
}

.featured-sermon:before {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0px;
    height: 0px;
    border-bottom: 20px solid #eceae4;
    border-right: 20px solid transparent;
}

.featured-sermon:after {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0px;
    height: 0px;
    border-top: 19px solid #ffffff;
    border-left: 19px solid transparent;
}

.featured-sermon .date {
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.featured-sermon h4 a {
    text-decoration: none;
}

.sermon-actions a {
    margin-right: 10px;
    text-decoration: none;
}

.sermon-actions i {
    font-size: 18px;
}

.featured-sermon-video {
    margin-bottom: 20px;
}

.featured-gallery {
    padding-top: 40px;
    padding-bottom: 20px;
}

.featured-gallery h4 {
    color: #2b4277;
}

.featured-gallery .btn {
    border: 0;
}

.site-footer {
    background-color: #e6e6e6;
    padding-top: 50px;
    padding-bottom: 0;
}

.site-footer-bottom {
    background-color: #e6e6e6;
    padding: 20px 0;
    font-size: 12px;
    color: #000;
}

.site-footer-bottom p {
    margin-bottom: 0;
    font-size: 12px;
}

.site-header .social-icons {
    margin-top: 30px;        
}

.site-footer-bottom .social-icons, .site-header .social-icons {
    text-align: right;
}

.site-footer-bottom .social-icons a, .site-header .social-icons a {
    color: #ffffff;
    background: #999999;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    display: inline-block;
    margin: 0 0 0 8px;
    text-decoration: none;
}

.site-footer-bottom .social-icons a:hover, .site-header .social-icons a:hover {
    background: #666666;
}

.nav-backed-header {
    position: relative;
    z-index: 1;
    margin: 0;
    border: 0;
}

.page-header {
    margin: 0;
    position: relative;
    padding: 20px 0 20px 0;
    border: 0;
}

.page-header h1 {
    text-transform: uppercase;
    color: #2b4277;
    margin-bottom: 0;
    line-height: 1em;
    font-family: 'Roboto Condensed', sans-serif;
}

.page-header p {
    color: #ed6e2a;
    margin: 0;
}

ol.breadcrumb {
    margin: 0;
    background: none;
    padding: 30px 0;
    font-size: 13px;
}

ol.breadcrumb a {
    color: #2b4277;
    text-decoration: none;
}

ol.breadcrumb a:hover {
    color: #666;
}

ol.breadcrumb > .active {
    color: #666;
}

.grid-holder {
    width: 105%;
    margin-left: -3%;
    float: left;
}

.grid-holder .grid-item {
    float: left;
}

.grid-item {
    margin-bottom: 10%;
    border-bottom: medium none;
}

.grid-item-inner {
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.grid-holder .grid-item {
    margin-left: 3%;
}

.grid-holder.col-2 .grid-item {
    width: 49%;
}

.grid-holder.col-3 .grid-item {
    width: 29.63%;
}

.grid-holder.col-4 .grid-item {
    width: 24%;
}

.grid-media {
    position: relative;
}

.grid-content {
    padding: 15px 20px 1px 20px;
}

.grid-content .fa-external-link {
    margin-left: 10px;
}

.events-grid .grid-item {
}

.grid-item h3 {
    line-height: 1em;
}

.post-title {
    margin-bottom: 0;
    padding-bottom: 6px;
}

.post-content {
    padding-top: 20px;
}

.post-content .featured-image {
    margin-bottom: 20px;
}

.single-post-header {
    margin-bottom: 0;
}

.single-post-header .event-date {
    float: left;
    width: 50px;
}

.single-post-header .btn-toolbar {
    margin-top: 8px;
}

.single-post-header .sermon-actions, .post-comments-count {
    margin-top: 15px;
}

.event-description {
}

.event-description .panel-body {
    padding: 10px 0;
}

.event-description .panel-heading {
    color: #ffffff;
}

.sermon-archive .post.sermon {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #f8f7f3;
}

.sermon-archive .post.sermon .img-thumbnail {
    background: #fff;
}

.posts-archive .post {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eceae4;
}

.posts-featuring .post-title {
    border-bottom: 0;
    margin-bottom: 0;
}

.posts-featuring .post-title .meta-data {
    margin-bottom: 0;
}

.posts-featuring .listing-header .btn {
    margin-top: 5px;
}

.blog-full-width .meta-data {
    margin-top: 7px;
}

.blog-full-width .meta-data span {
    margin: 10px 0;
    display: block;
}

.blog-full-width .post .img-thumbnail {
    margin-bottom: 20px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eceae4;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #eceae4;
    border-radius: 5px;
    padding: 20px;
    padding-top: 10px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 29px;
    right: -10px;
    display: inline-block;
    border-top: 10px solid transparent;
    border-left: 10px solid #eceae4;
    border-right: 0 solid #eceae4;
    border-bottom: 10px solid transparent;
    content: " ";
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 30px;
    right: -9px;
    display: inline-block;
    border-top: 9px solid transparent;
    border-left: 9px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 9px solid transparent;
    content: " ";
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    padding-top: 11px;
    font-size: 12px;
    line-height: 12px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #eceae4;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline > li > .timeline-badge span {
    font-size: 14px;
    font-family: 'Roboto Condensed', sans-serif;
    display: block;
    line-height: 16px;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 10px;
    left: -10px;
    right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 9px;
    left: -9px;
    right: auto;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-title a {
    text-decoration: none;
}

.timeline-body > p:last-child,
.timeline-body > ul:last-child {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

.event-blocks li, .album-blocks li {
    margin-top: 20px;
    margin-bottom: 20px;
}

.album-blocks li {
    text-align: center;
}

.push-btn {
    margin-top: 5px;
}

.event-blocks .event-cat {
    float: right;
    margin-top: 5px;
}

.album-blocks .grid-item-inner {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.album-cover {
    background: url(../images/album-disk.png) no-repeat 80px center;
    width: 224px;
    height: 148px;
    display: inline-block;
    margin-bottom: 20px;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;    
}

.album-cover:hover {
    background-position: 95px center;
    -webkit-transition: background-position .3s .2s;
    -moz-transition: background-position .3s .2s;
    -ms-transition: background-position .3s .2s;
    -o-transition: background-position .3s .2s;
    transition: background-position .3s .2s;
}

.album-cover .album-image {
    width: 148px;
    height: 148px;
    background: url(../images/album-cover.png) no-repeat center center #eceae4;
    -webkit-background-size: 100%;
    background-size: 100%;
    display: inline-block;
    -webkit-box-shadow: 0 2px 3px rgba(0,0,0,.2);
    -moz-box-shadow: 0 2px 3px rgba(0,0,0,.2);
    box-shadow: 0 2px 3px rgba(0,0,0,.2);
}

.album-image img {
    width: 100%;
    height: 100%;
}

.album-blocks li h5 {
    margin-top: 10px;
}

.slider-wrapper {
    position: relative;
    z-index: 1;
    top: -81px !important;
    margin-bottom: -81px !important;
}

.nivoslider {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.nivo-directionNav a {
    top: 55% !important;
}

.nivo-controlNav {
    width: 100%;
    z-index: 22;
    position: absolute;
    bottom: 20px;
}

.fc-event:hover {
    color: #fff !important;
}

.posts-archive .post .img-thumbnail {
    margin-top: 10px;
}

.post.sermon .post-title h3 {
    margin-bottom: 5px;
}

.post.sermon .post-title .sermon-actions {
    text-align: right;
    padding-top: 25px;
}

.post.sermon .post-content {
    padding-top: 20px;
}

.audio-container, .video-container {
    margin-bottom: 30px;
}

.post-meta {
    background-color: #f8f7f3;
    border-bottom: 1px solid #eceae4;
    padding: 10px 20px;
    font-size: 12px;
}

.post-meta i {
    margin-right: 5px;
    font-size: 14px;
}

.post-comments {
    margin: 30px 0 0 0;
}

.comments {
    margin: 0;
    list-style-type: none;
}

.comments li {
    margin-bottom: 25px;
}

.comments li .post-comment-block {
    padding: 25px;
    padding-bottom: 5px;
    border: 1px solid #eceae4;
    border-bottom-width: 2px;
    background: #ffffff;
}

.comments li.admin > .post-comment-block {
    background-color: #f8f7f3;
}

.comments li .img-thumbnail {
    float: left;
    margin-right: 20px;
}

.comments li h5 {
    margin-bottom: 5px;
}

.comments li ul {
    padding-top: 25px;
    padding-left: 50px;
}

.post-comment-form {
    margin: 30px 0 0 0;
    border-bottom: 0;
}

.post-comment-form .form-control {
    margin-bottom: 20px;
}

.gallery-filter ul {
    float: right;
}

/* Post Formats */
.format-quote .media-box blockquote {
    color: #ffffff;
    padding-left: 0;
    border-left: 0;
}

.owl-carousel .owl-item {
    float: left;
}

.owl-carousel .owl-item img {
    width: 100%;
    float: left;
}

.staff-item .social-icons {
    margin-bottom: 15px;
}

.staff-item .social-icons a {
    width: 25px;
    height: 25px;
    display: inline-block;
    line-height: 25px;
    text-align: center;
    color: #ffffff;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    margin-left: 0;
    margin-right: 10px;
    text-decoration: none;
}

#gmap {
    height: 350px;
    margin-bottom: 30px;
    overflow: hidden;
}

#gmap iframe {
    border: 0;
    width: 100%;
    height: 350px;
}

#message {
    margin-top: 10px;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
}

.search-form-widget {
    margin-top: 10px;
}

.widget .sidebar-widget-title h3 {
    border-bottom: 1px solid #eceae4;
    margin-bottom: 0;
    padding-bottom: 15px;
}

.widget .sidebar-widget-title {
    border-bottom: 4px solid #f8f7f3;
    margin-bottom: 20px;
}

.widget ul > li {
    padding: 2px 0;
    color: #999999;
}

.widget ul > li .fa {
    color: #ed6e2a;
}

.widget ul > li a {
    display: inline-block;
    text-decoration: none;
}

.widget ul > li a i {
    margin-right: 5px;
}

.widget ul > li:first-child {
    padding-top: 0;
}

.widget ul > li a:hover {
    text-decoration: none;
}

.widget .event-item .event-date {
    width: 15%;
}

.widget.post-listing h2.post-title, .widget.sermons-listing h2.sermon-title {
    font-size: 14px;
    margin-bottom: 0;
}

.tag-cloud a {
    display: inline-block;
    margin-right: 7px;
    margin-bottom: 7px;
    padding: 2px 8px;
    border: 1px solid #eceae4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #f8f7f3;
    font-size: 12px;
    text-decoration: none;
}

.tag-cloud a:hover {
    text-decoration: none;
}

.widget-recent-posts .post-image {
    width: 30%;
    float: left;
    margin-right: 5%;
}

.widget-recent-posts .widget-blog-content {
    float: left;
    width: 65%;
}

.widget-recent-posts .fa-angle-right {
    display: none;
}

.widget-recent-posts .fa-plus {
    margin-right: 0;
}

.widget-recent-posts ul li a {
    padding: 12px 0;
    text-decoration: none;
}

.widget-recent-posts ul li:first-child a {
    padding-top: 8px;
}

.widget_recent_comments .fa-angle-right {
    display: none;
}

.widget .twitter-widget li {
    font-size: 16px;
    line-height: 28px;
    border: 0;
    padding: 0;
}

.widget-gallery ul {
    margin-left: -3%;
}

.widget-gallery ul li {
    float: left;
    width: 30%;
    margin-left: 3%;
    margin-bottom: 20px;
    border-bottom: 0;
    padding: 0;
}

.widget-gallery ul li i {
    display: none;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    right: 17px;
    bottom: 17px;
    display: none;
    padding: 5px 12px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: rgba(43,66,119,.7);
}

#back-to-top .fa {
    color: #FFF;
}

/*-------------------------------------------------------------------------------------------*/
/* SHORTCODE DEFINATIONS */
/*-------------------------------------------------------------------------------------------*/
/* ==================================================
   Tabs
================================================== */
.tabs {
    margin-bottom: 25px;
}

.nav-tabs {
}

.nav-tabs li {
    position: relative;
    display: block;
    float: left;
    margin-right: 1px;
}

.nav-tabs li a {
    display: block;
    padding: 10px 20px;
    background: #f8f8f8;
    text-decoration: none;
}

.nav-tabs li a:hover {
    color: #fff;
    background: #666;
    text-decoration: none;
}

.nav-tabs li a:active, .nav-tabs li.active a {
    color: #fff;
    background: #666;
}

.tab-content {
    padding: 20px 0;
    background: #ffffff;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

/* ==================================================
   Accordion & Toggle
================================================== */
.accordion {
    margin-bottom: 35px;
}

.accordion-group {
    margin-bottom: 8px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.accordion-heading {
    border-bottom: 0 none;
}

.accordion-heading .accordion-toggle {
    position: relative;
    display: block;
    padding: 15px;
    background: #f8f8f8;
    text-decoration: none;
    font-size: 13px;
    -webkit-transition: all 0.1s linear 0s;
    -moz-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
    -o-transition: all 0.1s linear 0s;
    transition: all 0.1s linear 0s;
}

.accordion-toggle {
    cursor: pointer;
}

.accordion-toggle:hover {
    text-decoration: none;
}

.accordion-heading:hover .accordion-toggle,
.accordion-heading:hover .accordion-toggle.inactive {
    background: #666;
    color: #fff;
}

.accordion-heading .accordion-toggle.active {
    color: #fff;
    background: #666;
}

.accordion-heading .accordion-toggle.inactive {
    background: #f8f8f8;
}

.accordion-heading.accordionize .accordion-toggle i,
.accordion-heading.togglize .accordion-toggle i {
    position: absolute;
    top: 50%;
    right: 20px;
    margin: -8px 0 0 0;
    color: #666;
    font-size: 18px;
    -webkit-transition: all 0.1s linear 0s;
    -moz-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
    -o-transition: all 0.1s linear 0s;
    transition: all 0.1s linear 0s;
}

.accordion-heading:hover .accordion-toggle i {
    color: #fff;
}

.accordion-heading .accordion-toggle.active i,
.accordion-heading:hover .accordion-toggle.inactive i {
    color: #666;    
}

.accordion-heading.accordionize .accordion-toggle.active i,
.accordion-heading.togglize .accordion-toggle.active i {
    color: #fff;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);    
}

.accordion-heading.togglize .accordion-toggle i {
    margin: -8px 0 0 0;
    font-size: 18px;
}

.accordion-heading.togglize .accordion-toggle .fa-plus-circle {
    display: block;
}

.accordion-heading.togglize .accordion-toggle.active .fa-plus-circle {
    display: none;
}

.accordion-heading.togglize .accordion-toggle .fa-minus-circle {
    display: none;
}

.accordion-heading.togglize .accordion-toggle.active .fa-minus-circle {
    display: block;
}

.accordion-inner {
    padding: 16px;
    border: 1px solid #efefef;
    background: #fff;
}

/* ==================================================
   Alerts
================================================== */

.alert {
    margin-bottom: 20px;
    padding: 15px 35px 15px 15px;
    border: 1px solid #efefef;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: #f8f8f8;
    text-shadow: none;
}

.alert .close {
    position: relative;
    top: 0px;
    right: -22px;
    color: #FFFFFF;    
    text-shadow: none;
    line-height: 20px;
    -webkit-transition: opacity 0.1s linear 0s;
    -moz-transition: opacity 0.1s linear 0s;
    -ms-transition: opacity 0.1s linear 0s;
    -o-transition: opacity 0.1s linear 0s;
    transition: opacity 0.1s linear 0s;
}

.alert .close:hover {
    text-decoration: none;
    opacity: 1;
}

.alert-standard {
    border-color: #efefef;
    background-color: #f8f8f8;
}

.alert-standard, .alert-standard .close {
    color: #666;
}

.alert-success {
    border-color: #d6e9c6;
    background-color: #dff0d8;
}

.alert-success, .alert-success .close {
    color: #468847;
}

.alert-danger,
.alert-error {
    border-color: #ebccd1;
    background-color: #f2dede;
}

.alert-danger, .alert-danger .close,
.alert-error, .alert-error .close {
    color: #b94a48;
}

.alert-info {
    border-color: #bce8f1;
    background-color: #d9edf7;
}

.alert-info, .alert-info .close {
    color: #3a87ad;
}

.alert-warning {
    border-color: #faebcc;
    background-color: #fcf8e3;
}

.alert-warning, .alert-warning .close {
    color: #c09853;
}

/* ==================================================
   Progress bars
================================================== */
@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

@-moz-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

@-o-keyframes progress-bar-stripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 40px 0;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

.progress {
    margin-bottom: 15px;
    height: 20px;
    border-radius: 3px;
    background-color: #eaeaea;
    -webkit-box-shadow: none;
    box-shadow: none;
    overflow: visible;
}

.progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    background-color: #eaeaea;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    -webkit-transition: width 0.6s ease;
    transition: width 0.6s ease;
    position: relative;
    border-radius: 3px;
}

.progress-striped .progress-bar {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

.progress.active .progress-bar {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}

.progress-bar-success {
    background-color: #5cb85c;
}

.progress-striped .progress-bar-success {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-bar-info {
    background-color: #5bc0de;
}

.progress-striped .progress-bar-info {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-striped .progress-bar-warning {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-bar-danger {
    background-color: #d9534f;
}

.progress-striped .progress-bar-danger {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

span.progress-bar-tooltip {
    position: absolute;
    position: absolute;
    top: -28px;
    right: 5px;
    display: block;
    padding: 4px 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #333;
    color: #FFF;
    font-size: 11px;
    line-height: 15px;
    opacity: 0;
    filter: alpha(opacity=0);
    -o-border-radius: 3px;
}

span.progress-bar-tooltip:after {
    position: absolute;
    bottom: -5px;
    left: 13px;
    display: block;
    width: 0;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #333 transparent;
    content: "";
}

.progress-label {
    text-transform: uppercase;
}

/* ==================================================
   Facts Counters
================================================== */    
.fact-ico {
    display: inline-block;
    width: 100px;
    height: 100px;
    color: #999999;
    line-height: 100px;
    margin: 10px 0;
}

.fact {
    display: inline-block;
    color: #999999;
    font-size: 15px;
    margin-top: 10px;
    font-family: 'Volkhov', serif;
    font-style: italic
}

.counters .timer {
    display: inline-block;
    color: #333333;
    font-weight: 700;
    font-size: 38px;
}

.parallax .counters .timer {
    color: #ffffff;
}

/*-------------------------------------------------------------------------------------------*/
/* Parallax
/*-------------------------------------------------------------------------------------------*/
.parallax {
    background-attachment: fixed !important;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f8f8f8;
}

.touch .parallax, .nav-backed-header.parallax {
    background-attachment: scroll !important;
}

/*-------------------------------------------------------------------------------------------*/
/* Responsive Classes
/*-------------------------------------------------------------------------------------------*/
@media (min-width: 992px) and (max-width: 1199px) {
    .gallery-filter ul li span {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    .notice-bar .btn-block, .notice-bar .counter {
        margin-top: 20px;
    }
    
    .events-listing .event-date {
        width: 10%;
    }
    
    .events-listing .event-detail {
        width: 57%;
    }
    
    .events-listing .to-event-url {
        width: 26%;
    }
    
    .nav-backed-header {
        top: 0;
        margin-bottom: 0;
    }
    
    ol.breadcrumb {
        padding-top: 20px;
    }
    
    .page-header {
        top: 0;
        margin-bottom: 0;
    }
    
    .post .img-thumbnail, .post .img-thumbnail {
        margin-bottom: 20px;
    }
    
    .post.sermon .post-title .sermon-actions {
        text-align: left;
    }
    
    .gallery-filter ul {
        float: left;
        margin-top: 20px;
    }
    
    ol.breadcrumb {
        padding: 40px 0 40px 0;
    }
    
    .news-portal-cats {        
        margin-bottom: 20px;        
    }
}

@media only screen and (max-width: 767px) {
    /* Isotope */
    .isotope {
        overflow: visible !important;
        height: auto !important;
    }
    
    .isotope-item {
        position: static !important;
        margin-right: auto;
        margin-left: auto;
        width: auto;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
    }
    
    .isotope-hidden {
        display: none !important;
    }
    
    .grid-item {
        margin-bottom: 6%;
    }
    
    .counter {
        margin-top: 20px;
    }
    
    .featured-gallery a {
        margin-bottom: 20px;
        display: block;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .copyrights-col-left, .copyrights-col-right {
        text-align: center;
    }
    
    .copyrights-col-left {
        margin-bottom: 20px;
    }
    
    .copyrights-col-right .social-icons {
        text-align: center;
    }
    
    .copyrights-col-right .social-icons a {
        margin: 0 4px;
    }
    
    .grid-holder.col-2 .grid-item {
        width: 95%;
    }
    
    .grid-holder.col-3 .grid-item {
        width: 95%;
    }
    
    .grid-holder.col-4 .grid-item {
        width: 95%;
    }
    
    .media-box {
        margin-bottom: 20px;
    }
    
    .grid-item .media-box {
        margin-bottom: 0;
    }
    
    .listing-header-sub .next-prev-nav {
        float: left;
    }
    
    .listing-header-sub h5 {
        margin-right: 0;
    }
    
    .featured-block {
        margin-bottom: 20px;
    }
    
    .gallery-filter ul li span {
        display: none;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .sidebar {
        float: left;
        width: 100%;
        margin-top: 30px;
    }
    
    .staff-item {
        margin-bottom: 30px;
    }
    
    #back-to-top {
        display: none !important;
    }
    
    .news-portal-cats {
        margin-bottom: 20px;
    }
    
    ul.timeline:before {
        left: 40px;
    }
    
    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }
    
    ul.timeline > li > .timeline-panel {
        float: right;
    }
    
    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    
    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
}

/* Hover élégant pour les vignettes */
.featured-block a.img-thumbnail {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eceae4;
}

.featured-block a.img-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #ed6e2a;
}

/* Animation du texte "en savoir plus" */
.featured-block a.img-thumbnail .more {
    background: #2b4277;
    color: white;
    padding: 8px 15px;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    transition: bottom 0.3s ease;
}

.featured-block a.img-thumbnail:hover .more {
    bottom: 0;
}

/* Opacité réduite de l'image au survol */
.featured-block a.img-thumbnail:hover img {
    opacity: 0.9;
}

/* Image produit - Version pro */
.col-md-3 img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border: 1px solid #e8e8e8;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}

/* Titres - Raffinement typographique */
.section-title h2 {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

/* Bloc citation - Légère amélioration */
blockquote {
    background: #f9f9f9;
    border-left: 3px solid #ed6e2a;
    padding: 20px 25px;
    margin: 20px 0;
}

/* Liste caractéristiques - Plus lisible */
.unordered {
    padding-left: 20px;
}

.unordered li {
    padding: 6px 0;
    position: relative;
    list-style-type: none;
}

.unordered li:before {
    content: "•";
    color: #ed6e2a;
    position: absolute;
    left: -15px;
    font-size: 18px;
}

/* Boutons - Version pro */
.btn-defaut {
    background: #2b4277;
    color: white !important;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    transition: background 0.2s;
}

.btn-defaut:hover {
    background: #1d355e;
    text-decoration: none;
}

/* Section contact - Discrètement améliorée */
.demande {
    background: #f5f5f5;
    padding: 20px !important;
    border-top: 2px solid #ed6e2a;
}

.demande h3 {
    color: #2b4277 !important;
    font-weight: 500;
}

/* Effets de hover subtils */
a:hover {
    opacity: 0.9s;
    transition: opacity 0.2s;
} 

/* Supprime tout cadre autour de l'image */
.col-md-3 img {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Uniformisation des tailles de conteneurs */
.featured-block {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

/* Style de base pour toutes les vignettes */
.featured-block a.img-thumbnail {
    display: block;
    height: 250px;
    border: 1px solid #eceae4;
    padding: 5px;
    background: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Images dans les vignettes */
.featured-block a.img-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

/* Décallage renforcé pour la 4ème image seulement */
.featured-blocks:last-child .featured-block a.img-thumbnail img {
    object-position: 85% center;
    padding-left: 30%;
    transform: translateX(15%);
    width: 130%;
}

/* Version mobile - annule le décalage */
@media (max-width: 767px) {
    .featured-blocks:last-child .featured-block a.img-thumbnail img {
        object-position: center;
        padding-left: 0;
        transform: none;
        width: 100%;
    }
}

/* Texte "en savoir plus" */
.featured-block .more {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    text-align: center;
    background: #2b4277;
    color: white;
    padding: 8px;
    transition: all 0.3s ease;
}

/* Disposition des blocs */
.featured-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 767px) {
    .featured-block {
        max-width: 100%;
    }
    
    .featured-blocks:last-child .featured-block a.img-thumbnail img {
        object-position: center;
        padding-left: 0;
    }
}

/* Pour le 4ème produit seulement - Décalage modéré */
.featured-blocks:last-child .featured-block .img-thumbnail img {
    position: relative;
    left: 45px;
    width: calc(100% + 45px);
    height: 200px;
    object-fit: cover;
    object-position: 75% center;
    transition: all 0.3s ease;
}

.featured-blocks:last-child .featured-block .img-thumbnail:hover img {
    left: 50px;
    width: calc(100% + 50px);
}

/* Rétablissement des cadres  */
.featured-block .img-thumbnail {
    border: 1px solid #eceae4 !important;
    border-radius: 3px !important;
    padding: 4px !important;
    background: white !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Suppression UNIQUEMENT des éléments grisés indésirables */
.featured-block .img-thumbnail img {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.featured-block a.img-thumbnail {
    overflow: hidden !important;
    position: relative !important;
}

.featured-block a.img-thumbnail img {
    transition: none !important;
    transform: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    will-change: auto !important;
}

/* Conteneur principal */
.featured-blocks:last-child .featured-block a.img-thumbnail {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 250px;
    overflow: visible;
}

.featured-blocks:last-child .featured-block .img-thumbnail img {
    position: relative !important;
    left: 100px !important;
    width: calc(100% + 100px) !important;
    height: 220px !important;
    object-fit: cover;
    object-position: 90% center;
    transition: all 0.3s ease;
}

/* Version mobile */
@media (max-width: 767px) {
    .featured-blocks:last-child .featured-block .img-thumbnail img {
        left: 0 !important;
        width: 100% !important;
        height: 200px !important;
        object-position: center;
    }
}

.featured-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Conteneur pour les 3 premières vignettes */
.featured-blocks-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Conteneur pour la dernière vignette */
.featured-blocks-bottom {
    width: 100%;
}

/* Taille des vignettes */
.featured-block {
    width: calc(33.333% - 20px);
}

/* Dernière vignette - largeur réduite et alignée à gauche */
.featured-blocks-bottom .featured-block {
    width: calc(33.333% - 20px);
    margin-right: auto;
}

/* Décalage d'image spécifique pour la dernière vignette */
.featured-blocks-bottom .featured-block .img-thumbnail img {
    position: relative !important;
    left: 100px !important;
    width: calc(100% + 100px) !important;
    height: 220px !important;
    object-fit: cover;
    object-position: 90% center;
    transition: all 0.3s ease;
}

.featured-blocks-bottom .featured-block .img-thumbnail:hover img {
    left: 105px !important;
    width: calc(100% + 105px) !important;
}

/* Version mobile */
@media (max-width: 767px) {
    .featured-blocks-top {
        flex-direction: column;
    }
    
    .featured-block {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .featured-blocks-bottom .featured-block .img-thumbnail img {
        left: 0 !important;
        width: 100% !important;
        height: 200px !important;
        object-position: center;
    }
}

.tp-banner ul li {
    display: block !important;
    opacity: 1 !important;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, #e6dada, #d8c3a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.header p {
    font-size: 1.2rem;
    color: #d8c3a5;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #d8c3a5, transparent);
    margin: 20px auto;
}

/* Conteneur principal */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 70vh;
    min-height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 12, 41, 0.4);
    backdrop-filter: blur(10px);
}

/* Piste du slider */
.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Slide individuelle */
.slide {
    min-width: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Image de fond */
.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    filter: brightness(0.7);
    transition: transform 10s ease-out;
}

.slide:hover .slide-bg {
    transform: scale(1.03);
}

/* Overlay élégant */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Contenu de la slide */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    padding: 40px;
    z-index: 2;
    color: #fff;
    text-align: left;
    opacity: 0;
    transform: translateY(30px) translateX(-20px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.slide-tag {
    display: inline-block;
    background: linear-gradient(45deg, #d8c3a5, #b8a07d);
    color: #0f0c29;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: transparent;
    color: #d8c3a5;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    border: 2px solid #d8c3a5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.slide-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #d8c3a5, #b8a07d);
    transition: width 0.4s ease;
    z-index: -1;
}

.slide-btn:hover {
    color: #0f0c29;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(216, 195, 165, 0.3);
}

.slide-btn:hover::before {
    width: 100%;
}

/* Contrôles */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.slider-control:hover {
    opacity: 1;
    background: rgba(216, 195, 165, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

.control-icon {
    color: #d8c3a5;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.slider-control:hover .control-icon {
    transform: scale(1.2);
}

/* Pagination */
.slider-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.pagination-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    position: relative;
}

.pagination-bullet::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(216, 195, 165, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pagination-bullet.active, .pagination-bullet:hover {
    background: #d8c3a5;
    transform: scale(1.3);
}

.pagination-bullet.active::after, .pagination-bullet:hover::after {
    opacity: 1;
}

/* Contenu sous le slider */
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
    flex-wrap: wrap;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(216, 195, 165, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: #d8c3a5;
    margin-bottom: 20px;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.slider-control {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}

.control-icon {
    color: white !important;
    font-size: 20px !important;
}

/* Correction du header */
.site-header {
    position: relative;
    z-index: 1000;
}

/* Correction du slider */
.slider-container {
    position: relative;
    z-index: 10;
    top: 0 !important;
    margin-top: 0 !important;
}

/* Supprimez les espaces vides inutiles */
body > div:empty {
    display: none;
}

/* Slider - Version adaptée Cogeflu avec fond original */
.slider-container {
    background: rgba(15, 12, 41, 0.4) !important; 
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

/* Texte - Adapté à Cogeflu */
.slide-title {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.slide-text {
    color: rgba(255,255,255,0.9) !important;
}

/* Boutons - Style Cogeflu */
.slide-btn {
    border: 2px solid #ed6e2a !important;
    color: #ed6e2a !important;
}

.slide-btn::before {
    background: linear-gradient(45deg, #ed6e2a, #d85a1a) !important;
}

.slide-btn:hover {
    color: white !important;
    box-shadow: 0 10px 25px rgba(237, 110, 42, 0.3) !important;
}

/* Tags - Style Cogeflu */
.slide-tag {
    background: linear-gradient(45deg, #2b4277, #1d355e) !important;
    color: white !important;
}

/* Contrôles - Style Cogeflu */
.slider-control {
    background: rgba(43, 66, 119, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.slider-control:hover {
    background: rgba(237, 110, 42, 0.7) !important;
}

/* Pagination - Style Cogeflu */
.pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
}

.pagination-bullet.active, 
.pagination-bullet:hover {
    background: #ed6e2a !important;
}

.pagination-bullet::after {
    border-color: #2b4277 !important;
}

/* Overlay - Légèrement adapté */
.slide::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%) !important;
}

.scroller-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ed6e2a;
    color: #ed6e2a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 999;
    opacity: 0.8;
    transition: all 0.3s ease;
    outline: none;
}

.scroller-btn:hover {
    background: #ed6e2a;
    color: white;
    transform: scale(1.05);
    opacity: 1;
}

.scroller-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .scroller-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
        right: 15px;
        bottom: 15px;
    }
}

#back-to-top {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* S'assurer que notre flèche orange reste visible */
.scroller-btn {
    display: flex !important;
    opacity: 0.8 !important;
}

.slider-container {
    height: 50vh;
    min-height: 500px;
}

.hero-slider.flexslider ul.slides li {
    height: 50vh;
    min-height: 500px;
}

.slide-content {
    top: 45%;
    transform: translateY(-45%);
}

.slider-pagination {
    bottom: 30px;
}

@media (max-width: 992px) {
    .slider-container {
        height: 40vh;
        min-height: 400px;
    }
    
    .hero-slider.flexslider ul.slides li {
        height: 40vh;
        min-height: 400px;
    }
}

/* Suppression des espaces inutiles */
.body.header-style2 {
    padding-top: 0 !important;
}

.site-header .topbar {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Réduire l'opacité de l'overlay */
.slide::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 100%) !important;
}

/* Éclaircir les images */
.slide-bg {
    filter: brightness(0.85) !important;
}

/* Ajuster les couleurs de texte */
.slide-content {
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

.slide-title {
    color: #fff !important;
}

.slide-text {
    color: rgba(255,255,255,0.95) !important;
}

/* Éclaircir les boutons */
.slide-btn {
    border-color: #fff !important;
    color: #fff !important;
}

.slide-btn:hover {
    background: rgba(255,255,255,0.1) !important;
}


/*-------------------------------------------------------------------------------------------*/
/* SITE STRUCTURE & APPEARANCE */
/*-------------------------------------------------------------------------------------------*/
.site-header .topbar {
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 3;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
}

.top-navigation {
    float: right;
    padding: 20px 0 0 0;
    font-family: "Source Sans Pro", sans-serif;
}

.top-navigation li {
    float: left;
}

.top-navigation li a {
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
}

.top-navigation .tel {
    font-size: 15px;
    color: #999;
    font-family: "Century Gothic", sans-serif;
}

.top-navigation .tel .fa {
    font-size: 15px;
    color: #64686a;
    line-height: 34px;
}

.main-menu-wrapper {
    display: block;
    width: 100%;
}

.main-menu-wrapper .col-md-12 {
    position: relative;
}

.navigation {
    height: 50px;
    background: #f8f7f3;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    z-index: 2;
    text-align: center;
    font-family: "Source Sans Pro", sans-serif;
    position: absolute;
    top: 0;
}

.navigation > ul > li {
    display: inline-block;
    line-height: 50px;
    font-size: 12px;
    position: relative;
}

.navigation > ul > li i {
    font-size: 20px;
    color: #ed6e2a;
}

.navigation > ul > li > a {
    padding: 0 20px;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.navigation ul > li > a:hover, .navigation ul > li > a.current {
}

.navigation > ul > li ul {
    position: absolute;
    z-index: 999;
    display: none;
    min-width: 100%;
    height: auto;
    background: #fff;
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.navigation > ul > li ul:before {
    position: absolute;
    left: 50%;
    top: auto;
    margin: -10px 0px 0px -10px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 5px;
    border-bottom-color: #ffffff;
    content: " ";
    pointer-events: none;
}

.navigation > ul > li ul li ul:before {
    position: absolute;
    left: 0;
    top: auto;
    margin: 15px 0px 0px -10px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 5px;
    border-right-color: #ffffff;
    content: " ";
    pointer-events: none;
}

.navigation > ul > li:hover ul {
    display: block;
    -webkit-animation-name: fadeInUp;
    -moz-animation-name: fadeInUp;
    -o-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.navigation > ul > li > ul li {
    line-height: 10px;
    font-size: 12px;
    position: relative;
}

.navigation > ul > li > ul li > a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #f8f7f3;
    white-space: nowrap;
    text-decoration: none;
}

.navigation > ul > li > ul li a:hover {
    text-decoration: none;
}

.navigation > ul > li > ul li:last-child a {
    border-bottom: 0;
}

.navigation > ul > li > ul li ul {
    left: 100% !important;
    top: 0;
    min-width: inherit;
    margin-left: 11px;
    position: absolute;
}

.navigation > ul > li.megamenu {
    position: inherit !important;
    left: 0;
}

.navigation > ul > li i {
    font-size: 100%;
    color: #ed6e2a;
}

.navigation > ul > li.megamenu > ul {
    left: 0px !important;
    top: 50px;
    width: 100%;
}

.navigation .megamenu-container {
    padding: 20px;
    width: 100%;
    color: #cccccc;
}

.navigation .megamenu-container ul {
    display: block !important;
    color: #666666;
    left: 0 !important;
    box-shadow: none;
    opacity: 1 !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: transparent;
    position: relative !important;
    text-align: left !important;
    margin-left: 0;
}

.navigation > ul > li.megamenu > ul:before {
    position: absolute;
    left: 50%;
    top: auto;
    margin: -10px 0px 0px -10px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 5px;
    border-bottom-color: #ffffff;
    content: " ";
    pointer-events: none;
}

.navigation .megamenu-container .megamenu-sub-title {
    display: block;
    padding-bottom: 7px;
    margin-bottom: 12px;
    color: #666666;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    text-align: left !important;
    border-bottom: 1px solid #ed6e2a;
}

.navigation .megamenu-container .megamenu-sub-title a {
    text-decoration: none;
    color: #244a7d;
}

.navigation .megamenu-container .megamenu-sub-title i {
    color: #fff;
}

.navigation .megamenu-container ul li a {
    display: block;
    padding: 7px 0;
    border-bottom: 0;
}

.navigation .megamenu-container ul li a i {
    display: none;
}

.navigation .megamenu-container ul li a:hover {
    text-decoration: none;
}

.sticky-wrapper {
    max-height: 50px;
}

.is-sticky .main-menu-wrapper {
    z-index: 1000;
    min-height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.is-sticky .navigation {
    background: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .main-menu-wrapper {
        display: none;
        background: #f8f7f3;
        height: auto;
        position: absolute;
        left: 0;
        top: 80px;
        z-index: 9999;
        width: 100%
    }

    .sticky-wrapper {
        height: auto !important
    }

    .navigation {
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        height: auto;
        position: relative;
        z-index: 9999;
    }

    .navigation > ul > li {
        display: block;
        width: 100%;
        line-height: normal;
        text-align: left;
    }

    .navigation > ul > li > a {
        padding: 20px 25px;
        border-bottom: 1px solid #eceae4;
    }

    .navigation > ul > li > ul, .navigation > ul > li > ul li ul {
        position: static;
        height: auto !important;
        border-bottom: 1px solid #eceae4;
        top: 0;
        left: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        margin-left: 0;
    }

    .navigation > ul > li > ul:before, .navigation > ul > li > ul li ul:before {
        display: none;
    }

    .is-sticky .main-menu-wrapper {
        background-color: #f8f7f3;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .navigation .megamenu-container ul.sub-menu {
        margin-bottom: 20px;
        border-bottom: 0;
    }
}

/* Suppression des effets de boîte et ombres */
.navigation {
    background: #ffffff !important;
    box-shadow: none !important;
    border-bottom: 1px solid #f0f0f0; /* Juste une fine ligne de séparation */
    height: 60px; /* Un peu plus grand pour plus d'élégance */
}

.navigation > ul > li > a {
    padding: 0 20px;
    color: #333;
    font-weight: 500; /* Plus fin que bold */
    text-transform: none; /* Supprime les majuscules */
    transition: all 0.2s ease;
    position: relative;
}

/* Effet de survol minimaliste */
.navigation > ul > li > a:hover {
    color: #ed6e2a;
    background: transparent;
}

.navigation > ul > li > a:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #ed6e2a;
}

/* Sous-menus épurés */
.navigation > ul > li > ul {
    border: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-radius: 0 0 4px 4px;
}

.navigation > ul > li > ul li > a {
    padding: 12px 25px;
    border-bottom: none;
}

/* Version mobile */
@media only screen and (max-width: 992px) {
    .navigation > ul > li > a {
        padding: 15px 25px;
        border-bottom: none;
    }
    
    .navigation > ul > li > a:hover:after {
        display: none;
    }
}

   /* Styles mobiles */
        @media only screen and (max-width: 992px) {
            .navigation > ul > li.menu-item-has-children > a {
                position: relative;
                padding-right: 40px !important;
            }
            
            /* Bouton expand séparé */
            .navigation > ul > li.menu-item-has-children > .expand-toggle {
                position: absolute;
                right: 10px;
                top: 50%;
                transform: translateY(-50%);
                width: 30px;
                height: 30px;
                background: rgba(0,0,0,0.1);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                z-index: 10;
            }
            
            .navigation > ul > li.menu-item-has-children > .expand-toggle:after {
                content: "+";
                font-size: 20px;
                line-height: 1;
            }
            
            .navigation > ul > li.open > .expand-toggle:after {
                content: "-";
            }
            
            /* Sous-menus */
            .navigation > ul > li > ul {
                display: none;
                padding-left: 15px;
            }
            
            .navigation > ul > li.open > ul {
                display: block;
                animation: fadeIn 0.3s;
            }
            
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(-10px); }
                to { opacity: 1; transform: translateY(0); }
            }
        }

		/* Correction pour le menu mobile - Fond blanc opaque */
@media only screen and (max-width: 992px) {
    .main-menu-wrapper {
        background: #fff !important; /* Fond blanc opaque */
        position: fixed; /* Pour couvrir tout l'écran */
        top: 80px; /* Ajustez selon la hauteur de votre header */
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        overflow-y: auto; /* Permet le scroll si menu trop long */
        padding: 20px 0;
        box-shadow: none;
        border-top: 1px solid #eee; /* Séparation discrète */
    }

    .navigation {
        background: transparent !important;
    }

    .navigation > ul > li {
        background: #fff;
        margin: 0 15px 5px 15px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .navigation > ul > li > a {
        color: #333 !important;
        padding: 12px 20px;
        border-bottom: none !important;
    }

    .navigation > ul > li > a:hover {
        background: #f8f8f8;
    }

    /* Sous-menus */
    .navigation > ul > li > ul {
        background: #f9f9f9 !important;
        box-shadow: none;
        margin-top: 5px;
    }

    .navigation > ul > li > ul li > a {
        padding-left: 30px !important;
    }
}

 /* RESET MOBILE MENU */
        @media only screen and (max-width: 992px) {
            .navigation > ul > li.menu-item-has-children > .submenu-toggle {
                position: absolute;
                top: 0;
                right: 0;
                width: 50px;
                height: 100%;
                cursor: pointer;
                z-index: 2;
            }
            
            .navigation > ul > li.menu-item-has-children > a {
                position: relative;
                padding-right: 60px !important;
                pointer-events: none; /* Désactive les événements de souris */
            }
            
            .navigation > ul > li.menu-item-has-children > a > .link-text {
                pointer-events: auto; /* Réactive uniquement sur le texte */
            }
            
            .navigation > ul > li.menu-item-has-children > .toggle-indicator {
                position: absolute;
                right: 20px;
                top: 50%;
                transform: translateY(-50%);
                font-size: 20px;
                pointer-events: none;
            }
            
            .navigation > ul > li.open > .toggle-indicator {
                transform: translateY(-50%) rotate(90deg);
            }
            
            .navigation > ul > li > ul {
                display: none;
            }
            
            .navigation > ul > li.open > ul {
                display: block;
                animation: fadeIn 0.3s;
            }
        }



/* Styles spécifiques pour le menu mobile */
@media (max-width: 992px) {
    .navigation > ul > li.menu-item-has-children > a {
        position: relative;
        padding-right: 50px !important;
    }
    
    .menu-expand-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        transition: transform 0.3s;
        z-index: 2;
    }
    
    .navigation > ul > li.open > a > .menu-expand-btn {
        transform: translateY(-50%) rotate(90deg);
    }
    
    .menu-link-content {
        display: inline-block;
        width: calc(100% - 30px);
        pointer-events: auto;
    }
    
    .navigation > ul > li > ul {
        display: none;
        padding-left: 20px;
    }
    
    .navigation > ul > li.open > ul {
        display: block;
        animation: fadeIn 0.3s;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Styles existants à conserver */
.menu-toggle, .menu-close {
    cursor: pointer;
}
.main-menu-wrapper {
    transition: left 0.3s ease;
}
body.menu-open {
    overflow: hidden;
}

/* Styles pour le menu mobile */
@media (max-width: 992px) {
    .main-menu-wrapper {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 9998;
        overflow-y: auto;
        padding-top: 70px;
    }
    
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #333;
    }
    
    .navigation > ul {
        padding: 20px;
    }
    
    .navigation > ul > li {
        display: block;
        margin-bottom: 5px;
    }
    
    .navigation > ul > li > a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background: #f8f8f8;
        border-radius: 4px;
        color: #333;
        text-decoration: none;
    }
    
    .menu-item-has-children {
        position: relative;
    }
    
    .menu-expand-btn {
        position: absolute;
        right: 15px;
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .submenu {
        display: none;
        padding-left: 15px;
        margin-top: 5px;
    }
    
    .menu-item-has-children.open .submenu {
        display: block;
        animation: fadeIn 0.3s;
    }
    
    .submenu li a {
        display: block;
        padding: 10px 15px;
        color: #666;
        text-decoration: none;
    }
    
    .submenu li a:hover {
        color: #ed6e2a;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Styles pour le menu desktop */
@media (min-width: 993px) {
    .menu-toggle, .menu-close, .menu-expand-btn {
        display: none !important;
    }
    
    .navigation > ul > li {
        display: inline-block;
        position: relative;
    }
    
    .navigation > ul > li > a {
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
    }
    
    .submenu {
        position: absolute;
        left: 0;
        top: 100%;
        background: white;
        min-width: 200px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        display: none;
        z-index: 100;
    }
    
    .navigation > ul > li:hover .submenu {
        display: block;
    }
    
    .submenu li a {
        display: block;
        padding: 10px 20px;
        color: #333;
    }
    
    .submenu li a:hover {
        background: #f8f8f8;
        color: #ed6e2a;
    }
}
 

.menu-toggle {
    position: fixed;
    top: 20px;
    right: 15px;
    z-index: 1000;
    background: #ed6e2a;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
 /* Version mobile uniquement */
@media (max-width: 992px) {
  .main-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: white !important; /* Force le fond opaque */
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-top: 60px;
    
    /* Suppression de tous les effets de transparence */
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    mix-blend-mode: normal !important;
  }

  .main-menu-wrapper.active {
    transform: translateX(0);
  }
}

/* Version desktop - réinitialisation complète à l'état original */
@media (min-width: 993px) {
  .main-menu-wrapper {
    all: revert !important; /* Annule tous les styles mobiles */
    
    /* Spécifiez ici les styles desktop EXACTEMENT comme dans votre CSS original */
    position: static;
    width: auto;
    height: auto;
    transform: none;
    padding-top: 0;
    background: transparent;
    display: block;
    /* Ajoutez toutes les autres propriétés desktop nécessaires */
  }
}

/* ===== DESKTOP MENU — RESET + PREMIUM SHELL + ESPACE SLIDER ===== */
@media (min-width: 993px) {

  /* 1) Reset défensif pour éviter les chevauchements hérités */
  .navigation,
  .navigation * {
    box-sizing: border-box;
  }
  .navigation {
    position: relative !important;   /* stop absolute/transform hérités */
    z-index: 1000;
  }
  .navigation > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex !important;
    gap: 6px;
    align-items: center;
  }
  .navigation > ul > li {
    position: relative;
  }

  /* 2) Coque premium autour du menu (utilise ta classe existante si tu l’as) */
  /* Si tu as déjà .main-menu-wrapper dans ton HTML, ça s'appliquera direct.
     Sinon, remplace .main-menu-wrapper ci-dessous par le conteneur parent de .navigation */
  .main-menu-wrapper {
    position: sticky;
    top: 0;
    z-index: 1100;
    width: min(1200px, 96%);
    margin: 10px auto;               /* petit “décroché” visuel sous le bord du viewport */
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.86));
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(43,66,119,0.12);
    border-radius: 16px;
    box-shadow: 0 14px 44px rgba(18,38,78,0.10);
  }
  .main-menu-wrapper::after {
    /* trait fin “luxe” en bas de la coque */
    content: "";
    display: block;
    height: 1px;
    margin-top: 10px;
    background: linear-gradient(90deg, rgba(43,66,119,0), rgba(43,66,119,0.25), rgba(43,66,119,0));
    border-radius: 1px;
  }

  /* 3) Liens principaux : lisibles, arrondis, hover élégant */
  .navigation > ul > li > a {
    display: flex;
    align-items: center;
    height: 56px;                   /* hauteur plus chic, confortable */
    padding: 0 18px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #1c2b4f;
    text-decoration: none;
    border-radius: 12px;
    transition: background .20s ease, color .20s ease, transform .20s ease;
  }
  .navigation > ul > li > a:hover {
    background: rgba(237,110,42,0.10);
    color: #ed6e2a;
  }
  /* État “actif” (si tu poses .current sur le <li>) */
  .navigation > ul > li.current > a,
  .navigation > ul > li.active > a,
  .navigation > ul > li > a[aria-current="page"] {
    background: rgba(237,110,42,0.14);
    color: #ed6e2a;
  }
  /* Soulignement fin animé (discret) */
  .navigation > ul > li > a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 8px;
    height: 2px;
    background: linear-gradient(90deg, #ed6e2a, #f0a15f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
    border-radius: 2px;
    pointer-events: none;
  }
  .navigation > ul > li > a:hover::after {
    transform: scaleX(1);
  }

  /* 4) Sous-menus (si présents) : panneau clair et net */
  .navigation > ul > li > ul {
    margin-top: 10px !important;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(43,66,119,0.10);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(18,38,78,0.14);
    overflow: hidden;
  }
  .navigation > ul > li > ul li > a {
    padding: 12px 16px;
    white-space: nowrap;
    border-bottom: none !important;
  }
  .navigation > ul > li > ul li > a:hover {
    background: rgba(237,110,42,0.06);
    color: #1c2b4f;
  }

  /* 5) Espacement fiable sous le menu (descend le slider proprement) */
  /* Ajoute un espace à la 1ère section après la barre, sans toucher au mobile */
  .main-menu-wrapper + * {
    margin-top: 28px !important;   /* ajuste 20–48px selon ton goût */
  }
  /* ceinture + bretelles : si ton slider a l’une de ces classes, on renforce */
  .slider, .slider-container, .hero, .banner, .swiper, [class*="slider"] {
    scroll-margin-top: 100px;      /* ancre/scroll corrects avec sticky */
  }
}


/* === PREMIUM MENU — OVERRIDE FINAL (placer tout à la fin du fichier) === */
@media (min-width: 993px) {
  :root { --brand:#ed6e2a; --ink:#2b4277; }

  /* Coque verre dépoli + teinte subtile (override du reset) */
  .site-header .main-menu-wrapper{
    position: sticky !important;
    top: 0; z-index: 1100;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 10px 0;
    background:
      radial-gradient(1200px 160px at 0% -20%, color-mix(in srgb, var(--brand) 12%, transparent) 0 60%, transparent 61%),
      radial-gradient(900px 140px  at 100% -20%, color-mix(in srgb, var(--ink)   12%, transparent) 0 58%, transparent 59%),
      linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86)) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    border: 1px solid rgba(43,66,119,0.10) !important;
    box-shadow: 0 14px 44px rgba(18,38,78,0.10) !important;
  }
  .site-header .main-menu-wrapper::before{
    content:""; position:absolute; inset:0; border-radius:16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55); pointer-events:none;
  }

  /* On neutralise le fond et le absolute du bloc nav */
  .site-header .navigation{
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 60px !important;
  }

  /* Liens un peu plus premium */
  .site-header .navigation > ul > li > a{
    color:#1c2b4f; font-weight:600; letter-spacing:.2px;
    border-radius: 12px; padding: 0 18px; height:60px; display:flex; align-items:center;
    transition: background .2s ease, color .2s ease;
  }
  .site-header .navigation > ul > li > a:hover{
    background: rgba(237,110,42,0.10); color: var(--brand);
  }
  .site-header .navigation > ul > li > a::after{
    content:""; position:absolute; left:18px; right:18px; bottom:8px; height:2px;
    background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #f0a15f));
    transform: scaleX(0); transform-origin:left; transition: transform .22s ease; border-radius:2px;
  }
  .site-header .navigation > ul > li > a:hover::after{ transform: scaleX(1); }

  /* Même rendu si un script colle .is-sticky */
  .is-sticky .main-menu-wrapper{
    background:
      radial-gradient(1200px 160px at 0% -20%, color-mix(in srgb, var(--brand) 12%, transparent) 0 60%, transparent 61%),
      radial-gradient(900px 140px  at 100% -20%, color-mix(in srgb, var(--ink)   12%, transparent) 0 58%, transparent 59%),
      rgba(255,255,255,0.92) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    box-shadow: 0 18px 48px rgba(18,38,78,0.14) !important;
  }

  /* Décaler légèrement le slider sous la barre */
  .site-header + .slider-container{ margin-top: 24px !important; }
}

/* ====== FIX "featured-blocks" — images décalées à droite ====== */

/* 1) On annule tous les décalages “artistiques” hérités */
.featured-gallery .featured-blocks:last-child .featured-block a.img-thumbnail img,
.featured-gallery .featured-blocks:last-child .featured-block .img-thumbnail img,
.featured-gallery .featured-blocks-bottom .featured-block .img-thumbnail img {
  left: 0 !important;
  padding-left: 0 !important;
  transform: none !important;
  width: 100% !important;
  object-position: center !important;
}

/* 2) Gabarit propre et régulier pour les vignettes (desktop et mobile) */
.featured-gallery .featured-block a.img-thumbnail{
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 14px;
  border: 1px solid #eceae4;
  height: 240px;              /* hauteur uniforme (ajuste 220–280px) */
}

/* OPTION A (recommandé, look “magazine”) : remplissage plein, crop doux */
.featured-gallery .featured-block a.img-thumbnail > img{
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;       /* remplit la carte */
  object-position: center !important; /* centré */
  transform: none !important;
}

/* OPTION B (si tu veux voir 100% de l’image sans crop) :
   Décommente ces 3 lignes et commente object-fit:cover ci-dessus
.featured-gallery .featured-block a.img-thumbnail > img{
  object-fit: contain !important;
  background: #fff;        // optionnel : “letterbox” blanc
}
*/

/* 3) On garde tes labels/CTA lisibles par-dessus l’image */
.featured-gallery .featured-block strong,
.featured-gallery .featured-block .more{
  position: relative;
  z-index: 2;
}

/* === FEATURED CARDS — CADRE PREMIUM + HOVER === */
:root{
  --brand:#ed6e2a;        /* ton orange */
  --ink:#2b4277;          /* ton bleu */
}

/* 0) Reset des images poussées à droite + remplissage propre */
.featured-blocks .featured-block a.img-thumbnail > img{
  position:absolute !important; inset:0;
  width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center !important;
  transform:none !important; left:0 !important; padding-left:0 !important;
}

/* 1) Cadre premium (coins doux, bord fin, vernis intérieur, ombre) */
.featured-blocks .featured-block a.img-thumbnail{
  position:relative; display:block; overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(43,66,119,0.10);
  background: linear-gradient(180deg,#ffffff,#fafbff);
  box-shadow:0 12px 36px rgba(18,38,78,.10);
  height:240px; /* ajuste 220–280px si tu veux */
  isolation:isolate; /* pour superposer les effets proprement */
}

/* Vernis intérieur (trait blanc très fin) */
.featured-blocks .featured-block a.img-thumbnail::before{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);
  pointer-events:none; z-index:1;
}

/* Voile de lecture (légèrement sombre en bas, très léger en haut) */
.featured-blocks .featured-block a.img-thumbnail::after{
  content:""; position:absolute; inset:0; z-index:0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.22) 70%);
  transition: opacity .25s ease; opacity:.9;
}

/* 2) Titre + CTA positionnés sur l’image */
.featured-blocks .featured-block a.img-thumbnail strong{
  position:absolute; left:14px; right:14px; bottom:44px; z-index:2;
  color:#fff; font-weight:800; line-height:1.15;
  text-shadow:0 6px 18px rgba(0,0,0,.35);
}
.featured-blocks .featured-block a.img-thumbnail .more{
  position:absolute; left:14px; bottom:14px; z-index:2;
  display:inline-block; padding:8px 12px;
  background:rgba(255,255,255,.88); color:var(--ink);
  border-radius:12px; font-weight:700; text-transform:lowercase;
  box-shadow:0 10px 26px rgba(18,38,78,.18);
  transform: translateY(6px); opacity:0; transition:all .22s ease;
}

/* 3) Hover premium (desktop) */
@media (min-width: 993px){
  .featured-blocks .featured-block a.img-thumbnail{
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .featured-blocks .featured-block a.img-thumbnail > img{
    transition: transform .6s ease;
    will-change: transform;
  }

  /* Contour dégradé “actif” au survol (ultra fin) */
  .featured-blocks .featured-block a.img-thumbnail .gradient-border{ display:none; }
  .featured-blocks .featured-block a.img-thumbnail:hover{
    transform: translateY(-4px);
    box-shadow:0 20px 54px rgba(18,38,78,.18);
    border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  }
  .featured-blocks .featured-block a.img-thumbnail:hover > img{
    transform: scale(1.06);
  }
  .featured-blocks .featured-block a.img-thumbnail:hover::after{
    opacity:1; /* renforce légèrement le voile pour la lisibilité du texte */
  }
  .featured-blocks .featured-block a.img-thumbnail:hover .more{
    transform: translateY(0); opacity:1;
  }

  /* Liseré dégradé animé (conic) — très subtil */
  .featured-blocks .featured-block a.img-thumbnail::marker{ content:""; } /* just to avoid list quirks */
  .featured-blocks .featured-block a.img-thumbnail::selection{ background:transparent; }
  .featured-blocks .featured-block a.img-thumbnail::before{
    /* on laisse le vernis, on ajoute un 2e calque animé via :after2 */
  }
  .featured-blocks .featured-block a.img-thumbnail > i.shine{
    position:absolute; inset:-40% -60%; z-index:1; pointer-events:none;
    background:
      conic-gradient(from 0deg, rgba(237,110,42,.55), rgba(240,161,95,.55), rgba(255,255,255,0) 20% 100%);
    mix-blend-mode:overlay; opacity:0; border-radius:50%;
    transition: opacity .25s ease;
  }
  .featured-blocks .featured-block a.img-thumbnail:hover > i.shine{ opacity:.35; animation:spin 3.6s linear infinite; }

  /* Balayage “shine” */
  .featured-blocks .featured-block a.img-thumbnail::after{
    /* déjà présent pour l’overlay sombre */
  }
  .featured-blocks .featured-block a.img-thumbnail::before{
    /* vernis déjà défini */
  }
  .featured-blocks .featured-block a.img-thumbnail span.sweep{
    position:absolute; top:-20%; left:-50%; width:40%; height:140%; z-index:2;
    transform: rotate(18deg) translateX(-120%);
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
    filter: blur(6px);
    transition: transform .6s ease;
    pointer-events:none;
    border-radius:12px;
  }
  .featured-blocks .featured-block a.img-thumbnail:hover span.sweep{
    transform: rotate(18deg) translateX(280%);
  }

  @keyframes spin { to { transform: rotate(360deg); } }
}

/* 4) Respecte les préférences d’animation */
@media (prefers-reduced-motion: reduce){
  .featured-blocks .featured-block a.img-thumbnail,
  .featured-blocks .featured-block a.img-thumbnail > img,
  .featured-blocks .featured-block a.img-thumbnail .more{
    transition: none !important;
  }
}

/* === FEATURED CARDS — LUXE PRO v2 (cadre premium + étiquette en vraie forme) === */
:root{ --brand:#ed6e2a; --brand2:#f0a15f; --ink:#2b4277; --radius:18px; }

/* 0) Reset des décalages hérités sur l’image */
.featured-blocks .featured-block a.img-thumbnail > img{
  left:0 !important; padding-left:0 !important; transform:none !important;
}

/* 1) Carte premium (bordure dégradée + ombre douce) */
.featured-blocks .featured-block a.img-thumbnail{
  position:relative; display:block; overflow:hidden; isolation:isolate;
  height:240px; border-radius:var(--radius);
  background:
    linear-gradient(#ffffff,#ffffff) padding-box,
    linear-gradient(135deg,
      color-mix(in srgb, var(--ink) 24%, transparent),
      color-mix(in srgb, var(--brand) 20%, transparent)
    ) border-box;
  border:1.5px solid transparent;
  box-shadow:0 16px 46px rgba(18,38,78,.12);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, border-color .22s ease;
}
@media (min-width:993px){
  .featured-blocks .featured-block a.img-thumbnail{ height:260px; }
}

/* 2) Image plein cadre */
.featured-blocks .featured-block a.img-thumbnail > img{
  position:absolute; inset:0; width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center !important;
  transition: transform .65s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}

/* 3) Overlay teinté (lisibilité du texte) */
.featured-blocks .featured-block a.img-thumbnail::before{
  content:""; position:absolute; inset:0; z-index:0; border-radius:inherit; pointer-events:none;
  background:
    radial-gradient(70% 90% at 12% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%),
    radial-gradient(70% 90% at 88% 0%, color-mix(in srgb, var(--ink) 12%, transparent), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.26) 72%);
  opacity:.92; transition:opacity .22s ease;
}

/* 4) Éclat diagonal discret (glint) */
.featured-blocks .featured-block a.img-thumbnail::after{
  content:""; position:absolute; top:-30%; left:-60%; width:50%; height:160%; z-index:1; pointer-events:none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0));
  filter: blur(8px); transform: rotate(18deg) translateX(-30%); opacity:0;
  transition: transform .9s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}

/* 5) Titre */
.featured-blocks .featured-block a.img-thumbnail strong{
  position:absolute; left:16px; right:16px; bottom:16px; z-index:2;
  color:#fff; font-weight:900; line-height:1.1; font-size:18px; letter-spacing:.2px;
  text-shadow:0 10px 28px rgba(0,0,0,.45);
}

/* 6) Étiquette orange — vraie forme (pointe + trou) */
.featured-blocks .featured-block a.img-thumbnail .more{
  position:absolute; left:16px; top:16px; z-index:2;
  display:inline-flex; align-items:center; justify-content:center;
  height:30px; padding:0 18px 0 30px; /* marge pour le trou */
  font:800 12px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  text-transform:uppercase; letter-spacing:.35px; color:#fff; text-decoration:none;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--brand) 92%, #ff8949),
    color-mix(in srgb, var(--brand) 92%, #b33e0e)
  );
  border-radius:12px 10px 10px 12px;
  box-shadow:0 12px 26px rgba(228,94,22,.38), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
/* pointe droite */
.featured-blocks .featured-block a.img-thumbnail .more::after{
  content:""; position:absolute; top:0; bottom:0; right:-12px; width:0;
  border-left:12px solid color-mix(in srgb, var(--brand) 88%, #a73b0b);
  border-top:15px solid transparent; border-bottom:15px solid transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.18));
}
/* trou de perforation */
.featured-blocks .featured-block a.img-thumbnail .more::before{
  content:""; position:absolute; left:12px; top:50%; width:8px; height:8px; transform:translateY(-50%);
  border-radius:50%; background:#fff; box-shadow: inset 0 0 0 2px rgba(0,0,0,.12);
}

/* 7) Hovers (desktop) */
@media (hover:hover) and (pointer:fine){
  .featured-blocks .featured-block a.img-thumbnail:hover{
    transform: translateY(-6px);
    box-shadow: 0 26px 72px rgba(18,38,78,.20);
  }
  .featured-blocks .featured-block a.img-thumbnail:hover > img{
    transform: scale(1.08);
    filter: saturate(110%) contrast(1.02);
  }
  .featured-blocks .featured-block a.img-thumbnail:hover::after{
    transform: rotate(18deg) translateX(230%); opacity:.65;
  }
  .featured-blocks .featured-block a.img-thumbnail:hover .more{
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(228,94,22,.44), inset 0 1px 0 rgba(255,255,255,.55);
    filter: brightness(1.04);
  }
}

/* 8) Accessibilité */
@media (prefers-reduced-motion: reduce){
  .featured-blocks .featured-block a.img-thumbnail,
  .featured-blocks .featured-block a.img-thumbnail > img,
  .featured-blocks .featured-block a.img-thumbnail::after,
  .featured-blocks .featured-block a.img-thumbnail .more{ transition:none !important; }
}
/* === CTA "Découvrir" BLEU — autres accents carte ORANGE === */
/* Forçage global même si tu avais odd/even avant */
.featured-blocks .featured-block a.img-thumbnail .more,
.featured-blocks .featured-block:nth-child(odd) a.img-thumbnail .more,
.featured-blocks .featured-block:nth-child(even) a.img-thumbnail .more{
  /* BLEU premium pour l'étiquette */
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--ink, #2b4277) 92%, #6d84c2),
    color-mix(in srgb, var(--ink, #2b4277) 92%, #1a2e5e)
  ) !important;
  box-shadow: 0 12px 26px rgba(27,39,78,.35),
              inset 0 1px 0 rgba(255,255,255,.45) !important;
  color:#fff !important;
}
.featured-blocks .featured-block a.img-thumbnail .more::after,
.featured-blocks .featured-block:nth-child(odd) a.img-thumbnail .more::after,
.featured-blocks .featured-block:nth-child(even) a.img-thumbnail .more::after{
  /* Pointe bleue */
  border-left:12px solid color-mix(in srgb, var(--ink, #2b4277) 88%, #13234a) !important;
}

/* Hover de l'étiquette (bleu) */
@media (hover:hover) and (pointer:fine){
  .featured-blocks .featured-block a.img-thumbnail:hover .more,
  .featured-blocks .featured-block:nth-child(odd) a.img-thumbnail:hover .more,
  .featured-blocks .featured-block:nth-child(even) a.img-thumbnail:hover .more{
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(27,39,78,.44),
                inset 0 1px 0 rgba(255,255,255,.55) !important;
    filter: brightness(1.04);
  }
}

/* Accents cartes : on garde l’ORANGE pour le cadre/overlay (si patch déjà présent, rien à faire)
   — Si besoin, renforce un poil l’orange du bord/overlay : */
.featured-blocks .featured-block a.img-thumbnail{
  background:
    linear-gradient(#ffffff,#ffffff) padding-box,
    linear-gradient(135deg,
      color-mix(in srgb, var(--ink, #2b4277) 10%, transparent),
      color-mix(in srgb, var(--brand, #ed6e2a) 28%, transparent)
    ) border-box;
  border:1.5px solid transparent;
}
.featured-blocks .featured-block a.img-thumbnail::before{
  background:
    radial-gradient(70% 90% at 12% 0%, color-mix(in srgb, var(--brand, #ed6e2a) 14%, transparent), transparent 55%),
    radial-gradient(70% 90% at 88% 0%, color-mix(in srgb, var(--ink, #2b4277) 8%, transparent), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.26) 72%);
}

/* === PREMIUM THEME — BODY & SECTIONS (CSS only) === */
:root{
  --brand:#ed6e2a;   /* orange site */
  --ink:#2b4277;     /* bleu site */
  --radius:16px;
}

/* Fond général premium (sur le wrapper .body déjà présent) */
.body.header-style2{
  position: relative;
  background:
    radial-gradient(1200px 220px at 0% -10%, color-mix(in srgb,var(--brand) 10%, transparent), transparent 60%),
    radial-gradient(900px 200px  at 100% -10%, color-mix(in srgb,var(--ink)   12%, transparent), transparent 62%),
    linear-gradient(180deg, #ffffff, #f6f7fb) !important;
}

/* Conteneur générique */
.body.header-style2 .container{ max-width:1200px; }

/* Titres de section existants (.section-title h3/h2) */
.section-title{ text-align:center; margin: 14px 0 8px; }
.section-title h3{
  margin:0;
  color: color-mix(in srgb,var(--ink) 82%, #6b7aa6);
  font-weight:800;
  letter-spacing:.3px;
}
.section-title h2{
  margin:.35em 0 .2em;
  color:#1c2b4f;
  font-size: clamp(22px,3vw,34px);
}
.section-title h2 strong{ color: var(--brand); }

/* Bande “solutions / catalogues” (.featured-gallery) */
.featured-gallery{
  padding: 28px 0 10px;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(180deg, color-mix(in srgb,var(--ink) 18%, transparent), color-mix(in srgb,var(--brand) 14%, transparent)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(18,38,78,.10);
}

/* Bouton existant .btn.btn-default (contact, etc.) */
.btn.btn-default{
  border: 1px solid rgba(43,66,119,.18) !important;
  background: #fff !important;
  color: var(--ink) !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(18,38,78,.08) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
.btn.btn-default:hover{
  transform: translateY(-1px);
  border-color: rgba(43,66,119,.28) !important;
  box-shadow: 0 16px 36px rgba(18,38,78,.12) !important;
}
/* si un <a> est à l’intérieur du <button> (ton HTML actuel) */
.btn.btn-default a{ color: inherit !important; text-decoration:none !important; display:inline-block; }

/* Cartes logos partenaires (déjà en .post.format-image) */
.post.format-image img{
  filter: grayscale(40%) contrast(1.02);
  transition: filter .25s ease, transform .25s ease;
  transform: translateZ(0);
}
.post.format-image img:hover{
  filter: grayscale(0%) contrast(1.06);
  transform: translateY(-2px);
}

/* Grille logos: espace propre (col-md-2 existants) */
#content .post.format-image{ text-align:center; padding:10px 0; }

/* Pagination bullets du slider (déjà présents) – teinte cohérente */
.pagination-bullet.active, .pagination-bullet:hover{ background: var(--brand) !important; }
.pagination-bullet::after{ border-color: color-mix(in srgb,var(--brand) 60%, #fff) !important; }

/* Ajustement léger entre header/slider/sections si besoin */
@media (min-width: 993px){
  .site-header + .slider-container{ margin-top: 20px !important; } /* espace respirant */
  .slider-container{ border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.40); } /* conserve ton style */
}

/* Footer cohérent (si déjà .site-footer) */
.site-footer{
  background: linear-gradient(180deg, #f2f4fa, #e9edf7);
  border-top: 1px solid rgba(43,66,119,.12);
}
/* ================== ÉQUIPEMENTS — PRO/PREMIUM UPGRADE (CSS only) ================== */
:root{ --brand:#ed6e2a; --ink:#2b4277; --radius:16px; }

/* 0) Espace net entre le menu et la rubrique */
@media (min-width: 993px){
  .site-header + .nav-backed-header { margin-top: 42px !important; }
}

/* 1) Grille équipements — plus d'espace, cartes plus grandes */
.equip-grid{
  display:grid; gap: 24px;             /* + espace entre produits */
  grid-template-columns: repeat(12, minmax(0,1fr));
  margin-top: 18px;
}
.equip-grid > .equip-item{ grid-column: span 4; }   /* 3 colonnes larges en desktop */
@media (max-width: 1100px){ .equip-grid > .equip-item{ grid-column: span 6; } } /* 2 colonnes */
@media (max-width: 560px) { .equip-grid > .equip-item{ grid-column: span 12; } } /* 1 colonne */

/* 2) Carte — style pro (différent du menu) */
.equip-item a.img-thumbnail{
  position:relative; display:block; overflow:hidden; isolation:isolate;
  height: 300px;                         /* + haut = + impact */
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(43,66,119,.12);
  box-shadow: 0 14px 38px rgba(18,38,78,.12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

/* 3) Image qui REMPLIT correctement + recentrage global */
.equip-item a.img-thumbnail > img{
  position:absolute; inset:0;
  width:100% !important; height:100% !important;
  object-fit: cover !important; object-position: center center !important;
  transform:none !important; left:0 !important; padding-left:0 !important;
  transition: transform .65s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}
/* >>> Dernière image plus centrée (ajuste 35–55% au besoin) */
.equip-grid .equip-item:last-child a.img-thumbnail > img{
  object-position: center 45% !important;
}

/* 4) Overlay de lecture très léger (renforce au hover) */
.equip-item a.img-thumbnail::before{
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; z-index:0;
  background:
    radial-gradient(70% 90% at 12% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 55%),
    radial-gradient(70% 90% at 88% 0%, color-mix(in srgb, var(--ink)   10%, transparent), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.18) 72%);
  opacity: .85; transition: opacity .22s ease;
}

/* 5) Légende en capsule blanche (plus pro/clean) */
.equip-item a.img-thumbnail > strong{
  position:absolute; left:14px; right:14px; bottom:14px; z-index:2;
  display:block; padding:10px 12px;
  font-weight:800; color:#1c2b4f; line-height:1.12;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(43,66,119,.12);
  border-radius: 12px;
  text-shadow: none;
}

/* 6) Étiquette CTA BLEUE (vraie étiquette : trou + pointe) */
.equip-item a.img-thumbnail .more{
  position:absolute; top:14px; left:14px; z-index:2;
  display:inline-flex; align-items:center; justify-content:center;
  height: 28px; padding: 0 16px 0 28px;
  font: 800 12px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  text-transform: uppercase; letter-spacing: .35px; color:#fff; text-decoration:none;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--ink) 92%, #6d84c2),
    color-mix(in srgb, var(--ink) 92%, #1a2e5e)
  );
  border-radius: 12px 10px 10px 12px;
  box-shadow: 0 12px 26px rgba(27,39,78,.35), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.equip-item a.img-thumbnail .more::before{
  content:""; position:absolute; left:12px; top:50%; width:8px; height:8px; transform:translateY(-50%);
  border-radius:50%; background:#fff; box-shadow: inset 0 0 0 2px rgba(0,0,0,.12);
}
.equip-item a.img-thumbnail .more::after{
  content:""; position:absolute; top:0; bottom:0; right:-10px; width:0;
  border-left:10px solid #1a2e5e; border-top:14px solid transparent; border-bottom:14px solid transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.18));
}

/* 7) Hover PREMIUM (sobre mais qualitatif) */
@media (hover:hover) and (pointer:fine){
  .equip-item a.img-thumbnail:hover{
    transform: translateY(-6px);
    border-color: rgba(43,66,119,.20);
    box-shadow: 0 22px 64px rgba(18,38,78,.18);
  }
  .equip-item a.img-thumbnail:hover > img{
    transform: scale(1.06);
    filter: saturate(110%) contrast(1.02);
  }
  .equip-item a.img-thumbnail:hover::before{ opacity: 1; }
  .equip-item a.img-thumbnail:hover .more{
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(27,39,78,.42), inset 0 1px 0 rgba(255,255,255,.55);
    filter: brightness(1.04);
  }
}

/* 8) Filet de sécurité : si des anciennes règles poussent encore l’image à droite */
.equip-grid .featured-block a.img-thumbnail img,
.equip-grid .equip-item  a.img-thumbnail img{
  left:0 !important; padding-left:0 !important; transform:none !important;
  width:100% !important; height:100% !important; object-fit:cover !important; object-position:center !important;
}

/* ===== PAGE VANNES — SCOPE STRICT via .page-vannes OU breadcrumb (fallback) ===== */
body.page-vannes,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) {
  --brand:#ed6e2a; --ink:#2b4277;
  --fade0:#f2f4fa; --fade1:#e9edf7;
}

/* A) Rubrique premium (bande dégradée + pills) */
@media (min-width: 993px){
  body.page-vannes .site-header + .nav-backed-header,
  body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .site-header + .nav-backed-header{
    margin-top:48px !important;
  }
}
body.page-vannes .nav-backed-header.parallax,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .nav-backed-header.parallax{
  background: linear-gradient(180deg, var(--fade0), var(--fade1)) !important;
  border-bottom:1px solid rgba(43,66,119,.12);
  padding:14px 0;
  box-shadow: inset 0 -40px 80px rgba(18,38,78,.06);
}
body.page-vannes .nav-backed-header .breadcrumb,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .nav-backed-header .breadcrumb{
  margin:0; padding:8px 0; background:transparent;
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
}
body.page-vannes .nav-backed-header .breadcrumb > li,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .nav-backed-header .breadcrumb > li{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid rgba(43,66,119,.14);
  border-radius:999px; padding:6px 12px;
  color:#2b4277; font-weight:800; letter-spacing:.2px;
  box-shadow:0 6px 16px rgba(18,38,78,.08);
}
body.page-vannes .nav-backed-header .breadcrumb > li + li:before,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .nav-backed-header .breadcrumb > li + li:before{
  content:"›"; margin:0 4px; color:var(--brand); font-weight:900;
}
body.page-vannes .nav-backed-header .breadcrumb a,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .nav-backed-header .breadcrumb a{
  color:#2b4277; text-decoration:none;
}
body.page-vannes .nav-backed-header .breadcrumb a:hover,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .nav-backed-header .breadcrumb a:hover{
  text-decoration:underline;
}

/* B) Cartes produits — gabarit uniforme */
body.page-vannes #content.content.full .featured-block a.img-thumbnail,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block a.img-thumbnail{
  position:relative; display:block; overflow:hidden !important; isolation:isolate;
  height:260px; border-radius:14px; background:#fff;
  border:1px solid rgba(43,66,119,.12);
  box-shadow:0 12px 34px rgba(18,38,78,.12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.page-vannes #content.content.full .featured-block a.img-thumbnail > img,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block a.img-thumbnail > img{
  position:absolute; inset:0; width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center !important;
  left:0 !important; padding-left:0 !important; transform:none !important;
  transition: transform .6s cubic-bezier(.2,.6,.2,1), filter .35s ease;
}

/* C) 1ère image (produit gauche) VISUELLEMENT + petite, même taille de carte */
body.page-vannes #content.content.full .featured-blocks:first-of-type .featured-block:first-child .img-thumbnail > img,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-blocks:first-of-type .featured-block:first-child .img-thumbnail > img{
  object-fit:contain !important;       /* on voit davantage le produit */
  background:#fff; padding:12px;       /* “letterbox” propre */
}

/* D) Corrige la dernière image poussée à droite par d’anciens styles */
body.page-vannes .featured-blocks:last-child .featured-block .img-thumbnail img,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) .featured-blocks:last-child .featured-block .img-thumbnail img{
  left:0 !important; width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center 46% !important;
  padding-left:0 !important; transform:none !important;
}

/* E) Hover FLÈCHE BLEUE — on masque l’ancien badge et on ne crée la flèche QUE au hover */
body.page-vannes #content.content.full .featured-block .more,
body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block .more{
  display:none !important; /* évite tout doublon “barre bleue” existante */
}

/* >>> Pas de pseudo-élément par défaut (rien d’affiché hors hover) <<< */
@media (hover:hover) and (pointer:fine){
  /* Carte + image (effet sobre) */
  body.page-vannes #content.content.full .featured-block a.img-thumbnail:hover,
  body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block a.img-thumbnail:hover{
    transform: translateY(-6px);
    border-color: rgba(43,66,119,.20);
    box-shadow: 0 22px 64px rgba(18,38,78,.18);
  }
  body.page-vannes #content.content.full .featured-block a.img-thumbnail:hover > img,
  body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block a.img-thumbnail:hover > img{
    transform: scale(1.04); filter: saturate(106%) contrast(1.02);
  }

  /* Création de la flèche BLEUE + label UNIQUEMENT AU HOVER (donc invisible avant) */
  body.page-vannes #content.content.full .featured-block a.img-thumbnail:hover::after,
  body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block a.img-thumbnail:hover::after{
    content:"EN SAVOIR PLUS";
    position:absolute; right:14px; bottom:14px; z-index:3;
    display:inline-flex; align-items:center; justify-content:center;
    height:34px; padding:0 16px; border-radius:999px;
    font:900 12px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    letter-spacing:.35px; text-transform:uppercase; color:#fff;
    background:linear-gradient(180deg, color-mix(in srgb, var(--ink) 92%, #6d84c2), color-mix(in srgb, var(--ink) 92%, #1a2e5e));
    box-shadow:0 12px 26px rgba(27,39,78,.35), inset 0 1px 0 rgba(255,255,255,.45);
  }
  body.page-vannes #content.content.full .featured-block a.img-thumbnail:hover::before,
  body:has(.nav-backed-header .breadcrumb a[href*="toutes-les-vannes"]) #content.content.full .featured-block a.img-thumbnail:hover::before{
    content:""; position:absolute; right:14px; bottom:14px; z-index:3;
    transform: translate(calc(100% + 6px), 0);
    border-left:12px solid #1a2e5e; border-top:17px solid transparent; border-bottom:17px solid transparent;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.18));
  }
}
/* ================= VANNES — SCOPE STRICT ================= */
body.page-vannes{
  --brand:#ed6e2a;       /* orange */
  --ink:#2b4277;         /* bleu */
  --fade0:#2b4277;       /* dégradé rubrique - haut (bleu foncé) */
  --fade1:#21365e;       /* dégradé rubrique - bas  (bleu un peu plus foncé) */
  --card-ratio: 16/10;   /* ratio homogène pour toutes les cartes */
  --card-h-desktop: 300px; /* fallback si aspect-ratio non supporté */
}

/* =========== 1) RUBRIQUE / BREADCRUMB — premium sans fond blanc =========== */
@media (min-width:993px){
  body.page-vannes .site-header + .nav-backed-header{ margin-top:48px !important; }
}
body.page-vannes .nav-backed-header.parallax{
  /* bande pleine, sans capsules blanches */
  background:
    radial-gradient(1000px 200px at 0% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    radial-gradient(1000px 200px at 100% 0%, color-mix(in srgb, #ffffff 6%, transparent), transparent 60%),
    linear-gradient(180deg, var(--fade0), var(--fade1)) !important;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 -28px 60px rgba(0,0,0,.12);
}
body.page-vannes .nav-backed-header .breadcrumb{
  margin:0; padding: 10px 0;
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
  background: transparent; border: 0;
}
body.page-vannes .nav-backed-header .breadcrumb > li{
  /* pas de fond blanc : juste un fin contour translucide */
  display:inline-flex; align-items:center; gap:6px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 6px 12px;
  backdrop-filter: saturate(120%); /* discret, sans voile blanc */
}
body.page-vannes .nav-backed-header .breadcrumb > li + li:before{
  content:"›"; margin:0 6px; color:rgba(255,255,255,.6); font-weight:900;
}
body.page-vannes .nav-backed-header .breadcrumb a{
  color: rgba(255,255,255,.92); text-decoration:none;
}
body.page-vannes .nav-backed-header .breadcrumb a:hover{
  text-decoration:underline; text-underline-offset:2px;
}
body.page-vannes .nav-backed-header .breadcrumb > li.active{
  /* dernier élément un peu accentué */
  border-color: rgba(255,255,255,.36);
  color:#fff;
}

/* fine ligne lumineuse en bas de la rubrique */
body.page-vannes .nav-backed-header.parallax::after{
  content:""; display:block; height:1px; margin-top:12px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
}

/* =========== 2) CARTES — même gabarit pour TOUTES =========== */
body.page-vannes .equip-grid .equip-item a.img-thumbnail{
  position:relative; display:block; overflow:hidden !important; isolation:isolate;
  aspect-ratio: var(--card-ratio);
  height: var(--card-h-desktop);          /* fallback */
  border-radius:16px; background:#fff;
  border:1px solid rgba(43,66,119,.12);
  box-shadow:0 14px 38px rgba(18,38,78,.12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
@supports (aspect-ratio: 1){
  body.page-vannes .equip-grid .equip-item a.img-thumbnail{ height:auto; }
}

body.page-vannes .equip-grid .equip-item a.img-thumbnail > img{
  position:absolute; inset:0; width:100% !important; height:100% !important;
  object-fit: cover !important; object-position: center center !important;
  left:0 !important; padding:0 !important; transform:none !important;
  transition: transform .60s cubic-bezier(.2,.6,.2,1), filter .35s ease;
}

/* Réinitialise d’anciens hacks (si 3e/dernière avaient un scale/padding) */
body.page-vannes .equip-grid .equip-item:nth-child(3) a.img-thumbnail > img,
body.page-vannes .equip-grid .equip-item:last-child  a.img-thumbnail > img{
  transform:none !important; padding:0 !important; object-fit:cover !important;
}

/* =========== 3) Dernière image un peu plus à DROITE =========== */
/* On décale l’ancrage X vers ~58% (ajuste 55–62% si tu veux) */
body.page-vannes .equip-grid .equip-item:last-child a.img-thumbnail > img{
  object-position: 58% center !important;
}
@media (max-width: 768px){
  body.page-vannes .equip-grid .equip-item:last-child a.img-thumbnail > img{
    object-position: 55% center !important; /* un peu moins agressif sur mobile */
  }
}

/* =========== 4) Hover premium (sobre, cohérent) =========== */
@media (hover:hover) and (pointer:fine){
  body.page-vannes .equip-grid .equip-item a.img-thumbnail:hover{
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--ink) 26%, transparent);
    box-shadow: 0 24px 68px rgba(18,38,78,.18);
  }
  body.page-vannes .equip-grid .equip-item a.img-thumbnail:hover > img{
    transform: scale(1.04);
    filter: saturate(110%) contrast(1.02);
  }
}
/* ====== PAGE VANNES — Premium & Fix menu mobile (scope) ====== */
body.page-vannes{
  --brand:#ed6e2a; --ink:#2b4277;
  --rub-top:#2b4277; --rub-bot:#1f2f54; /* rubrique bleu nuit */
}

/* A) Rubrique premium (sans "blanc" intérieur) */
@media (min-width:993px){
  body.page-vannes .site-header + .nav-backed-header{ margin-top: 48px !important; }
}
body.page-vannes .nav-backed-header.parallax{
  background:
    radial-gradient(1000px 200px at 0% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    radial-gradient(1000px 200px at 100% 0%, color-mix(in srgb, #ffffff 6%, transparent), transparent 60%),
    linear-gradient(180deg, var(--rub-top), var(--rub-bot)) !important;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 -28px 60px rgba(0,0,0,.12);
}
body.page-vannes .nav-backed-header .breadcrumb{
  margin:0; padding:10px 0; background:transparent;
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
}
body.page-vannes .nav-backed-header .breadcrumb > li{
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 6px 12px;
  backdrop-filter: saturate(120%);
}
body.page-vannes .nav-backed-header .breadcrumb > li + li:before{
  content:"›"; margin:0 6px; color:rgba(255,255,255,.6); font-weight:900;
}
body.page-vannes .nav-backed-header .breadcrumb a{
  color:#fff; text-decoration:none;
}
body.page-vannes .nav-backed-header .breadcrumb a:hover{
  text-decoration:underline; text-underline-offset:2px;
}

/* B) Menu mobile — panneau premium + backdrop (corrige les CSS contradictoires) */
@media (max-width: 992px){
  /* Bouton (ici c'est un <a class="menu-toggle">) → pastille fix en haut */
  body.page-vannes .site-header .menu-toggle{
    position: fixed; top: 18px; right: 16px; z-index: 10003;
    width: 44px; height: 44px; border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    background: var(--brand); color:#fff; border:0;
  }

  /* Panneau */
  body.page-vannes .site-header .main-menu-wrapper{
    display: block !important;            /* annule les "display:none" hérités */
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 380px;
    transform: translateX(-105%);         /* fermé par défaut */
    transition: transform .32s ease;
    background: #ffffff !important;
    z-index: 10002;
    padding: 72px 18px 24px;
    box-shadow: 30px 0 80px rgba(18,38,78,.28);
    overflow-y: auto;
  }
  body.page-vannes .site-header .main-menu-wrapper.is-open{
    transform: translateX(0);             /* ouvert */
  }

  /* Backdrop via le body */
  body.page-vannes.menu-open{ overflow:hidden; }
  body.page-vannes.menu-open::before{
    content:""; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 10001;
  }

  /* Liens du menu (un peu plus premium) */
  body.page-vannes .navigation > ul{ padding: 6px 0 18px; }
  body.page-vannes .navigation > ul > li > a{
    display:flex; align-items:center;
    padding: 12px 14px; margin: 6px 0;
    background: #f8f9fc; border-radius: 10px;
    color:#1c2b4f; font-weight:700; text-decoration:none;
  }
  body.page-vannes .navigation > ul > li > a:hover{
    background:#eef2fb; color:#162447;
  }
}

/* (Option courtoisie) Cartes produits homogènes si besoin ici aussi */
@media (min-width: 0){
  body.page-vannes .equip-grid .equip-item a.img-thumbnail{
    position:relative; display:block; overflow:hidden; border-radius:16px;
    aspect-ratio: 16/10; /* même ratio pour toutes */
    background:#fff; border:1px solid rgba(43,66,119,.12);
    box-shadow: 0 14px 38px rgba(18,38,78,.12);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  body.page-vannes .equip-grid .equip-item a.img-thumbnail > img{
    position:absolute; inset:0; width:100% !important; height:100% !important;
    object-fit: cover !important; object-position: center !important;
  }
}
/* === MENU MOBILE — Correctif unifié (override) === */
@media (max-width: 992px){
  /* Conteneur du menu en mode tiroir gauche */
  .main-menu-wrapper{
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    width: 80%;
    max-width: 340px;
    background: #fff !important;
    z-index: 9999;
    overflow-y: auto;
    padding: 70px 16px 20px; /* espace sous la topbar */
    transform: translateX(-100%) !important;
    transition: transform .3s ease !important;
    display: block !important;           /* force l’affichage, on gère l’état par transform */
    opacity: 1 !important;               /* évite toute transparence héritée */
    box-shadow: 8px 0 24px rgba(0,0,0,.08);
  }
  .main-menu-wrapper.active{
    transform: translateX(0) !important;
  }

  /* Backdrop plein écran, cliquable pour fermer (injecté en JS) */
  .menu-backdrop{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.25);
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
  }
  body.menu-open .menu-backdrop{
    opacity: 1; pointer-events: auto;
  }

  /* Petits styles de la liste pour le mobile */
  .navigation > ul{ padding: 0; margin: 0; }
  .navigation > ul > li{ display:block; margin: 6px 0; }
  .navigation > ul > li > a{
    display:flex; align-items:center;
    padding:12px 14px; border-radius:8px;
    background:#f8f8f8; color:#333; text-decoration:none;
  }
}

/* === MENU DESKTOP — on s’assure que rien du mobile ne “fuit” === */
@media (min-width: 993px){
  .main-menu-wrapper{
    position: static !important;
    transform: none !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}
/* ====== FIX MENU MOBILE — PAGE VANNES UNIQUEMENT ====== */
@media (max-width: 992px){
  /* Bouton : même look partout, y compris si c'est un <a> */
  .body.header-style2 .site-header .menu-toggle{
    position: fixed; top: 18px; right: 16px; z-index: 10003;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: #ed6e2a; color: #fff; border: 0; text-decoration: none;
  }
  .body.header-style2 .site-header .menu-toggle i{ font-size: 18px; }

  /* Tiroir : on neutralise tous les display:none hérités et on impose le slide */
  .body.header-style2 .site-header .main-menu-wrapper{
    display: block !important;                 /* ← prime sur tous les display:none */
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 360px;
    background: #fff !important;
    transform: translateX(-100%) !important;   /* fermé par défaut */
    transition: transform .32s ease !important;
    z-index: 10002;
    padding: 70px 18px 24px;
    overflow-y: auto;
    box-shadow: 30px 0 80px rgba(18,38,78,.28);
  }
  .body.header-style2 .site-header .main-menu-wrapper.active{
    transform: translateX(0) !important;       /* ouvert */
  }

  /* Backdrop (créé par le JS ci-dessus) */
  .menu-backdrop{
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0,0,0,.35);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  body.menu-open .menu-backdrop{ opacity: 1; pointer-events: auto; }

  /* Liens du menu → petit style premium et touch-friendly */
  .body.header-style2 .navigation > ul{ padding: 6px 0 18px; margin: 0; }
  .body.header-style2 .navigation > ul > li{ margin: 6px 0; }
  .body.header-style2 .navigation > ul > li > a{
    display:flex; align-items:center; gap:8px;
    padding:12px 14px; border-radius:10px;
    background:#f8f9fc; color:#1c2b4f; text-decoration:none;
  }
  .body.header-style2 .navigation > ul > li > a:hover{ background:#eef2fb; color:#162447; }
}

/* Desktop : on s’assure que rien du mobile ne “fuit” */
@media (min-width: 993px){
  .body.header-style2 .site-header .main-menu-wrapper{
    position: static !important; transform: none !important;
    display: block !important; padding: 0 !important;
    background: transparent !important; box-shadow: none !important;
  }
}
/* ====== FIX MENU MOBILE — PAGE VANNES UNIQUEMENT ====== */
@media (max-width: 992px){
  /* Bouton : même look partout, y compris si c'est un <a> */
  .body.header-style2 .site-header .menu-toggle{
    position: fixed; top: 18px; right: 16px; z-index: 10003;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: #ed6e2a; color: #fff; border: 0; text-decoration: none;
  }
  .body.header-style2 .site-header .menu-toggle i{ font-size: 18px; }

  /* Tiroir : on neutralise tous les display:none hérités et on impose le slide */
  .body.header-style2 .site-header .main-menu-wrapper{
    display: block !important;                 /* ← prime sur tous les display:none */
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 360px;
    background: #fff !important;
    transform: translateX(-100%) !important;   /* fermé par défaut */
    transition: transform .32s ease !important;
    z-index: 10002;
    padding: 70px 18px 24px;
    overflow-y: auto;
    box-shadow: 30px 0 80px rgba(18,38,78,.28);
  }
  .body.header-style2 .site-header .main-menu-wrapper.active{
    transform: translateX(0) !important;       /* ouvert */
  }

  /* Backdrop (créé par le JS ci-dessus) */
  .menu-backdrop{
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0,0,0,.35);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  body.menu-open .menu-backdrop{ opacity: 1; pointer-events: auto; }

  /* Liens du menu → petit style premium et touch-friendly */
  .body.header-style2 .navigation > ul{ padding: 6px 0 18px; margin: 0; }
  .body.header-style2 .navigation > ul > li{ margin: 6px 0; }
  .body.header-style2 .navigation > ul > li > a{
    display:flex; align-items:center; gap:8px;
    padding:12px 14px; border-radius:10px;
    background:#f8f9fc; color:#1c2b4f; text-decoration:none;
  }
  .body.header-style2 .navigation > ul > li > a:hover{ background:#eef2fb; color:#162447; }
}

/* Desktop : on s’assure que rien du mobile ne “fuit” */
@media (min-width: 993px){
  .body.header-style2 .site-header .main-menu-wrapper{
    position: static !important; transform: none !important;
    display: block !important; padding: 0 !important;
    background: transparent !important; box-shadow: none !important;
  }
}
/* ===================== NAV PREMIUM — GLOBAL (desktop ≥ 993px) ===================== */
:root{ --brand:#ed6e2a; --ink:#2b4277; }

@media (min-width: 993px){
  /* Barre de navigation avec dégradé + bord premium + ombre douce */
  .site-header .navigation{
    background:
      linear-gradient(180deg, #fcfbf9, #f4f1ec) padding-box,
      linear-gradient(135deg,
        color-mix(in srgb, var(--ink, #2b4277) 18%, transparent),
        color-mix(in srgb, var(--brand, #ed6e2a) 14%, transparent)
      ) border-box !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    height: 56px !important;
    box-shadow: 0 10px 24px rgba(18,38,78,.14) !important;
    display: flex; align-items: center;
  }

  /* Liens top-level */
  .site-header .navigation > ul{ display:flex; align-items:center; height:100%; gap: 2px; }
  .site-header .navigation > ul > li > a{
    position: relative;
    display:flex; align-items:center; height:56px; padding:0 14px;
    font-weight: 800; text-transform: uppercase; letter-spacing:.3px;
    color:#1c2b4f; text-decoration:none;
    transition: color .2s ease;
  }

  /* Indicateur premium sous l’onglet (hover + actif) */
  .site-header .navigation > ul > li > a::after{
    content:""; position:absolute; left:12px; right:12px; bottom:8px; height:3px; border-radius:3px;
    background: linear-gradient(90deg,
      color-mix(in srgb, var(--ink, #2b4277) 70%, #fff),
      var(--brand, #ed6e2a)
    );
    transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
  }
  .site-header .navigation > ul > li:hover > a,
  .site-header .navigation > ul > li.active > a{ color:#0f1a33; }
  .site-header .navigation > ul > li:hover > a::after,
  .site-header .navigation > ul > li.active > a::after{ transform: scaleX(1); }

  /* Dropdowns plus propres (si utilisés) */
  .site-header .navigation ul li ul{
    top:100%; background:#fff; border:1px solid rgba(43,66,119,.12);
    border-radius:10px; padding:8px; box-shadow:0 18px 44px rgba(18,38,78,.12);
  }
  .site-header .navigation ul li ul li a{
    display:block; padding:10px 12px; border-radius:8px; color:#1c2b4f;
  }
  .site-header .navigation ul li ul li a:hover{ background:#f4f6fb; color:#0f1a33; }
}

/* ===================== UNIFORMISER le BOUTON MOBILE — page VANNES ===================== */
/* Tu dis que ça marche mais “pas le même CSS que l’index”. On remet son look par défaut,
   sans toucher à la logique d’ouverture que tu as déjà. */
@media (max-width: 992px){
  body.page-vannes .site-header .menu-toggle{
    position: static !important;        /* comme l’index (pas en pastille fix) */
    width: auto !important; height: auto !important; padding: 0 !important;
    background: transparent !important; color: inherit !important;
    border: 0 !important; box-shadow: none !important;
    display: inline-flex; align-items:center; justify-content:center;
    line-height: 1; text-decoration: none;
  }
  body.page-vannes .site-header .menu-toggle i{ font-size: 18px; }
}

/* ===================== SÉCURITÉ : ne rien casser en desktop ===================== */
@media (min-width: 993px){
  .site-header .main-menu-wrapper{
    position: static !important; transform: none !important;
    display: block !important; padding: 0 !important;
    background: transparent !important; box-shadow: none !important;
  }
}
/* ======================= RÉTABLIR TON MENU (desktop) ======================= */
/* 1) Le bloc "reset desktop" qui fait all:revert sur .main-menu-wrapper te flingue le rendu.
      On repasse *par-dessus* avec un sélecteur plus spécifique + !important. */
@media (min-width: 993px){
  .body.header-style2 .site-header .main-menu-wrapper{
    /* === ta coque premium en verre dépoli avec dégradé === */
    position: sticky !important;
    top: 0; z-index: 1100;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 10px 0;
    background:
      radial-gradient(1200px 160px at 0% -20%, color-mix(in srgb, var(--brand, #ed6e2a) 12%, transparent) 0 60%, transparent 61%),
      radial-gradient(900px 140px  at 100% -20%, color-mix(in srgb, var(--ink, #2b4277) 12%, transparent) 0 58%, transparent 59%),
      linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86)) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    border: 1px solid rgba(43,66,119,0.10) !important;
    box-shadow: 0 14px 44px rgba(18,38,78,0.10) !important;
  }
  .body.header-style2 .site-header .main-menu-wrapper::before{
    content:""; position:absolute; inset:0; border-radius:16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55); pointer-events:none;
  }

  /* On neutralise le fond beige du bloc .navigation + son absolute, pour revenir à la coque */
  .body.header-style2 .site-header .navigation{
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 60px !important;
  }

  /* Liens principaux comme avant (caps + soulignement gradient discret au hover) */
  .body.header-style2 .site-header .navigation > ul > li > a{
    color:#1c2b4f; font-weight:600; letter-spacing:.2px;
    border-radius:12px; padding:0 18px; height:60px; display:flex; align-items:center;
    text-transform: uppercase; /* ton style d’origine */
    transition: background .2s ease, color .2s ease;
  }
  .body.header-style2 .site-header .navigation > ul > li > a:hover{
    background: rgba(237,110,42,0.10); color: var(--brand,#ed6e2a);
  }
  .body.header-style2 .site-header .navigation > ul > li > a::after{
    content:""; position:absolute; left:18px; right:18px; bottom:8px; height:2px;
    background: linear-gradient(90deg, var(--brand,#ed6e2a), color-mix(in srgb, var(--brand,#ed6e2a) 60%, #f0a15f));
    transform: scaleX(0); transform-origin:left; transition: transform .22s ease; border-radius:2px;
  }
  .body.header-style2 .site-header .navigation > ul > li > a:hover::after{ transform: scaleX(1); }
}
/* (référence du style d’origine de ta nav : fond #f8f7f3 + ombre + caps, déjà présent dans ton fichier). :contentReference[oaicite:0]{index=0} */
/* (le bloc premium “coque verre dépoli” que tu aimais : on le réactive proprement). :contentReference[oaicite:1]{index=1} */

/* ======================= BOUTON MOBILE = IDENTIQUE À L’INDEX ======================= */
/* Problème : tu as une règle globale qui transforme .menu-toggle en pastille orange fixe. On l'écrase
   uniquement pour tes pages avec wrapper .body.header-style2 afin d’avoir le même rendu que l’index. */
@media (max-width: 992px){
  .body.header-style2 .site-header .menu-toggle{
    /* reset des styles “pastille fixe” */
    position: static !important;
    top:auto !important; right:auto !important; z-index:auto !important;
    width:auto !important; height:auto !important; padding:0 !important;
    border:0 !important; border-radius:0 !important;
    background: transparent !important; color: inherit !important;
    display: inline-flex !important; align-items:center; justify-content:center;
    text-decoration: none;
    line-height: 1;
  }
  .body.header-style2 .site-header .menu-toggle i{ font-size: 18px; }
}
/* (la pastille orange globale est ici : .menu-toggle { position:fixed; background:#ed6e2a; ... } — on la neutralise). :contentReference[oaicite:2]{index=2} */

/* ======================= SÉCURITÉ ======================= */
/* On évite que d’autres resets “desktop” re-cassent la coque sur header-style2 */
@media (min-width:993px){
  .body.header-style2 .site-header .main-menu-wrapper,
  .body.header-style2 .site-header .navigation{
    /* double !important pour passer devant le “all: revert !important” générique */
    all: revert !important; /* on fait table rase... */
  }
  /* ...puis on remet immédiatement NOS styles premium ci-dessus grâce à la cascade */
}
/* Note : on conserve ton HTML tel quel (index = <button.menu-toggle> ; vannes = <a.menu-toggle>),
   on ne change que l’apparence pour que le bouton *vannes* ressemble à celui de l’index. 
   (index = <button>… :contentReference[oaicite:3]{index=3} ; vannes = <a href="#" class="menu-toggle">… :contentReference[oaicite:4]{index=4}) */
/* ====== RESTAURE LE MENU PREMIUM + FIX MOBILE (scope .body.header-style2) ====== */
:root { --brand:#ed6e2a; --ink:#2b4277; }

/* Desktop ≥ 993px : coque verre dépoli + liens premium + espace sous menu */
@media (min-width: 993px){
  .body.header-style2 .site-header .main-menu-wrapper{
    position: sticky !important;
    top: 0; z-index: 1100;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 10px 0;
    background:
      radial-gradient(1200px 160px at 0% -20%, color-mix(in srgb, var(--brand) 12%, transparent) 0 60%, transparent 61%),
      radial-gradient(900px 140px  at 100% -20%, color-mix(in srgb, var(--ink)   12%, transparent) 0 58%, transparent 59%),
      linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86)) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    border: 1px solid rgba(43,66,119,0.10) !important;
    box-shadow: 0 14px 44px rgba(18,38,78,0.10) !important;
  }
  .body.header-style2 .site-header .main-menu-wrapper::before{
    content:""; position:absolute; inset:0; border-radius:16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55); pointer-events:none;
  }

  /* Neutralise les fonds/positions parasites sur .navigation */
  .body.header-style2 .site-header .navigation{
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 60px !important;
  }

  .body.header-style2 .site-header .navigation > ul{
    display:flex; align-items:center; height:100%; gap: 2px;
  }
  .body.header-style2 .site-header .navigation > ul > li > a{
    position: relative;
    display:flex; align-items:center;
    height: 56px; padding: 0 14px;
    color:#1c2b4f; text-decoration:none;
    font-weight: 800; text-transform: uppercase; letter-spacing:.3px;
    border-radius: 12px;
    transition: color .2s ease, background .2s ease;
  }
  .body.header-style2 .site-header .navigation > ul > li > a:hover{
    color:#ed6e2a; background: rgba(237,110,42,0.10);
  }
  .body.header-style2 .site-header .navigation > ul > li > a::after{
    content:""; position:absolute; left:12px; right:12px; bottom:8px; height:2px; border-radius:2px;
    background: linear-gradient(90deg, var(--ink), var(--brand));
    transform: scaleX(0); transform-origin:left; transition: transform .22s ease;
  }
  .body.header-style2 .site-header .navigation > ul > li:hover > a::after{ transform: scaleX(1); }

  /* Espace sous le menu pour descendre le slider/hero */
  .body.header-style2 .site-header .main-menu-wrapper + *{ margin-top: 24px !important; }
}

/* Mobile ≤ 992px : remet le bouton comme l’index (pas la bulle orange fixe) */
@media (max-width: 992px){
  /* Le sélecteur plus spécifique écrase la règle globale .menu-toggle (bulle orange) */
  .body.header-style2 .site-header .menu-toggle{
    position: static !important;
    top:auto !important; right:auto !important; z-index:auto !important;
    width:auto !important; height:auto !important; padding:0 !important;
    border:0 !important; border-radius:0 !important;
    background: transparent !important; color: inherit !important;
    display: inline-flex !important; align-items:center; justify-content:center;
    line-height:1; text-decoration:none;
  }
  .body.header-style2 .site-header .menu-toggle i{ font-size: 18px; }

  /* Panneau latéral : slide in/out, fond opaque, même partout */
  .body.header-style2 .site-header .main-menu-wrapper{
    display: block !important;                 /* force visible, l’état est géré par transform */
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 360px;
    background: #fff !important;
    transform: translateX(-100%) !important;   /* fermé par défaut */
    transition: transform .32s ease !important;
    z-index: 10002;
    padding: 70px 18px 24px;
    overflow-y: auto;
    box-shadow: 30px 0 80px rgba(18,38,78,.28);
  }
  .body.header-style2 .site-header .main-menu-wrapper.active{
    transform: translateX(0) !important;       /* ouvert */
  }

  /* Liens dans le tiroir : propres et touch-friendly */
  .body.header-style2 .site-header .navigation > ul{ padding: 6px 0 18px; margin: 0; }
  .body.header-style2 .site-header .navigation > ul > li{ margin: 6px 0; }
  .body.header-style2 .site-header .navigation > ul > li > a{
    display:flex; align-items:center; gap:8px;
    padding:12px 14px; border-radius:10px;
    background:#f8f9fc; color:#1c2b4f; text-decoration:none;
  }
  .body.header-style2 .site-header .navigation > ul > li > a:hover{
    background:#eef2fb; color:#162447;
  }

  /* Backdrop cliquable quand le menu est ouvert (le JS ajoute/retire .menu-open sur <body>) */
  body.menu-open::before{
    content:""; position: fixed; inset: 0;
    background: rgba(0,0,0,.35); z-index: 10001;
  }
}
/* =========================================================
   1) MENU DESKTOP – RESTAURE LE LOOK ORIGINAL (.navigation)
   (neutralise les overrides récents : letter-spacing, pills, ::after, etc.)
   ========================================================= */
@media (min-width: 993px){
  .site-header .navigation{
    height: 50px !important;
    background: #f8f7f3 !important;
    box-shadow: 0 0 3px rgba(0,0,0,.4) !important;
    position: relative !important;            /* pas de “sticky/pastille” ici */
  }
  .site-header .navigation > ul{
    display: block !important;                /* supprime les gaps flex ajoutés */
    height: 50px !important;
  }
  .site-header .navigation > ul > li{
    display: inline-block !important;
    line-height: 50px !important;
    font-size: 12px !important;
  }
  .site-header .navigation > ul > li > a{
    padding: 0 20px !important;
    display: block !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-family: "Source Sans Pro", sans-serif !important;
    letter-spacing: 0 !important;             /* ← enlève l’écartement excessif */
    color: #1c2b4f !important;
    background: transparent !important;       /* retire les pastilles grises */
  }
  /* supprime tout soulignement/indicator ajouté récemment */
  .site-header .navigation > ul > li > a::after{ content:none !important; }
}

/* =========================================================
   2) BOUTON MOBILE – PAGE VANNES UNIQUEMENT
   (même look/placement que l’index : icône simple dans la topbar)
   ========================================================= */
@media (max-width: 992px){
  /* ancre le bouton dans la colonne droite de la topbar */
  body.page-vannes .topbar .col-md-8,
  body.page-vannes .topbar .col-sm-6,
  body.page-vannes .topbar .col-xs-4{ position: relative !important; }

  /* override la pastille fixe orange imposée par des règles globales */
  body.page-vannes .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important;                      /* même ligne que le téléphone */
    right: 12px !important;
    z-index: 1003 !important;
    width: auto !important; height: auto !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important;
    background: transparent !important;        /* plus de bulle orange */
    color: inherit !important;
    display: inline-flex !important; align-items:center; justify-content:center;
    line-height: 1 !important; text-decoration: none !important;
  }
  body.page-vannes .site-header .menu-toggle i{ font-size: 20px !important; }

  /* conserve le tiroir gauche existant : rien à changer côté panneau */
  body.page-vannes .site-header .main-menu-wrapper{
    /* on garde tes règles d’ouverture par .active + transform */
    display: block !important;
  }
}
/*************** 1) NAV DESKTOP — tout sur UNE SEULE LIGNE (reset propre) ***************/
@media (min-width: 993px){
  /* barre et conteneur */
  .site-header .navigation{
    height: 50px !important;
    background: #f8f7f3 !important;
    box-shadow: 0 0 3px rgba(0,0,0,.4) !important;
    position: relative !important;
    overflow: hidden;            /* évite les retours à la ligne parasites */
    white-space: nowrap;         /* force tout sur une ligne */
  }
  .site-header .navigation > ul{
    display: flex !important;
    flex-wrap: nowrap !important;      /* pas de wrap */
    align-items: center !important;
    height: 50px !important;
    gap: 0 !important;
    margin: 0 !important; padding: 0 !important;
  }
  .site-header .navigation > ul > li{
    flex: 0 0 auto !important;         /* largeur auto, jamais cassé */
    display: inline-block !important;
    line-height: 50px !important;
    margin: 0 !important;
  }
  .site-header .navigation > ul > li > a{
    display: block !important;
    padding: 0 16px !important;        /* padding serré pour tout faire tenir */
    text-transform: uppercase !important;
    font-weight: bold !important;
    letter-spacing: 0 !important;      /* enlève l’écartement exagéré */
    color: #1c2b4f !important;
    text-decoration: none !important;
    background: transparent !important;
  }
  /* coupe tous les "pills"/soulignements ajoutés par d'autres patches */
  .site-header .navigation > ul > li > a::before,
  .site-header .navigation > ul > li > a::after{ content: none !important; }
}

/*************** 2) BOUTON MOBILE (PAGE VANNES) — look & placement comme l’index ***************/
@media (max-width: 992px){
  /* ancre correcte dans la topbar côté droit */
  body.page-vannes .site-header .topbar{ position: relative !important; }
  body.page-vannes .site-header .menu-toggle{
    /* reset total de la pastille orange fixe et styles hérités */
    position: absolute !important;
    top: 10px !important; right: 12px !important; z-index: 1003 !important;
    width: 44px !important; height: 44px !important;
    padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 8px !important;
    background: transparent !important; color: #1c2b4f !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    box-shadow: none !important; outline: 0 !important; text-decoration: none !important;
  }
  body.page-vannes .site-header .menu-toggle i{ font-size: 22px !important; line-height: 1 !important; }
  body.page-vannes .site-header .menu-toggle span{ display:none !important; } /* si un label texte traîne */
  /* on ne change PAS le panneau : il continue d'utiliser .active + transform comme actuellement */
  body.page-vannes .site-header .main-menu-wrapper{ display:block !important; }
}

/*************** 3) SÉCURITÉ — ne rien casser ailleurs ***************/
@media (min-width: 993px){
  /* empêche tout style mobile/pastille d’influencer le desktop */
  .site-header .main-menu-wrapper{
    position: static !important; transform: none !important;
    display: block !important; padding: 0 !important;
    background: transparent !important; box-shadow: none !important;
  }
}
/* ============== MENU MOBILE – PAGE VANNES UNIQUEMENT ============== */
@media (max-width: 992px){
  /* Place correctement le bouton dans la topbar (look index, pas pastille) */
  body.page-vannes .site-header .topbar{ position: relative !important; }
  body.page-vannes .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important; right: 12px !important; z-index: 1003 !important;
    width: 44px !important; height: 44px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    background: transparent !important; color: #1c2b4f !important;
    border: 0 !important; border-radius: 8px !important; padding: 0 !important; margin: 0 !important;
    text-decoration: none !important; box-shadow: none !important; outline: 0 !important;
  }
  body.page-vannes .site-header .menu-toggle i{ font-size: 22px !important; line-height: 1 !important; }
  body.page-vannes .site-header .menu-toggle span{ display:none !important; }

  /* Tiroir gauche premium (slide) */
  body.page-vannes .site-header .main-menu-wrapper{
    display: block !important;               /* on gère l'état via transform */
    position: fixed; top:0; left:0; bottom:0;
    width: 84%; max-width: 360px;
    transform: translateX(-100%) !important; transition: transform .32s ease !important;
    z-index: 10002; overflow-y: auto; padding: 70px 18px 24px;
    background: #fff !important;
    border-right: 1px solid rgba(0,0,0,.06);
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
  }
  body.page-vannes .site-header .main-menu-wrapper.active,
  body.page-vannes .site-header .main-menu-wrapper.is-open{
    transform: translateX(0) !important;
  }

  /* Bouton fermer dans le tiroir (injecté en JS si manquant) */
  body.page-vannes .site-header .main-menu-wrapper .menu-close{
    position: absolute; top: 16px; right: 14px;
    width: 36px; height: 36px; border:0; border-radius: 8px;
    background: #f1f3f9; color:#1c2b4f; font-size: 22px; line-height: 1;
  }

  /* Liste du menu (touch-friendly) */
  body.page-vannes .site-header .navigation > ul{ padding: 6px 0 18px; margin:0; }
  body.page-vannes .site-header .navigation > ul > li{ margin: 6px 0; }
  body.page-vannes .site-header .navigation > ul > li > a{
    display:flex; align-items:center; gap:8px;
    padding:12px 14px; border-radius:10px;
    background:#f8f9fc; color:#1c2b4f; text-decoration:none;
  }
  body.page-vannes .site-header .navigation > ul > li > a:hover{
    background:#eef2fb; color:#162447;
  }

  /* Backdrop + lock scroll quand ouvert */
  body.menu-open{ overflow: hidden; }
  .menu-backdrop{
    position: fixed; inset: 0; background: rgba(0,0,0,.35);
    z-index: 10001; opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  body.menu-open .menu-backdrop{ opacity: 1; pointer-events: auto; }
}
/* ========== MOBILE – tiroir + bouton + backdrop (scope sur cette page via body.menu-open) ========== */
@media (max-width: 992px){
  /* bouton : discret, en haut à droite de la topbar (comme index) */
  .site-header .topbar{ position: relative; }
  .site-header .menu-toggle{
    position: absolute; top: 10px; right: 12px; z-index: 1003;
    width: 44px; height: 44px; display:inline-flex; align-items:center; justify-content:center;
    background: transparent; color:#1c2b4f; border:0; border-radius:8px; padding:0; margin:0;
    text-decoration:none; box-shadow:none; outline:0;
  }
  .site-header .menu-toggle i{ font-size:22px; line-height:1; }

  /* panneau : slide gauche */
  .site-header .main-menu-wrapper{
    display:block !important;
    position: fixed; top:0; left:0; bottom:0; z-index:10002;
    width: 84%; max-width:360px; overflow-y:auto;
    background:#fff; border-right:1px solid rgba(0,0,0,.06);
    padding:70px 18px 24px;
    transform: translateX(-100%); transition: transform .32s ease;
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
  }
  .site-header .main-menu-wrapper.active,
  .site-header .main-menu-wrapper.is-open{ transform: translateX(0); }

  /* bouton fermer (injecté par le JS) */
  .site-header .main-menu-wrapper .menu-close{
    position:absolute; top:16px; right:14px; width:36px; height:36px;
    border:0; border-radius:8px; background:#f1f3f9; color:#1c2b4f; font-size:22px; line-height:1;
  }

  /* items clairs et touch-friendly */
  .site-header .navigation > ul{ padding:6px 0 18px; margin:0; }
  .site-header .navigation > ul > li{ margin:6px 0; }
  .site-header .navigation > ul > li > a{
    display:flex; align-items:center; gap:8px;
    padding:12px 14px; border-radius:10px;
    background:#f8f9fc; color:#1c2b4f; text-decoration:none;
  }
  .site-header .navigation > ul > li > a:hover{ background:#eef2fb; color:#162447; }

  /* backdrop + lock scroll */
  body.menu-open{ overflow:hidden; }
  .menu-backdrop{
    position: fixed; inset:0; z-index:10001;
    background: rgba(0,0,0,.35); opacity:0; pointer-events:none; transition:opacity .2s ease;
  }
  body.menu-open .menu-backdrop{ opacity:1; pointer-events:auto; }
}

/* ========== DESKTOP – sous-menus visibles (plus rien n’est coupé) ========== */
@media (min-width: 993px){
  .site-header .navigation{ overflow: visible !important; } /* IMPORTANT : permet aux dropdowns de déborder */

  .site-header .navigation > ul > li{ position: relative; }
  .site-header .navigation > ul > li > ul{
    position: absolute; left:0; top:100%;
    display:none; min-width: 220px;
    margin:0; padding:8px;
    background:#fff; border:1px solid rgba(43,66,119,.12);
    border-radius:10px; box-shadow:0 18px 44px rgba(18,38,78,.12); z-index: 1000;
  }
  /* ouverture au hover ET quand la classe .open est posée (via JS) */
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{ display:block; }

  .site-header .navigation > ul > li > ul > li > a{
    display:block; padding:10px 12px; border-radius:8px; color:#1c2b4f; text-decoration:none;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{ background:#f4f6fb; color:#0f1a33; }
}
/* ========= MENU MOBILE — style propre + couches/z-index corrects ========= */
@media (max-width: 992px){
  /* Bouton : même look que l’index (pas de bulle orange, bien placé) */
  .site-header .topbar{ position: relative; }
  .site-header .menu-toggle{
    position: absolute; top: 10px; right: 12px; z-index: 10020;
    width: 44px; height: 44px;
    display: inline-flex; align-items:center; justify-content:center;
    background: transparent; color: #1c2b4f; border: 0; border-radius: 8px;
    padding: 0; margin: 0; box-shadow: none; text-decoration: none;
  }
  .site-header .menu-toggle i{ font-size: 22px; line-height: 1; }

  /* Panneau : tiroir gauche (passe au-dessus du backdrop) */
  .site-header .main-menu-wrapper{
    display: block !important;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 360px;
    background: #fff; z-index: 10010;
    transform: translateX(-100%); transition: transform .32s ease;
    padding: 70px 18px 24px; overflow-y: auto;
    border-right: 1px solid rgba(0,0,0,.06);
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
  }
  .site-header .main-menu-wrapper.active,
  .site-header .main-menu-wrapper.is-open{ transform: translateX(0); }

  /* Bouton fermer dans le panneau */
  .site-header .main-menu-wrapper .menu-close{
    position: absolute; top: 16px; right: 14px; z-index: 1;
    width: 36px; height: 36px; border: 0; border-radius: 8px;
    background: #f1f3f9; color:#1c2b4f; font-size: 22px; line-height: 1;
  }

  /* Backdrop sous le panneau (clic pour fermer) */
  .menu-backdrop{
    position: fixed; inset: 0; z-index: 10005;
    background: rgba(0,0,0,.35);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  body.menu-open .menu-backdrop{ opacity: 1; pointer-events: auto; }

  /* Verrouillage du scroll de la page quand le menu est ouvert */
  body.menu-open{ overflow: hidden; }

  /* Neutralise d'anciens overlays éventuels sur le <body> */
  body.menu-open::before, body.menu-open::after{ display: none !important; content: none !important; }
}
/* ======= MOBILE (≤992px) — bouton propre + tiroir fiable ======= */
@media (max-width: 992px){
  /* Le conteneur topbar sert d’ancrage */
  .site-header .topbar{ position: relative !important; }

  /* Bouton menu — look discret comme sur l’index */
  .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important; right: 12px !important; z-index: 10020 !important;
    width: 44px !important; height: 44px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    background: transparent !important; color: #1c2b4f !important;
    border: 0 !important; border-radius: 8px !important; padding: 0 !important; margin: 0 !important;
    box-shadow: none !important; text-decoration: none !important; outline: 0 !important;
  }
  .site-header .menu-toggle i{ font-size: 22px !important; line-height: 1 !important; }

  /* Tiroir gauche — on bannit display:none, on gère l’état au transform */
  .site-header .main-menu-wrapper{
    display: block !important;                 /* ← neutra. des règles qui cachaient le panneau */
    position: fixed !important; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 360px;
    background: #fff !important; z-index: 10010 !important;
    transform: translateX(-100%) !important;   /* fermé par défaut */
    transition: transform .32s ease !important;
    padding: 70px 18px 24px; overflow-y: auto;
    border-right: 1px solid rgba(0,0,0,.06);
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
  }
  .site-header .main-menu-wrapper.active,
  .site-header .main-menu-wrapper.is-open{ transform: translateX(0) !important; }

  /* Bouton fermer dans le tiroir (si présent) */
  .site-header .main-menu-wrapper .menu-close{
    position: absolute !important; top: 16px !important; right: 14px !important;
    width: 36px !important; height: 36px !important;
    background:#f1f3f9 !important; color:#1c2b4f !important;
    border: 0 !important; border-radius: 8px !important; font-size: 22px !important; line-height:1 !important;
  }

  /* Liens lisibles au doigt */
  .site-header .navigation > ul{ padding: 6px 0 18px !important; margin: 0 !important; }
  .site-header .navigation > ul > li{ margin: 6px 0 !important; }
  .site-header .navigation > ul > li > a{
    display:flex !important; align-items:center !important; gap:8px !important;
    padding:12px 14px !important; border-radius:10px !important;
    background:#f8f9fc !important; color:#1c2b4f !important; text-decoration:none !important;
  }
  .site-header .navigation > ul > li > a:hover{ background:#eef2fb !important; color:#162447 !important; }

  /* Verrouillage du scroll quand ouvert */
  body.menu-open{ overflow: hidden !important; }
}

/* ======= DESKTOP (≥993px) — on s’assure que rien du mobile ne fuit ======= */
@media (min-width: 993px){
  .site-header .main-menu-wrapper{
    position: static !important; transform: none !important;
    display: block !important; padding: 0 !important;
    background: transparent !important; box-shadow: none !important;
  }
}
/* === 1) NAV : supprimer les doubles flèches/oranges dans les items === */
.site-header .navigation > ul > li > a i,
.site-header .navigation > ul > li > a .fa{
  display: none !important; /* ne touche pas l'icône téléphone, hors .navigation */
}

/* === 2) BOUTON MENU MOBILE : position + look premium (≤ 992px) === */
@media (max-width: 992px){
  .site-header .topbar{ position: relative !important; }

  .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important; right: 12px !important;
    width: 44px !important; height: 44px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #2b4277 !important;
    border: 1px solid rgba(43,66,119,.25) !important;
    box-shadow: 0 4px 16px rgba(18,38,78,.12) !important;
    z-index: 10020 !important;
  }
  .site-header .menu-toggle i{ font-size: 20px !important; line-height: 1 !important; }

  /* Panneau mobile cohérent (off-canvas) — pas de display:none qui casse le toggle */
  .site-header .main-menu-wrapper{
    position: fixed !important; inset: 0 0 0 0 !important;
    background: #fff !important;
    transform: translateX(-100%) !important;
    transition: transform .32s ease !important;
    display: block !important;
    padding: 80px 16px 24px !important;
    z-index: 10010 !important;
    overflow-y: auto !important;
  }
  .site-header .main-menu-wrapper.active{ transform: translateX(0) !important; }
  body.menu-open{ overflow: hidden !important; }
}

/* === 3) SOUS-MENU DESKTOP PREMIUM (≥ 993px) === */
@media (min-width: 993px){
  .site-header .navigation{
    background: transparent !important;
    box-shadow: none !important;
    height: 60px !important;
  }

  .site-header .navigation > ul > li{ position: relative; }
  .site-header .navigation > ul > li > ul{
    display: none;
    position: absolute; left: 0; top: calc(100% + 10px);
    min-width: 220px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(43,66,119,.12);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(18,38,78,.14);
    padding: 8px;
    z-index: 1000;
  }
  .site-header .navigation > ul > li:hover > ul{ display: block; }

  /* petit caret */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-8px; left:24px;
    width:14px; height:14px; transform: rotate(45deg);
    background:#fff;
    border-left:1px solid rgba(43,66,119,.12);
    border-top:1px solid rgba(43,66,119,.12);
  }

  .site-header .navigation > ul > li > ul li{ line-height: 1; }
  .site-header .navigation > ul > li > ul li > a{
    display:block; padding:10px 12px; border-radius:8px;
    color:#1c2b4f; text-decoration:none;
  }
  .site-header .navigation > ul > li > ul li > a:hover{
    background: linear-gradient(180deg, rgba(237,110,42,.10), rgba(237,110,42,.06));
    color:#ed6e2a;
  }
}

/* ===================== MENU MOBILE – FIX GLOBAL ===================== */
@media (max-width: 992px){
  /* 1) Bouton hamburger : propre, bien placé dans la topbar */
  .site-header .topbar{ position: relative !important; }
  .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important; right: 12px !important;
    width: 44px !important; height: 44px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    background: #fff !important;
    color: #1c2b4f !important;
    border: 1px solid rgba(43,66,119,.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 22px rgba(18,38,78,.12) !important;
    z-index: 10040 !important; /* AU-DESSUS du panneau & du backdrop */
    text-decoration: none !important;
  }
  .site-header .menu-toggle i{ font-size: 20px !important; line-height: 1 !important; }

  /* 2) Panneau (drawer) : au-dessus du backdrop, défilable, jamais display:none */
  .site-header .main-menu-wrapper{
    display: block !important;                            /* on gère l'état via transform */
    position: fixed !important; top: 0; left: 0; bottom: 0;
    width: 84%; max-width: 360px;
    background: #fff !important;
    transform: translateX(-100%) !important;
    transition: transform .32s ease !important;
    padding: 72px 16px 24px !important;
    overflow-y: auto !important;
    border-right: 1px solid rgba(0,0,0,.06);
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
    z-index: 10020 !important; /* sous le toggle, au-dessus du backdrop */
  }
  .site-header .main-menu-wrapper.active,
  .site-header .main-menu-wrapper.is-open{ transform: translateX(0) !important; }

  /* 3) Croix de fermeture : toujours cliquable et AU-DESSUS du contenu du menu */
  .site-header .main-menu-wrapper .menu-close{
    position: absolute !important; top: 16px !important; right: 14px !important;
    width: 36px !important; height: 36px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    background: #f1f3f9 !important; color:#1c2b4f !important;
    border: 0 !important; border-radius: 10px !important;
    font-size: 22px !important; line-height: 1 !important;
    z-index: 10030 !important; /* AU-DESSUS du panneau */
    pointer-events: auto !important;
  }

  /* 4) Backdrop : en-dessous du panneau, cliquable pour fermer */
  .menu-backdrop{
    position: fixed !important; inset: 0 !important;
    background: rgba(0,0,0,.35) !important;
    opacity: 0 !important; pointer-events: none !important;
    transition: opacity .2s ease !important;
    z-index: 10010 !important; /* sous le panneau */
  }
  body.menu-open .menu-backdrop{ opacity: 1 !important; pointer-events: auto !important; }

  /* 5) Verrouille le scroll de la page quand le menu est ouvert */
  body.menu-open{ overflow: hidden !important; }

  /* 6) Si d’anciens overlays plein écran existent, on les neutralise */
  body.menu-open::before,
  body.menu-open::after{ content: none !important; display: none !important; }
}
/* ======= FIX DÉFINITIF MENU MOBILE (bouton + croix toujours visibles) ======= */
@media (max-width: 992px){
  /* 0) On neutralise TOUT style global parasite de .menu-toggle */
  .menu-toggle{
    position: static !important; top:auto !important; right:auto !important;
    width:auto !important; height:auto !important; padding:0 !important;
    background: transparent !important; color: inherit !important;
    border: 0 !important; border-radius: 0 !important; box-shadow:none !important;
  }

  /* 1) Bouton correctement ancré dans le header-style2 (mêmes pages que les tiennes) */
  .body.header-style2 .site-header{ position: relative !important; }
  .body.header-style2 .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important; right: 12px !important;
    width: 44px !important; height: 44px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    border-radius: 12px !important;
    background: #fff !important; color: #1c2b4f !important;
    border: 1px solid rgba(43,66,119,.22) !important;
    box-shadow: 0 6px 18px rgba(18,38,78,.12) !important;
    z-index: 10060 !important; /* au-dessus du tiroir */
    text-decoration: none !important;
  }
  .body.header-style2.menu-open .site-header .menu-toggle{
    /* Quand le menu est ouvert, on “épingle” la croix au-dessus du tiroir */
    position: fixed !important; top: 12px !important; right: 14px !important;
  }
  .body.header-style2 .site-header .menu-toggle i{ font-size: 20px !important; line-height: 1 !important; }

  /* 2) Tiroir mobile : visible via transform, couche correcte */
  .body.header-style2 .site-header .main-menu-wrapper{
    display: block !important;                   /* annule les display:none contradictoires */
    position: fixed !important; top:0; left:0; bottom:0;
    width: 84% !important; max-width: 380px !important;
    background:#fff !important;
    transform: translateX(-100%) !important;     /* fermé */
    transition: transform .32s ease !important;
    z-index: 10040 !important;                   /* sous le bouton, au-dessus du backdrop */
    padding: 72px 18px 24px !important;
    overflow-y: auto !important;
    border-right: 1px solid rgba(0,0,0,.06);
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
  }
  .body.header-style2 .site-header .main-menu-wrapper.active,
  .body.header-style2 .site-header .main-menu-wrapper.is-open{
    transform: translateX(0) !important;        /* ouvert */
  }

  /* 3) Croix interne (si présente) : toujours cliquable et visible */
  .body.header-style2 .site-header .main-menu-wrapper .menu-close{
    position: absolute !important; top: 16px !important; right: 14px !important;
    width: 36px !important; height: 36px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    background:#f1f3f9 !important; color:#1c2b4f !important;
    border:0 !important; border-radius:10px !important; font-size:22px !important; line-height:1 !important;
    z-index: 10070 !important; /* au-dessus du contenu du tiroir */
    pointer-events: auto !important;
  }

  /* 4) Backdrop cliquable sous le tiroir */
  .menu-backdrop{
    position: fixed !important; inset:0 !important;
    background: rgba(0,0,0,.38) !important;
    opacity: 0 !important; pointer-events: none !important;
    transition: opacity .2s ease !important;
    z-index: 10030 !important;                  /* sous le tiroir */
  }
  body.menu-open .menu-backdrop{ opacity:1 !important; pointer-events:auto !important; }

  /* 5) Pas de scroll de page quand le menu est ouvert */
  body.menu-open{ overflow:hidden !important; }
}
/* =================== COULEURS SITE =================== */
:root{ --ink:#2b4277; --brand:#ed6e2a; }

/* =================== 1) BOUTON MENU MOBILE (≤992px) =================== */
/* On neutralise d'abord tout style parasite sur .menu-toggle */
@media (max-width: 992px){
  .menu-toggle{
    position: static !important; top:auto !important; right:auto !important;
    width:auto !important; height:auto !important; padding:0 !important;
    background: transparent !important; color: inherit !important;
    border:0 !important; border-radius:0 !important; box-shadow:none !important;
  }

  /* Ancrage propre dans la topbar + bouton BLEU FONCÉ du site */
  .body.header-style2 .site-header .topbar{ position: relative !important; }
  .body.header-style2 .site-header .menu-toggle{
    position: absolute !important;
    top: 10px !important; right: 12px !important;
    width: 44px !important; height: 44px !important;
    display: inline-flex !important; align-items:center !important; justify-content:center !important;
    background: var(--ink) !important;               /* bleu foncé */
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(18,38,78,.28) !important;
    z-index: 10060 !important;                        /* AU-DESSUS du tiroir */
    text-decoration: none !important;
  }
  .body.header-style2 .site-header .menu-toggle i{ font-size: 20px !important; line-height: 1 !important; }

  /* Quand le menu s'ouvre, on “épingle” le bouton (croix visible en permanence) */
  .body.header-style2.menu-open .site-header .menu-toggle{
    position: fixed !important; top: 12px !important; right: 14px !important;
  }

  /* Tiroir mobile (transform only, jamais display:none) + couches correctes */
  .body.header-style2 .site-header .main-menu-wrapper{
    display:block !important;
    position: fixed !important; top:0; left:0; bottom:0;
    width: 84% !important; max-width:380px !important;
    background:#fff !important;
    transform: translateX(-100%) !important;
    transition: transform .32s ease !important;
    z-index: 10040 !important;                       /* sous le bouton */
    padding: 72px 18px 24px !important;
    overflow-y: auto !important;
    border-right: 1px solid rgba(0,0,0,.06);
    box-shadow: 28px 0 80px rgba(18,38,78,.25);
  }
  .body.header-style2 .site-header .main-menu-wrapper.active,
  .body.header-style2 .site-header .main-menu-wrapper.is-open{
    transform: translateX(0) !important;
  }

  /* Croix interne : toujours au-dessus du contenu du tiroir */
  .body.header-style2 .site-header .main-menu-wrapper .menu-close{
    position:absolute !important; top:16px !important; right:14px !important;
    width:36px !important; height:36px !important;
    display:inline-flex !important; align-items:center !important; justify-content:center !important;
    background:#eef2fb !important; color:var(--ink) !important;
    border:0 !important; border-radius:10px !important;
    font-size:22px !important; line-height:1 !important;
    z-index: 10070 !important;                        /* AU-DESSUS du contenu du menu */
    pointer-events:auto !important;
  }

  /* Backdrop + lock scroll */
  .menu-backdrop{
    position: fixed !important; inset: 0 !important;
    background: rgba(0,0,0,.38) !important;
    opacity: 0 !important; pointer-events: none !important; transition: opacity .2s ease !important;
    z-index: 10030 !important;                        /* sous le tiroir */
  }
  body.menu-open .menu-backdrop{ opacity:1 !important; pointer-events:auto !important; }
  body.menu-open{ overflow:hidden !important; }
}

/* =================== 2) NAV — enlève les icônes flèches dans les onglets =================== */
.site-header .navigation > ul > li > a i,
.site-header .navigation > ul > li > a .fa{ display:none !important; }

/* =================== 3) SOUS-MENU DESKTOP PREMIUM (≥993px) =================== */
@media (min-width: 993px){
  /* Laisse les dropdowns déborder proprement */
  .site-header .navigation{ overflow: visible !important; }

  .site-header .navigation > ul > li{ position: relative; }
  .site-header .navigation > ul > li > ul{
    /* Panneau satiné: cohérence & prestige */
    display: none;
    position: absolute; left: 0; top: calc(100% + 12px);
    min-width: 260px;
    padding: 10px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,246,251,.98)) padding-box,
      linear-gradient(135deg, color-mix(in srgb, var(--ink) 12%, transparent),
                             color-mix(in srgb, var(--brand) 10%, transparent)) border-box;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(18,38,78,.18), inset 0 1px 0 rgba(255,255,255,.65);
    z-index: 2000;
  }
  /* caret soigné */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-8px; left:28px; width:16px; height:16px;
    transform: rotate(45deg);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,246,251,.98));
    border-left: 1px solid rgba(43,66,119,.14);
    border-top: 1px solid rgba(43,66,119,.14);
    box-shadow: -2px -2px 8px rgba(18,38,78,.04);
  }

  /* Ouverture au hover et via .open (si tu l'utilises au clic) */
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{ display:block; }

  /* Items du sous-menu: homogènes, sans aplats incohérents */
  .site-header .navigation > ul > li > ul > li{ margin: 2px 0; }
  .site-header .navigation > ul > li > ul > li > a{
    display:flex; align-items:center; gap:8px;
    padding:10px 12px; border-radius:10px;
    color:#1c2b4f; text-decoration:none; background: transparent;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{
    background: linear-gradient(180deg, rgba(43,66,119,.08), rgba(43,66,119,.06));
    color: var(--ink);
  }

  /* (Option) titres dans le sous-menu si tu en as */
  .site-header .navigation > ul > li > ul .title,
  .site-header .navigation > ul > li > ul strong{
    display:block; padding:8px 12px; margin:6px 8px 4px;
    font-weight:800; color:var(--ink); text-transform:uppercase; letter-spacing:.2px;
    border-bottom:1px solid rgba(43,66,119,.12);
  }
}
/* ==== HOTFIX NAV DESKTOP — tout afficher, proprement aligné (aucun impact mobile) ==== */
@media (min-width: 993px){
  /* 1) La nav prend toute la largeur et ne “rétrécit” plus (fin du shrink-to-fit) */
  .site-header .navigation{
    position: relative !important;   /* annule position:absolute */
    top: auto !important; left: auto !important; right: auto !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    overflow: visible !important;
    z-index: 1000;
  }

  /* 2) La liste est un vrai conteneur flex qui peut caser tous les items */
  .site-header .navigation > ul{
    display: flex !important;
    flex-wrap: wrap;                 /* si ça manque de place, on passe à la ligne au lieu de couper */
    justify-content: center;         /* centré comme avant */
    align-items: center;
    gap: 0;
    margin: 0; padding: 0; list-style: none;
  }

  /* 3) Les items ne rétrécissent pas à 0 et gardent leur largeur de contenu */
  .site-header .navigation > ul > li{
    flex: 0 0 auto;                  /* pas de shrink */
    display: block !important;       /* neutralise d’anciens inline-block si besoin */
    line-height: 56px;
    position: relative;
  }

  /* 4) Liens principaux : lisibles, hauteur identique pour tous */
  .site-header .navigation > ul > li > a{
    display: flex; align-items: center;
    height: 56px; padding: 0 18px;
    color: #1c2b4f !important;       /* évite les “textes invisibles” */
    text-decoration: none; font-weight: 600; letter-spacing: .2px;
    border-radius: 12px; background: transparent !important;
  }

  /* 5) Sous-menu : style premium unifié SANS changer le display (ton ouverture reste inchangée) */
  .site-header .navigation > ul > li > ul{
    /* on ne touche pas à display ici */
    position: absolute; left: 0; top: calc(100% + 12px);
    min-width: 240px; padding: 10px;
    background: #ffffff;                         /* unicité (fini les “taches”) */
    border: 1px solid rgba(43,66,119,.12);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.65);
    overflow: visible;
  }
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-7px; left:28px; width:14px; height:14px;
    background:#fff; transform: rotate(45deg);
    border-left:1px solid rgba(43,66,119,.12); border-top:1px solid rgba(43,66,119,.12);
  }
  .site-header .navigation > ul > li > ul li > a{
    display:block; padding:10px 14px; border-radius:8px;
    color:#1c2b4f; text-decoration:none; background: transparent !important;
    border: 1px solid transparent;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
  }
  .site-header .navigation > ul > li > ul li > a:hover{
    background: linear-gradient(180deg, rgba(43,66,119,.08), rgba(43,66,119,.06));
    border-color: rgba(43,66,119,.10);
    color:#2b4277;
  }
}
/* ======================= SOUS-MENU — FIX CLIQUE + RELOOK PREMIUM (DESKTOP) ======================= */
/* Couleurs du site */
:root{ --ink:#2b4277; --brand:#ed6e2a; }

/* On ne change PAS ta logique d’ouverture (ni display, ni JS) */
@media (min-width:993px){

  /* 1) Anti "trou de hover" : pas de gap entre l’onglet et le panneau */
  .site-header .navigation{ overflow: visible !important; }
  .site-header .navigation > ul > li{ position: relative; }
  /* petit pont invisible sous l’onglet pour garder le :hover quand on descend la souris */
  .site-header .navigation > ul > li::after{
    content:""; position:absolute; left:0; top:100%;
    width: 100%; height: 10px; /* pont anti-gap */
  }

  /* 2) Panneau : look verre foncé premium, z-index haut, aucun "patch blanc" */
  .site-header .navigation > ul > li > ul{
    /* NE PAS toucher à display ici → on n’altère pas l’ouverture existante */
    position: absolute; left: 0; top: 100%; /* pas d’écart vertical → plus de trou de hover */
    min-width: 280px; padding: 12px;
    border-radius: 16px; z-index: 3000; isolation: isolate;

    /* verre satiné foncé (élégant, lisible) */
    background:
      linear-gradient(180deg, rgba(13,22,41,.96), rgba(22,35,66,.96)) padding-box,
      linear-gradient(135deg,
        color-mix(in srgb, var(--ink) 40%, transparent),
        color-mix(in srgb, var(--brand) 30%, transparent)
      ) border-box;
    border: 1px solid transparent;
    box-shadow:
      0 32px 90px rgba(7,12,24,.50),
      inset 0 1px 0 rgba(255,255,255,.06);
    -webkit-backdrop-filter: saturate(130%) blur(8px);
            backdrop-filter: saturate(130%) blur(8px);

    /* animation douce (si ton display reste block, l’anim sera discrète, sinon ignore) */
    transform: translateY(8px);
    opacity: 0; visibility: hidden;
    transition: transform .18s ease, opacity .18s ease, visibility .18s linear;
  }

  /* Affichage quand ton CSS/HTML le décide : au :hover ET/OU via .open */
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{
    transform: translateY(0); opacity:1; visibility:visible; pointer-events:auto;
  }

  /* Caret harmonisé au panneau (sans créer de "trou") */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-7px; left:28px; width:14px; height:14px;
    transform: rotate(45deg);
    background: linear-gradient(180deg, rgba(13,22,41,.96), rgba(22,35,66,.96));
    border-left: 1px solid rgba(255,255,255,.08);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: -2px -2px 6px rgba(0,0,0,.25);
    pointer-events: none;
  }

  /* 3) Uniformité stricte : on neutralise TOUT fond interne parasite */
  .site-header .navigation > ul > li > ul,
  .site-header .navigation > ul > li > ul *{
    background-color: transparent !important;
  }

  /* 4) Items : cartes élégantes, parfaitement cliquables */
  .site-header .navigation > ul > li > ul > li{ margin: 2px 0; }
  .site-header .navigation > ul > li > ul > li > a{
    position: relative;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    color: #eaf0ff; text-decoration: none;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    transition: background .18s ease, color .18s ease,
                transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.12);
    color: #ffffff;
    border-color: rgba(255,255,255,.20);
    box-shadow: 0 10px 24px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.16);
  }
  /* petit accent orange discret au hover */
  .site-header .navigation > ul > li > ul > li > a:hover::after{
    content:""; position:absolute; left:12px; right:auto; bottom:8px; height:2px; width:34px;
    background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #fff));
    border-radius: 2px;
  }

  /* 5) (option) Grille si sous-menu “riche” (auto fit 1→3 colonnes) sans changer tes UL/LI */
  .site-header .navigation > ul > li.megamenu > ul{
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 10px;
    min-width: 660px;
  }
  .site-header .navigation > ul > li.megamenu > ul > li{ margin: 0; }
}
/* ===== SUBMENU – LIGHT LUXE (dégradé premium, uniforme, clic facile) ===== */
:root{ --ink:#2b4277; --brand:#ed6e2a; --porcelain:#f6f8fc; }

@media (min-width:993px){
  /* Anti-gap (on peut descendre la souris et cliquer sans perdre le hover) */
  .site-header .navigation{ overflow: visible !important; }
  .site-header .navigation > ul > li{ position: relative; }
  .site-header .navigation > ul > li::after{
    content:""; position:absolute; left:0; top:100%; width:100%; height:10px;
  }

  /* Panneau : dégradé clair satiné (ivoire → porcelaine), bord dégradé ink/brand, ombre douce */
  .site-header .navigation > ul > li > ul{
    /* (on ne force PAS le display) */
    position:absolute; left:0; top:100%;
    min-width:280px; padding:12px; border-radius:16px; z-index:3000; isolation:isolate;

    background:
      linear-gradient(180deg, #ffffff 0%, var(--porcelain) 100%) padding-box,
      linear-gradient(135deg,
        color-mix(in srgb, var(--ink) 16%, transparent),
        color-mix(in srgb, var(--brand) 14%, transparent)
      ) border-box;
    border:1px solid transparent;
    box-shadow: 0 26px 72px rgba(18,38,78,.16), inset 0 1px 0 rgba(255,255,255,.70);
    -webkit-backdrop-filter: saturate(120%) blur(8px);
            backdrop-filter: saturate(120%) blur(8px);

    /* apparition douce */
    transform: translateY(8px);
    opacity: 0; visibility: hidden;
    transition: transform .18s ease, opacity .18s ease, visibility .18s linear;
  }
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{
    transform: translateY(0); opacity:1; visibility:visible; pointer-events:auto;
  }

  /* Caret coordonné, sans “trou” */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-8px; left:28px; width:16px; height:16px; transform:rotate(45deg);
    background: linear-gradient(180deg, #ffffff, var(--porcelain));
    border-left:1px solid rgba(43,66,119,.14); border-top:1px solid rgba(43,66,119,.14);
    box-shadow:-2px -2px 8px rgba(18,38,78,.06);
    pointer-events:none;
  }

  /* Halo subtil (zéro “taches blanches”) */
  .site-header .navigation > ul > li > ul::after{
    content:""; position:absolute; inset:0; border-radius:16px; pointer-events:none;
    background:
      radial-gradient(90% 60% at 0% 0%,  color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%),
      radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--ink)   10%, transparent), transparent 60%);
  }

  /* Items : cartes claires, relief chic, hover nuancé aux couleurs du site */
  .site-header .navigation > ul > li > ul > li{ margin:3px 0; }
  .site-header .navigation > ul > li > ul > li > a{
    display:flex; align-items:center; gap:10px;
    padding:10px 12px; border-radius:10px; text-decoration:none;
    color:#12213f;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border:1px solid rgba(43,66,119,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{
    transform: translateY(-1px);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--porcelain) 75%, #fff), #fff),
      radial-gradient(60% 100% at 0 0, color-mix(in srgb, var(--ink) 12%, transparent), transparent 60%),
      radial-gradient(60% 100% at 100% 0, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%);
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.9);
  }

  /* Sections/titres éventuels dans le menu */
  .site-header .navigation > ul > li > ul .title,
  .site-header .navigation > ul > li > ul strong{
    display:block; padding:8px 12px; margin:6px 8px 4px;
    font-weight:800; color:var(--ink); text-transform:uppercase; letter-spacing:.2px;
    border-bottom:1px solid rgba(43,66,119,.12);
    background: transparent;
  }

  /* Mega (si présent) : grille 1→3 colonnes, même look */
  .site-header .navigation > ul > li.megamenu > ul{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:10px; min-width:660px;
  }
}
/* ==================== SOUS-MENU — THEME "PEARL-CHAMPAGNE" PREMIUM (DESKTOP) ==================== */
/* Palette luxe (modulable) */
:root{
  --ink:#2b4277;           /* bleu foncé identité */
  --brand:#ed6e2a;         /* accent orange */
  --pearl:#ffffff;         /* perle */
  --porcelain:#fbf8f3;     /* ivoire/porcelaine chaud */
  --champagne:#d7b97a;     /* or champagne doux */
  --champagne-20: rgba(215,185,122,.20);
  --ink-14: rgba(43,66,119,.14);
  --shadow-deep: 0 28px 80px rgba(18,38,78,.18);
}

/* On NE change PAS ta logique d’ouverture: pas de display imposé, pas de JS. */
@media (min-width:993px){
  /* 1) Anti-gap : on peut descendre la souris et cliquer sans perdre le hover */
  .site-header .navigation{ overflow: visible !important; }
  .site-header .navigation > ul > li{ position: relative; }
  .site-header .navigation > ul > li::after{
    content:""; position:absolute; left:0; top:100%;
    width:100%; height:10px; /* petit pont anti "trou de hover" */
  }

  /* 2) Panneau du sous-menu : perle → porcelaine + bord dégradé champagne/ink */
  .site-header .navigation > ul > li > ul{
    /* AUCUN display ici */
    position:absolute; left:0; top:100%;
    min-width: 300px;
    padding: 14px;
    border-radius: 16px;
    z-index: 3000;
    isolation: isolate;

    /* Dégradé clair satiné (fond) + dégradé de bord (champagne → ink) */
    background:
      linear-gradient(180deg, var(--pearl) 0%, var(--porcelain) 100%) padding-box,
      linear-gradient(135deg, var(--champagne), color-mix(in srgb, var(--ink) 40%, transparent)) border-box;
    border: 1px solid transparent; /* le bord vient du 2e calque */
    box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255,255,255,.75);
    -webkit-backdrop-filter: saturate(120%) blur(8px);
            backdrop-filter: saturate(120%) blur(8px);

    /* apparition douce si ton CSS/HTML ouvre au :hover/.open */
    transform: translateY(8px);
    opacity: 0; visibility: hidden;
    transition: transform .18s ease, opacity .18s ease, visibility .18s linear;
  }
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{
    transform: translateY(0);
    opacity: 1; visibility: visible; pointer-events: auto;
  }

  /* 3) Caret coordonné au panneau (sans “trou”) */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-8px; left:28px; width:16px; height:16px; transform: rotate(45deg);
    background: linear-gradient(180deg, var(--pearl), var(--porcelain));
    border-left: 1px solid var(--ink-14);
    border-top: 1px solid var(--ink-14);
    box-shadow: -2px -2px 8px rgba(18,38,78,.06);
    pointer-events: none;
  }

  /* 4) Uniformité stricte : aucun aplat blanc parasite à l’intérieur */
  .site-header .navigation > ul > li > ul,
  .site-header .navigation > ul > li > ul *{
    background-color: transparent !important;
  }

  /* 5) Items : cartes “porcelaine” avec relief chic et accent champagne/ink au hover */
  .site-header .navigation > ul > li > ul > li{ margin: 3px 0; }
  .site-header .navigation > ul > li > ul > li > a{
    position: relative;
    display:flex; align-items:center; gap:10px;
    padding: 10px 14px;
    color:#12213f; text-decoration:none;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #fdfcf8);
    border: 1px solid var(--champagne-20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
    will-change: transform;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{
    transform: translateY(-1px);
    background:
      linear-gradient(180deg, #fff, #fff),
      radial-gradient(60% 100% at 0 0,  color-mix(in srgb, var(--ink) 12%, transparent), transparent 60%),
      radial-gradient(60% 100% at 100% 0, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%);
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.95);
  }

  /* 6) Liseré d’accent discret au hover (barrette champagne côté gauche) */
  .site-header .navigation > ul > li > ul > li > a:hover::before{
    content:""; position:absolute; left:8px; top:50%; width:34px; height:2px; transform:translateY(-50%);
    background: linear-gradient(90deg, var(--champagne), color-mix(in srgb, var(--brand) 60%, #fff));
    border-radius:2px;
  }

  /* 7) Mega (si présent) : grille 1→3 colonnes, même design */
  .site-header .navigation > ul > li.megamenu > ul{
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px;
    min-width: 680px;
  }

  /* 8) Titres de section (si tu en utilises) harmonisés */
  .site-header .navigation > ul > li > ul .title,
  .site-header .navigation > ul > li > ul strong{
    display:block; grid-column:1 / -1;
    padding: 8px 10px 6px; margin: 0 4px 6px;
    font-weight:800; color: var(--ink);
    text-transform: uppercase; letter-spacing:.2px;
    border-bottom: 1px solid var(--ink-14);
  }
}
/* === SUBMENU – THEME "ICE-PEARL" (DESKTOP UNIQUEMENT) =============================== */
/* Palette */
:root{
  --ink:#2b4277;      /* bleu du site */
  --brand:#ed6e2a;    /* accent orange */
  --ice:#f4f8ff;      /* bleu très pâle */
  --line:rgba(43,66,119,.14);
}

/* On NE change pas ta logique d’ouverture (ni :hover/.open, ni display). */
@media (min-width:993px){

  /* 0) Anti-gap (conserve le hover le temps de descendre la souris) */
  .site-header .navigation{ overflow: visible !important; }
  .site-header .navigation > ul > li{ position: relative; }
  .site-header .navigation > ul > li::after{
    content:""; position:absolute; left:0; top:100%; width:100%; height:12px;
  }

  /* 1) Panneau sous-menu — dégradé clair et uniforme (zéro taches) */
  .site-header .navigation > ul > li > ul{
    /* (on ne touche pas au display existant) */
    position: absolute; left: 0; /* respecte ton top actuel */
    min-width: 260px !important;               /* évite les largeurs bizarres */
    padding: 12px !important; border-radius: 14px !important;
    z-index: 1200; isolation:isolate;

    background:
      linear-gradient(180deg, #ffffff 0%, var(--ice) 100%) padding-box,
      linear-gradient(135deg,
        color-mix(in srgb, var(--ink) 16%, transparent),
        color-mix(in srgb, var(--brand) 12%, transparent)
      ) border-box !important;
    border: 1px solid transparent !important;
    box-shadow: 0 24px 60px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.75) !important;

    /* apparition douce si ton CSS ouvre déjà au :hover/.open */
    transform: translateY(6px); opacity: 0; visibility: hidden;
    transition: transform .18s ease, opacity .18s ease, visibility .18s linear;
  }
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{
    transform: translateY(0); opacity:1; visibility:visible; pointer-events:auto;
  }

  /* 2) Uniformité stricte : aucune sur-couche opaque interne qui re-blanchit */
  .site-header .navigation > ul > li > ul,
  .site-header .navigation > ul > li > ul *{
    background-color: transparent !important;
  }
  /* caret propre, coordonné */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; left:28px; top:-8px; width:16px; height:16px; transform:rotate(45deg);
    background: linear-gradient(180deg, #ffffff, var(--ice));
    border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    box-shadow: -2px -2px 8px rgba(18,38,78,.06);
    pointer-events: none;
  }
  /* enlève les anciens carets qui créent des incohérences */
  .site-header .navigation > ul > li ul:before,
  .site-header .navigation > ul > li ul li ul:before{ display:none !important; }

  /* 3) Items élégants (cartes claires, hover chic) */
  .site-header .navigation > ul > li > ul > li{ margin: 2px 0; }
  .site-header .navigation > ul > li > ul > li > a{
    display:flex; align-items:center; gap:10px;
    padding:10px 12px; border-radius:10px; text-decoration:none;
    color:#12213f; white-space:nowrap;
    background: linear-gradient(180deg, #fff, #fbfcff);
    border: 1px solid rgba(43,66,119,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{
    transform: translateY(-1px);
    background:
      linear-gradient(180deg, #fff, #fff),
      radial-gradient(60% 100% at 0 0,  color-mix(in srgb, var(--ink) 12%, transparent), transparent 60%),
      radial-gradient(60% 100% at 100% 0, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%);
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(18,38,78,.12), inset 0 1px 0 rgba(255,255,255,.95);
  }

  /* 4) Mega-menu : même panneau “Ice-Pearl” (finis les blocs transparents) */
  .site-header .navigation > ul > li.megamenu > ul{
    background:
      linear-gradient(180deg, #ffffff 0%, var(--ice) 100%) padding-box,
      linear-gradient(135deg,
        color-mix(in srgb, var(--ink) 16%, transparent),
        color-mix(in srgb, var(--brand) 12%, transparent)
      ) border-box !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 60px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.75) !important;
    padding: 14px !important;
  }
  .site-header .navigation .megamenu-container{
    background: transparent !important; box-shadow: none !important; /* laisse voir le panneau parent */
  }
}
/* ============ PALETTE ============ */
:root{
  --ink:#2b4277;         /* bleu identitaire */
  --brand:#ed6e2a;       /* accent orange */
  --pearl:#ffffff;       /* blanc perlé */
  --porcelain:#fbf8f3;   /* ivoire chaud */
  --ring: rgba(43,66,119,.12);
  --ring-strong: rgba(43,66,119,.22);
}

/* ============ 1) HOVER UNIFIÉ SUR LES ONGLETS (desktop) ============ */
@media (min-width:993px){
  .site-header .navigation > ul > li > a{
    position: relative; border-radius: 12px; transition: color .18s ease, background .18s ease;
  }
  .site-header .navigation > ul > li > a::after{
    content:""; position:absolute; left:14px; right:14px; bottom:8px; height:2px; border-radius:2px;
    background: linear-gradient(90deg, var(--ink), var(--brand));
    transform: scaleX(0); transform-origin:left; transition: transform .22s ease;
  }
  .site-header .navigation > ul > li:hover > a{
    color: var(--brand);
    background: rgba(237,110,42,.08);
  }
  .site-header .navigation > ul > li:hover > a::after{ transform: scaleX(1); }
}

/* ============ 2) PANNEAU SOUS-MENU PLUS CLASSE (desktop) ============ */
/* On améliore l’enveloppe visuelle du dropdown sans toucher à ta logique d’ouverture */
@media (min-width:993px){
  .site-header .navigation > ul > li > ul{
    position:absolute; left:0; top:100%;
    min-width: 300px; padding:14px; border-radius:16px; z-index:3000; isolation:isolate;
    background:
      linear-gradient(180deg, var(--pearl) 0%, var(--porcelain) 100%) padding-box,
      linear-gradient(135deg, #d7b97a, color-mix(in srgb, var(--ink) 40%, transparent)) border-box;
    border:1px solid transparent;
    box-shadow: 0 28px 80px rgba(18,38,78,.18), inset 0 1px 0 rgba(255,255,255,.75);
    transform: translateY(8px); opacity:0; visibility:hidden;
    transition: transform .18s ease, opacity .18s ease, visibility .18s linear;
  }
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{
    transform: translateY(0); opacity:1; visibility:visible; pointer-events:auto;
  }
}

/* ============ 3) LIENS “COGEFLU” & “PROCESS” EN MODE CARTES BLANCHES ============ */
/* Cible tous les dropdowns simples (non megamenu) : ça inclut Cogeflu & Process */
@media (min-width:993px){
  .site-header .navigation > ul > li:not(.megamenu) > ul.dropdown > li{ margin: 4px 0; }
  .site-header .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a{
    display:block; padding:10px 12px; border-radius:10px;
    background:#fff; color:#1c2b4f; text-decoration:none;
    border:1px solid var(--ring);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  }
  .site-header .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a:hover{
    transform: translateY(-1px);
    border-color: var(--ring-strong);
    box-shadow: 0 10px 24px rgba(18,38,78,.10);
    color:#0f1a33;
  }
}

/* ============ 4) ÉCHANGEURS — CARTES BLANCHES sur 2 colonnes demandées (desktop) ============ */
/* 1ʳᵉ colonne = “Soudés par fusion 100% inox” ; 2ᵉ = “Pour refroidissement d’huile” */
@media (min-width:993px){
  /* colonnes ciblées dans le méga-menu Echangeurs */
  .site-header .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(1) ul.sub-menu li > a,
  .site-header .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(2) ul.sub-menu li > a{
    display:block; margin:6px 0; padding:10px 12px; border-radius:10px;
    background:#fff; color:#1c2b4f; text-decoration:none;
    border:1px solid var(--ring);
    box-shadow: 0 6px 16px rgba(18,38,78,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
  }
  .site-header .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(1) ul.sub-menu li > a:hover,
  .site-header .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(2) ul.sub-menu li > a:hover{
    transform: translateY(-1px);
    border-color: var(--ring-strong);
    box-shadow: 0 12px 28px rgba(18,38,78,.12);
    color:#0f1a33;
  }
}

/* ============ FIN PATCH ============ */
/* === HOVER ORANGE UNIFIÉ SUR LES ONGLES DU MENU (desktop) ================== */
@media (min-width: 993px){
  .navigation ul > li > a:hover,
  .navigation ul > li > a.current {
    color: #ed6e2a !important;
    background: rgba(237,110,42,.08);
  }
}

/* === DROPDOWNS SIMPLES (COGEFLU / PROCESS) — CARTES BLANCHES =============== */
@media (min-width: 993px){
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li { margin: 4px 0; }
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a{
    display:block; padding:10px 12px; border-radius:8px;
    background:#ffffff; color:#2b4277; border:1px solid #eceae4;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    border-bottom: 0 !important;
    transition: border-color .18s ease, box-shadow .18s ease,
                transform .18s ease, color .18s ease, background .18s ease;
  }
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a:hover{
    border-color:#ed6e2a;
    box-shadow: 0 8px 20px rgba(237,110,42,.15);
    transform: translateY(-1px);
    color:#1c2b4f;
  }
}

/* === ÉCHANGEURS — 3 COLONNES EN CARTES BLANCHES (fond identique au site) === */
/* 1: Soudés par fusion 100% inox | 2: Pour refroidissement d’huile | 3: À plaques brasées */
@media (min-width: 993px){
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li > a{
    display:block; margin:6px 0; padding:10px 12px; border-radius:8px;
    background:#ffffff; color:#2b4277; border:1px solid #eceae4;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    border-bottom: 0 !important;
    transition: border-color .18s ease, box-shadow .18s ease,
                transform .18s ease, color .18s ease, background .18s ease;
  }
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li > a:hover{
    border-color:#ed6e2a;
    box-shadow: 0 8px 20px rgba(237,110,42,.15);
    transform: translateY(-1px);
    color:#1c2b4f;
  }
}
/* === 0) Nettoyage : supprimer tout "trait orange" sous les items ========== */
/* Certains thèmes ajoutent un ::before/::after en soulignement animé. */
@media (min-width: 993px){
  .navigation ul > li > a::before,
  .navigation ul > li > a::after,
  .navigation > ul > li > ul a::before,
  .navigation > ul > li > ul a::after{
    content: none !important; display: none !important;
  }
}

/* === 1) Hover orange (menu du haut) — sans soulignement =================== */
@media (min-width: 993px){
  .navigation > ul > li > a:hover,
  .navigation > ul > li > a.current{
    color: #ed6e2a !important;
    background: rgba(237,110,42,.08) !important;
  }
}

/* === 2) Dropdowns simples (Cogeflu / Process) : cartes blanches uniformes === */
@media (min-width: 993px){
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li { margin: 4px 0; }
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a{
    display:block !important; width:100%;
    padding:10px 12px; border-radius:8px;
    background:#fff; color:#2b4277; border:1px solid #eceae4;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    text-decoration:none !important; border-bottom:0 !important;
    /* wraps robustes pour les intitulés longs */
    white-space: normal !important; overflow-wrap:anywhere; word-break:normal; hyphens:auto;
    line-height:1.25;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
  }
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a:hover{
    border-color:#ed6e2a;
    box-shadow: 0 8px 20px rgba(237,110,42,.15);
    transform: translateY(-1px);
    color:#1c2b4f;
  }
}

/* === 3) Méga-menu Échangeurs — 3 colonnes en "carte blanche" identique ==== */
/* (1) Soudés par fusion 100% inox | (2) Pour refroidissement d’huile | (3) À plaques brasées */
@media (min-width: 993px){
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li > a{
    display:block !important; width:100%;
    margin:6px 0; padding:10px 12px; border-radius:8px;
    background:#fff; color:#2b4277; border:1px solid #eceae4;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    text-decoration:none !important; border-bottom:0 !important;
    /* assure que TOUT le texte reste dans le cadre, même très long */
    white-space: normal !important; overflow-wrap:anywhere; word-break:normal; hyphens:auto;
    line-height:1.25;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
  }
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li > a:hover{
    border-color:#ed6e2a;
    box-shadow: 0 8px 20px rgba(237,110,42,.15);
    transform: translateY(-1px);
    color:#1c2b4f;
  }
}
/* ——— 1) Supprimer tout soulignement résiduel (Cogeflu/Process) ——— */
@media (min-width: 993px){
  .navigation > ul > li:not(.megamenu) > ul.dropdown a::before,
  .navigation > ul > li:not(.megamenu) > ul.dropdown a::after{
    content:none !important; display:none !important;
  }
  .navigation > ul > li:not(.megamenu) > ul.dropdown > li > a{
    text-decoration:none !important;
    border-bottom:0 !important; /* coupe tout trait/bordure hérité */
  }
}

/* ——— 2) Hover orange du menu du haut, SANS trait dessous ——— */
@media (min-width: 993px){
  .navigation > ul > li > a:hover,
  .navigation > ul > li > a:focus{
    color:#ed6e2a !important;
    background:rgba(237,110,42,.08) !important;
    text-decoration:none !important;
  }
}

/* ——— 3) ÉCHANGEURS : élargir VRAIMENT les 3 colonnes de cartes ——— */
/* (1) Soudés par fusion 100% inox | (2) Pour refroidissement d’huile | (3) À plaques brasées) */
/* On force un "flex-basis" large pour que les cartes longues tiennent à l’intérieur. */
@media (min-width: 1200px){
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul .megamenu-container .row{
    flex-wrap: wrap; /* sécurité, au cas où */
  }
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3){
    flex: 1 1  360px !important;  /* ← élargit chaque colonne à ~340 px mini */
    max-width: none !important;
  }
}

/* ——— 4) Cartes blanches dans ces 3 colonnes : plein cadre + texte long ——— */
@media (min-width: 993px){
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu{ width:100%; }

  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li{ margin:6px 0; }

  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li > a{
    display:block !important; width:100%; box-sizing:border-box;
    padding:12px 14px; border-radius:8px;
    background:#fff; color:#2b4277; border:1px solid #eceae4; 
    box-shadow:0 1px 2px rgba(0,0,0,.04);
    /* le long libellé “Pour échangeurs à plaques et joints pour bâtis acier” reste DANS la carte */
    white-space: normal !important; overflow-wrap:anywhere; word-break:normal; hyphens:auto;
    line-height:1.32;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
  }

  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:nth-of-type(-n+3) ul.sub-menu li > a:hover{
    border-color:#ed6e2a;
    box-shadow:0 8px 20px rgba(237,110,42,.15);
    transform:translateY(-1px);
    color:#1c2b4f;
  }
}
/* Élargir UNIQUEMENT la colonne "Isolations et supports" (desktop) */
@media (min-width:1200px){
  /* On cible la colonne qui contient le titre/lien isolations-et-supports-pour-echangeurs.html */
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:has(> .megamenu-sub-title > a[href$="isolations-et-supports-pour-echangeurs.html"]){
    width: 38% !important;       /* élargit seulement cette colonne */
    min-width: 460px !important;  /* garantit la place pour le libellé très long */
  }

  /* Les cartes à l’intérieur prennent bien toute la largeur de la nouvelle colonne,
     et restent sur une seule ligne (pas de retour à la ligne au milieu du libellé) */
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul
  .megamenu-container .row > .col-md-3:has(> .megamenu-sub-title > a[href$="isolations-et-supports-pour-echangeurs.html"])
  ul.sub-menu li > a{
    display:block;
    white-space: nowrap;          /* force une seule ligne */
  }
}

/* (Optionnel) si tu veux encore un poil plus large, passe 38% -> 40% et 460px -> 500px */
/* ÉCHANGEURS — retire les flèches/pseudo-éléments blancs en haut du panneau */
@media (min-width: 993px){
  /* flèche centrée (ancienne règle) */
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul:before{
    content:none !important; display:none !important;
  }
  /* petit losange blanc à gauche (règle plus récente) */
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul::before{
    content:none !important; display:none !important;
  }
  /* sécurité si un <li> wrapper en ajoute aussi */
  .navigation > ul > li.megamenu > a[href$="tous-les-echangeurs.html"] + ul > li::before{
    content:none !important; display:none !important;
  }
}
/* ===== NAV COMPACTE (~50px) ===== */
@media (min-width: 993px){
  .site-header .navigation{ height: 50px !important; }
  .site-header .navigation > ul > li{ line-height: 50px !important; }
  .site-header .navigation > ul > li > a{
    height: 50px !important;
    padding: 0 14px !important;
    font-size: 14px;
  }
  /* sous-menus correctement positionnés sous la barre */
  .site-header .navigation > ul > li.megamenu > ul,
  .site-header .navigation > ul > li > ul{
    top: calc(100%) !important;
  }
  .site-header .main-menu-wrapper{ padding: 6px 0 !important; }
  .sticky-wrapper{ max-height: 50px !important; }
  .is-sticky .main-menu-wrapper{ min-height: 50px !important; }

  /* Logo : conserver la taille d’origine */
  .site-header h1.logo{ height: 65px; }
  .site-header .logo img{
    max-height: none !important;
    height: auto !important;
    width: auto !important;
  }
}

/* ===== BOUTON MAIL / CONTACT (à droite) ===== */
@media (min-width: 993px){
  /* mise en flex pour pouvoir pousser le contact à droite */
  .site-header .navigation > ul{ display:flex; align-items:center; gap:10px; }

  /* pousser le lien "contact" / mailto: à droite */
  .site-header .navigation > ul > li:has(> a[href*="contact"]),
  .site-header .navigation > ul > li:has(> a[href^="mailto:"]){
    margin-left: auto;
  }
  /* fallback si :has() indisponible : suppose Contact en dernier */
  .site-header .navigation > ul > li:last-child{ margin-left:auto; }

  /* afficher l’icône uniquement pour Contact (sans toucher aux autres) */
  .site-header .navigation > ul > li:has(> a[href*="contact"]) > a > i,
  .site-header .navigation > ul > li:has(> a[href^="mailto:"]) > a > i{
    display:inline-block !important;
    line-height:1; vertical-align:middle;
  }

  /* aligner verticalement le lien Contact avec la nav (pas de style "pill") */
  .site-header .navigation > ul > li:has(> a[href*="contact"]) > a,
  .site-header .navigation > ul > li:has(> a[href^="mailto:"]) > a{
    height: 50px !important;
    display: inline-flex;
    align-items: center;
    padding: 0 12px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
/* ===== Desktop : sous-menus non-megamenu — alignés & propres (fix Vannes) ===== */
@media (min-width: 993px){
  /* Le parent doit servir d’ancre pour positionner le sous-menu */
  .site-header .navigation > ul > li:not(.megamenu){ position: relative; }

  /* Conteneur du dropdown (tous les cas UL/.dropdown/.dropdown-menu) */
  .site-header .navigation > ul > li:not(.megamenu) > ul,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu{
    position: absolute !important;
    top: calc(100%) !important;
    left: 0 !important;
    z-index: 1000;
    margin: 0 !important;
    padding: 12px !important;
    min-width: 260px;            /* lisible */
    width: max-content;          /* s’adapte au contenu */
    max-width: 420px;            /* évite de devenir trop large */
    background: #fff;            /* panneau blanc propre */
    border: 1px solid #eceae4;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(18,38,78,.16), inset 0 1px 0 rgba(255,255,255,.75);
  }

  /* Items internes du dropdown (liens “cartes blanches” cohérentes) */
  .site-header .navigation > ul > li:not(.megamenu) > ul > li,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown > li,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu > li{ margin: 4px 0; }

  .site-header .navigation > ul > li:not(.megamenu) > ul > li > a,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown > li > a,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu > li > a{
    display:block; padding:10px 12px; border-radius:8px;
    background:#fff; color:#2b4277; border:1px solid #eceae4;
    box-shadow:0 1px 2px rgba(0,0,0,.04);
    text-decoration:none !important; border-bottom:0 !important;
    white-space: normal; overflow-wrap:anywhere; word-break:normal;
    transition: border-color .18s, box-shadow .18s, transform .18s, color .18s;
  }
  .site-header .navigation > ul > li:not(.megamenu) > ul > li > a:hover,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown > li > a:hover,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu > li > a:hover{
    border-color:#ed6e2a;
    box-shadow:0 8px 20px rgba(237,110,42,.15);
    transform: translateY(-1px);
    color:#1c2b4f;
  }

  /* Supprimer flèches/pseudos décoratifs qui créent des taches/blocs */
  .site-header .navigation > ul > li:not(.megamenu) > ul::before,
  .site-header .navigation > ul > li:not(.megamenu) > ul::after,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown::before,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown::after,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu::before,
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu::after{
    content: none !important; display: none !important;
  }

  /* Anti-doublon : s’il y a plusieurs sous-menus frères, garder le 1er */
  .site-header .navigation > ul > li:not(.megamenu) > ul:nth-of-type(n+2),
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown:nth-of-type(n+2),
  .site-header .navigation > ul > li:not(.megamenu) > .dropdown-menu:nth-of-type(n+2){
    display: none !important;
  }
}
/* ===== HOVER LOCK — MEGAMENUS (desktop) ===== */
@media (min-width: 993px){
  /* Les items megamenu servent d’ancre, laissent déborder le panneau */
  .site-header .navigation > ul.sf-menu > li.megamenu{
    position: relative;
    overflow: visible !important;
    z-index: 1010;
  }

  /* Panneau megamenu : présent en flux mais caché (zéro anim/translate) */
  .site-header .navigation > ul.sf-menu > li.megamenu > ul{
    position: absolute !important;
    top: calc(100%) !important;
    left: 0 !important;
    display: block !important;      /* écrase les display:none du thème */
    margin: 0 !important; 
    border-top: 0 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: none !important;
    transition: none !important;    /* pas d’anim = pas de “saut” */
    z-index: 1020;
  }

  /* PONT entre l’onglet et le panneau (empêche la perte de hover) */
  .site-header .navigation > ul.sf-menu > li.megamenu::after{
    content:""; position:absolute; left:0; right:0; top:100%;
    height: 22px; background: transparent; pointer-events: auto; z-index: 1015;
  }

  /* TAMPON au sommet du panneau megamenu (bouche tout micro-trou) */
  .site-header .navigation > ul.sf-menu > li.megamenu > ul::before{
    content:""; position:absolute; left:0; right:0; top:-22px;
    height: 22px; background: transparent; pointer-events: auto;
  }

  /* OUVERT dès qu’on survole l’onglet OU le panneau lui-même */
  .site-header .navigation > ul.sf-menu > li.megamenu:hover > ul,
  .site-header .navigation > ul.sf-menu > li.megamenu > ul:hover{
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  /* Anti-doublon : si un 2e <ul> existe par erreur, on ne garde que le 1er */
  .site-header .navigation > ul.sf-menu > li.megamenu > ul:nth-of-type(n+2){
    display: none !important;
  }
}
/* ========= SUBMENU — FIX ANTI-GAP + DESIGN "SAPPHIRE MIST" (DESKTOP UNIQUEMENT) ========= */
:root{
  --ink:#2b4277;     /* bleu signature */
  --brand:#ed6e2a;   /* accent */
  --mist:#f5f7fb;    /* blanc bleuté léger */
  --line:rgba(43,66,119,.14);
}

@media (min-width:993px) 
  /* 1) Anti-gap béton : aucun “trou” entre l’onglet et le sous-menu */
  .site-header .navigation{ overflow:visible !important; position:relative; z-index:50; }
  .site-header .navigation > ul > li{ position:relative; }
  /* petit pont invisible qui garde le :hover quand on descend la souris */
  .site-header .navigation > ul > li::after{
    content:""; position:absolute; left:0; top:100%; width:100%; height:12px;
    background: rgba(255,255,255,0.001); /* peint, donc capte le hover mais reste invisible */
    pointer-events:auto; z-index:3999;
  }

  /* 2) Panneau : overlap de 10px pour coller à l’onglet (zéro perte de hover) */
  .site-header .navigation > ul > li > ul{
    /* on ne touche PAS à display → comportement inchangé */
    position:absolute; left:0; top:calc(100% - 10px); /* chevauche l’onglet de 10px */
    margin:0 !important; padding:12px !important; min-width:280px;
    border-radius:14px; z-index:4000; isolation:isolate;

    /* Style premium clair, uniforme */
    background:
      linear-gradient(180deg, #ffffff 0%, var(--mist) 100%) padding-box,
      linear-gradient(135deg, color-mix(in srgb, var(--ink) 14%, transparent),
                              color-mix(in srgb, var(--brand) 12%, transparent)) border-box !important;
    border:1px solid transparent !important;
    box-shadow: 0 24px 60px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.75) !important;

    /* apparition douce (si ton CSS ouvre au :hover/.open) — ne casse rien sinon */
    transform: translateY(0); opacity:1; visibility:visible; /* pas d’anim forcée */
  }

  /* caret harmonisé (et sans “trou”) */
  .site-header .navigation > ul > li > ul::before{
    content:""; position:absolute; top:-6px; left:28px; width:14px; height:14px; transform:rotate(45deg);
    background: linear-gradient(180deg, #ffffff, var(--mist));
    border-left:1px solid var(--line); border-top:1px solid var(--line);
    box-shadow:-2px -2px 6px rgba(18,38,78,.06); pointer-events:none;
  }

  /* 3) Uniformité stricte à l’intérieur (zéro patch blanc/transparent incohérent) */
  .site-header .navigation > ul > li > ul,
  .site-header .navigation > ul > li > ul *{ background-color:transparent !important; }

  /* 4) Items : cartes fines, hover chic et lisible */
  .site-header .navigation > ul > li > ul > li{ margin:2px 0; }
  .site-header .navigation > ul > li > ul > li > a{
    display:flex; align-items:center; gap:10px;
    padding:10px 12px; border-radius:10px; white-space:nowrap; text-decoration:none;
    color:#12213f; 
    background: linear-gradient(180deg, #fff, #fbfcff);
    border:1px solid rgba(43,66,119,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .site-header .navigation > ul > li > ul > li > a:hover{
    transform: translateY(-1px);
    background:
      linear-gradient(180deg, #fff, #fff),
      radial-gradient(60% 100% at 0 0,  color-mix(in srgb, var(--ink) 12%, transparent), transparent 60%),
      radial-gradient(60% 100% at 100% 0, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%);
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(18,38,78,.12), inset 0 1px 0 rgba(255,255,255,.95);
  

  /* 5) Mega-menu (si tu en as) : même panneau, pas de blocs transparents */
  .site-header .navigation > ul > li.megamenu > ul{
    padding:14px !important; border-radius:14px !important;
    background:
      linear-gradient(180deg, #ffffff 0%, var(--mist) 100%) padding-box,
      linear-gradient(135deg, color-mix(in srgb, var(--ink) 14%, transparent),
                              color-mix(in srgb, var(--brand) 12%, transparent)) border-box !important;
    border:1px solid transparent !important;
    box-shadow: 0 24px 60px rgba(18,38,78,.14), inset 0 1px 0 rgba(255,255,255,.75) !important;
  }
}



/* === MENU — FIX SOUS-MENUS TRONQUÉS (à coller TOUT EN BAS) ================== */
@media (min-width:993px){
  /* 1) Plus AUCUNE coupe par overflow/nowrap sur la barre */
  .site-header,
  .site-header .main-menu-wrapper,
  .site-header .navigation{
    overflow: visible !important;
  }
  /* Annule le nowrap global appliqué à .navigation (cause de lignes trop longues) */
  .site-header .navigation{ white-space: normal !important; }         /* override du nowrap */
  /* On garde le nowrap UNIQUEMENT pour la ligne des onglets (pas à l’intérieur des panneaux) */
  .site-header .navigation > ul{ white-space: nowrap !important; }
  .site-header .navigation > ul > li > ul{ white-space: normal !important; }

  /* 2) Panneaux : jamais clipsés, scroll si trop hauts */
  .site-header .navigation > ul > li > ul{
    top: calc(100%) !important;      /* colle juste sous l’onglet */
    z-index: 3000 !important;
    max-height: calc(100vh - 90px) !important;  /* tout est visible à l’écran */
    overflow: auto !important;                  /* …et défile si nécessaire */
    -webkit-overflow-scrolling: touch;
    clip-path: none !important;                 /* par sécurité */
  }

  /* 3) Méga-menu pleine largeur, sans coupe latérale */
  .site-header .navigation > ul > li.megamenu > ul{
    left: 0 !important; right: 0 !important; width: 100% !important;
  }

  /* 4) S’assure que la barre passe au-dessus du slider */
  .site-header{ position: relative; z-index: 1200; }
}
/* ============================================================================ */
/* === RESET NAV (desktop) — pas de trou, pas de ponts, hover fiable === */
@media (min-width:993px){

  /* 0) Le header passe au-dessus du slider */
  .site-header{ position:relative; z-index:1200; }

  /* 1) Sous-menus collés à l’onglet (zéro gap) */
  .navigation > ul > li > ul{
    top: 100% !important;          /* annule tous les calc(100% + 8px) */
  }

  /* 2) Ouverture simple, comme le thème */
  .navigation > ul > li ul{ display:none; }
  .navigation > ul > li:hover > ul{ display:block !important; }

  /* 3) Désactive TOUT pont/tampon capturant la souris */
  .site-header .navigation > ul > li::after,
  .site-header .navigation > ul > li > ul::before,
  .site-header .navigation > ul.sf-menu > li.megamenu > ul::before{
    content:none !important;
    pointer-events:none !important;
  }

  /* 4) Méga-menus = géométrie d’origine (NE PAS toucher) */
  .navigation > ul > li.megamenu{ position: inherit !important; }
  .navigation > ul > li.megamenu > ul{
    left:0 !important; top:50px !important; width:100% !important;
  }
}
/* === NAV LOCK — neutraliser les causes d'irrégularité (desktop) === */
@media (min-width: 993px){

  /* A) plus aucun pont/tampon ne capte la souris */
  .site-header .navigation > ul > li::after,
  .site-header .navigation > ul > li > ul::before,
  .site-header .navigation > ul.sf-menu > li.megamenu > ul::before{
    content: none !important;
    pointer-events: none !important;
  }

  /* B) supprimer le "gap" : tous les sous-menus collés à l’onglet */
  .site-header .navigation > ul > li:not(.megamenu) > ul{
    top: 100% !important;   /* remplace tous les calc(100% + 8px) */
  }

  /* C) géométrie d’origine des méga-menus (ne pas changer) */
  .site-header .navigation > ul > li.megamenu{ position: inherit !important; }
  .site-header .navigation > ul > li.megamenu > ul{
    left: 0 !important; top: 50px !important; width: 100% !important;
  }

  /* D) ouverture simple au hover (stable) */
  .navigation > ul > li ul{ display: none; }
  .navigation > ul > li:hover > ul{ display: block !important; }

  /* E) au-dessus du slider si besoin */
  .site-header{ position: relative; z-index: 1200; }
  .navigation > ul > li > ul{ z-index: 3000 !important; }
}

/* === NAV LOCK (Desktop) — ouverture fiable, pas de ponts, bonne géométrie === */
@media (min-width: 993px){

  /* 0) Le header au-dessus du slider */
  .site-header{ position: relative; z-index: 1200; }

  /* 1) Ouverture simple et stable (comme le thème) */
  .navigation > ul > li ul{ display: none !important; }
  .navigation > ul > li:hover > ul,
  .navigation > ul > li:has(> ul:hover) > ul{ display: block !important; }

  /* 2) Désactiver .open en desktop (mobile only) */
  .navigation > ul > li.open > ul{ display: none !important; }

  /* 3) Plus AUCUN pont/tampon qui capte la souris */
  .site-header .navigation > ul > li::after,
  .site-header .navigation > ul > li > ul::before{ content:none !important; pointer-events:none !important; }

  /* 4) Géométrie conforme au thème */
  .navigation > ul > li{ position: relative !important; }                /* ancre des dropdowns */
  .navigation > ul > li:not(.megamenu) > ul{ left:0 !important; top:100% !important; }

  /* les mégamenus restent comme l’original (top:50px, 100% width) */
  .navigation > ul > li.megamenu{ position: inherit !important; }
  .navigation > ul > li.megamenu > ul{ left:0 !important; top:50px !important; width:100% !important; }

  /* 5) Pas d’animations qui masquent (on neutralise tes transitions opa/transform) */
  .navigation > ul > li > ul{
    opacity: 1 !important; visibility: visible !important; transform: none !important;
    z-index: 3000 !important; /* au-dessus du slider */
  }
}
/* === NAV – OUVERTURE INSTANTANÉE (desktop) === */
@media (min-width: 993px){
  /* 1) Aucun délai/anim sur les panneaux de sous-menus */
  .site-header .navigation > ul > li > ul{
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;              /* coupe la latence */
  }
  .site-header .navigation > ul > li:hover > ul,
  .site-header .navigation > ul > li.open  > ul{
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;          /* cliquable tout de suite */
    transition: none !important;
  }

  /* 2) Pas d'animation “fadeInUp” qui retarde l'affichage */
  .navigation > ul > li:hover > ul{ animation: none !important; }

  /* 3) Pas de tampon/pont qui intercepte (on veut du direct) */
  .site-header .navigation > ul.sf-menu > li.megamenu > ul::before{
    content: none !important;
    pointer-events: none !important;
  }

  /* 4) Géométrie inchangée du thème (pour éviter tout gap) */
  .navigation > ul > li:not(.megamenu) > ul{ top: 100% !important; }
  .navigation > ul > li.megamenu > ul{ top: 50px !important; } /* règle d'origine */
}
/* === BREADCRUMB = FOOTER COLOR =========================================== */
:root { --footer-bg: #e6e6e6; } /* même teinte que .site-footer */

/* Applique la couleur au bandeau breadcrumb (toutes pages) */
.nav-backed-header.parallax {
  background: var(--footer-bg) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Cible spécifique activée par le script (cette page) */
body.page-vannes .nav-backed-header.parallax {
  background: var(--footer-bg) !important;
}

/* Nettoyage visuel des “pilules” éventuelles sur cette page */
body.page-vannes .nav-backed-header .breadcrumb > li {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #2b4277 !important;
}

/* Lisibilité des liens sur fond gris */
.nav-backed-header .breadcrumb a { color: #2b4277; }
.nav-backed-header .breadcrumb > .active { color: #666; }
/* === BREADCRUMB COMPACT = même couleur que footer + faible hauteur === */
:root{ --footer-bg: #e6e6e6; }

/* Couleur identique au footer, partout (y compris page-vannes) */
.nav-backed-header.parallax{
  background: var(--footer-bg) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  padding: 6px 0 !important;             /* ← hauteur compacte */
}

/* Contenu breadcrumb compact et lisible */
.nav-backed-header .breadcrumb{
  margin: 0 !important;
  padding: 4px 0 !important;             /* ← réduit fortement la hauteur */
  font-size: 12px !important;
  line-height: 1.2 !important;
  background: transparent !important;
}

/* Supprime les “pills” gonflés et tout surplus d’espace */
.nav-backed-header .breadcrumb > li{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #2b4277 !important;             /* lisible sur fond #e6e6e6 */
  font-weight: 600 !important;
}
.nav-backed-header .breadcrumb a{ color:#2b4277 !important; text-decoration:none !important; }
.nav-backed-header .breadcrumb > .active{ color:#666 !important; }
.nav-backed-header .breadcrumb > li + li:before{
  content:"›" !important; margin: 0 6px !important; color:#999 !important;
}

/* (Optionnel) Si tu trouves l’espace entre le menu et le bandeau trop grand */
.site-header + .nav-backed-header{ margin-top: 12px !important; }  /* au lieu de 42–48px */
/* === BREADCRUMB — taille moyenne, même couleur que le footer === */
:root{
  --bc-bg: #e6e6e6;      /* couleur du footer */
  --bc-font: 14px;       /* taille de police “juste milieu” */
  --bc-line: 1.35;       /* interligne */
  --bc-pad-container: 12px; /* padding haut/bas du bandeau */
  --bc-pad-list: 6px;    /* padding haut/bas de la liste breadcrumb */
  --bc-sep-gap: 8px;     /* espace autour du séparateur */
}

.nav-backed-header.parallax{
  background: var(--bc-bg) !important;
  padding: var(--bc-pad-container) 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
  box-shadow: none !important;
}

.nav-backed-header .breadcrumb{
  margin: 0 !important;
  padding: var(--bc-pad-list) 0 !important;
  font-size: var(--bc-font) !important;
  line-height: var(--bc-line) !important;
  background: transparent !important;
}

.nav-backed-header .breadcrumb > li{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #2b4277 !important;
  font-weight: 600 !important;
}

.nav-backed-header .breadcrumb a{ color:#2b4277 !important; text-decoration:none !important; }
.nav-backed-header .breadcrumb > .active{ color:#666 !important; }

.nav-backed-header .breadcrumb > li + li:before{
  content:"›" !important;
  margin: 0 var(--bc-sep-gap) !important;
  color:#999 !important;
}

/* Légère respiration sous la barre */
.site-header + .nav-backed-header{ margin-top: 16px !important; }

/* Mobile : un peu plus de padding et police légèrement plus grande */
@media (max-width: 576px){
  .nav-backed-header.parallax{ padding: 14px 0 !important; }
  .nav-backed-header .breadcrumb{ font-size: 15px !important; }
}
/* === BREADCRUMB : léger décalage vers le bas sans changer la hauteur === */
:root{
  --bc-nudge: 3px;  /* ajuste à 2px ou 4px si tu veux plus/moins */
}

.nav-backed-header .breadcrumb{
  padding-top: calc(var(--bc-pad-list) + var(--bc-nudge)) !important;
  padding-bottom: calc(var(--bc-pad-list) - var(--bc-nudge)) !important;
}

/* Option mobile : un poil moins pour garder l'équilibre visuel */
@media (max-width: 576px){
  :root{ --bc-nudge: 2px; }
}
/* === SUMMARY aligné au menu + proportions idéales === */
:root{
  --menu-max: 1080px;     /* ↔️ mets ici la même largeur visuelle que ta nav */
  --bc-bg: #e6e6e6;       /* même couleur que le footer */
  --bc-font: 15px;        /* lisible mais pas massif */
  --bc-line: 1.4;
  --bc-pad: 10px;         /* padding interne de la liste */
  --bc-band: 12px;        /* padding haut/bas du bandeau */
  --bc-nudge: 2px;        /* décale un peu le texte vers le bas */
  --bc-sep-gap: 9px;
}

/* Aligne le container du summary sur celui du menu */
@media (min-width:1200px){
  .nav-backed-header > .container{
    max-width: var(--menu-max) !important;
  }
}

/* Bandeau summary */
.nav-backed-header.parallax{
  background: var(--bc-bg) !important;
  padding: var(--bc-band) 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
  box-shadow: none !important;
}

/* Liste breadcrumb (proportions “juste milieu”) */
.nav-backed-header .breadcrumb{
  margin: 0 !important;
  padding: calc(var(--bc-pad) + var(--bc-nudge)) 0 calc(var(--bc-pad) - var(--bc-nudge)) 0 !important;
  font-size: var(--bc-font) !important;
  line-height: var(--bc-line) !important;
  background: transparent !important;
}

/* Apparence des éléments et séparateur */
.nav-backed-header .breadcrumb > li{
  padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.nav-backed-header .breadcrumb > li + li:before{
  content:"›" !important; margin: 0 var(--bc-sep-gap) !important; color:#999 !important;
}

/* Liens : bonne visibilité et contraste */
.nav-backed-header .breadcrumb a{
  color:#2b4277 !important; text-decoration:none !important; font-weight:600;
}
/* “Accueil” bien visible */
.nav-backed-header .breadcrumb > li:first-child > a{
  font-weight:800; opacity:.95;
}
.nav-backed-header .breadcrumb > .active{ color:#666 !important; }

/* Respiration entre menu et summary */
.site-header + .nav-backed-header{ margin-top: 12px !important; }

/* === Hover unifié pour le bouton Mail dans la nav === */
@media (min-width: 993px){
  .site-header .navigation > ul > li > a[href^="mailto:"]{
    position: relative; transition: all .2s ease; color: inherit;
  }
  .site-header .navigation > ul > li > a[href^="mailto:"]:hover,
  .site-header .navigation > ul > li > a[href^="mailto:"]:focus-visible{
    color:#ed6e2a; background: transparent;
  }
  .site-header .navigation > ul > li > a[href^="mailto:"]::after{
    content:''; position:absolute; left:20px; right:20px; bottom:0; height:2px;
    background: transparent; transition: background .2s ease;
  }
  .site-header .navigation > ul > li > a[href^="mailto:"]:hover::after,
  .site-header .navigation > ul > li > a[href^="mailto:"]:focus-visible::after{
    background:#ed6e2a;
  }
}
/* === NAV: couleurs visibles + hover unifié (incl. Accueil & Mail) === */

/* Base : liens du menu lisibles partout */
.site-header .navigation > ul > li > a{
  position: relative;
  color: #2b4277 !important;            /* texte bien contrasté */
  text-shadow: none !important;
  opacity: 1 !important;
  transition: color .2s ease;
}

/* Hover/Focus/Current : même effet que le reste du menu */
.site-header .navigation > ul > li > a:hover,
.site-header .navigation > ul > li > a:focus-visible,
.site-header .navigation > ul > li > a.current{
  color: #ed6e2a !important;
}

/* Indicateur souligné (comme les autres boutons du menu) */
.site-header .navigation > ul > li > a::after{
  content:"";
  position:absolute; left:20px; right:20px; bottom:10px; height:2px;
  background: transparent; transition: background .2s ease;
}
.site-header .navigation > ul > li > a:hover::after,
.site-header .navigation > ul > li > a:focus-visible::after,
.site-header .navigation > ul > li > a.current::after{
  background:#ed6e2a;
}

/* “Accueil” visible même quand actif */
.site-header .navigation > ul > li:first-child > a{
  color:#2b4277 !important; font-weight: 800;
}
.site-header .navigation > ul > li:first-child > a:hover,
.site-header .navigation > ul > li:first-child > a.current{
  color:#ed6e2a !important;
}

/* Bouton Mail/Contact : même hover (couverture large) */
.site-header .navigation > ul > li > a[href^="mailto:"],
.site-header .navigation > ul > li > a[href*="contact"],
.site-header .navigation > ul > li:has(i.fa-envelope) > a{
  position: relative; /* pour l’underline ::after */
}
.site-header .navigation > ul > li > a[href^="mailto:"]:hover,
.site-header .navigation > ul > li > a[href*="contact"]:hover,
.site-header .navigation > ul > li:has(i.fa-envelope) > a:hover,
.site-header .navigation > ul > li > a[href^="mailto:"]:focus-visible,
.site-header .navigation > ul > li > a[href*="contact"]:focus-visible,
.site-header .navigation > ul > li:has(i.fa-envelope) > a:focus-visible{
  color:#ed6e2a !important;
}
.site-header .navigation > ul > li > a[href^="mailto:"]::after,
.site-header .navigation > ul > li > a[href*="contact"]::after,
.site-header .navigation > ul > li:has(i.fa-envelope) > a::after{
  content:""; position:absolute; left:20px; right:20px; bottom:10px; height:2px;
  background: transparent; transition: background .2s ease;
}
.site-header .navigation > ul > li > a[href^="mailto:"]:hover::after,
.site-header .navigation > ul > li > a[href*="contact"]:hover::after,
.site-header .navigation > ul > li:has(i.fa-envelope) > a:hover::after,
.site-header .navigation > ul > li > a[href^="mailto:"]:focus-visible::after,
.site-header .navigation > ul > li > a[href*="contact"]:focus-visible::after,
.site-header .navigation > ul > li:has(i.fa-envelope) > a:focus-visible::after{
  background:#ed6e2a;
}

/* === SUMMARY (breadcrumb) — aligné au menu & lisible === */

/* même largeur visuelle que la nav (desktop) */
@media (min-width:1200px){
  .nav-backed-header > .container{ max-width:1080px !important; }
}

/* liens visibles + “Accueil” bien lisible dans le fil d’Ariane */
.nav-backed-header .breadcrumb a{ color:#2b4277 !important; font-weight:600; text-decoration:none; }
.nav-backed-header .breadcrumb > li:first-child > a{ font-weight:800; opacity:.95; }
.nav-backed-header .breadcrumb > .active{ color:#666 !important; }
/* ====================== HOTFIX NAV: ACCUEIL + HOVER MAIL ====================== */
/* 1) ACCUEIL TOUJOURS VISIBLE (couleur + visibilité + cliquable) */
@media (min-width: 993px){
  /* cible robustement l’entrée Accueil */
  .site-header .navigation > ul > li > a[href$="index.html"],
  .site-header .navigation > ul > li > a[title*="accueil" i]{
    color:#1c2b4f !important;
    opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
    display:inline-block !important; text-shadow:none !important;
  }
  /* si Accueil est le premier item, on force aussi sa couleur */
  .site-header .navigation > ul > li:first-child > a{
    color:#1c2b4f !important;
  }
}

/* 2) HOVER UNIFIÉ POUR TOUS LES LIENS, Y COMPRIS MAIL/CONTACT */
@media (min-width: 993px){
  /* on redonne le pseudo-élément même si un reset l’a annulé ailleurs */
  .body.header-style2 .site-header .navigation > ul > li > a{
    position:relative !important;
  }
  .body.header-style2 .site-header .navigation > ul > li > a::after{
    content:"" !important;   /* bat le "content:none !important" d’un ancien reset */
    position:absolute; left:14px; right:14px; bottom:8px; height:2px;
    background: linear-gradient(90deg, var(--brand,#ed6e2a),
                     color-mix(in srgb, var(--brand,#ed6e2a) 60%, #f0a15f));
    transform: scaleX(0); transform-origin:left; transition: transform .22s ease;
    border-radius:2px;
  }
  .body.header-style2 .site-header .navigation > ul > li > a:hover{
    color: var(--brand,#ed6e2a) !important;
  }
  .body.header-style2 .site-header .navigation > ul > li > a:hover::after{
    transform: scaleX(1);
  }

  /* 2.b) s’assure que MAIL/CONTACT héritent du même hover */
  .body.header-style2 .site-header .navigation > ul > li > a[href^="mailto:"],
  .body.header-style2 .site-header .navigation > ul > li > a[href*="contact"]{
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    color:#1c2b4f !important; /* état normal cohérent */
  }
  .body.header-style2 .site-header .navigation > ul > li > a[href^="mailto:"]:hover,
  .body.header-style2 .site-header .navigation > ul > li > a[href*="contact"]:hover{
    color: var(--brand,#ed6e2a) !important;
  }
}
/* ==================== NAV — RÉAFFICHER ICONES + HOVER UNIFIÉ ==================== */
/* 1) Réactiver les icônes du menu (Home, Mail) */
.site-header .navigation > ul > li > a i,
.site-header .navigation > ul > li > a .fa,
.site-header .navigation > ul > li > a .fas{
  display:inline-block !important;
  vertical-align:middle;
  margin-right:8px;              /* si lien avec texte */
  font-size:16px;
  color: currentColor !important; /* icône suit la couleur du texte */
}

/* 1.a) Home = visible même sans texte (ex: premier item = icône seule) */
.site-header .navigation > ul > li:first-child > a i.fa-home,
.site-header .navigation > ul > li:first-child > a i.fas.fa-home{
  margin-right:0;                /* pas d’espace si icône seule */
}

/* 1.b) Icône Mail/Contact explicitement réactivée */
.site-header .navigation > ul > li > a i.fa-envelope,
.site-header .navigation > ul > li > a i.fas.fa-envelope{ display:inline-block !important; }

/* 2) Couleurs de base lisibles + hover identique pour TOUS (incl. Mail) */
.site-header .navigation > ul > li > a{
  position:relative;
  color:#1c2b4f !important;                  /* lisible */
  text-decoration:none;
  transition: color .18s ease;
}
.site-header .navigation > ul > li > a:hover,
.site-header .navigation > ul > li > a:focus-visible{
  color:#ed6e2a !important;
}

/* 3) Soulignement animé commun (même effet pour Mail/Contact) */
.site-header .navigation > ul > li > a::after{
  content:"" !important;                     /* réactive même si mis à none ailleurs */
  position:absolute; left:14px; right:14px; bottom:8px; height:2px; border-radius:2px;
  background: linear-gradient(90deg, #ed6e2a, #f0a15f);
  transform: scaleX(0); transform-origin:left; transition: transform .22s ease;
}
.site-header .navigation > ul > li > a:hover::after,
.site-header .navigation > ul > li > a:focus-visible::after{
  display:block !important;                  /* bat un éventuel display:none */
  transform: scaleX(1);
}

/* 3.a) Couvre explicitement Mail/Contact (si sélecteurs spécifiques existent ailleurs) */
.site-header .navigation > ul > li > a[href^="mailto:"],
.site-header .navigation > ul > li > a[href*="contact"]{
  color:#1c2b4f !important;                  /* état normal identique */
}
.site-header .navigation > ul > li > a[href^="mailto:"]:hover,
.site-header .navigation > ul > li > a[href*="contact"]:hover{
  color:#ed6e2a !important;
}

/* ======================= BREADCRUMB — ICÔNE HOME + ALIGNEMENT ======================= */
/* Icône Home injectée sans toucher le HTML (Font Awesome 5) */
.nav-backed-header .breadcrumb > li:first-child > a{
  position:relative; padding-left:20px;
}
.nav-backed-header .breadcrumb > li:first-child > a::before{
  content:"\f015";                                /* home */
  font-family:"Font Awesome 5 Free"; font-weight:900;
  position:absolute; left:0; top:0.1em; line-height:1;
  opacity:.95; color:#2b4277;
}

/* Lisibilité des liens du fil d’Ariane */
.nav-backed-header .breadcrumb a{ color:#2b4277 !important; font-weight:600; text-decoration:none; }
.nav-backed-header .breadcrumb > .active{ color:#666 !important; }

/* Aligner la largeur du summary sur la nav (si besoin) */
@media (min-width:1200px){
  .nav-backed-header > .container{ max-width:1080px !important; } /* ajuste si ta nav a une autre largeur */
}
/* === BREADCRUMB GLOBAL — même rendu sur toutes les pages === */
/* Bandeau: même couleur que le footer */
.nav-backed-header.parallax{
  background: #e6e6e6 !important;   /* footer = #e6e6e6 */
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: none !important;
}

/* Aligner la largeur sur le menu (ta coque est à ~1080px sur desktop) */
@media (min-width:1200px){
  .nav-backed-header > .container{ max-width: 1080px !important; }
}

/* Liste breadcrumb : proportions lisibles */
.nav-backed-header .breadcrumb{
  margin: 0 !important;
  padding: 8px 0 !important;      /* remplace les 30px trop grands */
  font-size: 14px !important;
  line-height: 1.4 !important;
  background: transparent !important;
}

/* Séparateur */
.nav-backed-header .breadcrumb > li + li:before{
  content: "›" !important;
  margin: 0 8px !important;
  color: #999 !important;
}

/* Liens */
.nav-backed-header .breadcrumb a{
  color: #2b4277 !important;      /* cohérent avec ta charte */
  font-weight: 600;
  text-decoration: none;
}
.nav-backed-header .breadcrumb > .active{ color:#666 !important; }

/* Icône Home compatible Font Awesome 4.7 présent dans cette page */
.nav-backed-header .breadcrumb > li:first-child > a{
  position: relative; padding-left: 18px;
}
.nav-backed-header .breadcrumb > li:first-child > a::before{
  content:"\f015";                /* home */
  font-family: "FontAwesome";     /* FA 4.7 */
  position: absolute; left: 0; top: 0.05em; line-height: 1;
  color: #2b4277; opacity: .95;
}
/* === SUMMARY / BREADCRUMB — icône Accueil (FA5/FA6 + fallback FA4) === */
.nav-backed-header .breadcrumb > li:first-child > a{
  position: relative;
  padding-left: 20px;                 /* place pour l’icône */
}
.nav-backed-header .breadcrumb > li:first-child > a::before{
  content: "\f015";                    /* home */
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome";
  font-weight: 900;                    /* solide (FA5/6) */
  position: absolute;
  left: 0; top: .05em; line-height: 1;
  color: currentColor;                 /* suit la couleur du lien */
  speak: none;
}
/* ===== ÉCHANGEURS ⇒ EXACTEMENT le même summary que .page-vannes ===== */
/* mêmes variables que sur .page-vannes */
body:has(a[href^="echangeurs/"]),
body.page-echangeurs{
  --brand:#ed6e2a;
  --ink:#2b4277;
  --fade0:#f2f4fa;
  --fade1:#e9edf7;
}

/* marge au-dessus du bandeau (comme vannes) */
@media (min-width: 993px){
  body:has(a[href^="echangeurs/"]) .site-header + .nav-backed-header,
  body.page-echangeurs .site-header + .nav-backed-header{
    margin-top:48px !important;
  }
}

/* BANDE résumé (dégradé CLAIR identique à vannes) */
body:has(a[href^="echangeurs/"]) .nav-backed-header.parallax,
body.page-echangeurs .nav-backed-header.parallax{
  background: linear-gradient(180deg, var(--fade0), var(--fade1)) !important;
  border-bottom:1px solid rgba(43,66,119,.12);
  padding:14px 0;
  box-shadow: inset 0 -40px 80px rgba(18,38,78,.06);
}

/* LISTE breadcrumb (layout “pills” identique) */
body:has(a[href^="echangeurs/"]) .nav-backed-header .breadcrumb,
body.page-echangeurs .nav-backed-header .breadcrumb{
  margin:0; padding:8px 0; background:transparent;
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
}

/* ÉLÉMENTS breadcrumb (pastilles blanches) */
body:has(a[href^="echangeurs/"]) .nav-backed-header .breadcrumb > li,
body.page-echangeurs .nav-backed-header .breadcrumb > li{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid rgba(43,66,119,.14);
  border-radius:999px; padding:6px 12px;
  color:#2b4277; font-weight:800; letter-spacing:.2px;
  box-shadow:0 6px 16px rgba(18,38,78,.08);
}

/* SÉPARATEUR “›” orange (même teinte) */
body:has(a[href^="echangeurs/"]) .nav-backed-header .breadcrumb > li + li:before,
body.page-echangeurs .nav-backed-header .breadcrumb > li + li:before{
  content:"›"; margin:0 4px; color:var(--brand); font-weight:900;
}

/* LIENS (même couleur & hover) */
body:has(a[href^="echangeurs/"]) .nav-backed-header .breadcrumb a,
body.page-echangeurs .nav-backed-header .breadcrumb a{
  color:#2b4277; text-decoration:none;
}
body:has(a[href^="echangeurs/"]) .nav-backed-header .breadcrumb a:hover,
body.page-echangeurs .nav-backed-header .breadcrumb a:hover{
  text-decoration:underline;
}
/* === MENU + SUMMARY COLLÉS (zéro espace) ================================ */
/* annule toute marge résiduelle entre le header et le bandeau summary */
.site-header + .nav-backed-header{
  margin-top: 0 !important;
}

/* si tu as activé le thème via .page-vannes ou la détection échangeurs */
body.page-vannes .site-header + .nav-backed-header,
body:has(a[href^="echangeurs/"]) .site-header + .nav-backed-header{
  margin-top: 0 !important; /* écrase les anciens 48px */
}

/* évite qu'un margin-bottom sur .site-header recrée un “trou” */
.site-header{ margin-bottom: 0 !important; }

/* (optionnel) si tu ne veux même pas de filet 1px entre les deux, enlève le bord haut du summary */
.site-header + .nav-backed-header{
  border-top: 0 !important; /* laisse si tu veux conserver un trait */
}
/* === Réglages : augmente ici si tu veux encore + grand === */
#md-cadre{
  --page-max: 1720px;     /* page plus large pour des cartes plus grosses */
  --gutter: 12px;         /* gouttières colonne */
  --card-ratio: 4/3;      /* cadre plus haut que 16/9 => visuellement plus grand */
  --frame-pad: 6px;       /* “bord” du cadre */
}

/* Page large mais même grille (2 colonnes .col-md-6) */
#md-cadre .container{
  max-width: min(98vw, var(--page-max)) !important;
}
#md-cadre .row{ margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
#md-cadre .row > [class*="col-"]{ padding-left: var(--gutter); padding-right: var(--gutter); }

/* === CADRE PLUS GRAND === */
#md-cadre .featured-block{ max-width:none !important; }
#md-cadre .featured-block a.img-thumbnail{
  display:block;
  width:100%;
  aspect-ratio: var(--card-ratio);  /* largeur de la colonne -> hauteur du cadre */
  overflow:hidden;
  padding: var(--frame-pad) !important;
  border-width:1px;
  line-height:0;                    /* supprime l’effet baseline des <img> */
  box-sizing:border-box;
  max-height:none !important;       /* neutralise des limites du thème */
}

/* === IMAGE plein cadre + centrée (corrige les décalages) === */
#md-cadre .featured-block a.img-thumbnail img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;              /* remplit sans bandes */
  object-position:center center !important; /* centrage parfait */
  display:block;
  position:static !important;               /* annule un éventuel absolute */
  transform:none !important;
  margin:0 !important;
  padding:0 !important;
  max-height:none !important;               /* lève tout plafond du thème */
}

/* Renfort centrage pour l’avant-dernière et la dernière carte */
#md-cadre .featured-blocks .row > [class*="col-"]:nth-last-child(-n+2) a.img-thumbnail img{
  object-position:center center !important;
} 
/* ================================
   Intro Cogeflu (fond blanc) — VAGUES QUI DESCENDENT (2.0s total)
   1. 0 → 1000 ms : logo + vagues visibles (ondulation douce)
   2. 1000 → 1700 ms : toutes les vagues DESCENDENT hors écran
   3. 1700 → 2000 ms : fondu final (overlay disparaît)
   ================================= */

body.intro-playing { overflow: hidden; } /* pas de scroll pendant l’intro */

/* Overlay */
#intro-cogeflu{
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center;
  background: #fff;         /* fond blanc comme la page */
  color: #0b0f1a;
  opacity: 1;
  transform: none;
  will-change: opacity, transform;
}

/* Contenu central */
#intro-cogeflu .intro-content{
  position: relative; z-index: 3; text-align: center;
  transform: translateY(8px);
  animation: intro-rise .9s cubic-bezier(.2,.7,.2,1) both .12s;
}
#intro-cogeflu .intro-logo{
  width: clamp(140px, 22vw, 260px);
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.18));
  opacity: 0; transform: translateY(8px) scale(.98);
  animation: intro-fade .55s ease-out forwards .12s;
}
#intro-cogeflu .intro-tagline{
  margin-top: 14px;
  font: 600 14px/1.2 "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #2b4277;
  opacity: 0; transform: translateY(8px);
  animation: intro-fade .55s ease-out forwards .24s;
}
@keyframes intro-fade{ to{ opacity:1; transform:none; } }
@keyframes intro-rise{ to{ transform:none; } }

/* Vagues (zone) */
#intro-cogeflu .waves{
  position: absolute; left:0; right:0; bottom:0; width:100%; height:42vh; z-index:1;
  will-change: transform, opacity;
}
#intro-cogeflu .waves path{ transform-origin: center; }

/* Couleurs adaptées au fond blanc */
#intro-cogeflu .waves-back  path { fill: color-mix(in srgb, #2b4277 65%, #ffffff 35%); opacity: .28; }
#intro-cogeflu .waves-mid   path { fill: color-mix(in srgb, #2b4277 50%, #ed6e2a 18%); opacity: .44; }
#intro-cogeflu .waves-front path { fill: #ed6e2a; opacity: .82; }

/* Ondulations horizontales (phase visible) */
@keyframes wave-shift-1 { from { transform: translateX(0); } to { transform: translateX(-160px); } }
@keyframes wave-shift-2 { from { transform: translateX(0); } to { transform: translateX(220px);  } }
@keyframes wave-shift-3 { from { transform: translateX(0); } to { transform: translateX(-320px); } }

#intro-cogeflu .waves-back  path { animation: wave-shift-1 8s  linear infinite alternate; }
#intro-cogeflu .waves-mid   path { animation: wave-shift-2 6.6s linear infinite alternate; }
#intro-cogeflu .waves-front path { animation: wave-shift-3 5.4s linear infinite alternate; }

/* ===== OUTRO — DESCENTE ===== */
/* 1) logo/tagline s’éteignent doucement */
#intro-cogeflu.outro-down .intro-content{
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1);
}

/* 2) toutes les vagues descendent hors de l’écran (rideau vers le bas) */
#intro-cogeflu.outro-down .waves{
  transform: translateY(120vh) scale(1.02);
  opacity: .9;
  transition:
    transform .70s cubic-bezier(.65,0,.35,1), /* 700 ms : descente rapide/fluide */
    opacity  .70s ease;
}
/* figer les ondulations pendant la descente */
#intro-cogeflu.outro-down .waves path{ animation-play-state: paused; }

/* 3) fondu court de l’overlay (300 ms) */
#intro-cogeflu.hide{
  opacity: 0;
  pointer-events: none;
  transition: opacity .30s ease;
}

/* Accessibilité : réduction d’animations */
@media (prefers-reduced-motion: reduce){
  #intro-cogeflu, #intro-cogeflu *{
    animation: none !important;
    transition: none !important;
  }
}
/* ===== Fade-in du site après l'intro (uniquement cette page) ===== */

/* Par défaut sur cette page : on cache tout le contenu SAUF l'intro */
body.intro-page > :not(#intro-cogeflu) {
  opacity: 0;
  transition: opacity 0.8s ease; /* durée du fondu d'apparition du site */
}

/* Quand l'intro est finie -> le site apparaît en fondu */
body.intro-page.body-visible > :not(#intro-cogeflu) {
  opacity: 1;
}
/* ========== HOVER LOCK PATCH (conserve le style d'origine) ========== */
/* 1) autoriser le panneau à dépasser sous la barre */
.site-header .navigation{ overflow: visible !important; z-index: 3000; }

/* 2) petit pont invisible sous chaque onglet pour ne jamais perdre le :hover */
.site-header .navigation > ul > li{
  position: relative;
}
.site-header .navigation > ul > li::after{
  content:"";
  position:absolute; left:0; top:100%;
  width:100%; height:12px;      /* pont anti-gap */
  pointer-events:auto;
}

/* 3) le panneau chevauche l’onglet de la hauteur du pont */
.site-header .navigation > ul > li > ul{
  top: calc(100% - 12px) !important;  /* chevauche pour zéro trou */
  z-index: 4000;                      /* au-dessus du reste */
}

/* 4) “verrou” d’ouverture : .open ou focus clavier gardent le panneau ouvert */
.site-header .navigation > ul > li.open   > ul,
.site-header .navigation > ul > li:focus-within > ul{
  display: block !important;
  visibility: visible;
  pointer-events: auto;
}

/* 5) sécurité : aucun conteneur parent ne doit masquer le panneau */
.site-header .main-menu-wrapper{ overflow: visible !important; }

/* 6) Mobile : même logique (si tu utilises .open via JS) */
@media (max-width: 992px){
  .site-header .navigation > ul > li.open > ul{ display:block !important; }
}


.hero-slider,
.slider-wrapper,
.slider-container {
    top: 0 !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
}

/* Section partenaires : logos alignés au centre côte à côte */
#content .container.partners {
  display: flex;
  justify-content: center; /* centre les logos horizontalement */
  gap: 30px;              /* espace entre chaque logo */
  flex-wrap: wrap;        /* permet de passer à la ligne si trop serré */
}

#content .container.partners .post.format-image {
  float: none;           /* enlève l’effet Bootstrap */
  display: block;
  text-align: center;
}

