/************************ POLICE ***********************/
@font-face { font-family: 'Quicksand'; src: url('/css/fonts/Quicksand/static/Quicksand-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/css/fonts/Quicksand/static/Quicksand-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/************************ GLOBAL ************************/
:root {
    --color-primary: #002B74; /** BLEU ***/
    --color-secondary: #f96d74; /** ROUGE **/
    --bg-primary: rgb(240, 246, 252); /** BLEU CLAIR BG **/
    --color-black: #212529;
}
body :not(i):not(span.icon-bar) { font-family: "Quicksand", Arial, sans-serif; }

.bg-primary { background: var(--bg-primary) !important; }
.bg-secondary { background: var(--color-secondary) !important; }
.bg-third { background: var(--color-primary) !important; }

.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.card-img-top.cover-fit { height: 100%; object-fit: cover; }
.top-30 { top: 30px; }
.start-1 { left: 1px!important; }
.start-35 { left: 35px; }
.end-35 { right: 35px; }
body .btn-primary { background: var(--color-primary) !important; border-color: #2f472e; }
.border-primary { border-color: var(--color-primary)!important; }
.cursor-pointer { cursor: pointer; }
.w-70 { width: 70%; }

/************************ STYLE *******************/
a { color: var(--color-primary) !important; font-weight: 700; }
p, li { line-height: 32px; }
h1 { font-size: 30px;color: #30383B; font-weight: 700; }
h1::after, h2::after { content: ''; display: block; background-color: var(--color-secondary); width: 7%; margin: 10px auto; height: 3px;  }
h2 { margin-top: 30px; margin-bottom: 25px; font-size: 32px; text-align: center; line-height: 50px; color: #30383B; }
h3 { margin: 30px 0; font-size: 24px; font-weight: 700; color: #555; line-height: 39px; }
.tag-category { margin-bottom: 10px; font-weight: normal; }
.tag-title { font-size: 16px; color: var(--color-black); }
.pagination .page-item.active .page-link { background-color: var(--color-primary); color: white !important; }

@media (max-width: 768px) {
    h2 { font-size: 25px; line-height: 40px; }
    h3 { font-size: 20px; line-height: 32px; }
}

/*************************************************** PAGE CATEGORY *****************************************************/
.category-top h1:after { display: none; }

/*************************************************** PAGE PRODUIT *****************************************************/
.product h2::after { display: none; }
.product ul.intro li span { color: var(--color-secondary); font-size: 15px; margin-right: 5px;}
.product p.intro { font-size: 14px; line-height: 25px; }
.product p.intro a { display: block; }
.product-description .description { background: var(--bg-primary) !important }

/*************************************************** PAGE ARTICLE *****************************************************/
.article { margin: 10px 0; }

.article .breadcrumb-custom a { color: var(--color-primary) !important; font-weight: normal; font-size: 13px;}
.article .breadcrumb-custom span { color: var(--color-black) !important; font-weight: normal; font-size: 13px;}

.article h1 { text-align: center; font-size: 30px; line-height: 45px; }
.article span.date { display: block; text-align: center; font-size: 15px; font-style: italic; margin: 10px auto 30px 0; }
.article img.illustration { display: block; margin: 30px auto; max-width: 600px; box-shadow: 0px 3px 6px rgba(0,0,0,0.6); }

.article ul li { margin-bottom: 10px; }

@media (max-width: 768px) {
    .article h1 { font-size: 22px; line-height: 35px; }
    .article img.illustration { max-width: 100%; }
}

/****************** SIDEBAR *******************/
.sidebar { margin-top: 5px; padding-left: 25px; padding-right: 15px; }
.sidebar h3 { text-align: left; color: #30383B; margin-bottom: 30px; font-size: 20px; margin-top: 0; font-style: normal; text-align: center;}
.sidebar h3:after { display: block; content: ''; height: 3px; background-color: var(--color-secondary); margin-top: 10px; width: 30%; margin: 10px auto; }
.sidebar .article-sidebar { border-bottom: 1px solid #ccc; margin-bottom: 30px; padding-bottom: 25px;  }
.sidebar .article-sidebar:last-child { border: 0; }
.sidebar .article-sidebar .image { position: relative; box-shadow: 0 2px 20px 0 rgba(27,40,54,.3); border-radius: 50px; }
.sidebar .article-sidebar .image a { background: transparent; border-radius: 6px;}
.sidebar .article-sidebar .image img { display: block; max-width: 100%; border-radius: 6px; }
.sidebar .article-sidebar .image h4 { position: absolute; bottom: 0; left: 0; background-color: #fff; background-color: rgba(255, 255, 255, 0.8); color: #333; font-family: "Quicksand", sans-serif; text-align: center; color: #30383B; margin: 0; font-size: 16px; line-height: 25px; font-weight: bold; padding: 10px; }
.sidebar .article-sidebar p.insight { margin: 10px 0 0 0; line-height: 22px; }
.sidebar .article-sidebar p.insight a { font-size: 13px; line-height: 22px; margin: 0; padding: 0; color: #000; text-decoration: none; font-weight: normal; }
.sidebar .article-sidebar p.insight a:hover { text-decoration: none; }

.sidebar .article-sidebar-list {  }
.sidebar .article-sidebar-list h4 { padding: 0 0 20px 0; margin-bottom: 20px; text-align: left; color: #30383B; line-height: 25px; border-bottom: 1px dotted #bbb; }
.sidebar .article-sidebar-list h4 a { color: #000!important; font-size: 15px; font-weight: normal!important; text-decoration: none!important; }

.sidebar .who { margin-bottom: 30px; }
.sidebar .who img { width: 40%; display: block; margin: 0 auto; }
.sidebar .who p.link { text-align: center; margin-top: 0; }
.sidebar .who p.link a { text-decoration: none; }
.sidebar .who p { font-size: 14px; line-height: 25px; margin-top: 15px; text-align: justify; }

@media (max-width: 768px) {
    .sidebar { padding-left: 0; padding-right: 0; }
    .sidebar .article-sidebar p.insight a { font-size: 16px; }
}


/******************* A LIRE AUSSI *****************/
.see-also { background-color: var(--bg-primary) !important; border-left: 6px solid  var(--color-secondary); color: var(--color-primary) !important }
.see-also:hover { text-decoration: none; }
.see-also a { color: #30383B; font-size: 16px; padding: 25px 15px; margin: 40px 0 30px 0;  display: block; font-weight: 700!important; text-decoration: none!important;}
.see-also a span { text-decoration: underline; }
.see-also a:hover { text-decoration: none; }
@media (max-width: 768px) {
    .see-also a { padding: 15px; font-size: 15px; }
}


/************************************************* COMMENTAIRE ********************/
.comments { margin-bottom: 30px; }
.comments textarea { width: 100%; height: 100px; border: 1px solid #ccc; padding: 10px; border-radius: 5px; }
.content .comments h3 { font-style: normal; font-size: 20px; }
.comments .comments-list { margin-top: 20px; }
.comments .comments-list .comment-one { margin-bottom: 20px; width: 100%; border: 1px solid #ccc; padding: 10px 20px; border-radius: 5px; }
.comments .comments-list .comment-one:last-child { margin-bottom: 0px; }
.comments .comments-list .comment-one .comment-header { margin: 0 0 0 0; }
.comments .comments-list .comment-one .comment-header span { }
.comments .comments-list .comment-one .comment-header span.comment-name { font-weight: bold; }
.comments .comments-list .comment-one .comment-header span.comment-date { color: #444; font-size: 13px; margin-left: 15px; }
.comments .comments-list .comment-one .comment-content { margin-top: 0; }

/************************ BANNER *******************/
.banner { padding-top: 400px; width: 100%; position: relative; }
.banner .fill { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: 0; padding: 0; height: 100%; }
.banner .text-box-content { background-color: #fff; opacity: .8; margin-left: 150px; }
.banner .banner-bg { overflow: hidden; }
.banner .banner-bg img { object-fit: cover; position: absolute; width: 100%; height: 100%; left: 0; top: 0; }
.banner .banner-layers { position: relative; height: 100%; max-height: 100%; }
.banner .banner-layer { position: absolute !important; max-width: 700px; padding-top: 50px; }
.banner .banner-layer h2 { font-size: 40px; text-align: left; line-height: 50px; padding: 5px 10px; }
.banner .banner-layer h2 { border-left: 6px solid var(--color-secondary); padding-left: 10px; }
.banner .banner-layer h2:after { display: none; }
.banner-container .tiles-flex { gap: 1.5rem; }
.banner-container .tiles { margin-top: -100px; z-index: 10000; position: relative; padding-bottom: 30px; transition: all 0.2s ease-in-out;}
@media (min-width: 992px) { .tile-card { width: 200px; } .tile-card i { font-size: 2rem; } .tile-card .fs-5 { font-size: 1.25rem !important; } }
@media (min-width: 768px) and (max-width: 991.98px) { .tile-card { width: 140px; } .tile-card i { font-size: 1.7rem; } .tile-card .fs-5 { font-size: 1.1rem !important; } }
@media (max-width: 768px) { .tiles-flex { gap: .5rem !important; }.tile-card { width: 21vw; } .tile-card i { font-size: 1.3rem; } .tile-card .fs-5 { font-size: 0.75rem !important; } }

/************************ MENU ***********************/
.menu > li:first-child { padding-left: 0 !important; }
.navbar-wrapper { width: 100%; }
.nav-link { padding-top: 10px; padding-bottom: 10px; padding-left: 0; padding-right: 0; font-weight: bold; border-bottom: 2px solid transparent; }
.nav-link:hover {  }
.navbar { padding: 0; border-bottom: 1px solid #eee ;}

@media (max-width: 768px) {
    .banner { padding-top: 200px; }
    .banner-container .tiles { margin-top: -55px; }
    .banner .banner-layer { max-width: 95%; padding-top: 0; }
    .banner .text-box-content { margin-left: 0; }
    .banner .banner-layer h2 { font-size: 25px; line-height: 35px; }
    .navbar { padding: 10px 0 7px 0; }
}


/* Étend la zone de survol invisible sous le lien */
.hover-zone::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 20px; background: transparent; z-index: 999; }
.hover-zone:hover > .dropdown-menu, .hover-zone .dropdown-menu:hover { display: block; opacity: 1; visibility: visible; }
.dropdown-menu { border-top-left-radius: 0; border-top-right-radius: 0; border: 0; border-top: 3px solid var(--color-secondary) !important; display: none; margin-top: 0px!important; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; position: absolute; top: 100%; left: 0; right: 0; z-index: 100000; width: 400px!important; }
.dropdown-menu .dropdown-item:hover { background: none; color:#30383B!important; }

/* Desktop uniquement : sticky activée après scroll */
@media (min-width: 768px) {
    .navbar-wrapper.sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 12000; transform: translateY(0); background-color: #ebf2f9; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
}
/************************ FOOTER *****************/
#footer {  background: var(--color-primary) !important; padding: 30px 0; }
#footer .footer-widget {  }
#footer .footer-widget span.footer-widget-title { font-size: 17px; font-weight: 600; color: #f1f1f1; text-transform: uppercase; display: block; margin-bottom: 30px; }
#footer .footer-widget span.footer-widget-title:after { display: block; content: ''; border-top: 4px solid hsla(0,0%,100%,.3); margin-top: 10px; width: 20%; }
#footer .footer-widget .footer-widget-content {  }
#footer .footer-widget .footer-widget-content .element-i { display: flex; align-items: center; gap: 20px; font-size: 14px; margin-bottom: 30px; }
#footer .footer-widget .footer-widget-content .element-i i { font-size: 20px; color: #fff; flex-shrink: 0; }
#footer .footer-widget .footer-widget-content .element-i span { display: flex; flex-direction: column; }
#footer .footer-widget .footer-widget-content .element-i span, 
#footer .footer-widget .footer-widget-content p,
#footer .footer-widget .footer-widget-content a { color: #fff; font-size: 16px; line-height: 26px; }
#footer .footer-widget .footer-widget-content ul { margin: 0; padding: 0; }
#footer .footer-widget .footer-widget-content ul li { list-style-type: none; margin: 0; text-align: left; }
#footer .footer-widget .footer-widget-content ul > li + li { border-top: 1px solid hsla(0,0%,100%,.08); }
#footer .footer-widget .footer-widget-content ul li a { display: inline-block; padding: 10px 0; text-decoration: none; }