body {
    font-family: "Montserrat", sans-serif;
    font-size:1.05rem;
    color: #000;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    hyphens: manual !important;
}

a {
    color: #000;
    text-decoration-skip-ink: none;
    text-decoration: none;
}

/* Icône pour les liens externes */
a[href*="//"]::after {
    content: " ↗";
    font-size: 0.75em;
    opacity: 0.8;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid currentColor;
    border-radius: 3px; /* arrondi léger */
    line-height: 1;
    vertical-align: middle;
}

/* Exclure les liens internes  */
a[href^="/"]::after,
a[href^="#"]::after,
a[href^="mailto:"]::after,
a[href^="tel:"]::after {
    content: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #1a3c4c;
    margin:20px 0 14px 0;
}

/*p,*/
ul,
ol {
    margin-bottom: 40px;
}

.wysiwyg img {
    margin-bottom: 40px;
}

.text-primary {
    color: #fda33b !important;
}

.text-secondary {
    color: #1a3c4c !important;
}

.text-muted {
    color: #979aaa !important;
}

.bg-light {
    background-color: #F4F7F7;
}

img {
    max-width: 100%;
    height: auto;
}

.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgb(26, 60, 76, 0.25);
    border-color: #1a3c4c;
}

.form-check-input:checked {
    background-color: #1a3c4c;
    border-color: #1a3c4c;
}

/* Buttons (on ne cible pas ceux compris dans un google maps ni les boutons "close" de bootstrap, ni les boutons dans la fancybox). */
button:not(.bm_google_map button, .btn-close, .cmplz-buttons button, #cmplz-manage-consent button, .fancybox__dialog button),
.button:not(.bm_google_map button),
.btn:not(.bm_google_map button) {
    padding: 10px 20px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-style: solid;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: #fda33b;
    border-color: #fda33b;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #1a3c4c;
    border-color: #1a3c4c;
    color: white;
}

.btn-secondary {
    background: #1a3c4c;
    border-color: #1a3c4c;
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: #fda33b;
    border-color: #fda33b;
    color: white;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0px;
    position: relative;
}

.swiper-pagination-bullet-active {
    background: #fda33b;
}

.container-fluid {
    /*max-width: 1600px;*/
}

#page {
    width: 100%;
    overflow: hidden;
    /*padding-top: 100px;*/
}

#header {
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 20%);
    z-index: 20;
}

.header-top {
    background: #1a3c4c;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top a {
    color: white;
}

.header-top .btn {
    font-size: 12px;
    margin-left: 20px;
    height: 40px;
    line-height: 38px;
}

.header-top .btn:hover,
.header-top .btn:focus,
.header-top .btn:active {
    background: white;
    border-color: white;
    color: #fda33b;
}

.header-top .uil {
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    color: #fda33b;
    margin-right: 3px;
}

.header-btm {
    padding: 10px 0;
}

.toggle-menu {
    background: none;
    padding: 0;
    border: none;
    font-size: 32px;
    line-height: 1;
}

.heading-1 {
    font-size: 4rem;
    font-weight: 700;
}

.heading-2 {
    line-height: 1.5em;
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #fda33b;
}

.block {
    margin: 150px 0;
}

/* Bloc hero */
.block-hero {
    margin: 0;
}

.block-hero,
.block-hero * {
    color: #fff;
}

.block-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
}

.block-hero h1 small {
    font-size: 1rem;
}

.block-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.block-hero h3 {
    font-size: 2rem;
    font-weight: 700;
}

.block-hero h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.block-hero h5,
.block-hero h6 {
    font-size: 1rem;
    font-weight: 700;
}

.block-hero .swiper-slide {
    padding: 150px 0;
    background-size: cover;
    color: white;
    position: relative;
    height: calc(100vh - 145px);
    align-items: center;
    display: flex;
}

.block-hero .swiper-slide:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.block-hero .swiper-slide > * {
    position: relative;
    z-index: 2;
}

.block-hero .btn {
    min-width: 200px;
}

.block-hero .swiper-pagination {
    bottom: 50px;
}


/* Bock services */
.block-services {
    margin: 0;
    padding: 50px 0;
}

.block-services .col-lg-3 {
    position: relative;
    margin: 30px 0;
}

.block-services .col-lg-3:before,
.block-services .col-lg-3:after {
    content: "";
    width: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #979aaa;
    opacity: 0.2;
}

