/*
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;
}

/* 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;
}

.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;
}

/* Filtre sombre assoupli et plus clair sur TOUTES les bannières Hero du site */
.home-hero-banner .wp-block-cover__background,
.category-hero-banner .wp-block-cover__background,
.hero-banner .wp-block-cover__background,
.parcours-hero-banner .wp-block-cover__background,
.wp-block-cover .wp-block-cover__background {
    opacity: 0.22 !important;
    background-color: rgba(0, 0, 0, 0.22) !important;
}

/* 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 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 {
    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 {
    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 {
        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 {
    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 {
    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 {
        white-space: nowrap !important;
    }
}

.parcours-hero-desc,
.ambassadeurs-hero-desc,
.fournisseurs-hero-desc,
.rencontrons-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;
}

/* ================================================
   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 {
        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 {
        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 {
        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 {
        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 {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !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 {
        justify-content: center !important;
        align-items: center !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !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.7rem 0.9rem !important;
    }

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

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

    .header-left-icons svg {
        width: 19px !important;
        height: 19px !important;
    }

    /* LOGO DEAD CENTERED AT 50% VIEWPORT */
    .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;
    }

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

    /* Right Container */
    .header-right {
        z-index: 2 !important;
        flex: 0 0 auto !important;
        gap: 0.5rem !important;
    }

    .header-cta-btn .wp-block-button__link {
        font-size: 0.68rem !important;
        padding: 0.5rem 0.7rem !important;
        letter-spacing: 0.04em !important;
        white-space: nowrap !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: 480px) {
    .header-top-bar {
        padding: 0.6rem 0.75rem !important;
    }

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

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

    .header-left-icons svg {
        width: 18px !important;
        height: 18px !important;
    }

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

    /* On narrow iPhone screens (< 480px), hide top-bar CTA button to prevent overlap (CTA button is full-width in hamburger drawer) */
    .header-top-bar .header-cta-buttons {
        display: none !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.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform !important;
}

/* Non-active cards (Clean tall vertical photo cards) */
.carousel-slide {
    flex: 0 0 340px !important;
    width: 340px !important;
    height: 480px !important;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease, filter 0.45s ease, box-shadow 0.45s 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;
}

/* Inactive slide image wrapper takes 100% height */
.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;
}

/* Hide card text body on inactive side cards */
.carousel-slide:not(.is-active) .carousel-card-body {
    display: none !important;
}

/* Active Card (Larger, Elevated / Surélevé with deep drop shadow like mockup!) */
.carousel-slide.is-active {
    flex: 0 0 400px !important;
    width: 400px !important;
    height: 530px !important;
    opacity: 1 !important;
    filter: brightness(1) !important;
    transform: scale(1.06) translateY(-14px) !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 240px height) */
.carousel-slide.is-active .wp-block-image {
    margin: 0 !important;
    width: 100% !important;
    height: 240px !important;
}

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

/* Active Card Body Container (Generous 2.4rem horizontal padding - Button has breathing room!) */
.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;
}

.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-slide {
        flex: 0 0 280px !important;
        width: 280px !important;
        height: 440px !important;
    }
    .carousel-slide.is-active {
        flex: 0 0 310px !important;
        width: 310px !important;
        height: 470px !important;
        transform: scale(1.03) translateY(-8px) !important;
    }
    .carousel-slide.is-active .wp-block-image,
    .carousel-slide.is-active img {
        height: 200px !important;
    }
    .carousel-card-body {
        height: 270px !important;
        padding: 1.5rem 1.2rem !important;
    }
    .carousel-card-title {
        font-size: 1.25rem !important;
    }
}



/* Responsive adjustments for carousel */
@media screen and (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 260px !important;
        height: 380px !important;
    }
    .carousel-slide.is-active {
        flex: 0 0 300px !important;
    }
    .carousel-card-title {
        font-size: 1.25rem !important;
    }
}


/* Responsive adjustments for carousel */
@media screen and (max-width: 768px) {
    .carousel-track {
        padding: 1.5rem calc(50% - 150px) !important;
    }
    .carousel-slide {
        flex: 0 0 260px !important;
        height: 380px !important;
    }
    .carousel-slide.is-active {
        flex: 0 0 300px !important;
    }
    .carousel-card-title {
        font-size: 1.25rem !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;
    }
}

/* ================================================
   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 #7a9e7e !important;
    border-left: 1px solid #7a9e7e !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 #7a9e7e !important;
    border-right: 1px solid #7a9e7e !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 #7a9e7e !important;
    border-right: 1px solid #7a9e7e !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 #7a9e7e !important;
    border-left: 1px solid #7a9e7e !important;
    border-bottom-left-radius: 40px !important;
    pointer-events: none !important;
}

.parcours-number {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #7a9e7e !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: 1300px !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
    align-items: center !important;
}

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

.partner-item:first-child {
    border-left: none !important;
}

.partner-logo-wrap {
    margin-bottom: 1.5rem !important;
    max-width: 150px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

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

.partner-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #555555 !important;
    margin: 0 !important;
    max-width: 240px !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: visible !important;
    box-shadow: none !important;
    box-sizing: border-box !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 */
@media screen and (max-width: 992px) {
    .material-anchor-nav {
        padding: 1rem 1.5rem !important;
        gap: 2rem !important;
    }
    .material-intro-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin: 3.5rem auto 3rem auto !important;
        padding: 0 1.5rem !important;
    }
    .material-grid-container {
        padding: 0 1.5rem !important;
        margin-bottom: 4rem !important;
        gap: 4rem !important;
    }
    .material-grid-row {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
    }
    .material-card-img-wrap {
        height: 300px !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 - 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;
    }
}

/* ================================================
   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 Placeholder Block */
.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-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 PAGES TOO */
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: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 {
    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;
}

/* 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;
    }
}