/*
Theme Name: Aixpert
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Description: Child theme of Twenty Twenty-Five for Aixpert.
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aixpert
*/

/* ================================================
   FONT IMPORT & DESIGN SYSTEM TOKENS
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --font-primary: 'Metropolis', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --color-primary: #72A7A0;
    --color-primary-dark: #588780;
    --color-cta-bg: #3d5261;
    --color-cta-hover: #2b3b47;
    --color-text-slate: #414E58;
}

/* ================================================
   UNIVERSAL FOCUS/ACTIVE OUTLINE & BORDER BOX ELIMINATOR
   (Removes white rectangle box around logos, links, nav items on click/hover/active)
   ================================================ */
*,
*::before,
*::after,
a,
a:hover,
a:focus,
a:focus-visible,
a:active,
a.is-active,
button,
button:focus,
button:focus-visible,
button:active,
input,
input:focus,
input:focus-visible,
.custom-logo-link,
.custom-logo-link:focus,
.custom-logo-link:active,
.wp-block-site-logo a,
.wp-block-site-logo a:focus,
.wp-block-site-logo a:active,
.wp-block-navigation-item,
.wp-block-navigation-item a,
.wp-block-navigation-item a:focus,
.wp-block-navigation-item a:focus-visible,
.wp-block-navigation-item a:active,
.wp-block-navigation-item a:hover,
.wp-block-navigation-item.is-active,
.wp-block-navigation-item.is-active a,
.wp-block-navigation-link,
.wp-block-navigation-link a,
.wp-block-navigation-link a:focus,
.wp-block-navigation-link a:focus-visible,
.wp-block-navigation-link a:active,
.wp-block-navigation-link a:hover,
.wp-block-navigation-link.is-active,
.wp-block-navigation-link.is-active a,
.wp-block-navigation-item__content,
.wp-block-navigation-item__content:focus,
.wp-block-navigation-item__content:focus-visible,
.wp-block-navigation-item__content:active,
.wp-element-button,
.wp-element-button:focus,
.wp-element-button:active,
.wp-block-button__link,
.wp-block-button__link:focus,
.wp-block-button__link:active {
    outline: 0 !important;
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border-color: transparent;
    -webkit-tap-highlight-color: transparent !important;
}

/* Ensure no white border box is drawn around header/hero navigation items */
.header-nav .wp-block-navigation-item a,
.header-nav .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item a,
.wp-block-navigation-item.is-active a,
.wp-block-navigation-item__content:focus,
.wp-block-navigation-item__content:active,
.wp-block-navigation-item__content:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Global Typography Enforcement & Default Slate Text Color #414E58 */
body,
button,
input,
select,
textarea,
.wp-block-navigation,
.wp-block-group,
.wp-block-button,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: var(--font-primary) !important;
}

body,
p {
    color: #414E58;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

.wp-site-blocks,
main,
#wp--skip-link--target {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.wp-site-blocks {
    min-height: 100vh !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

main#wp--skip-link--target,
.wp-site-blocks>main,
.wp-site-blocks>main>.wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ================================================
   GLOBAL SITE & HOMEPAGE CONTAINER SYSTEM (1580px MAX-WIDTH)
   ================================================ */

.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-block-group.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.home main>.wp-block-group:not(.alignfull),
body.home .entry-content>.wp-block-group:not(.alignfull),
.wp-site-blocks main .is-layout-constrained> :not(.alignfull) {
    max-width: 1580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.home main>.wp-block-group:not(.alignfull),
body.home .entry-content> :not(.alignfull),
.home-container {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

@media screen and (max-width: 768px) {

    body.home main>.wp-block-group:not(.alignfull),
    body.home .entry-content> :not(.alignfull),
    .home-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ================================================
   HERO BANNER & CATEGORY HERO BANNER
   ================================================ */

/* Mot accentué dans le titre hero ("ouvertures") */
.hero-accent {
    color: var(--color-primary);
    font-style: italic;
}

/* Ombres portées douces sur le texte pour garantir une lisibilité parfaite sur fond clair */
.home-hero-banner h1,
.category-hero-title,
.parcours-hero-title {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4) !important;
}

.home-hero-banner p,
.category-hero-desc,
.parcours-hero-desc {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4) !important;
}

/* ================================================
   1. HOMEPAGE HERO BANNER (.home-hero-banner)
   Text positioned at bottom-left!
   ================================================ */

.home-hero-banner,
.wp-block-cover.home-hero-banner {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    height: 100vh !important;
    min-height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 3rem 3.5rem 3rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.home-hero-banner .wp-block-cover__image-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
}

.home-hero-banner .wp-block-cover__inner-container,
.wp-block-cover.home-hero-banner .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.home-hero-banner .wp-block-heading,
.wp-block-cover.home-hero-banner .wp-block-heading,
.home-hero-banner h1,
.wp-block-cover.home-hero-banner h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem) !important;
    line-height: 1.25 !important;
    font-weight: 300 !important;
    margin: 0 !important;
}


/* ================================================
   2. CATEGORY PAGE HERO BANNER (.hero-banner)
   Text positioned in vertical center-left!
   ================================================ */

.category-hero-banner,
.wp-block-cover.category-hero-banner,
.hero-banner,
.wp-block-cover.hero-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100vh !important;
    min-height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: calc(max(3rem, (100vw - 1580px) / 2 + 3rem)) !important;
    padding-right: calc(max(3rem, (100vw - 1580px) / 2 + 3rem)) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.category-hero-banner .wp-block-cover__image-background,
.hero-banner .wp-block-cover__image-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
}

/* Uniquement sur grand écran (>= 1600px): décaler le contenu de la Hero bannière un peu plus à gauche */
@media screen and (min-width: 1600px) {

    .category-hero-banner,
    .wp-block-cover.category-hero-banner,
    .hero-banner,
    .wp-block-cover.hero-banner {
        padding-left: 4.5rem !important;
    }
}

.category-hero-banner .wp-block-cover__inner-container,
.wp-block-cover.category-hero-banner .wp-block-cover__inner-container,
.hero-banner .wp-block-cover__inner-container,
.wp-block-cover.hero-banner .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