.block-services .col-lg-3:after {
    right: -1px;
    left: auto;
}

.block-services .d-flex {
    justify-content: center;
    align-items: center;
}

.block-services .icon {
    font-size: 3rem;
    color: #979aaa;
}

.block-services p {
    margin: 0;
    font-size: 1.125em;
    font-weight: 600;
    color: #1a3c4c;
}

/* Block Price */
.block-price {
    margin: 0;
    padding: 150px 0;
    background: #F4F7F7;
}

.block-price .block-title {
    text-align: center;
    margin-bottom: 100px;
}

.block-price .col-lg-4 {
    margin-bottom: 30px;
}

.block-price .item {
    background: white;
    border-radius: 6px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
}

.block-price .item-header h3 {
    text-align: center;
    color: #fda33b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.block-price .item p,
.block-price .item ul {
    margin-bottom: 30px;
}

.block-price .item ul {
    list-style: none;
    padding-left: 0;
}

.block-price .item ul li {
    margin: 5px 0;
}

.block-price .item ul li strong {
    color: #1a3c4c;
}

.block-price .item-footer {
    text-align: center;
    margin-top: 10px;
    margin-top: auto;
}

.block-price .row-3 {
    margin-top: 50px;
    text-align: center;
}

.block-price .row-3 p:last-child {
    margin-bottom: 0;
}

/* Block Banner */
.block-banner-1 {
    background: #1a3c4c;
    margin: 0;
    padding: 50px 0;
    color: white;
}

.block-banner-1 h3 {
    color: white;
    margin: 0;
}

.block-banner-1 h3 .small {
    font-size: 1rem;
}

.block-banner-1 .btn:hover {
    background: white;
    color: #fda33b;
}

/* Block Content */
.block-content {
    margin: 0;
    padding: 150px 0;
    background-color: #1a3c4c;
    background-size: cover;
    color: white;
    position: relative;
}

.block-content:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.block-content > * {
    position: relative;
    z-index: 2;
}

.block-content-media .block-title,
.block-content .block-title {
    margin-bottom: 50px;
}

.block-content .block-title > * {
    color: white;
}

.block-content ul,
.block-content-media ul {
    list-style: none;
    padding-left: 0;
}

.block-content ul li,
.block-content-media ul li {
    position: relative;
    margin: 10px 0;
    padding-left: 20px;
}

.block-content ul li:before,
.block-content-media ul li:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fda33b;
    position: absolute;
    top: 8px;
    left: 0;
}

.block-content .media,
.block-content-media .media {
    margin-bottom: 40px;
}

/* Block Features */
.block-features .block-title {
    text-align: center;
    margin-bottom: 100px;
}

.block-features .item {
    text-align: center;
    margin-bottom: 30px;
}

.block-features .item .icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background: #fda33b;
    color: white;
    position: relative;
    font-size: 3rem;
}

.block-features .item .icon > * {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.block-features .item h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Block testimonial */
.block-testimonial {
    margin: 0;
    padding: 150px 0;
    background: #F4F7F7;
    text-align: center;
}

.block-testimonial .block-title {
    text-align: center;
    margin-bottom: 100px;
}

.block-testimonial .item {
    background: white;
    border-radius: 6px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
}

.block-testimonial .item-footer {
    margin-top: auto;
}

.block-testimonial .avatar {
    margin: auto;
    display: block;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.block-testimonial .avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.block-testimonial .author {
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 700;
    text-transform: uppercase;
}

/* Block CTA */
.block-cta {
    text-align: center;
}

.block-cta .block-title {
    text-align: center;
    margin-bottom: 30px;
}

/* Block latest posts */
.block-latest-posts {
    margin: 10px 0 0 0;
    padding: 40px 0;
    color: #000;
}

.block-latest-posts .article {
    margin-bottom: 30px;
}

.block-latest-posts .article a {
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
    background-color:#fff;
}

.block-latest-posts .article a:hover {
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

.block-latest-posts .block-title {
    text-align: center;
    margin-bottom: 100px;
}

.block-latest-posts .item {
    text-align: center;
    display: block;
    overflow: hidden;
}

.block-latest-posts .item-header {
    position: relative;
    overflow: hidden;
    height: 331px;
}

.block-latest-posts .item-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s;
}

.block-latest-posts .item-header img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.block-latest-posts .item:hover .item-header::before {
    opacity: 0.5;
}

.block-latest-posts .item-body {
    padding:15px 20px 10px;
}
.block-latest-posts .item-footer {
    padding:10px 10px 18px;
    font-size:0.9rem;
}
.block-latest-posts .item-body h2,
.block-latest-posts .item-body h3 {
    font-size:1.4rem;
    margin:10px 0 10px 0;
}

.block-latest-posts .item-footer {
    color: #333;
}

.block-latest-posts .item .category {
    margin-bottom: 20px;
}

.tag {
    color: white;
    background: #fda33b;
    display: inline-block;
    margin: 3px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 12px;
}

/* Block newsletter */
.block-newsletter {
    margin: 0;
    background: #1a3c4c;
    padding: 50px 0;
    color: white;
}

.block-newsletter h3 {
    font-size: 2rem;
    color: white;
    margin: 0;
}

.block-newsletter form {
    display: flex;
    align-items: center;
}

.block-newsletter form .form-control {
    height: 50px;
    border-radius: 25px;
    border-color: white;
}

.block-newsletter form .form-control:focus {
    outline: 0;
    box-shadow: none;
}

.block-newsletter form .btn {
    margin-left: 15px
}

.block-newsletter form .btn:hover {
    background: white;
    border-color: white;
    color: #fda33b;
}

/* Block page */
.block-page {
    margin: 60px 0;
}

/* Footer */
.footer-top {
    background: #1a3c4c;
    padding: 100px 0 70px 0;
    color: white;
}

.footer-top i.uil {
    margin-right: 7px;
}

.footer-top i.uil:before {
    font-size: 20px;
    position: relative;
    top: 1px;
}

.footer-btm {
    background: #061f2b;
    padding: 20px 0;
    color: #979aaa;
    text-align: center;
    font-size: 12px;
}

.footer-top .widget {
    margin-bottom: 30px;
}

.footer-top .widget-title {
    color: white;
    text-align: left;
    font-size: 1.25em;
    font-weight: 500;
    letter-spacing: -.7px;
    margin-bottom: 1.6rem;
    color: white;
}

.footer-top .widget .menu {
    flex-direction: column;
}

footer#footer .footer-top .widget img#footer-img-brand {
    margin-bottom: 35px;
    max-width: 80%;
}

@media (max-width: 991px) {
    footer#footer .footer-top .widget img#footer-img-brand {
        max-width: 50%;
    }
}


footer#footer .footer-top .widget ul {
    list-style-type: none;
    padding-left: 0;
}

footer#footer .footer-top .widget ul li {
    margin: 0px 0 7px 0;
}

footer#footer .footer-top .widget ul li a {
    padding: 0;
}

/* Sidebar */
#col-sidebar {
    margin-top: 20px;
    margin-bottom: 20px;
}

#col-sidebar #col-sidebar-inner {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px 10px 10px 10px;
    border-radius: 8px;
}

#col-sidebar #col-sidebar-inner span.post-date {
    font-size: 0.85em;
}

#col-sidebar ul {
    padding: 0;
}

#col-sidebar ul li {
    list-style-type: none;
    margin-bottom:20px;
}

#col-sidebar form[role=search] > .col-auto {
    padding: 0;
}

#col-sidebar #col-auto-input-search {
    margin-right: 10px;
}

@media (min-width: 1200px) {
    #col-sidebar form[role=search] .col-auto input[type=search] {
        max-width: 192px;
    }

    #col-sidebar {
        margin-top: 0;
    }
}

@media (min-width: 1400px) {
    #col-sidebar form[role=search] .col-auto input[type=search] {
        max-width: 236px;
    }
}


/* Modal */
.modal-body {
    padding: 50px;
}

.modal .btn-close {
    background: none;
    font-size: 2.5rem;
    color: #1a3c4c;
    opacity: 1;
    position: absolute;
    top: 0;
    right: 0;
}

.modal-title {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}

img#img_a_la_une {
    width: 50%;
    height: auto;
    float: right;
    margin: 0 0 30px 30px;
}