.category-hero-container {
    padding: 0 !important;
    margin-left: 0 !important;
    max-width: 860px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.category-hero-title {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    letter-spacing: 0.01em !important;
    margin: 0 0 1.2rem 0 !important;
    text-transform: none !important;
}

.category-hero-desc {
    font-size: 1.25rem !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 300 !important;
    max-width: 820px !important;
    margin: 0 0 2.4rem 0 !important;
}

.category-hero-buttons {
    display: flex !important;
    gap: 1.4rem !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

/* Button 1: EXPLORER LES MATIÈRES → (Slate Blue #3d5261, Rectangular 0px border-radius) */
.category-hero-buttons .wp-block-button:first-child .wp-block-button__link,
.btn-explorer {
    background-color: #3d5261 !important;
    color: #ffffff !important;
    padding: 1.1rem 2.2rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
}

.category-hero-buttons .wp-block-button:first-child .wp-block-button__link:hover,
.btn-explorer:hover {
    background-color: #2c3e50 !important;
    transform: translateY(-2px) !important;
}

/* Button 2: DEMANDER UN DEVIS (Mint Green #72A7A0, Rectangular 0px border-radius) */
.category-hero-buttons .wp-block-button:nth-child(2) .wp-block-button__link,
.btn-devis-mint {
    background-color: #72A7A0 !important;
    color: #ffffff !important;
    padding: 1.1rem 2.2rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
}

.category-hero-buttons .wp-block-button:nth-child(2) .wp-block-button__link:hover,
.btn-devis-mint:hover {
    background-color: #5c8e87 !important;
    transform: translateY(-2px) !important;
}

/* ================================================
   3. PARCOURS CLIENT, AMBASSADEURS, FOURNISSEURS, RENCONTRONS-NOUS & RECRUTEMENT HERO BANNERS
   Text positioned at bottom-left!
   ================================================ */

.parcours-hero-banner,
.wp-block-cover.parcours-hero-banner,
.ambassadeurs-hero-banner,
.wp-block-cover.ambassadeurs-hero-banner,
.fournisseurs-hero-banner,
.wp-block-cover.fournisseurs-hero-banner,
.rencontrons-hero-banner,
.wp-block-cover.rencontrons-hero-banner,
.recrutement-hero-banner,
.wp-block-cover.recrutement-hero-banner {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    height: 100vh !important;
    min-height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: calc(max(3rem, (100vw - 1580px) / 2 + 3rem)) !important;
    padding-right: calc(max(3rem, (100vw - 1580px) / 2 + 3rem)) !important;
    padding-bottom: 5.5rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.parcours-hero-banner .wp-block-cover__image-background,
.ambassadeurs-hero-banner .wp-block-cover__image-background,
.fournisseurs-hero-banner .wp-block-cover__image-background,
.rencontrons-hero-banner .wp-block-cover__image-background,
.recrutement-hero-banner .wp-block-cover__image-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
}

@media screen and (min-width: 1600px) {

    .parcours-hero-banner,
    .wp-block-cover.parcours-hero-banner,
    .ambassadeurs-hero-banner,
    .wp-block-cover.ambassadeurs-hero-banner,
    .fournisseurs-hero-banner,
    .wp-block-cover.fournisseurs-hero-banner,
    .rencontrons-hero-banner,
    .wp-block-cover.rencontrons-hero-banner,
    .recrutement-hero-banner,
    .wp-block-cover.recrutement-hero-banner {
        padding-left: 4.5rem !important;
    }
}

.parcours-hero-banner .wp-block-cover__inner-container,
.ambassadeurs-hero-banner .wp-block-cover__inner-container,
.fournisseurs-hero-banner .wp-block-cover__inner-container,
.rencontrons-hero-banner .wp-block-cover__inner-container,
.recrutement-hero-banner .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 1200px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.parcours-hero-title,
.ambassadeurs-hero-title,
.fournisseurs-hero-title,
.rencontrons-hero-title,
.recrutement-hero-title {
    font-size: clamp(2rem, 3.8vw, 3.6rem) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    letter-spacing: 0.01em !important;
    margin: 0 0 1.4rem 0 !important;
}

@media screen and (min-width: 992px) {

    .ambassadeurs-hero-title,
    .fournisseurs-hero-title,
    .rencontrons-hero-title,
    .recrutement-hero-title {
        white-space: nowrap !important;
    }
}

.parcours-hero-desc,
.ambassadeurs-hero-desc,
.fournisseurs-hero-desc,
.rencontrons-hero-desc,
.recrutement-hero-desc {
    font-size: 1.28rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 300 !important;
    max-width: 920px !important;
    margin: 0 !important;
}

/* Darker overlay specifically for Recrutement hero banner so white text stands out */
.recrutement-hero-banner .wp-block-cover__background,
.wp-block-cover.recrutement-hero-banner .wp-block-cover__background {
    background-color: rgba(14, 20, 24, 0.62) !important;
    opacity: 0.62 !important;
}

.recrutement-hero-banner::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(14, 20, 24, 0.40) 0%, rgba(14, 20, 24, 0.75) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.recrutement-hero-banner .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 2 !important;
}

/* Recrutement Hero Buttons Styling */
.recrutement-hero-buttons {
    display: flex !important;
    gap: 1.2rem !important;
    margin-top: 2.2rem !important;
    flex-wrap: wrap !important;
}

.recrutement-hero-btn-primary .wp-block-button__link {
    background-color: #3D5261 !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 1.1rem 2.2rem !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.recrutement-hero-btn-primary .wp-block-button__link:hover {
    background-color: #72A7A0 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(114, 167, 160, 0.35) !important;
}

.recrutement-hero-btn-secondary .wp-block-button__link {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 1.1rem 2.2rem !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.recrutement-hero-btn-secondary .wp-block-button__link:hover {
    background-color: #ffffff !important;
    color: #414E58 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ================================================
   HERO BANNERS MOBILE & TABLET CENTERING SYSTEM (< 992px)
   Centers titles & subtext vertically & horizontally on mobile/tablets
   ================================================ */

@media screen and (max-width: 992px) {

    .category-hero-banner,
    .wp-block-cover.category-hero-banner,
    .parcours-hero-banner,
    .wp-block-cover.parcours-hero-banner,
    .ambassadeurs-hero-banner,
    .wp-block-cover.ambassadeurs-hero-banner,
    .fournisseurs-hero-banner,
    .wp-block-cover.fournisseurs-hero-banner,
    .rencontrons-hero-banner,
    .wp-block-cover.rencontrons-hero-banner,
    .recrutement-hero-banner,
    .wp-block-cover.recrutement-hero-banner {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .category-hero-banner .wp-block-cover__inner-container,
    .parcours-hero-banner .wp-block-cover__inner-container,
    .ambassadeurs-hero-banner .wp-block-cover__inner-container,
    .fournisseurs-hero-banner .wp-block-cover__inner-container,
    .rencontrons-hero-banner .wp-block-cover__inner-container,
    .recrutement-hero-banner .wp-block-cover__inner-container {
        margin: auto !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .hero-title,
    .parcours-hero-title,
    .ambassadeurs-hero-title,
    .fournisseurs-hero-title,
    .rencontrons-hero-title,
    .recrutement-hero-title {
        text-align: center !important;
        white-space: normal !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(1.8rem, 6vw, 2.6rem) !important;
    }

    .hero-subtitle,
    .parcours-hero-desc,
    .ambassadeurs-hero-desc,
    .fournisseurs-hero-desc,
    .rencontrons-hero-desc,
    .recrutement-hero-desc {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
    }

    .category-hero-buttons,
    .recrutement-hero-buttons {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* --- UNIVERSAL MOBILE & TABLET LAYOUT SANITIZER (PREVENTS HORIZONTAL PAGE SCROLL & WHITE RIGHT MARGINS) --- */
@media screen and (max-width: 1200px) {

    html,
    body,
    .wp-site-blocks,
    main,
    .entry-content,
    #wp--skip-link--target {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    .carousel-section {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* .home-hero-banner,
    .wp-block-cover.home-hero-banner,
    .category-hero-banner,
    .wp-block-cover.category-hero-banner,
    .hero-banner,
    .wp-block-cover.hero-banner,
    .parcours-hero-banner,
    .wp-block-cover.parcours-hero-banner,
    .fournisseurs-hero-banner,
    .wp-block-cover.fournisseurs-hero-banner,
    .double-banner-cover,
    .wp-block-cover.double-banner-cover,
    .reassurance-section,
    .reassurance-bar,
    .parcours-about-section,
    .zone-map-section,
    .qui-sommes-nous-section,
    .why-join-section,
    .partners-section,
    .parcours-section {
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    } */
}

@media screen and (max-width: 768px) {

    .home-hero-banner,
    .wp-block-cover.home-hero-banner,
    .category-hero-banner,
    .wp-block-cover.category-hero-banner,
    .hero-banner,
    .wp-block-cover.hero-banner,
    .parcours-hero-banner,
    .wp-block-cover.parcours-hero-banner,
    .fournisseurs-hero-banner,
    .wp-block-cover.fournisseurs-hero-banner {
        justify-content: center !important;
        align-items: center !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 2.5rem !important;
        text-align: center !important;
    }

    .category-hero-container,
    .parcours-hero-banner .wp-block-cover__inner-container {
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: 100% !important;
    }

    .home-hero-banner .wp-block-heading,
    .wp-block-cover.home-hero-banner .wp-block-heading,
    .home-hero-banner h1,
    .wp-block-cover.home-hero-banner h1 {
        font-size: 2.2rem !important;
        text-align: center !important;
    }

    .category-hero-title,
    .parcours-hero-title {
        font-size: 2.35rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .category-hero-desc,
    .parcours-hero-desc {
        font-size: 1.08rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 2rem !important;
    }

    .category-hero-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .category-hero-buttons .wp-block-button__link,
    .btn-explorer,
    .btn-devis-mint {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        font-size: 0.95rem !important;
        padding: 1.1rem 1.5rem !important;
    }
}

/* ================================================
   HEADER / NAVBAR
   ================================================ */

/* Root container anchoring for absolute floating header */
.wp-site-blocks {
    position: relative;
}

/* Floating header over hero image */
.wp-site-blocks>header,
.site-header-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: transparent !important;
}

/* Remove margins pushing main content down on homepage */
.home .wp-site-blocks>main {
    margin-top: 0 !important;
}

.home .wp-site-blocks>main>.wp-block-group {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* --- Top Bar --- */
.header-top-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.8rem 3rem 0.4rem 3rem !important;
    border-bottom: none !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
}

/* Trait de séparation inset, plus épais (1.5px) et bien blanc brillant */
.header-top-bar::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 3rem !important;
    right: 3rem !important;
    height: 1.5px !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    pointer-events: none !important;
}

/* Left Icons (Hamburger, Pin, Search, Phone) */
.header-left-icons {
    display: flex !important;
    align-items: center !important;
    gap: 1.4rem !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.header-menu-btn-wrap {
    margin: 0 !important;
}

.header-menu-trigger-btn {
    margin: 0 !important;
}

.header-menu-trigger-btn .wp-block-button__link {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    box-shadow: none !important;
}

.header-menu-trigger-btn .wp-block-button__link:hover {
    color: var(--color-primary) !important;
    transform: scale(1.08) !important;
}

.header-icon-link {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.header-icon-link a {
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.header-icon-link a:hover {
    color: var(--color-primary) !important;
    transform: scale(1.08) !important;
}

.header-left-icons svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
    display: block !important;
}

/* Center Logo (Toujours centré sans écrasement) */
.header-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    text-align: center !important;
    padding: 0 1rem !important;
}

.header-logo-img img,
.header-logo img,
.wp-block-site-logo img {
    filter: brightness(0) invert(1) !important;
    height: auto !important;
    max-height: 95px !important;
    width: auto !important;
    max-width: 480px !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

@media screen and (min-width: 1400px) {

    .header-logo-img img,
    .header-logo img,
    .wp-block-site-logo img {
        max-height: 125px !important;
        max-width: 540px !important;
    }
}

/* Right Container */
.header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 1.5rem !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

/* Social Icons (Top Bar Desktop - Always horizontal single row) */
.header-social-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 0.9rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
}

.header-social-links .wp-block-social-link {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
}

.header-social-links .wp-block-social-link a {
    background: transparent !important;
    color: #ffffff !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.header-social-links .wp-block-social-link a:hover {
    color: var(--color-primary) !important;
    transform: scale(1.08) !important;
}

.header-social-links .wp-block-social-link svg {
    fill: currentColor !important;
    width: 22px !important;
    height: 22px !important;
}

@media screen and (max-width: 1280px) {

    /* Hide top-bar social links on tablet & medium screens to prevent any overlap */
    .header-social-links {
        display: none !important;
    }
}


/* Espace Client Link */
.header-espace-client {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.header-espace-client a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.header-espace-client svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
}

.header-espace-client a:hover {
    color: var(--color-primary) !important;
    transform: scale(1.08) !important;
}

@media screen and (max-width: 1400px) {

    /* Hide text 'Espace Client' on laptops and medium screens, keeping only the clean user icon */
    .header-espace-client a span {
        display: none !important;
    }
}


/* Quote Button ("DEMANDER UN DEVIS") - Slate Blue Color #3d5261 */
.header-cta-buttons {
    margin: 0 !important;
}

.header-cta-btn {
    margin: 0 !important;
}

.header-cta-btn .wp-block-button__link {
    background-color: var(--color-cta-bg) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    padding: 0.85rem 1.6rem !important;
    box-sizing: border-box !important;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
    cursor: pointer !important;
}

.header-cta-btn .wp-block-button__link:hover {
    background-color: var(--color-cta-hover) !important;
    border-color: var(--color-primary) !important;
}

/* --- Bottom Navigation Bar --- */
.header-nav-bar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.8rem 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.header-nav {
    width: 100% !important;
}

.header-nav .wp-block-navigation__container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(1.6rem, 3vw, 4.5rem) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
}

.header-nav .wp-block-navigation-item {
    margin: 0 !important;
    padding: 0 !important;
}

/* Police bâton non-grasse, adaptative (0.82rem à 1.02rem) et espacée */
.header-nav .wp-block-navigation-item__content {
    color: #ffffff !important;
    font-size: clamp(0.82rem, 1vw, 1.02rem) !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    padding: 0.3rem 0 !important;
    position: relative !important;
    transition: color 0.25s ease !important;
}

/* Masquer la barre horizontale sur écran < 1180px (le menu hamburger prend le relais proprement) */
@media screen and (max-width: 1180px) {
    .header-nav-bar {
        display: none !important;
    }
}

.header-nav .wp-block-navigation-item__content::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: var(--color-primary) !important;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.header-nav .wp-block-navigation-item__content:hover {
    color: var(--color-primary) !important;
}

.header-nav .wp-block-navigation-item__content:hover::after {
    width: 100% !important;
}

/* ================================================
   FULL SCREEN OVERLAY MENU (Style sevanparchotel.com)
   ================================================ */

.header-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    background: rgba(14, 20, 24, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    color: #ffffff !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.98) !important;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.header-mobile-drawer.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: scale(1) !important;
}

body.menu-fullscreen-open {
    overflow: hidden !important;
}

.header-drawer-inner {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
    height: auto !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 2rem 2rem 4rem 2rem !important;
    box-sizing: border-box !important;
}

.header-drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 3rem;
}

.header-drawer-logo img {
    filter: brightness(0) invert(1);
    max-height: 65px;
    width: auto;
}

.header-drawer-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.header-drawer-close:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: rotate(90deg);
}

.header-drawer-content-body {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.header-drawer-nav {
    flex: 1;
}

.header-drawer-navigation .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.header-drawer-navigation .wp-block-navigation-item__content {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
}

.header-drawer-navigation .wp-block-navigation-item__content::after {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background-color: var(--color-primary) !important;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.header-drawer-navigation .wp-block-navigation-item__content:hover {
    color: var(--color-primary) !important;
    transform: translateX(8px) !important;
}

.header-drawer-navigation .wp-block-navigation-item__content:hover::after {
    width: 100% !important;
}

.header-drawer-side-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 320px;
    padding-left: 3rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-info-block h4 {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.8rem 0;
}

.drawer-espace-client {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.drawer-espace-client:hover {
    color: var(--color-primary);
}

.drawer-social-links {
    display: flex !important;
    gap: 1.2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
}

.drawer-social-links .wp-block-social-link {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.drawer-social-links .wp-block-social-link a {
    background: transparent !important;
    color: #ffffff !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.25s ease, transform 0.2s ease !important;
}

.drawer-social-links .wp-block-social-link a:hover {
    color: var(--color-primary) !important;
    transform: translateY(-2px) scale(1.1) !important;
}

.drawer-social-links svg {
    fill: currentColor !important;
    width: 24px !important;
    height: 24px !important;
}

.drawer-cta-btn .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
}

/* ================================================
   RESPONSIVE MEDIA QUERIES FOR HEADER
   ================================================ */

/* ================================================
   RESPONSIVE MEDIA QUERIES FOR HEADER
   ================================================ */

@media screen and (max-width: 1350px) {

    /* Hide bottom nav bar on screens below 1350px so links are NEVER cut off; 
       navigation is 100% accessible via the full-screen overlay menu */
    .header-nav-bar {
        display: none !important;
    }

    .header-top-bar {
        padding: 1.1rem 2rem !important;
        border-bottom: none !important;
    }

    .header-logo-img img {
        max-height: 70px !important;
    }

    .header-right {
        gap: 1.2rem !important;
    }

    .header-cta-btn .wp-block-button__link {
        font-size: 0.78rem !important;
        padding: 0.75rem 1.3rem !important;
    }
}

@media screen and (max-width: 1024px) {

    /* Hide Espace Client from top bar on tablet/mobile to eliminate ANY logo overlap;
       Espace Client is prominently featured inside the full-screen overlay menu */
    .header-espace-client {
        display: none !important;
    }

    .header-top-bar {
        padding: 1rem 1.5rem !important;
    }

    .header-left-icons {
        gap: 1.2rem !important;
    }

    .header-right {
        gap: 1rem !important;
    }

    .header-logo-img img {
        max-height: 65px !important;
    }

    .header-drawer-content-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .header-drawer-side-info {
        width: 100%;
        padding-left: 0;
        border-left: none;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media screen and (max-width: 768px) {
    .header-top-bar {
        position: relative !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.75rem 0.9rem !important;
        min-height: 68px !important;
    }

    /* ALL 4 Left Icons Visible (Burger, Pin, Search, Phone) */
    .header-left-icons {
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        flex: 0 0 auto !important;
        z-index: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-icon-location,
    .header-icon-search,
    .header-icon-phone {
        display: inline-flex !important;
    }

    .header-left-icons svg,
    .header-icon svg {
        width: 22px !important;
        height: 22px !important;
        stroke-width: 2px !important;
    }

    /* LOGO DEAD CENTERED & ENLARGED */
    .header-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-logo-img img,
    .header-logo img,
    .wp-block-site-logo img {
        max-height: 52px !important;
        max-width: 170px !important;
        width: auto !important;
        height: auto !important;
    }

    /* Right Container & Devis CTA Button Perfectly Aligned */
    .header-right,
    .header-right .wp-block-buttons,
    .header-right .wp-block-button,
    .header-top-bar .header-cta-buttons,
    .header-right .header-cta-buttons {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 2 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    .header-cta-btn .wp-block-button__link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        padding: 0.52rem 0.8rem !important;
        letter-spacing: 0.05em !important;
        white-space: nowrap !important;
        border-radius: 4px !important;
        background-color: var(--color-cta-bg) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        margin: 0 !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .header-drawer-inner {
        padding: 1.5rem 1.25rem 4rem 1.25rem !important;
    }

    .header-drawer-navigation .wp-block-navigation-item__content {
        font-size: 1.25rem !important;
    }
}

@media screen and (max-width: 580px) {
    .header-top-bar {
        padding: 0.65rem 0.75rem !important;
        min-height: 64px !important;
    }

    .header-left-icons {
        gap: 0.5rem !important;
    }

    .header-left-icons svg,
    .header-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .header-logo-img img,
    .header-logo img,
    .wp-block-site-logo img {
        max-height: 48px !important;
        max-width: 155px !important;
    }

    /* Shorten button text to 'DEVIS' on mobile phones with 100% vertical center alignment */
    .header-cta-btn .wp-block-button__link {
        font-size: 0 !important;
        padding: 0.48rem 0.75rem !important;
        line-height: 1 !important;
    }

    .header-cta-btn .wp-block-button__link::after {
        content: "DEVIS" !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        color: #ffffff !important;
        line-height: 1 !important;
        display: block !important;
    }
}





/* ================================================
   SEARCH MODAL OVERLAY (Luxury Glassmorphism Style)
   ================================================ */
.aixpert-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
}

.aixpert-search-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.aixpert-search-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(18, 25, 33, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.aixpert-search-container {
    position: relative !important;
    z-index: 10 !important;
    width: 90% !important;
    max-width: 720px !important;
    background: #ffffff !important;
    padding: 3.5rem 3rem !important;
    border-radius: 4px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35) !important;
    transform: scale(0.94) translateY(20px) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.aixpert-search-overlay.is-active .aixpert-search-container {
    transform: scale(1) translateY(0) !important;
}

.aixpert-search-close {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #414E58 !important;
    padding: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.aixpert-search-close:hover {
    color: #7EA5A0 !important;
    transform: scale(1.15) !important;
}

.aixpert-search-title {
    font-size: 1.6rem !important;
    font-weight: 300 !important;
    color: #2c3e50 !important;
    margin: 0 0 2rem 0 !important;
    text-align: center !important;
    letter-spacing: 0.04em !important;
}

.aixpert-search-input-wrap {
    display: flex !important;
    align-items: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 0px !important;
    padding: 0.4rem 0.6rem 0.4rem 1.2rem !important;
    background: #f8fafc !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    box-sizing: border-box !important;
}

.aixpert-search-input-wrap:focus-within {
    border-color: #7EA5A0 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(126, 165, 160, 0.15) !important;
}

.aixpert-search-icon {
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
    margin-right: 0.8rem !important;
}

.aixpert-search-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    font-family: inherit !important;
    padding: 0.6rem 0 !important;
    box-sizing: border-box !important;
}

.aixpert-search-submit {
    background: #3d5261 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    flex-shrink: 0 !important;
    border-radius: 0px !important;
}

.aixpert-search-submit:hover {
    background: #2b3b47 !important;
}

.aixpert-search-suggestions {
    margin-top: 2rem !important;
    text-align: center !important;
}

.aixpert-search-suggestions span {
    display: block !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-bottom: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

.aixpert-search-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    justify-content: center !important;
}

.aixpert-search-tags a {
    background: #f1f5f9 !important;
    color: #414E58 !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    border-radius: 2px !important;
}

.aixpert-search-tags a:hover {
    background: #7EA5A0 !important;
    color: #ffffff !important;
}

/* ================================================
   CAROUSEL SECTION (Silky Smooth Infinite Circular Loop)
   ================================================ */

.carousel-section {
    padding: 5.5rem 0 4.5rem 0 !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Track Container (Dynamic translateX Smooth Centering) */
.carousel-track {
    display: flex !important;
    align-items: center !important;
    gap: 1.8rem !important;
    width: max-content !important;
    min-width: 100vw !important;
    padding: 3rem 0 2.5rem 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    transition: transform 0.95s cubic-bezier(0.1, 1, 0.2, 1);
    will-change: transform !important;
    backface-visibility: hidden !important;
    cursor: grab !important;
}

.carousel-track.is-dragging {
    cursor: grabbing !important;
    user-select: none !important;
}

/* Non-active cards (Clean tall vertical photo cards) */
.carousel-slide {
    flex: 0 0 350px !important;
    width: 350px !important;
    height: 510px !important;
    transition: transform 0.95s cubic-bezier(0.1, 1, 0.2, 1), opacity 0.75s ease, filter 0.75s ease, box-shadow 0.75s ease !important;
    opacity: 0.82 !important;
    filter: brightness(0.95) !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-radius: 0px !important;
    will-change: transform, opacity !important;
    backface-visibility: hidden !important;
}

/* Inactive slide image wrapper */
.carousel-slide:not(.is-active) .wp-block-image {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.carousel-slide:not(.is-active) img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0px !important;
    display: block !important;
}

/* Smooth fade out card text body on inactive side cards */
.carousel-slide:not(.is-active) .carousel-card-body {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(15px) !important;
}

/* Active Card (Elevated with deep drop shadow) */
.carousel-slide.is-active {
    flex: 0 0 380px !important;
    width: 380px !important;
    height: 520px !important;
    opacity: 1 !important;
    filter: brightness(1) !important;
    transform: scale(1.05) translate3d(0, -10px, 0) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid #eaeaea !important;
    z-index: 20 !important;
}

/* Active Card Image Wrapper (Strictly 230px height) */
.carousel-slide.is-active .wp-block-image {
    margin: 0 !important;
    width: 100% !important;
    height: 230px !important;
}

.carousel-slide.is-active img {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Active Card Body Container */
.carousel-card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 290px !important;
    padding: 2.2rem 2.4rem 2rem 2.4rem !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 15 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s !important;
}

.carousel-card-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 0 0.3rem 0 !important;
}

/* Accent line under active title */
.carousel-card-title::after {
    content: "" !important;
    display: block !important;
    width: 45px !important;
    height: 2px !important;
    background-color: var(--color-primary) !important;
    margin: 0.7rem auto 0 auto !important;
}

.carousel-card-text {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #666666 !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
}

/* Active Card Button */
.carousel-card-btn {
    margin: 0 !important;
    width: 100% !important;
}

.carousel-card-btn .wp-block-button__link {
    background-color: var(--color-cta-bg) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.09em !important;
    padding: 0.88rem 1.2rem !important;
    width: 100% !important;
    text-align: center !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    transition: background-color 0.25s ease !important;
    cursor: pointer !important;
}

.carousel-card-btn .wp-block-button__link:hover {
    background-color: var(--color-cta-hover) !important;
}

/* Bottom Controls (< 4 / 8 > perfectly aligned, borderless) */
.carousel-nav-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.8rem !important;
    margin-top: 2.8rem !important;
    user-select: none !important;
}

.carousel-counter-text,
.carousel-nav-controls p {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-primary) !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.carousel-nav-arrow {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    color: #2c3e50 !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.carousel-nav-arrow:hover {
    color: var(--color-primary) !important;
    transform: scale(1.25) !important;
    background: transparent !important;
    border: none !important;
}

.carousel-nav-arrow svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block !important;
}

/* Responsive adjustments for carousel */
@media screen and (max-width: 768px) {
    .carousel-track {
        padding: 1.5rem 0 2.5rem 0 !important;
    }

    .carousel-slide {
        flex: 0 0 270px !important;
        width: 270px !important;
        height: 440px !important;
    }

    .carousel-slide.is-active {
        flex: 0 0 310px !important;
        width: 310px !important;
        height: 490px !important;
        transform: scale(1.03) translateY(-8px) !important;
    }

    .carousel-slide.is-active .wp-block-image,
    .carousel-slide.is-active img {
        height: 190px !important;
    }

    .carousel-card-body {
        height: 300px !important;
        padding: 1.4rem 1.4rem 2.2rem 1.4rem !important;
    }

    .carousel-card-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.2rem !important;
    }

    .carousel-card-text {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        margin-bottom: 1.2rem !important;
    }

    .carousel-card-btn {
        margin-bottom: 0.5rem !important;
    }

    .carousel-card-btn .wp-block-button__link {
        padding: 0.75rem 1rem !important;
        font-size: 0.75rem !important;
    }
}


/* ================================================
   DOUBLE BANNER SECTION
   ================================================ */

.wp-block-cover.double-banner-cover,
.double-banner-cover {
    min-height: 850px !important;
    height: 850px !important;
}

.wp-block-cover.double-banner-cover .wp-block-cover__image-background,
.double-banner-cover .wp-block-cover__image-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.banner-link {
    display: inline-block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    border-bottom: 1.5px solid #ffffff !important;
    padding-bottom: 5px !important;
    transition: opacity 0.2s ease !important;
    text-transform: uppercase !important;
}

.banner-link:hover {
    opacity: 0.75 !important;
}

/* Responsive adjustments for columns inside covers */
@media (max-width: 782px) {
    .wp-block-cover .wp-block-columns {
        flex-direction: column !important;
    }

    .wp-block-cover .wp-block-column {
        flex-basis: 100% !important;
        text-align: center !important;
    }

    .wp-block-cover .banner-link {
        margin: 0 auto !important;
    }

    .col-store-perg {
        padding-left: 0 !important;
    }
}

/* ================================================
   PARCOURS CLIENT SECTION
   ================================================ */

.parcours-section {
    background-color: #eef2f3 !important;
    padding: 6rem 0 !important;
    text-align: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.parcours-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin: 0 auto 4rem auto !important;
}

/* Grid container */
.parcours-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 1.25rem !important;
    margin: 0 auto 4rem auto !important;
    width: 100% !important;
    max-width: 1300px !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

/* Parcours Card (Sans fond et extensible en hauteur) */
.parcours-card {
    background: transparent !important;
    border: none !important;
    padding: 2.5rem 1.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    height: 100% !important;
}

.parcours-card:hover {
    transform: translateY(-5px) !important;
}

/* --- Bordures non-continues alternées (Brackets de coins arrondis) --- */

/* CARD TYPE A (Impaires: 1, 3, 5) - Coins haut-gauche et bas-droite */
.parcours-card.type-a::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 65% !important;
    height: 65% !important;
    border-top: 1px solid #7EA5A0 !important;
    border-left: 1px solid #7EA5A0 !important;
    border-top-left-radius: 40px !important;
    pointer-events: none !important;
}

.parcours-card.type-a::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 65% !important;
    height: 65% !important;
    border-bottom: 1px solid #7EA5A0 !important;
    border-right: 1px solid #7EA5A0 !important;
    border-bottom-right-radius: 40px !important;
    pointer-events: none !important;
}

/* CARD TYPE B (Paires: 2, 4, 6) - Coins haut-droite et bas-gauche */
.parcours-card.type-b::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 65% !important;
    height: 65% !important;
    border-top: 1px solid #7EA5A0 !important;
    border-right: 1px solid #7EA5A0 !important;
    border-top-right-radius: 40px !important;
    pointer-events: none !important;
}

.parcours-card.type-b::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 65% !important;
    height: 65% !important;
    border-bottom: 1px solid #7EA5A0 !important;
    border-left: 1px solid #7EA5A0 !important;
    border-bottom-left-radius: 40px !important;
    pointer-events: none !important;
}

.parcours-number {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #7EA5A0 !important;
    line-height: 1 !important;
    margin: 0 0 1rem 0 !important;
}

.parcours-card-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 0 0.8rem 0 !important;
}

.parcours-card-text {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    color: #555555 !important;
    margin: 0 !important;
}

/* Bouton en bas */
.parcours-btn {
    margin: 0 !important;
}

.parcours-btn .wp-block-button__link {
    background-color: #34495e !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    padding: 1rem 2.2rem !important;
    border: none !important;
    text-transform: uppercase !important;
    transition: background-color 0.2s ease !important;
}

.parcours-btn .wp-block-button__link:hover {
    background-color: #2c3e50 !important;
}

/* Responsivité */
@media (max-width: 1200px) {
    .parcours-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        padding: 0 2rem !important;
    }

    .parcours-card.type-a::before,
    .parcours-card.type-a::after,
    .parcours-card.type-b::before,
    .parcours-card.type-b::after {
        width: 50% !important;
        height: 50% !important;
    }
}

@media (max-width: 768px) {
    .parcours-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .parcours-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================
   GARANTIE SECTION
   ================================================ */

.garantie-section {
    padding: 6rem 2rem !important;
    text-align: center !important;
    max-width: 1580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.garantie-logo-wrap {
    margin-bottom: 2rem !important;
    display: flex !important;
    justify-content: center !important;
}

.garantie-logo-wrap img {
    max-width: 260px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.garantie-logo-wrap img:hover {
    transform: scale(1.04) !important;
}

.garantie-title {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-bottom: 1.8rem !important;
}

.garantie-text {
    font-size: 1.12rem !important;
    line-height: 2.15 !important;
    color: #414E58 !important;
    font-weight: 400 !important;
    margin-bottom: 2.4rem !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.garantie-link {
    display: inline-block !important;
    color: #72A7A0 !important;
    text-decoration: none !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    border-bottom: 1.5px solid #72A7A0 !important;
    padding-bottom: 4px !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
    text-transform: uppercase !important;
}

.garantie-link:hover {
    opacity: 0.75 !important;
    transform: translateY(-2px) !important;
}

/* ================================================
   REASSURANCE SECTION
   ================================================ */

.reassurance-section {
    background-color: #eef2f3 !important;
    padding: 4rem 2rem !important;
    display: flex !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.reassurance-bar {
    background: #ffffff !important;
    padding: 2.5rem 3rem !important;
    width: 100% !important;
    max-width: 1300px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    align-items: center !important;
}

.reassurance-item {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
}

.reassurance-icon {
    flex-shrink: 0 !important;
    width: 58px !important;
    height: auto !important;
}

.reassurance-icon img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.reassurance-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.reassurance-title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.05em !important;
}

/* Spécifique au premier item (Avis Google non all-caps) */
.reassurance-item.google-reviews .reassurance-title {
    text-transform: none !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: #555555 !important;
}

.reassurance-desc {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.05em !important;
}

.reassurance-stars {
    width: 85px !important;
    height: auto !important;
    margin-top: 3px !important;
}

.reassurance-stars img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Responsivité */
@media (max-width: 1100px) {
    .reassurance-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem 2rem !important;
        padding: 3rem 2rem !important;
    }
}

@media (max-width: 600px) {
    .reassurance-bar {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

/* ================================================
   GOOGLE REVIEWS SECTION
   ================================================ */

.reviews-section {
    background-color: #ffffff !important;
    padding: 6rem 2rem !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.reviews-logo-wrap {
    margin: 0 auto 3rem auto !important;
    display: flex !important;
    justify-content: center !important;
    width: 180px !important;
    height: auto !important;
}

.reviews-logo-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin: 0 auto 3.5rem auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

.review-card {
    background-color: #eef2f3 !important;
    padding: 2.5rem 1.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: 100% !important;
    border-radius: 0px !important;
    margin: 0 !important;
}

.review-avatar-wrap {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: #cccccc !important;
    margin-bottom: 1.25rem !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.review-avatar-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.review-stars {
    width: 90px !important;
    height: auto !important;
    margin-bottom: 1.25rem !important;
}

.review-stars img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.review-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #444444 !important;
    margin: 0 0 1.5rem 0 !important;
    flex-grow: 1 !important;
}

.review-author {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 0 4px 0 !important;
}

.review-date {
    font-size: 0.8rem !important;
    color: #777777 !important;
    margin: 0 !important;
}

.reviews-footer {
    font-size: 0.95rem !important;
    color: #555555 !important;
    margin: 0 !important;
}

.reviews-footer strong {
    color: #2c3e50 !important;
    font-weight: 700 !important;
}

/* Responsivité */
@media (max-width: 1100px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ================================================
   PARTNERS SECTION
   ================================================ */

.partners-section {
    background-color: #eef2f3 !important;
    padding: 6rem 0 !important;
    text-align: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.partners-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin: 0 auto 4rem auto !important;
}

.partners-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1350px !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

.partner-item {
    padding: 1.5rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(44, 62, 80, 0.25) !important;
    height: 100% !important;
}

.partner-item:first-child,
.parcours-card:first-child,
.reassurance-item:first-child {
    border-left: none !important;
    margin-block-start: 1.2rem !important;
}

.partner-logo-wrap {
    height: 85px !important;
    width: 100% !important;
    max-width: 210px !important;
    margin: 0 0 2rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partner-logo-wrap img,
.partner-logo-wrap figure img {
    max-height: 65px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.partner-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #555555 !important;
    margin: 0 !important;
    max-width: 250px !important;
    text-align: center !important;
}

/* Responsivité */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 3rem !important;
    }

    .partner-item {
        border-left: none !important;
        padding: 1.5rem 2rem !important;
    }

    /* Ligne verticale entre les deux colonnes sur tablette */
    .partner-item:nth-child(even) {
        border-left: 1px solid rgba(44, 62, 80, 0.2) !important;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr !important;
        row-gap: 3rem !important;
    }

    .partner-item {
        border-left: none !important;
        border-bottom: 1px solid rgba(44, 62, 80, 0.15) !important;
        padding: 0 0 2rem 0 !important;
        margin: 0 1.5rem !important;
    }

    .partner-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .partner-item:nth-child(even) {
        border-left: none !important;
    }
}

/* ================================================
   FOOTER SECTION (Ultra Wide Layout - 1820px Container)
   ================================================ */

.site-footer {
    background-color: #ffffff !important;
    padding: 3.5rem 0 1rem 0 !important;
    border-top: 1px solid #eaeaea !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
}

.footer-inner {
    width: 100% !important;
    max-width: 1820px !important;
    margin: 0 auto !important;
    padding: 0 2.5rem !important;
    box-sizing: border-box !important;
}

/* 3-Column Layout (1820px max-width centered with 2.5rem padding) */
.footer-columns {
    display: flex !important;
    gap: 4rem !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 1820px !important;
    margin: 0 auto 2.5rem auto !important;
    padding: 0 2.5rem !important;
    box-sizing: border-box !important;
}

/* Column 1: Latest Blog Post Card (Starts at line 0, 490px tall matching nav columns) */
.footer-blog-col {
    flex: 0 0 400px !important;
    width: 400px !important;
    max-width: 400px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.footer-blog-col ul,
.footer-blog-col li,
.footer-blog-col .wp-block-post-template {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    height: 100% !important;
}

.footer-blog-card {
    position: relative !important;
    width: 100% !important;
    height: 490px !important;
    min-height: 490px !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    border-radius: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 2.5rem 2.2rem !important;
    box-sizing: border-box !important;
    background-color: #2c3e50 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Blog Card Image (Positioned absolutely behind text for both static & WP Query images) */
.footer-blog-card .wp-block-post-featured-image,
.footer-blog-card .wp-block-image,
.footer-blog-card figure {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 1 !important;
}

.footer-blog-card .wp-block-post-featured-image img,
.footer-blog-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.footer-blog-card:hover img {
    transform: scale(1.06) !important;
}

/* Dark Gradient Overlay over image */
.footer-blog-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(14, 20, 24, 0.92) 0%, rgba(14, 20, 24, 0.45) 55%, rgba(14, 20, 24, 0) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Blog Title & Link (Positioned over gradient) */
.footer-blog-title,
.footer-blog-card .wp-block-post-title,
.footer-blog-card h3 {
    position: relative !important;
    z-index: 10 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin: 0 0 0.8rem 0 !important;
    line-height: 1.35 !important;
}

.footer-blog-card .wp-block-post-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-blog-card p {
    position: relative !important;
    z-index: 10 !important;
    margin: 0 !important;
}

.footer-blog-link,
.footer-blog-card p a {
    position: relative !important;
    z-index: 10 !important;
    display: inline-block !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    border-bottom: 1.5px solid #ffffff !important;
    padding-bottom: 3px !important;
    text-decoration: none !important;
    transition: opacity 0.25s ease !important;
}

.footer-blog-card:hover .footer-blog-link,
.footer-blog-card:hover p a {
    opacity: 0.8 !important;
}

/* Columns 2 & 3: Navigation Links */
.footer-nav-col {
    flex: 1 1 auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Section Titles (Color #414E58, Font-size 1.2rem, strict top margin: 0) */
.footer-col-title,
.footer-nav-col h4,
.footer-nav-col h3,
.footer-nav-col .wp-block-heading {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    margin: 0 0 1.4rem 0 !important;
    padding-top: 0 !important;
    letter-spacing: 0.02em !important;
}

.footer-sub-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    margin: 2.5rem 0 1.4rem 0 !important;
    letter-spacing: 0.02em !important;
}

/* Navigation Lists (Font 1.02rem) */
.footer-nav-list,
.footer-nav-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
}

.footer-nav-list li,
.footer-nav-col li {
    margin-bottom: 0.75rem !important;
}

.footer-nav-list a,
.footer-nav-col a {
    color: #555555 !important;
    text-decoration: none !important;
    font-size: 1.02rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    display: inline-block !important;
}

.footer-nav-list a:hover,
.footer-nav-col a:hover {
    color: #72A7A0 !important;
    padding-left: 3px !important;
}

/* "Demander un devis →" Link (STRICTLY FORCED COLOR #72A7A0) */
a.footer-devis-link,
.footer-nav-col a.footer-devis-link,
.site-footer a.footer-devis-link,
.wp-block-group a.footer-devis-link,
.footer-devis-link {
    color: #72A7A0 !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    margin-top: 1.8rem !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

a.footer-devis-link:hover,
.footer-devis-link:hover {
    color: #72A7A0 !important;
    opacity: 0.8 !important;
    transform: translateX(5px) !important;
}

/* Bottom Bar Divider Line (Color #414E58, 1.5px thick, aligned inside 1820px container with 2.5rem padding) */
.footer-divider-container {
    position: relative !important;
    width: 100% !important;
    max-width: 1820px !important;
    margin: 2.5rem auto 0 auto !important;
    padding: 1.5rem 2.5rem 0 2.5rem !important;
    box-sizing: border-box !important;
    border-top: 1.5px solid #414E58 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Social Media Icons (Right aligned, floating DIRECTLY ON TOP of the #414E58 divider line!) */
.footer-socials {
    position: absolute !important;
    top: -36px !important;
    right: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    background-color: #ffffff !important;
    padding: 0 0.4rem 4px 0.8rem !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.footer-social-img {
    margin: 0 !important;
    display: inline-block !important;
}

.footer-social-img img,
.footer-socials img {
    height: 22px !important;
    width: auto !important;
    display: block !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.footer-social-img a:hover img,
.footer-socials a:hover img {
    transform: scale(1.15) !important;
    opacity: 0.8 !important;
}

/* Bottom Center Logo AIX'PERT (Minimal padding above and below!) */
.footer-bottom-logo {
    margin-top: 0.8rem !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
}

.footer-bottom-logo img {
    max-width: 240px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .site-footer {
        padding: 3rem 0 1rem 0 !important;
    }

    .footer-columns,
    .footer-divider-container {
        padding: 0 2rem !important;
    }

    .footer-columns {
        flex-direction: column !important;
        gap: 3rem !important;
        align-items: stretch !important;
    }

    .footer-blog-col {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-blog-card {
        min-height: 380px !important;
        height: 380px !important;
    }

    .footer-divider-container {
        margin-top: 2.5rem !important;
    }

    .footer-socials {
        position: absolute !important;
        top: -14px !important;
        right: 2rem !important;
        padding: 0 0.4rem 0 0.8rem !important;
    }
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 0 1rem 0 !important;
    }

    .footer-columns,
    .footer-divider-container {
        padding: 0 1.5rem !important;
    }

    .footer-columns {
        gap: 2.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-blog-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-blog-card {
        height: 300px !important;
        min-height: 300px !important;
        padding: 2rem 1.5rem !important;
        text-align: left !important;
    }

    .footer-blog-title,
    .footer-blog-card .wp-block-post-title,
    .footer-blog-card h3 {
        font-size: 1.1rem !important;
    }

    .footer-nav-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-col-title,
    .footer-nav-col h4,
    .footer-nav-col h3,
    .footer-nav-col .wp-block-heading,
    .footer-sub-title {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-nav-list,
    .footer-nav-col ul {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-nav-list li,
    .footer-nav-col li {
        text-align: center !important;
        margin-bottom: 0.8rem !important;
    }

    .footer-devis-link,
    a.footer-devis-link {
        justify-content: center !important;
        margin: 1.5rem auto 0 auto !important;
        text-align: center !important;
    }

    .footer-divider-container {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
        align-items: center !important;
    }

    .footer-socials {
        position: relative !important;
        top: 0 !important;
        right: auto !important;
        margin-bottom: 1.2rem !important;
        justify-content: center !important;
        padding: 0 !important;
        background-color: transparent !important;
    }

    .footer-bottom-logo {
        margin-top: 0.5rem !important;
        justify-content: center !important;
    }

    .footer-bottom-logo img {
        max-width: 200px !important;
    }
}

/* ================================================
   CATEGORY MATERIAL SHOWCASE SECTION
   ================================================ */

/* --- Material Anchor Navigation Bar (Full 100vw Edge-to-Edge Line, Items aligned with 1580px Container) --- */
.material-anchor-nav,
.wp-block-group.material-anchor-nav {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
    padding-top: 2.2rem !important;
    padding-bottom: 1.8rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 3.5rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.material-anchor-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 100vw Full Screen Width Separator Line */
.material-anchor-nav::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: calc(-1 * (100vw - 100%) / 2) !important;
    width: 100vw !important;
    height: 1.5px !important;
    background-color: #dcdfe4 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

[class*="material-anchor-nav"]>*,
div.material-anchor-nav>*,
.material-anchor-nav p,
.material-anchor-nav .wp-block-paragraph,
.material-anchor-nav a {
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 0 !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    float: none !important;
    display: inline-block !important;
}

main .wp-block-group:has(.material-anchor-nav),
main>div:has(.material-anchor-nav),
.entry-content:has(.material-anchor-nav) {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.material-anchor-nav a {
    color: #555555 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 2.5px solid transparent !important;
    white-space: nowrap !important;
    transition: color 0.25s ease, border-bottom-color 0.25s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.material-anchor-nav a:focus,
.material-anchor-nav a:active,
.material-anchor-nav a:visited {
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.material-anchor-nav a:not(.is-active):not(:hover) {
    color: #555555 !important;
    border-bottom: 2.5px solid transparent !important;
    border-bottom-color: transparent !important;
    text-decoration: none !important;
}

.material-anchor-nav a:hover,
.material-anchor-nav a.is-active {
    color: #414E58 !important;
    border-bottom: 2.5px solid #414E58 !important;
    border-bottom-color: #414E58 !important;
    text-decoration: none !important;
}

/* --- Intro Section ("LA GAMME FENÊTRES") --- */
.material-intro-section {
    max-width: 1580px !important;
    margin: 5rem auto 4rem auto !important;
    padding: 0 3rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.material-intro-tag {
    color: #72A7A0 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 0 1rem 0 !important;
}

.material-intro-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #414E58 !important;
    margin: 0 !important;
}

.material-intro-text p {
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    color: #555555 !important;
    margin: 0 0 1.5rem 0 !important;
}

.material-intro-text p:last-child {
    margin-bottom: 0 !important;
}

/* --- Material Cards 2-Column Grid --- */
.material-grid-container {
    max-width: 1580px !important;
    margin: 0 auto 6rem auto !important;
    padding: 0 3rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5rem !important;
    box-sizing: border-box !important;
}

.material-grid-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3.5rem !important;
    align-items: start !important;
}

.material-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    scroll-margin-top: 100px !important;
}

.material-card-name {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.material-card-img-wrap {
    width: 100% !important;
    height: 420px !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #f4f6f8 !important;
}

.material-card-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.material-card:hover .material-card-img-wrap img {
    transform: scale(1.05) !important;
}

.material-card-desc {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    margin: 0 !important;
}

/* Dots Specs Rating Table */
.material-card-specs {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    margin: 0.5rem 0 1rem 0 !important;
}

.spec-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.spec-label {
    font-family: var(--font-primary) !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    color: #414E58 !important;
    text-transform: uppercase !important;
}

.spec-dots {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
}

.spec-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.spec-dot.filled {
    background-color: #72A7A0 !important;
}

.spec-dot.empty {
    border: 1.5px solid #72A7A0 !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
}

/* Material CTA Link ("DEMANDER UN DEVIS PVC →") */
.material-card-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    color: #72A7A0 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin-top: 0.5rem !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.material-card-link:hover {
    opacity: 0.8 !important;
    transform: translateX(5px) !important;
}

/* --- High-End Luxury Scroll Reveal Animation (Luberon Architecture Style) --- */
.reveal-on-scroll {
    opacity: 0 !important;
    transform: translateY(65px) scale(0.97) !important;
    filter: blur(6px) !important;
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.1s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform, filter !important;
}

.reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0px) !important;
}

/* Image subtle reveal scaling effect */
.material-card .material-card-img-wrap img {
    transform: scale(1.08) !important;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.material-card.is-visible .material-card-img-wrap img {
    transform: scale(1) !important;
}

.material-card.is-visible:hover .material-card-img-wrap img {
    transform: scale(1.05) !important;
}

.reveal-delay-1 {
    transition-delay: 0.18s !important;
}

.reveal-delay-2 {
    transition-delay: 0.35s !important;
}

.reveal-delay-3 {
    transition-delay: 0.5s !important;
}

/* Responsive adjustments for Material Grid */
/* Responsive adjustments for Material Grid & Mobile Gutenberg Layout */
@media screen and (max-width: 992px) {

    /* Kill triple-nested Gutenberg global paddings on mobile */
    main.has-global-padding,
    div.has-global-padding,
    .wp-block-group.has-global-padding,
    .entry-content.has-global-padding,
    .wp-block-post-content.has-global-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Force all layout constrained children on mobile to take 100% full width */
    :where(.is-layout-constrained)> :not(.alignleft):not(.alignright),
    .is-layout-constrained>*,
    .wp-block-post-content.is-layout-constrained>*,
    .entry-content.is-layout-constrained>* {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: unset;
        box-sizing: border-box !important;
    }

    .material-anchor-nav,
    .wp-block-group.material-anchor-nav {
        padding: 1rem 1.5rem !important;
        gap: 1.8rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .material-anchor-nav a {
        font-size: 0.88rem !important;
        padding-bottom: 0.3rem !important;
    }

    /* Set clean, spacious full-width container styling on mobile */
    .material-intro-section,
    .material-grid-container,
    .wp-block-group.material-grid-container,
    .wp-block-columns.material-intro-section,
    div.material-grid-container,
    div.material-intro-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box !important;
    }

    .material-grid-row,
    .wp-block-columns.material-grid-row,
    div[class*="material-grid-row"] {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        gap: 3.5rem !important;
    }

    /* Force material cards to 100% full width */
    .material-card,
    .wp-block-column.material-card,
    .wp-block-aixpert-aixpert-material-card,
    div[class*="material-card"] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex-basis: 100% !important;
        flex: 1 1 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
        text-align: left !important;
    }

    /* Override Gutenberg wp-block-image display:table constraint */
    figure.material-card-img-wrap,
    .wp-block-image.material-card-img-wrap,
    .material-card-img-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 280px !important;
        margin: 0 0 1.2rem 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    figure.material-card-img-wrap img,
    .wp-block-image.material-card-img-wrap img,
    .material-card-img-wrap img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
    }

    .material-card-desc,
    .material-card-name,
    .material-card-specs,
    .material-card-link,
    .material-card p,
    .material-card .wp-block-paragraph {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 640px) {

    .material-intro-section,
    .material-grid-container,
    .wp-block-group.material-grid-container,
    .wp-block-columns.material-intro-section,
    div.material-grid-container,
    div.material-intro-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .material-grid-container {
        gap: 3rem !important;
        margin-bottom: 3rem !important;
    }

    .material-grid-row {
        gap: 3rem !important;
    }

    .material-card-name {
        font-size: 1.3rem !important;
    }

    figure.material-card-img-wrap,
    .wp-block-image.material-card-img-wrap,
    .material-card-img-wrap {
        height: 240px !important;
    }

    .material-card-desc {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
    }

    .spec-row {
        gap: 0.5rem !important;
    }

    .spec-label {
        font-size: 0.78rem !important;
        letter-spacing: 0.04em !important;
    }

    .spec-dots {
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .spec-dot {
        width: 8px !important;
        height: 8px !important;
    }
}


footer.wp-block-template-part {
    margin-block-start: 0px !important;
}

/* ================================================
   PARCOURS CLIENT - SECTION 1 (LES 6 ÉTAPES)
   ================================================ */

.parcours-steps-section {
    max-width: 1580px !important;
    margin: 5rem auto 6rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.parcours-steps-intro {
    font-size: 1.35rem !important;
    line-height: 1.6 !important;
    color: #414E58 !important;
    font-weight: 400 !important;
    max-width: 680px !important;
    margin: 0 0 3.5rem 0 !important;
}

.parcours-steps-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.4rem !important;
    width: 100% !important;
}

/* Pill-shaped step cards (Border-radius 50px, Mint Green border #72A7A0) */
.parcours-step-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 100% !important;
    min-height: 105px !important;
    gap: 2.8rem !important;
    padding: 2.2rem 3.5rem !important;
    background-color: #ffffff !important;
    border: 1.5px solid #72A7A0 !important;
    border-radius: 60px !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease !important;
}

.parcours-step-card:hover {
    transform: translateY(-4px) !important;
    border-color: #588780 !important;
    box-shadow: 0 12px 35px rgba(114, 167, 160, 0.14) !important;
}

/* Step Number (Big Mint Green #72A7A0) */
.step-number {
    font-size: 2.3rem !important;
    font-weight: 800 !important;
    color: #72A7A0 !important;
    min-width: 60px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Step Title (Bold Dark Slate #414E58) */
.step-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    min-width: 220px !important;
    margin: 0 !important;
    letter-spacing: 0.01em !important;
}

/* Step Description Paragraph */
.step-desc {
    font-size: 1.02rem !important;
    line-height: 1.55 !important;
    color: #666666 !important;
    margin: 0 !important;
    flex: 1 !important;
}

/* Mobile Responsiveness for Step Cards */
@media screen and (max-width: 992px) {
    .parcours-steps-section {
        padding: 0 1.5rem !important;
        margin: 3.5rem auto 4rem auto !important;
    }

    .parcours-steps-intro {
        font-size: 1.15rem !important;
        margin-bottom: 2.5rem !important;
    }

    .parcours-step-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
        padding: 1.8rem 2rem !important;
        border-radius: 28px !important;
    }

    .step-number {
        font-size: 2rem !important;
    }

    .step-title {
        min-width: auto !important;
        font-size: 1.1rem !important;
    }

    .step-desc {
        font-size: 0.95rem !important;
    }
}

/* ================================================
   PARCOURS CLIENT - ESPACE CLIENT CTA
   ================================================ */
.parcours-espace-client-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1580px !important;
    margin: 4rem auto 6rem auto !important;
    padding: 3rem 4rem !important;
    background-color: #3d5261 !important;
    /* Slate Blue */
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(61, 82, 97, 0.15) !important;
    color: #ffffff !important;
    gap: 2rem !important;
    box-sizing: border-box !important;
}

.parcours-espace-client-cta .cta-content {
    flex: 1 !important;
}

.parcours-espace-client-cta .cta-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    margin: 0 0 0.8rem 0 !important;
}

.parcours-espace-client-cta .cta-title::before {
    content: "" !important;
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2372A7A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'></path><circle cx='12' cy='7' r='4'></circle></svg>") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
}

.parcours-espace-client-cta .cta-desc {
    color: #eef2f3 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    max-width: 800px !important;
    margin: 0 !important;
}

.parcours-espace-client-cta .cta-btn .wp-block-button__link {
    background-color: #72A7A0 !important;
    /* Mint Green */
    color: #ffffff !important;
    border: none !important;
    padding: 1.1rem 2.2rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
    white-space: nowrap !important;
}

.parcours-espace-client-cta .cta-btn .wp-block-button__link:hover {
    background-color: #588780 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(114, 167, 160, 0.3) !important;
}

@media screen and (max-width: 992px) {
    .parcours-espace-client-cta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem !important;
        padding: 2.5rem 2rem !important;
        margin: 2rem 1.5rem 4rem 1.5rem !important;
    }

    .parcours-espace-client-cta .cta-title {
        font-size: 1.4rem !important;
    }

    .parcours-espace-client-cta .wp-block-buttons,
    .parcours-espace-client-cta .cta-btn {
        width: 100% !important;
    }

    .parcours-espace-client-cta .cta-btn .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* ================================================
   PARCOURS CLIENT - SECTION 2 (QUI SOMMES-NOUS / 100vw BREAKOUT)
   ================================================ */

.parcours-about-section {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Neutralize Gutenberg block theme margin-block-start on both columns */
.parcours-about-grid,
.parcours-about-grid>*,
.parcours-about-img-col,
.parcours-about-content-col {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.parcours-about-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 640px !important;
    min-height: 640px !important;
    max-height: 640px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Left Column: Fleet Image (Locked 640px Height) */
.parcours-about-img-col {
    flex: 1 1 50% !important;
    width: 50% !important;
    height: 640px !important;
    max-height: 640px !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.parcours-about-img-col .wp-block-image,
.parcours-about-img-col figure {
    width: 100% !important;
    height: 640px !important;
    max-height: 640px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.parcours-about-img-col img {
    width: 100% !important;
    height: 640px !important;
    max-height: 640px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Right Column: Light Ice Grey Content Box (Locked 640px Height) */
.parcours-about-content-col {
    flex: 1 1 50% !important;
    width: 50% !important;
    height: 640px !important;
    max-height: 640px !important;
    background-color: #eef2f3 !important;
    padding: 4.8rem 5.5rem 4.8rem 4.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

.parcours-about-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 0 1rem 0 !important;
}

.parcours-about-text p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #555555 !important;
    margin: 0 0 0.75rem 0 !important;
}

.parcours-about-text p:last-child {
    margin-bottom: 1.5rem !important;
}

/* Button: DÉCOUVRIR NOS CERTIFICATIONS (Slate Blue #3d5261) */
.btn-certifications .wp-block-button__link,
a.btn-certifications {
    background-color: #3d5261 !important;
    color: #ffffff !important;
    padding: 0.9rem 1.8rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
}

.btn-certifications .wp-block-button__link:hover,
a.btn-certifications:hover {
    background-color: #2c3e50 !important;
    transform: translateY(-2px) !important;
}

/* Responsive Layout */
@media screen and (max-width: 992px) {
    .parcours-about-grid {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .parcours-about-img-col,
    .parcours-about-img-col .wp-block-image,
    .parcours-about-img-col figure,
    .parcours-about-img-col img {
        height: 320px !important;
        min-height: 320px !important;
        max-height: 320px !important;
    }

    .parcours-about-content-col {
        height: auto !important;
        max-height: none !important;
        padding: 3.5rem 1.8rem !important;
    }

    .parcours-about-title {
        font-size: 1.25rem !important;
    }

    .parcours-about-text p {
        font-size: 0.98rem !important;
    }
}

/* ================================================
   PARCOURS CLIENT - SECTION 3 (NOS VALEURS & EXIGENCES)
   ================================================ */

.parcours-valeurs-section {
    max-width: 1580px !important;
    margin: 6rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.parcours-valeurs-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 0 1rem 0 !important;
}

.parcours-valeurs-subtitle {
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
    color: #414E58 !important;
    text-align: center !important;
    max-width: 780px !important;
    margin: 0 auto 3.5rem auto !important;
}

/* 4 Mint-Green Cards Grid (Neutralize Gutenberg sibling margin-block-start) */
.parcours-valeurs-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    align-items: stretch !important;
    gap: 1.6rem !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.parcours-valeurs-grid>*,
.valeur-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    background-color: #72A7A0 !important;
    border-radius: 24px !important;
    padding: 2.8rem 1.8rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease !important;
}

.valeur-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 35px rgba(114, 167, 160, 0.35) !important;
}

.valeur-card-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin: 0 0 1.1rem 0 !important;
    text-align: center !important;
}

.valeur-card-text {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Exigences de Qualité Sub-Section */
.parcours-exigences-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 5.5rem 0 3rem 0 !important;
}

.parcours-exigences-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.parcours-exigences-list p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #414E58 !important;
    margin: 0 !important;
}

.parcours-exigences-list p strong {
    color: #414E58 !important;
    font-weight: 700 !important;
}

/* Responsive Layout */
@media screen and (max-width: 1024px) {
    .parcours-valeurs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media screen and (max-width: 640px) {
    .parcours-valeurs-section {
        padding: 0 1.5rem !important;
        margin: 4rem auto !important;
    }

    .parcours-valeurs-grid {
        grid-template-columns: 1fr !important;
    }

    .parcours-exigences-title {
        margin-top: 4rem !important;
        font-size: 1.3rem !important;
    }

    .parcours-exigences-list p {
        font-size: 0.98rem !important;
    }
}

/* ================================================
   PARCOURS CLIENT - FINAL CTA DEVIS
   ================================================ */
.parcours-final-cta {
    max-width: 1580px !important;
    margin: 0 auto 6rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.parcours-final-cta-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 5rem 4rem !important;
    background: linear-gradient(135deg, #f8fafb 0%, #eef2f3 60%, #e4ecec 100%) !important;
    border-radius: 24px !important;
    border: 1.5px solid rgba(114, 167, 160, 0.25) !important;
    overflow: hidden !important;
}

/* Accent coin décoratif vert menthe */
.parcours-final-cta-inner::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 180px !important;
    height: 180px !important;
    background: radial-gradient(circle at 0% 0%, rgba(114, 167, 160, 0.18) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.parcours-final-cta-inner::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 220px !important;
    height: 220px !important;
    background: radial-gradient(circle at 100% 100%, rgba(114, 167, 160, 0.12) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.parcours-final-cta-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    background-color: rgba(114, 167, 160, 0.12) !important;
    border-radius: 50% !important;
    margin-bottom: 1.5rem !important;
    flex-shrink: 0 !important;
}

.parcours-final-cta-icon svg {
    width: 30px !important;
    height: 30px !important;
    stroke: #72A7A0 !important;
}

.parcours-final-cta-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    max-width: 680px !important;
    line-height: 1.3 !important;
    margin: 0 0 1rem 0 !important;
}

.parcours-final-cta-desc {
    font-size: 1.08rem !important;
    color: #666666 !important;
    line-height: 1.65 !important;
    max-width: 540px !important;
    margin: 0 0 2.5rem 0 !important;
}

.parcours-final-cta-btn .wp-block-button__link {
    background-color: #3d5261 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1.15rem 2.8rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.parcours-final-cta-btn .wp-block-button__link:hover {
    background-color: #2c3e50 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(61, 82, 97, 0.3) !important;
}

@media screen and (max-width: 768px) {
    .parcours-final-cta {
        padding: 0 1.5rem !important;
        margin-bottom: 4rem !important;
    }

    .parcours-final-cta-inner {
        padding: 3rem 1.5rem !important;
    }

    .parcours-final-cta-title {
        font-size: 1.5rem !important;
    }

    .parcours-final-cta-desc {
        font-size: 1rem !important;
    }

    .parcours-final-cta-btn .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ================================================
   AMBASSADEURS PAGE - BRAND PARTNERS ZIG-ZAG GRID
   ================================================ */

.ambassadeurs-list-section {
    max-width: 1580px !important;
    margin: 5rem auto 7rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.ambassadeurs-section-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 0 5rem 0 !important;
}

.ambassadeurs-rows-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 6rem !important;
    width: 100% !important;
}

/* Row Grid */
.ambassadeurs-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    gap: 5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Neutralize Gutenberg sibling top margin */
.ambassadeurs-row>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

/* Logo Column */
.ambassadeurs-logo-col {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
}

.ambassadeurs-logo-col img,
.ambassadeurs-logo-col figure img {
    max-width: 320px !important;
    max-height: 130px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(0) !important;
    transition: transform 0.3s ease !important;
}

.ambassadeurs-logo-col img:hover {
    transform: scale(1.05) !important;
}

/* Text Column */
.ambassadeurs-text-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.ambassadeurs-text-col p {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
    color: #414E58 !important;
    margin: 0 !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {
    .ambassadeurs-list-section {
        padding: 0 1.5rem !important;
        margin: 3.5rem auto 5rem auto !important;
    }

    .ambassadeurs-section-title {
        margin-bottom: 3rem !important;
        font-size: 1.3rem !important;
    }

    .ambassadeurs-rows-wrapper {
        gap: 4rem !important;
    }

    .ambassadeurs-row {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* On mobile, logo always comes first */
    .ambassadeurs-row.reverse-row .ambassadeurs-logo-col {
        order: -1 !important;
    }

    .ambassadeurs-logo-col img {
        max-width: 240px !important;
        max-height: 90px !important;
    }
}

/* ================================================
   AMBASSADEURS PAGE - SECTION 2 (NOS CERTIFICATIONS & FOOTER TEXT)
   ================================================ */

/* Part 1: Full 100vw Breakout Light Ice-Grey Section (#eef2f3) */
.certifications-section {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background-color: #eef2f3 !important;
    padding: 5rem 0 6rem 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.certifications-inner {
    max-width: 1580px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.certifications-section-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    margin: 0 0 3.5rem 0 !important;
}

.certifications-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.certification-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.certification-logo-wrap {
    margin-bottom: 2rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 180px !important;
}

.certification-logo-wrap img {
    max-width: 200px !important;
    max-height: 170px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.certification-logo-wrap img:hover {
    transform: scale(1.05) !important;
}

.certification-desc {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
    color: #414E58 !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Part 2: Centered Explanatory Text Blocks (White Background) */
.certifications-footer-text-section {
    max-width: 1580px !important;
    margin: 0 auto !important;
    padding: 5.5rem 3rem 6rem 3rem !important;
    box-sizing: border-box !important;
}

.certifications-footer-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.8rem !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.certifications-footer-text-wrap p {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: #414E58 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Responsive Layout */
@media screen and (max-width: 992px) {

    .certifications-inner,
    .certifications-footer-text-section {
        padding: 0 1.5rem !important;
    }

    .certifications-section {
        padding: 3.5rem 0 4.5rem 0 !important;
    }

    .certifications-grid {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
    }

    .certifications-section-title {
        font-size: 1.3rem !important;
        margin-bottom: 2.5rem !important;
    }

    .certifications-footer-text-section {
        padding: 4rem 1.5rem 4.5rem 1.5rem !important;
    }

    .certifications-footer-text-wrap p {
        font-size: 0.98rem !important;
    }
}

/* ================================================
   FOURNISSEURS PAGE - SECTION 1 (IMAGE + TEXT INTRO GRID)
   ================================================ */

.fournisseurs-intro-section {
    max-width: 1580px !important;
    margin: 6rem auto 6rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.fournisseurs-intro-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    gap: 4.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Neutralize Gutenberg sibling top margin */
.fournisseurs-intro-grid>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

/* Left Image Column */
.fournisseurs-intro-image-col {
    width: 100% !important;
    box-sizing: border-box !important;
}

.fournisseurs-intro-image-col img,
.fournisseurs-intro-image-col figure img {
    width: 100% !important;
    height: auto !important;
    max-height: 480px !important;
    object-fit: cover !important;
    border-radius: 0px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.4s ease !important;
}

.fournisseurs-intro-image-col img:hover {
    transform: scale(1.02) !important;
}

/* Right Text Column */
.fournisseurs-intro-text-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.6rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.fournisseurs-intro-text-col p {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: #414E58 !important;
    margin: 0 !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {
    .fournisseurs-intro-section {
        padding: 0 1.5rem !important;
        margin: 4rem auto 4rem auto !important;
    }

    .fournisseurs-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .fournisseurs-intro-text-col p {
        font-size: 0.98rem !important;
        line-height: 1.65 !important;
    }
}

/* ================================================
   FOURNISSEURS PAGE - SECTION 2 (NOS FOURNISSEURS 4-COLUMN LOGO GRID)
   ================================================ */

.fournisseurs-grid-section {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background-color: #eef2f3 !important;
    padding: 5.5rem 0 6.5rem 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.fournisseurs-inner {
    max-width: 1580px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.fournisseurs-section-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    margin: 0 0 4rem 0 !important;
}

/* 4-Column Logo Grid */
.fournisseurs-logos-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3.5rem 2.8rem !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Neutralize Gutenberg sibling top margin */
.fournisseurs-logos-grid>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.fournisseur-logo-item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 110px !important;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
}

.fournisseur-logo-item img,
.fournisseur-logo-item figure img {
    max-width: 240px !important;
    max-height: 95px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.fournisseur-logo-item img:hover,
.fournisseur-logo-item figure img:hover {
    transform: scale(1.06) !important;
}

/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 1024px) {
    .fournisseurs-logos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem 1.8rem !important;
    }
}

@media screen and (max-width: 640px) {
    .fournisseurs-inner {
        padding: 0 1.5rem !important;
    }

    .fournisseurs-grid-section {
        padding: 4rem 0 4.5rem 0 !important;
    }

    .fournisseurs-logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.2rem !important;
    }

    .fournisseurs-section-title {
        font-size: 1.3rem !important;
        margin-bottom: 2.5rem !important;
    }

    .fournisseur-logo-item {
        height: 85px !important;
    }

    .fournisseur-logo-item img {
        max-width: 160px !important;
        max-height: 70px !important;
    }
}

/* ================================================
   RENCONTRONS-NOUS PAGE - SECTION 1 (CONTACT DETAILS & OPLEAD FORM GRID)
   ================================================ */

.contact-main-section {
    max-width: 1580px !important;
    margin: 6rem auto 7rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch !important;
    gap: 5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Neutralize Gutenberg sibling top margin */
.contact-grid>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

/* Left Column: Contact Information */
.contact-info-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.contact-title {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 0 1.2rem 0 !important;
}

.contact-intro-text {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #414E58 !important;
    margin: 0 0 2rem 0 !important;
    max-width: 580px !important;
}

.contact-divider {
    border: none !important;
    border-bottom: 1.5px solid #dcdfe4 !important;
    margin: 0 0 2.5rem 0 !important;
    width: 100% !important;
}

/* Contact Details Rows */
.contact-details-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.8rem !important;
    width: 100% !important;
}

.contact-detail-row {
    display: grid !important;
    grid-template-columns: 170px 1fr !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

.contact-label {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #72A7A0 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.contact-value,
.contact-value a {
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #414E58 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 !important;
    transition: color 0.25s ease !important;
}

.contact-value a:hover {
    color: #72A7A0 !important;
}

/* Right Column: Formulaire Oplead Iframe */
.oplead-form-placeholder {
    background-color: #d9d9d9 !important;
    border-radius: 0px !important;
    min-height: 480px !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 3rem 2rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* OPLead iframe auto-resize container */
.oplead-iframe-wrapper {
    width: 100% !important;
    overflow: hidden !important;
}

.oplead-iframe-wrapper iframe,
iframe[src*="oplead.com"],
iframe[src*="forms.oplead.com"] {
    display: block !important;
    width: 100% !important;
    min-height: 1400px !important;
    height: 1400px !important;
    border: none !important;
    overflow: hidden !important;
}

.oplead-placeholder-text {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 992px) {
    .contact-main-section {
        padding: 0 1.5rem !important;
        margin: 4rem auto 5rem auto !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
    }

    .contact-detail-row {
        grid-template-columns: 140px 1fr !important;
        gap: 1rem !important;
    }

    .contact-label {
        font-size: 0.88rem !important;
    }

    .contact-value,
    .contact-value a {
        font-size: 0.95rem !important;
    }

    .oplead-form-placeholder {
        min-height: 350px !important;
    }
}

/* ================================================
   RENCONTRONS-NOUS PAGE - SECTION 2 (NOTRE ZONE D'INTERVENTION 100VW MAP)
   ================================================ */

.map-section {
    width: 100% !important;
    margin: 5rem auto 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.map-section-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 0 3.5rem 0 !important;
}

/* Full 100vw Breakout Map Container */
.map-banner-wrapper {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.map-banner-wrapper figure,
.map-banner-wrapper .wp-block-image {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.map-banner-wrapper img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    cursor: pointer !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease !important;
}

.map-banner-wrapper a:hover img,
.map-banner-wrapper img:hover {
    transform: scale(1.015) !important;
    filter: brightness(1.02) !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .map-section-title {
        font-size: 1.3rem !important;
        margin-bottom: 2.5rem !important;
    }

    .map-banner-wrapper img {
        height: auto !important;
    }
}

/* ================================================
   SINGLE BLOG POST PAGE STYLING (body.single-post & body.single)
   ================================================ */

/* Header background ON SINGLE BLOG PAGES ONLY (Relative positioning with dark slate background so white logo/nav links stand out) */
body.single-post .wp-site-blocks>header,
body.single-post .site-header-wrap,
body.single .wp-site-blocks>header,
body.single .site-header-wrap,
body.single-post header,
body.single header,
body.single-post .site-header,
body.single .site-header,
body.single .header-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 999 !important;
    background-color: #1a252f !important;
    background: #1a252f !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 0 !important;
}

/* Single Post Main Container */
body.single-post main#wp--skip-link--target,
body.single-post .wp-site-blocks>main,
body.single main#wp--skip-link--target,
body.single .wp-site-blocks>main,
body.single-post main,
body.single main,
.blog-post-main {
    position: relative !important;
    max-width: 1200px !important;
    margin: 3.5rem auto 6rem auto !important;
    padding-top: 0 !important;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Post Title */
body.single-post h1.wp-block-post-title,
body.single h1.wp-block-post-title,
.blog-post-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 2rem auto 1.5rem auto !important;
    max-width: 1000px !important;
}

/* Post Meta (Author, Date, Category) */
.blog-post-meta,
body.single-post .wp-block-group.has-small-font-size,
body.single .wp-block-group.has-small-font-size {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.6rem !important;
    color: #72A7A0 !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin: 0 auto 2.5rem auto !important;
}

.blog-post-meta a,
body.single-post .wp-block-group.has-small-font-size a,
body.single .wp-block-group.has-small-font-size a {
    color: #3d5261 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.blog-post-meta a:hover,
body.single-post .wp-block-group.has-small-font-size a:hover {
    color: #72A7A0 !important;
}

/* Featured Image */
body.single-post .wp-block-post-featured-image,
body.single .wp-block-post-featured-image,
.blog-featured-image {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto 3.5rem auto !important;
    box-sizing: border-box !important;
}

body.single-post .wp-block-post-featured-image img,
body.single .wp-block-post-featured-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 540px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Article Body Content */
body.single-post .wp-block-post-content,
body.single .wp-block-post-content,
.blog-post-content {
    max-width: 900px !important;
    margin: 0 auto 4rem auto !important;
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
    color: #414E58 !important;
}

body.single-post .wp-block-post-content p,
body.single .wp-block-post-content p {
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
    color: #414E58 !important;
    margin-bottom: 1.8rem !important;
}

body.single-post .wp-block-post-content h2,
body.single .wp-block-post-content h2 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin: 3rem 0 1.2rem 0 !important;
}

body.single-post .wp-block-post-content h3,
body.single .wp-block-post-content h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    margin: 2.2rem 0 1rem 0 !important;
}

body.single-post .wp-block-post-content a,
body.single .wp-block-post-content a {
    color: #72A7A0 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

/* Hide comments section completely as requested */
.wp-block-comments,
.wp-block-comments-query-loop,
#comments {
    display: none !important;
}

/* Post Navigation (Previous / Next Article) */
.blog-post-navigation,
body.single-post .wp-block-post-navigation-link,
body.single .wp-block-post-navigation-link {
    border-top: 1.5px solid #dcdfe4 !important;
    border-bottom: 1.5px solid #dcdfe4 !important;
    padding: 2rem 0 !important;
    margin: 4rem auto !important;
    max-width: 900px !important;
}

body.single-post .wp-block-post-navigation-link a,
body.single .wp-block-post-navigation-link a {
    color: #414E58 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

body.single-post .wp-block-post-navigation-link a:hover,
body.single .wp-block-post-navigation-link a:hover {
    color: #72A7A0 !important;
}

/* "Plus de publications" Section */
.blog-more-posts-section,
body.single-post .wp-block-group.alignwide {
    max-width: 1100px !important;
    margin: 4rem auto 2rem auto !important;
}

.blog-more-posts-title,
body.single-post .wp-block-heading.alignwide {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-bottom: 2rem !important;
}

/* Mobile Responsiveness for Blog Single Pages */
@media screen and (max-width: 768px) {

    body.single-post main,
    body.single main {
        padding: 0 1.5rem !important;
        margin: 2.5rem auto 4rem auto !important;
    }

    body.single-post h1.wp-block-post-title,
    body.single h1.wp-block-post-title {
        font-size: 1.8rem !important;
    }

    body.single-post .wp-block-post-content,
    body.single .wp-block-post-content {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
}

/* ================================================
   BLOG LISTING / ARCHIVE PAGE STYLING (.blog-archive-page, body.blog, body.archive)
   ================================================ */

/* Header background ON BLOG LISTING & SEARCH PAGES */
body.blog .wp-site-blocks>header,
body.blog .site-header-wrap,
body.blog header,
body.blog .site-header,
body.blog .header-nav,
body.archive .wp-site-blocks>header,
body.archive .site-header-wrap,
body.archive header,
body.archive .site-header,
body.archive .header-nav,
body.search .wp-site-blocks>header,
body.search .site-header-wrap,
body.search header,
body.search .site-header,
body.search .header-nav,
body.search-results .wp-site-blocks>header,
body.search-results .site-header-wrap,
body.search-results header,
body.search-results .site-header,
body.search-results .header-nav,
body:has(.blog-archive-section) .wp-site-blocks>header,
body:has(.blog-archive-section) .site-header-wrap,
body:has(.blog-archive-section) header,
body:has(.blog-archive-query) .wp-site-blocks>header,
body:has(.blog-archive-query) .site-header-wrap,
body:has(.blog-archive-query) header,
body:has(.search-results-page) .wp-site-blocks>header,
body:has(.search-results-page) .site-header-wrap,
body:has(.search-results-page) header,
body:has(.wp-block-query-title) .wp-site-blocks>header,
body:has(.wp-block-query-title) .site-header-wrap,
body:has(.wp-block-query-title) header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 999 !important;
    background-color: #1a252f !important;
    background: #1a252f !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 0 !important;
}

/* Search Page Main Container */
body.search main#wp--skip-link--target,
body.search .wp-site-blocks>main,
body.search-results main#wp--skip-link--target,
body.search-results .wp-site-blocks>main,
.search-results-page {
    position: relative !important;
    max-width: 1100px !important;
    margin: 3.5rem auto 7rem auto !important;
    padding-top: 0 !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.search-results-title,
.wp-block-query-title.search-results-title,
body.search .wp-block-query-title {
    font-size: 2rem !important;
    font-weight: 300 !important;
    color: #2c3e50 !important;
    margin: 0 0 2rem 0 !important;
    text-align: left !important;
}

/* Search Form on Results Page */
.search-page-form,
body.search .wp-block-search,
.search-results-page .wp-block-search {
    margin-bottom: 3rem !important;
    max-width: 650px !important;
}

body.search .wp-block-search__inside-wrapper,
.search-results-page .wp-block-search__inside-wrapper {
    border: 2px solid #e2e8f0 !important;
    border-radius: 0px !important;
    background: #ffffff !important;
    padding: 0.2rem 0.2rem 0.2rem 1rem !important;
}

body.search .wp-block-search__input,
.search-results-page .wp-block-search__input {
    font-size: 1rem !important;
    border: none !important;
    outline: none !important;
}

body.search .wp-block-search__button,
.search-results-page .wp-block-search__button {
    background-color: #3d5261 !important;
    color: #ffffff !important;
    border-radius: 0px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.4rem !important;
}

/* Search Results Clean List Rows (Lignes vers les pages/articles) */
.search-results-list,
body.search ul.wp-block-post-template,
.search-results-page ul.wp-block-post-template {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

body.search ul.wp-block-post-template li.wp-block-post,
.search-results-page ul.wp-block-post-template li.wp-block-post,
.search-result-item-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.6rem 1rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transition: background-color 0.2s ease, padding-left 0.2s ease !important;
    text-decoration: none !important;
}

body.search ul.wp-block-post-template li.wp-block-post:hover,
.search-results-page ul.wp-block-post-template li.wp-block-post:hover,
.search-result-item-row:hover {
    background-color: #f8fafc !important;
    padding-left: 1.4rem !important;
}

.search-result-main-info {
    flex: 1 !important;
    padding-right: 1.5rem !important;
}

.search-result-title,
body.search .wp-block-post-title,
body.search .wp-block-post-title a,
.search-results-page .wp-block-post-title,
.search-results-page .wp-block-post-title a {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    text-decoration: none !important;
    margin: 0 0 0.35rem 0 !important;
    transition: color 0.2s ease !important;
}

body.search .wp-block-post-title a:hover,
.search-results-page .wp-block-post-title a:hover {
    color: #7EA5A0 !important;
}

.search-result-excerpt,
body.search .wp-block-post-excerpt,
body.search .wp-block-post-excerpt p,
.search-results-page .wp-block-post-excerpt,
.search-results-page .wp-block-post-excerpt p {
    font-size: 0.9rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.search-result-action,
.search-result-arrow {
    flex-shrink: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #7EA5A0 !important;
    letter-spacing: 0.04em !important;
    transition: transform 0.2s ease !important;
}

body.search ul.wp-block-post-template li.wp-block-post:hover .search-result-arrow,
.search-result-item-row:hover .search-result-arrow {
    transform: translateX(4px) !important;
}

/* No Results Box */
.search-no-results-box,
body.search .wp-block-query-no-results {
    padding: 3rem 2rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    text-align: center !important;
    margin-top: 2rem !important;
}

.search-no-results-box p,
body.search .wp-block-query-no-results p {
    font-size: 1.05rem !important;
    color: #414E58 !important;
    margin-bottom: 1.5rem !important;
}

.search-suggested-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    justify-content: center !important;
}

.search-suggested-tags a {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #414E58 !important;
    padding: 0.5rem 1.1rem !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.search-suggested-tags a:hover {
    background: #7EA5A0 !important;
    border-color: #7EA5A0 !important;
    color: #ffffff !important;
}

/* Blog Listing Main Container */
body.blog main#wp--skip-link--target,
body.blog .wp-site-blocks>main,
body.archive main#wp--skip-link--target,
body.archive .wp-site-blocks>main,
body:has(.blog-archive-section) main#wp--skip-link--target,
body:has(.blog-archive-section) .wp-site-blocks>main,
.blog-archive-section {
    position: relative !important;
    max-width: 1580px !important;
    margin: 3.5rem auto 7rem auto !important;
    padding-top: 0 !important;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.blog-archive-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin: 0 0 3.5rem 0 !important;
    text-align: left !important;
}

/* 3-Column Card Grid */
.blog-archive-grid,
body.blog ul.wp-block-post-template,
body.archive ul.wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Individual Blog Card */
.blog-card-item,
body.blog ul.wp-block-post-template>li,
body.archive ul.wp-block-post-template>li {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #eef2f3 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.blog-card-item:hover,
body.blog ul.wp-block-post-template>li:hover,
body.archive ul.wp-block-post-template>li:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Card Featured Image */
.blog-card-image,
.blog-card-item .wp-block-post-featured-image,
body.blog .wp-block-post-featured-image,
body.archive .wp-block-post-featured-image {
    width: 100% !important;
    height: 240px !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.blog-card-image img,
.blog-card-item .wp-block-post-featured-image img,
body.blog .wp-block-post-featured-image img,
body.archive .wp-block-post-featured-image img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 16px 16px 0 0 !important;
    transition: transform 0.4s ease !important;
}

.blog-card-item:hover img,
body.blog ul.wp-block-post-template>li:hover img,
body.archive ul.wp-block-post-template>li:hover img {
    transform: scale(1.04) !important;
}

/* Fallback Image for posts without a Featured Image assigned */
.blog-card-item .wp-block-post-featured-image:empty,
.blog-card-item .wp-block-post-featured-image:not(:has(img)),
body.blog .wp-block-post-featured-image:empty,
body.blog .wp-block-post-featured-image:not(:has(img)) {
    display: block !important;
    width: 100% !important;
    height: 240px !important;
    background-color: #3d5261 !important;
    background-image: url("http://localhost:10008/wp-content/uploads/2026/07/Gemini_Generated_Image_modern_villa.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 16px 16px 0 0 !important;
}

/* Card Body Content */
.blog-card-body {
    padding: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.blog-card-date,
body.blog .wp-block-post-date,
body.archive .wp-block-post-date {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #72A7A0 !important;
    margin: 0 0 0.8rem 0 !important;
    letter-spacing: 0.04em !important;
}

.blog-card-title,
body.blog h3.wp-block-post-title,
body.archive h3.wp-block-post-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #414E58 !important;
    margin: 0 0 1rem 0 !important;
}

.blog-card-title a,
body.blog h3.wp-block-post-title a,
body.archive h3.wp-block-post-title a {
    color: #414E58 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.blog-card-title a:hover {
    color: #72A7A0 !important;
}

.blog-card-excerpt,
body.blog .wp-block-post-excerpt,
body.archive .wp-block-post-excerpt {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #5c6c78 !important;
    margin: 0 0 1.8rem 0 !important;
    flex-grow: 1 !important;
}

.blog-card-excerpt p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #5c6c78 !important;
    margin: 0 !important;
}

/* Card CTA Link */
.blog-card-cta,
.wp-block-read-more,
.wp-block-post-excerpt__more-link {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #72A7A0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
    margin-top: auto !important;
}

.blog-card-cta:hover,
.wp-block-read-more:hover,
.wp-block-post-excerpt__more-link:hover {
    color: #5C8E87 !important;
    transform: translateX(4px) !important;
}

/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 1024px) {

    .blog-archive-grid,
    body.blog ul.wp-block-post-template,
    body.archive ul.wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media screen and (max-width: 640px) {
    .blog-archive-section {
        padding: 0 1.5rem !important;
        margin: 3rem auto 4.5rem auto !important;
    }

    .blog-archive-grid,
    body.blog ul.wp-block-post-template,
    body.archive ul.wp-block-post-template {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .blog-archive-title {
        font-size: 1.8rem !important;
        margin-bottom: 2.5rem !important;
    }
}

/* Reviews Section Avatar & Footer Enhancements */
.review-avatar-wrap {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 0.8rem auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.review-avatar-wrap img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    background: transparent !important;
    transition: opacity 0.2s ease !important;
}

.review-stars img {
    height: auto !important;
    transition: opacity 0.2s ease !important;
}

/* ================================================
   RECRUTEMENT PAGE STYLING (All classes prefixed with recrutement_)
   ================================================ */

/* Section 1: Introduction */
.recrutement_intro_section {
    max-width: 1580px !important;
    margin: 6rem auto 6rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.recrutement_intro_container {
    max-width: 1080px !important;
    margin: 0 auto !important;
}

.recrutement_intro_text {
    font-size: 1.15rem !important;
    line-height: 1.85 !important;
    color: #414E58 !important;
    margin: 0 0 1.8rem 0 !important;
}

.recrutement_intro_text_secondary {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: #5c6c78 !important;
    margin: 0 !important;
}

/* Section 2: Notre état d'esprit */
.recrutement_esprit_section {
    max-width: 1580px !important;
    margin: 6rem auto 7rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.recrutement_section_title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 0 4rem 0 !important;
}

.recrutement_esprit_grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.8rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.recrutement_esprit_grid>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.recrutement_esprit_card {
    background-color: #ffffff !important;
    border: 1px solid #eef2f3 !important;
    border-radius: 12px !important;
    padding: 2.8rem 2.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.recrutement_esprit_card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: #72A7A0 !important;
}

.recrutement_card_badge {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #72A7A0 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.8rem !important;
}

.recrutement_card_title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #414E58 !important;
    margin: 0 0 1.2rem 0 !important;
    line-height: 1.3 !important;
}

.recrutement_card_text {
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    color: #5c6c78 !important;
    margin: 0 !important;
}

/* Section 3: Les profils que nous aimons rencontrer */
.recrutement_profils_section {
    max-width: 1580px !important;
    margin: 6rem auto 7rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.recrutement_profils_grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.8rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.recrutement_profils_grid>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.recrutement_profil_card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfb 100%) !important;
    border: 1px solid #e2e8eb !important;
    border-left: 4px solid #72A7A0 !important;
    border-radius: 8px !important;
    padding: 2.5rem 2.2rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.recrutement_profil_card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 35px rgba(114, 167, 160, 0.15) !important;
    border-left-color: #3D5261 !important;
}

/* Section 4: Pourquoi nous rejoindre ? (100vw Ice Grey Breakout) */
.recrutement_pourquoi_section {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background-color: #eef2f3 !important;
    padding: 6rem 0 7rem 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.recrutement_pourquoi_inner {
    max-width: 1580px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.recrutement_pourquoi_grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.recrutement_pourquoi_grid>* {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.recrutement_pourquoi_card {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 2.4rem 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.recrutement_pourquoi_card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.09) !important;
}

.recrutement_pourquoi_num {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #72A7A0 !important;
    margin-bottom: 0.8rem !important;
    line-height: 1 !important;
}

/* Section 5: Déposer votre candidature & Forminator Form */
.recrutement_form_section {
    max-width: 1200px !important;
    margin: 7rem auto 7rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.recrutement_form_intro {
    text-align: center !important;
    max-width: 820px !important;
    margin: 0 auto 3.5rem auto !important;
}

.recrutement_form_intro p {
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
    color: #414E58 !important;
    margin: 0 !important;
}

.recrutement_form_wrapper {
    background-color: #ffffff !important;
    border: 1px solid #eef2f3 !important;
    border-radius: 16px !important;
    padding: 3.5rem 3rem !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
}

/* Forminator Form Overrides & Styling */
.recrutement_form_wrapper .forminator-custom-form,
.recrutement_form_wrapper .forminator-ui {
    font-family: inherit !important;
}

.recrutement_form_wrapper .forminator-field {
    margin-bottom: 1.6rem !important;
}

.recrutement_form_wrapper .forminator-label {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.5rem !important;
}

.recrutement_form_wrapper .forminator-input,
.recrutement_form_wrapper .forminator-textarea,
.recrutement_form_wrapper .forminator-select .forminator-select-title {
    background-color: #f8fafb !important;
    border: 1.5px solid #dcdfe4 !important;
    border-radius: 6px !important;
    padding: 0.9rem 1.2rem !important;
    font-size: 1rem !important;
    color: #414E58 !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.recrutement_form_wrapper .forminator-input:focus,
.recrutement_form_wrapper .forminator-textarea:focus {
    border-color: #72A7A0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(114, 167, 160, 0.15) !important;
    outline: none !important;
}

/* Profile Icons Styling (Section 3 - Sanitization Immune CSS SVG Icons) */
.recrutement_profil_icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    background-color: rgba(114, 167, 160, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    transition: transform 0.3s ease, background-color 0.3s ease, filter 0.3s ease !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 26px 26px !important;
}

.recrutement_profils_grid>div:nth-child(1) .recrutement_profil_icon,
.recrutement_profil_card:nth-child(1) .recrutement_profil_icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2372A7A0' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20.25 14.15v4.25c0 1.094-.787 2.036-1.872 2.18-2.087.277-4.216.42-6.378.42s-4.291-.143-6.378-.42c-1.085-.144-1.872-1.086-1.872-2.18v-4.25m16.5 0a2.18 2.18 0 00.75-1.661V8.706c0-1.081-.768-2.015-1.837-2.175a48.114 48.114 0 00-3.413-.387M3.75 14.15a2.18 2.18 0 01-.75-1.661V8.706c0-1.081.768-2.015 1.837-2.175a48.111 48.111 0 013.413-.387m10.5 0a48.555 48.555 0 00-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v2.775m10.5 0h-10.5'/%3E%3C/svg%3E") !important;
}

.recrutement_profils_grid>div:nth-child(2) .recrutement_profil_icon,
.recrutement_profil_card:nth-child(2) .recrutement_profil_icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2372A7A0' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.42 15.17L17.25 21A2.652 2.652 0 0021 17.25l-5.83-5.83M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 11-3.586-3.586l5.654-4.654m0 0a3.001 3.001 0 014.243-4.243m0 0L15.17 11.42m0 0L12.14 8.924c-.384-.317-.626-.74-.766-1.208M15.17 11.42l5.653-4.655a2.548 2.548 0 11-3.586-3.586l-4.654 5.654'/%3E%3C/svg%3E") !important;
}

.recrutement_profils_grid>div:nth-child(3) .recrutement_profil_icon,
.recrutement_profil_card:nth-child(3) .recrutement_profil_icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2372A7A0' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z'/%3E%3C/svg%3E") !important;
}

.recrutement_profils_grid>div:nth-child(4) .recrutement_profil_icon,
.recrutement_profil_card:nth-child(4) .recrutement_profil_icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2372A7A0' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456z'/%3E%3C/svg%3E") !important;
}

.recrutement_profil_card:hover .recrutement_profil_icon {
    background-color: #72A7A0 !important;
    transform: scale(1.08) !important;
    filter: brightness(0) invert(1) !important;
}

/* Forminator Form Overrides & Styling */
.recrutement_form_wrapper form {
    opacity: 1 !important;
    visibility: visible !important;
    font-family: inherit !important;
}

/* Forminator 2-Column Desktop Grid Layout (Universal CSS Grid) */
@media screen and (min-width: 769px) {

    .recrutement_form_wrapper form,
    .recrutement_form_wrapper form.forminator-custom-form,
    .recrutement_form_wrapper form.forminator-ui,
    .recrutement_form_wrapper form[id*="forminator-module"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.6rem 2rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .recrutement_form_wrapper form>.forminator-row {
        grid-column: span 1 !important;
        width: 100% !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .recrutement_form_wrapper .forminator-row .forminator-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Full-width rows: Poste recherché, Type de candidature, Textarea & Submit Button */
    .recrutement_form_wrapper form>.forminator-row:has(#text-1),
    .recrutement_form_wrapper form>.forminator-row:has(#radio-1),
    .recrutement_form_wrapper form>.forminator-row:has(.forminator-field-radio),
    .recrutement_form_wrapper form>.forminator-row:has(#textarea-1),
    .recrutement_form_wrapper form>.forminator-row:has(.forminator-field-textarea),
    .recrutement_form_wrapper form>.forminator-row-last {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
}

/* Radio Option Pills / Chips Styling for TYPE DE CANDIDATURE */
.recrutement_form_wrapper .forminator-field-radio,
.recrutement_form_wrapper .forminator-radio-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-top: 0.4rem !important;
}

.recrutement_form_wrapper .forminator-radio {
    margin: 0 !important;
    display: inline-block !important;
    position: relative !important;
}

.recrutement_form_wrapper .forminator-radio label,
.recrutement_form_wrapper .forminator-radio .forminator-radio-label {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #f8fafb !important;
    border: 1.5px solid #dcdfe4 !important;
    border-radius: 30px !important;
    padding: 0.75rem 1.4rem !important;
    font-size: 0.93rem !important;
    font-weight: 600 !important;
    color: #414E58 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

/* Hide native radio circle */
.recrutement_form_wrapper .forminator-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.recrutement_form_wrapper .forminator-radio .forminator-radio-bullet {
    display: none !important;
}

/* Hover State */
.recrutement_form_wrapper .forminator-radio label:hover {
    border-color: #72A7A0 !important;
    background-color: #eef5f8 !important;
    color: #3D5261 !important;
    transform: translateY(-1px) !important;
}

/* Selected Active State */
.recrutement_form_wrapper .forminator-radio input[type="radio"]:checked+label,
.recrutement_form_wrapper .forminator-radio input[type="radio"]:checked~.forminator-radio-label,
.recrutement_form_wrapper .forminator-radio input[type="radio"]:checked~span {
    background-color: #72A7A0 !important;
    border-color: #72A7A0 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(114, 167, 160, 0.35) !important;
}

.recrutement_form_wrapper .forminator-field {
    margin-bottom: 0 !important;
}

.recrutement_form_wrapper .forminator-label {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #414E58 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.55rem !important;
    display: block !important;
}

.recrutement_form_wrapper .forminator-input,
.recrutement_form_wrapper .forminator-textarea {
    background-color: #f8fafb !important;
    border: 1.5px solid #dcdfe4 !important;
    border-radius: 6px !important;
    padding: 0.9rem 1.2rem !important;
    font-size: 1rem !important;
    color: #414E58 !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.recrutement_form_wrapper .forminator-input:focus,
.recrutement_form_wrapper .forminator-textarea:focus {
    border-color: #72A7A0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(114, 167, 160, 0.15) !important;
    outline: none !important;
}

/* Complete Select2 Container & Input Styling */
.recrutement_form_wrapper .select2-container,
.recrutement_form_wrapper .select2-container--default {
    width: 100% !important;
    display: block !important;
}

.recrutement_form_wrapper .select2-container--default .select2-selection--single {
    background-color: #f8fafb !important;
    border: 1.5px solid #dcdfe4 !important;
    border-radius: 6px !important;
    height: 52px !important;
    padding: 0 1.2rem !important;
    font-size: 1rem !important;
    color: #414E58 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    position: relative !important;
}

.recrutement_form_wrapper .select2-container--default .select2-selection--single:focus,
.recrutement_form_wrapper .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #72A7A0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(114, 167, 160, 0.15) !important;
    outline: none !important;
}

.recrutement_form_wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #414E58 !important;
    font-size: 1rem !important;
    line-height: 50px !important;
    padding-left: 0 !important;
    padding-right: 2rem !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.recrutement_form_wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    position: absolute !important;
    top: 0 !important;
    right: 1.2rem !important;
    width: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.recrutement_form_wrapper .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #414E58 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

/* Select2 Dropdown Popup List Styling (When Opened) */
.select2-dropdown,
.select2-container--default .select2-dropdown {
    background-color: #ffffff !important;
    border: 1.5px solid #dcdfe4 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

.select2-container--default .select2-results__option {
    padding: 0.8rem 1.2rem !important;
    font-size: 0.95rem !important;
    color: #414E58 !important;
    background-color: #ffffff !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected],
.select2-container--default .select2-results__option:hover {
    background-color: #72A7A0 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #eef5f8 !important;
    color: #3D5261 !important;
    font-weight: 700 !important;
}

/* Drag & Drop File Upload Boxes (Matching Screenshot #2) */
.recrutement_form_wrapper .forminator-field-upload {
    display: block !important;
    position: relative !important;
}

.recrutement_form_wrapper .forminator-file-upload {
    position: relative !important;
    background-color: #ebf2f5 !important;
    border: 2px dashed #9eb4c0 !important;
    border-radius: 10px !important;
    padding: 2.2rem 1.5rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: 140px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Upload Arrow Icon */
.recrutement_form_wrapper .forminator-file-upload::before {
    content: "" !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2372A7A0' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin-bottom: 0.2rem !important;
    transition: transform 0.3s ease !important;
}

.recrutement_form_wrapper .forminator-file-upload:hover {
    background-color: #e2ecf1 !important;
    border-color: #72A7A0 !important;
    transform: translateY(-2px) !important;
}

.recrutement_form_wrapper .forminator-file-upload:hover::before {
    transform: translateY(-4px) !important;
}

/* Stretch BOTH input[type=file] AND button.forminator-button-upload over 100% of the box for clicks & drag-and-drop */
.recrutement_form_wrapper .forminator-file-upload input[type="file"],
.recrutement_form_wrapper .forminator-file-upload .forminator-button-upload {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    pointer-events: auto !important;
}

.recrutement_form_wrapper .forminator-file-upload span[data-empty-text] {
    color: #3D5261 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    pointer-events: none !important;
    margin-top: 0.3rem !important;
}

/* Submit Button Text Fallback & Styling */
.recrutement_form_wrapper .forminator-button-submit {
    background-color: #3D5261 !important;
    color: #ffffff !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 1.2rem 2.8rem !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(61, 82, 97, 0.2) !important;
    width: 100% !important;
    margin-top: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
}

.recrutement_form_wrapper .forminator-button-submit:empty::before,
.recrutement_form_wrapper .forminator-button-submit:not(:has(span))::before {
    content: "ENVOYER MA CANDIDATURE" !important;
}

.recrutement_form_wrapper .forminator-button-submit:hover {
    background-color: #72A7A0 !important;
    box-shadow: 0 10px 28px rgba(114, 167, 160, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Section 6: Conclusion */
.recrutement_conclusion_section {
    max-width: 1200px !important;
    margin: 0 auto 7rem auto !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.recrutement_conclusion_box {
    background: linear-gradient(135deg, #f8fafb 0%, #eef2f3 100%) !important;
    border-top: 3px solid #72A7A0 !important;
    border-radius: 12px !important;
    padding: 3.5rem 3rem !important;
    text-align: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.recrutement_conclusion_text {
    font-size: 1.15rem !important;
    line-height: 1.85 !important;
    color: #414E58 !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Mobile & Tablet Responsiveness for Recrutement Page */
@media screen and (max-width: 1024px) {

    .recrutement_esprit_grid,
    .recrutement_profils_grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

    .recrutement_pourquoi_grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media screen and (max-width: 768px) {

    .recrutement_intro_section,
    .recrutement_esprit_section,
    .recrutement_profils_section,
    .recrutement_pourquoi_inner,
    .recrutement_form_section,
    .recrutement_conclusion_section {
        padding: 0 1.5rem !important;
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
    }

    .recrutement_section_title {
        font-size: 1.3rem !important;
        margin-bottom: 2.5rem !important;
    }

    .recrutement_esprit_grid,
    .recrutement_profils_grid,
    .recrutement_pourquoi_grid {
        grid-template-columns: 1fr !important;
        gap: 1.8rem !important;
    }

    .recrutement_form_wrapper,
    .recrutement_conclusion_box {
        padding: 2.5rem 1.5rem !important;
    }
}