/* Responsive */
@media (max-width: 991px) {

    img#img_a_la_une {
        width: 100%;
        max-width: none !important;
        height: auto;
        float: none;
        margin: 0 0 30px 0;
    }

    .heading-1 {
        font-size: 3rem;
    }

    .block {
        margin: 100px 0;
    }

    .block-hero {
        margin: 0;
    }

    .block-price,
    .block-content,
    .block-latest-posts,
    .block-testimonial {
        margin: 0;
        padding: 100px 0;
    }

    .block-services,
    .block-banner-1,
    .block-newsletter {
        margin: 0;
        padding: 50px 0;
    }

    .block-banner-1 h3,
    .block-newsletter h3 {
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .heading-1 {
        font-size: 2rem;
    }

    .block {
        margin: 60px 0;
    }

    .block-hero {
        margin: 0;
    }

    .block-hero h1 {
        font-size: 2.5rem;
    }

    .block-hero h2 {
        font-size: 1.8rem;
    }

    .block-hero h3 {
        font-size: 1.6rem;
    }

    .block-hero h4 {
        font-size: 1.4rem;
    }

    .block-hero h5,
    .block-hero h6 {
        font-size: 1.2rem;
    }

    .block-price,
    .block-content,
    .block-latest-posts,
    .block-testimonial {
        margin: 0;
        padding: 60px 0;
    }

    .block-services,
    .block-banner-1,
    .block-newsletter {
        margin: 0;
        padding: 60px 0;
    }

    .block-price .block-title,
    .block-features .block-title,
    .block-testimonial .block-title,
    .block-latest-posts .block-title {
        margin-bottom: 50px;
    }

    .footer-top {
        padding: 50px 0 2px 0;
    }
}

/*gilles*/
.swiper-slide img {
    display: block;
    margin: auto;
}

.single-post-header {
    margin: 0 -12px 50px -12px;
    margin-bottom: 0;
    position: relative;
    background-size: cover;
    background-position: center;
}

.single-post-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #212529;
    opacity: .5;
}

.single-post-header-inner {
    margin: auto;
    width: 70%;
    text-align: center;
    z-index: 1;
    position: relative;
}

.single-post-header-inner h1, .single-post-header-inner h2 {
    color: #fff;
    margin-bottom: 0;
}

.single-post-header-inner .meta-infos,
.single-post-header-inner .meta-infos * {
    color: #fff;
}

.single-post-header-inner a {
    color: #fff !important;
}

.single-post-header-inner a:hover {
    text-decoration: underline;
}

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

.swiper-slide {
    margin: auto;
}

/* Pagination des articles, certaines valeurs seront surchargées d'après choix faits en BO. */
.pagination {
    display: flex;
    justify-content:left;
    align-items: center;
    gap:1px; /* espace entre les boutons */
}

.pagination a,
.pagination span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 2px 5px;
    border: none;
    text-decoration: none;
    color: #fff;
    background: #666;
    border-radius: 50%;
}

.pagination a.prev,
.pagination a.next {
    display: inline-block;
    width: auto;
    border-radius: 6px;
    padding-left: 14px;
    padding-right: 14px;
}

.pagination a:hover {
    color: #000;
    background: hotpink;
}

.pagination .current {
    background-color: #0073aa;
    color: white;
    font-weight: bold;
}

/* Single post navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
}

.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
}

.result-search a {
    display:block;
}

/* Form search */
form[role=search] {
    margin: 20px 0 30px;
}

form[role=search] .col-auto#col-auto-input-search {
    padding-left:0;
}

form[role=search] input[type=search] {
    min-width:290px;
    margin-bottom: 20px;
}

form[role=search] button[type=submit] {
    padding: 7px !important;
    width: 38px;
    height: 38px;
}

form[role=search] button[type=submit] i.uil:before {
    font-size: 20px;
}

div.widget form[role=search] {
    margin: 0;
}

div.widget form[role=search] input[type=search] {
    min-width: auto;
}

div.widget form[role=search] button[type=submit] i.uil {
    margin: 0;
}


/* google map */
:root {
    --building-color: #FF9800;
    --house-color: #0288D1;
}

/*
 * Property styles in unhighlighted state.
 */
.property {
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    color: #263238;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    height: 30px;
    justify-content: center;
    position: relative;
    transition: all 0.1s ease-out;
    width: 30px;
}

.property:after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #FFFFFF;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 92%;
    transform: translate(-50%, 0);
    width: 0;
    z-index: 1;
}

.property .property-content {
    display: none;
    flex-direction: column;
    border-radius: 25px;
    overflow: hidden;
    width: 100%;
}

.property .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
}

.property .icon svg {
    height: 12px;
    width: auto;
}

.property img.property-img {
    width: 100%;
    height: auto;
    border-radius: 0 !important;
}

.property .details {
    flex-direction: row;
    flex: 1;
    background-color: white;
    padding: 20px;
    width: 100%;
}

.property .details a {
    text-decoration: underline;
}

/*
 * Property styles in highlighted state.
 */
.property.highlight {
    padding: 0;
    background-color: #FFFFFF;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: auto;
    width: 300px;
    border-radius: 25px;
}

.property.highlight:after {
    border-top: 9px solid #FFFFFF;
    top: 100%;
}

.property.highlight .property-content {
    display: flex;
}

.property.highlight .icon {
    display: none;
}

.property.highlight img.property-img {
    display: flex;
}

/*.property.highlight .details {*/
/*    display: flex;*/
/*}*/

/*
 * House icon colors.
 */
.property.highlight:has(.fa-house) .icon {
    color: var(--house-color);
}

.property:not(.highlight):has(.fa-house) {
    background-color: var(--house-color);
}

.property:not(.highlight):has(.fa-house)::after {
    border-top: 9px solid var(--house-color);
}

/*
 * Building icon colors.
 */
.property.highlight:has(.fa-building) .icon {
    color: var(--building-color);
}

.property:not(.highlight):has(.fa-building) {
    background-color: var(--building-color);
}

.property:not(.highlight):has(.fa-building)::after {
    border-top: 9px solid var(--building-color);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.close-button:hover {
    background-color: #f0f0f0;
}

/* /google map */

#card-a-lire-aussi {
    margin: 40px 0;
    background-color: #f9f9f9;
}

#card-a-lire-aussi ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

#card-a-lire-aussi h5 {
    margin:0;
}

/* fil d'ariane */
.rank-math-breadcrumb {
    text-align: right;
    margin: 10px 0 40px 0;
}
.rank-math-breadcrumb a:hover {
    text-decoration: underline;
}

/* Les projets */
/* Filtre des projets */
.projets-filter {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0 40px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.projets-filter__label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3c4c;
    margin-bottom: 20px;
}

.projets-filter__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.projets-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f0f4f5;
    color: #1a3c4c;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.projets-filter__btn:hover {
    background: #e5eced;
    color: #1a3c4c;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.projets-filter__btn.active {
    background: #1a3c4c;
    color: #fff;
    border-color: #1a3c4c;
}

.projets-filter__btn.active:hover {
    background: #2d5a6e;
    border-color: #2d5a6e;
    color: #fff;
}

.projets-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(26, 60, 76, 0.1);
    color: #1a3c4c;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
}

.projets-filter__btn.active .projets-filter__count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

@media (max-width: 767px) {
    .projets-filter {
        padding: 20px;
    }

    .projets-filter__buttons {
        flex-direction: column;
    }

    .projets-filter__btn {
        justify-content: space-between;
        width: 100%;
    }
}

/* Grille des projets */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

@media (max-width: 767px) {
    .projets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Card projet moderne */
.projet-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.projet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(26, 60, 76, 0.15);
}

.projet-card__link {
    display: flex;
    flex-direction: column;
    height:auto;
    text-decoration: none;
    color: inherit;
}

.projet-card__link:hover {
    text-decoration: none;
    color: inherit;
}

/* Image du projet */
.projet-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1a3c4c 0%, #2d5a6e 100%);
    background-size:cover;
    background-position:center;
}

.projet-card__thumbnail,
.projet-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.projet-card:hover .projet-card__thumbnail {
    transform: scale(1.08);
}

.projet-card__placeholder {
    background: linear-gradient(135deg, #1a3c4c 0%, #2d5a6e 100%);
}

/* Overlay au survol */
.projet-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 60, 76, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projet-card:hover .projet-card__overlay {
    opacity: 1;
}

.projet-card:hover .btn.btn-primary {
    background-color: transparent;
    transform: scale(1.03);
}

/* Contenu de la card */
.projet-card__content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.projet-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3c4c;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.projet-card__date {
    font-size: 0.9rem;
    color: #979aaa;
    margin: 0 0 16px 0;
    font-weight: 500;
}

/* Tags des types de projet */
.projet-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.projet-card__tag {
    display: inline-block;
    padding: 5px 14px;
    background-color: #f0f4f5;
    color: #1a3c4c;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.projet-card:hover .projet-card__tag {
    background-color: #fda33b;
    color: #fff;
}

.projet-card__content p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Types de projet sur single-projet.php */
.projet-tags {
    margin:16px 0;
}
.projet-types {
    background: linear-gradient(135deg, #f0f4f5 0%, #e8eef0 100%);
    border-left: 4px solid #fda33b;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}

.projet-types__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3c4c;
    margin: 0 0 20px 0;
    display:inline-block;
}

.projet-types__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.projet-types__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #fff;
    color: #1a3c4c;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.projet-types__btn:hover {
    background: #fda33b;
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(253, 163, 59, 0.3);
    border-color: #fda33b;
}

.projet-types__arrow {
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.projet-types__btn:hover .projet-types__arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .projet-types {
        padding: 20px;
    }

    .projet-types__buttons {
        flex-direction: column;
    }

    .projet-types__btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* Anciens styles pour compatibilité */
.block-projet {
    border-radius: 8px;
    text-align: center;
    background-color: #f5f5f5;
    padding: 30px;
    margin-bottom: 40px;
}

.block-projet h2 {
    font-size: 3rem;
}

.block-projet img {
    margin-bottom: 0;
}

a.block-projet:hover {
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
    .block-projet h2 {
        font-size: 2rem;
    }
}

#cmplz-document {
    max-width: none !important;
}

blockquote {
    position: relative;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    padding: 1.5rem 4rem;
    margin: 2rem 0;
    background: #f3f3f3;
    border-left: 6px solid #3498db;
    border-radius: 8px;
}

blockquote::before,
blockquote::after {
    font-family: Georgia, serif; /* police qui gère bien les guillemets */
    font-size: 3rem;
    color: #3498db;
    position: absolute;
}

blockquote::before {
    content: "“";
    left: 15px;
    top: 5px;
}

blockquote::after {
    content: "”";
    right: 15px;
    bottom: 5px;
}

blockquote p {
    margin-bottom: 0;
}

.widget_recent_entries li .post-date::before {
    content: "-";
    margin: 0 .3em 0 .1em;
}

.reponse-rapide {
    background-color: #fff8e1; /* jaune pâle pour attirer l'œil */
    border: 1px solid #ffecb3;
    border-radius: .25rem;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size:1rem;
}
.reponse-rapide p {
    display:inline;
    margin:0;
}
.reponse-rapide ul,
.reponse-rapide ol {
    margin:1rem 0 0 0.5rem;
    padding-left:1rem;
}
.reponse-rapide ul li ,
.reponse-rapide ol li {
    margin-bottom:0.5rem;
}
Résumé généré par IA
.points-cles {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: .25rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.points-cles ul {
    margin: .5rem 0 0;
    padding-left: 1.2rem;
}
.points-cles li {
    margin-bottom: .25rem;
}

.sommaire {
    background-color: #f8f9fa; /* gris clair */
    border: 1px solid #e9ecef;
    border-radius: .25rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.sommaire ol {
    margin: 0;
    padding-left: 1.25rem;
}

/* Des ancres pour les titres h1, h2 etc */
/* Lien d’ancre masqué par défaut */
.has-anchor {
    position: relative;
}

.anchor-link {
    position: absolute;
    left: -25px; /* Ajustez selon vos besoins */
    opacity: 0.3;
    transition: opacity 0.2s;
    text-decoration: none;
}

.anchor-link:hover {
    opacity: 1;
}

/* Afficher le lien au survol du titre */
.has-anchor:hover .anchor-link {
    opacity: 0.8;
}

.anchor-link {
    opacity: 0;
    text-decoration: none;
    transition: opacity 0.2s;
}

h1:hover .anchor-link,
h2:hover .anchor-link,
h3:hover .anchor-link,
h4:hover .anchor-link,
h5:hover .anchor-link,
h6:hover .anchor-link {
    opacity: 1;
}

.anchor-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    color: currentColor;
}

h2.has-anchor, h3.has-anchor, h4.has-anchor, h5.has-anchor, h6.has-anchor {
    cursor: pointer;
}
@media (max-width: 767px) {
    .anchor-link {
        display: none;
    }
}