
/* =========================================================
   CREA FAÇADE – DESIGN DES PAGES INTERNES
   La page d'accueil n'est jamais ciblée par ce fichier.
   ========================================================= */

.cfd-modern-page,
.cfd-modern-page * {
    box-sizing: border-box;
}

.cfd-modern-page {
    --cfd-radius: 22px;
    --cfd-shadow: 0 18px 55px rgba(16, 24, 40, .09);
    --cfd-text: #18202a;
    --cfd-muted: #667085;
    --cfd-soft: #f5f7f6;
    --cfd-border: #e6ebe7;
}

/* Empêche l'ancien module d'afficher un second hero s'il est encore actif. */
.cfd-modern-page .cfmh-hero {
    display: none !important;
}

/* ---------- HERO ---------- */

.cfd-hero {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    min-height: var(--cfd-hero-height, 440px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    margin: 0 0 0 !important;
    background-color: #15211a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.cfd-hero-fallback {
    background:
        radial-gradient(circle at 78% 22%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(120deg, #122219 0%, #1c3726 48%, #263d2d 100%);
}

.cfd-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            rgba(var(--cfd-overlay-rgb, 15,23,42), calc(var(--cfd-overlay-opacity, .56) + .12)) 0%,
            rgba(var(--cfd-overlay-rgb, 15,23,42), var(--cfd-overlay-opacity, .56)) 46%,
            rgba(var(--cfd-overlay-rgb, 15,23,42), .22) 100%
        );
}

.cfd-hero-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 64px), 1180px);
    margin-inline: auto;
    padding: 150px 0 64px;
}

.cfd-eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .19em;
    color: rgba(255,255,255,.78);
}

.cfd-hero-title {
    max-width: 900px;
    margin: 0 !important;
    font-family: inherit;
    font-size: clamp(46px, 5.4vw, 76px);
    line-height: .98;
    font-weight: 680;
    letter-spacing: -.045em;
    text-transform: none !important;
    color: #fff !important;
    text-shadow: 0 3px 20px rgba(0,0,0,.22);
}

.cfd-accent-line {
    display: block;
    width: 68px;
    height: 4px;
    margin-top: 20px;
    border-radius: 999px;
    background: var(--cfd-accent, #24963f);
}

.cfd-hero-subtitle {
    max-width: 680px;
    margin: 20px 0 0 !important;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.55;
    color: rgba(255,255,255,.9) !important;
}

/* ---------- HEADER DU THEME SUPERPOSE ---------- */

.cfd-site-header-overlay {
    position: absolute !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.cfd-site-header-overlay-parent {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Menu principal : blanc sur la photo. */
.cfd-site-header-overlay #site-navigation > ul > li > a,
.cfd-site-header-overlay .site-navigation > ul > li > a,
.cfd-site-header-overlay .main-navigation > ul > li > a,
.cfd-site-header-overlay #primary-menu > li > a,
.cfd-site-header-overlay .primary-menu > li > a,
.cfd-site-header-overlay nav > ul > li > a,
.cfd-site-header-overlay nav .menu > li > a,
.cfd-site-header-overlay .navbar-nav > li > a,
.cfd-site-header-overlay .nav-menu > li > a,
.cfd-site-header-overlay .main-menu > li > a {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.48) !important;
}

.cfd-site-header-overlay nav > ul > li > a:hover,
.cfd-site-header-overlay nav .menu > li > a:hover,
.cfd-site-header-overlay .current-menu-item > a,
.cfd-site-header-overlay .current_page_item > a {
    color: #fff !important;
    opacity: .78 !important;
}

/* Flèches / icônes du menu */
.cfd-site-header-overlay .dropdown-toggle,
.cfd-site-header-overlay .sub-menu-toggle,
.cfd-site-header-overlay nav svg,
.cfd-site-header-overlay nav i {
    color: #fff !important;
    fill: currentColor !important;
}

/* Les sous-menus restent clairs. */
.cfd-site-header-overlay .sub-menu,
.cfd-site-header-overlay .children {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.cfd-site-header-overlay .sub-menu a,
.cfd-site-header-overlay .children a {
    color: #1d2630 !important;
    text-shadow: none !important;
}

.cfd-site-header-overlay .sub-menu a:hover,
.cfd-site-header-overlay .children a:hover {
    color: var(--cfd-accent, #24963f) !important;
}

/* ---------- CONTENU GLOBAL ---------- */

.cfd-modern-content {
    position: relative;
    z-index: 1;
    color: var(--cfd-text);
}

.cfd-modern-content > * {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.cfd-modern-content > .alignfull,
.cfd-modern-content > .wp-block-cover.alignfull,
.cfd-modern-content > .wp-block-group.alignfull {
    max-width: none;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.cfd-modern-content h2,
.cfd-modern-content h3 {
    color: #172027;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.cfd-modern-content h2 {
    font-size: clamp(31px, 3.2vw, 48px);
    margin-top: 0;
    margin-bottom: 20px;
}

.cfd-modern-content h3 {
    font-size: clamp(23px, 2vw, 31px);
}

.cfd-modern-content h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--cfd-accent, #24963f);
}

.cfd-modern-content p,
.cfd-modern-content li {
    font-size: 17px;
    line-height: 1.75;
}

.cfd-modern-content p {
    color: #4d5965;
}

.cfd-modern-content a {
    transition: color .22s ease, opacity .22s ease, transform .22s ease;
}

.cfd-modern-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--cfd-radius);
}

.cfd-modern-content figure {
    overflow: hidden;
    border-radius: var(--cfd-radius);
}

.cfd-modern-content figure img {
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.cfd-modern-content figure:hover img {
    transform: scale(1.025);
}

/* Gutenberg / blocs génériques */
.cfd-modern-content > .wp-block-group,
.cfd-modern-content > .wp-block-columns,
.cfd-modern-content > .wp-block-media-text {
    margin-top: 70px;
    margin-bottom: 70px;
}

.cfd-modern-content .wp-block-columns {
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.cfd-modern-content .wp-block-column {
    min-width: 0;
}

.cfd-modern-content .wp-block-media-text {
    gap: clamp(28px, 5vw, 74px);
}

.cfd-modern-content .wp-block-button__link,
.cfd-modern-content button:not(.wpforms-submit):not([class*="filter"]),
.cfd-modern-content input[type="submit"] {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 13px 24px !important;
    background: var(--cfd-accent, #24963f) !important;
    color: #fff !important;
    font-weight: 650 !important;
    box-shadow: 0 8px 24px rgba(36,150,63,.18);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.cfd-modern-content .wp-block-button__link:hover,
.cfd-modern-content button:not(.wpforms-submit):not([class*="filter"]):hover,
.cfd-modern-content input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(36,150,63,.26);
}

/* ---------- ANIMATIONS ---------- */

.cfd-animations .cfd-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .72s cubic-bezier(.2,.75,.25,1),
        transform .72s cubic-bezier(.2,.75,.25,1);
    transition-delay: var(--cfd-delay, 0ms);
}

.cfd-animations .cfd-reveal.cfd-visible {
    opacity: 1;
    transform: translateY(0);
}

.cfd-animations .cfd-hero-inner {
    animation: cfdHeroIn .8s .08s both cubic-bezier(.2,.75,.25,1);
}

@keyframes cfdHeroIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- L'ENTREPRISE ---------- */

.cfd-page-lentreprise .cfd-modern-content > .wp-block-columns,
.cfd-page-lentreprise .cfd-modern-content > .wp-block-media-text {
    background: #fff;
    border: 1px solid var(--cfd-border);
    border-radius: calc(var(--cfd-radius) + 4px);
    padding: clamp(28px, 4vw, 56px);
    box-shadow: var(--cfd-shadow);
}

.cfd-page-lentreprise .cfd-modern-content blockquote {
    margin: 60px auto;
    padding: 34px 40px;
    border: 0;
    border-left: 5px solid var(--cfd-accent);
    background: var(--cfd-soft);
    border-radius: 0 var(--cfd-radius) var(--cfd-radius) 0;
}

/* ---------- SERVICES ---------- */

.cfd-page-nos-services .cfd-modern-content > .wp-block-columns,
.cfd-page-nos-services .cfd-modern-content > .wp-block-media-text,
.cfd-page-nos-services .cfd-modern-content > .wp-block-group {
    border-radius: calc(var(--cfd-radius) + 4px);
}

.cfd-page-nos-services .cfd-modern-content .wp-block-columns {
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid var(--cfd-border);
    background: #fff;
    box-shadow: 0 12px 42px rgba(18,31,24,.06);
}

.cfd-page-nos-services .cfd-modern-content .wp-block-columns:nth-of-type(even) {
    background: var(--cfd-soft);
}

/* ---------- PARTENAIRES ---------- */

.cfd-page-nos-partenaires .cfd-modern-content {
    text-align: center;
}

.cfd-page-nos-partenaires .cfd-modern-content h2::after {
    margin-left: auto;
    margin-right: auto;
}

.cfd-page-nos-partenaires .cfd-modern-content img {
    filter: grayscale(1);
    opacity: .76;
    transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}

.cfd-page-nos-partenaires .cfd-modern-content img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px);
}

/* ---------- GALERIE / EN IMAGE ---------- */

.cfd-page-en-image .cfd-modern-content {
    padding-top: 44px;
    padding-bottom: 80px;
}

.cfd-page-en-image .cfd-modern-content button,
.cfd-page-en-image .cfd-modern-content [role="button"] {
    border-radius: 999px !important;
}

.cfd-page-en-image .cfd-modern-content img {
    box-shadow: 0 12px 35px rgba(15,23,42,.09);
}

/* ---------- ACTU ---------- */

.cfd-page-actu .cfd-modern-content {
    padding-top: 64px;
    padding-bottom: 84px;
}

.cfd-page-actu .cfd-modern-content > * {
    max-width: 980px;
}

.cfd-page-actu .cfd-modern-content ul {
    padding-left: 0;
    list-style: none;
}

.cfd-page-actu .cfd-modern-content li {
    position: relative;
    padding-left: 32px;
    margin: 12px 0;
}

.cfd-page-actu .cfd-modern-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .08em;
    color: var(--cfd-accent);
    font-weight: 800;
}

/* ---------- CONTACT ---------- */

.cfd-page-contact .cfd-modern-content {
    padding: 70px 0 90px;
}

.cfd-page-contact .cfd-modern-content .wpforms-container {
    padding: clamp(26px, 4vw, 48px) !important;
    border: 1px solid var(--cfd-border);
    border-radius: calc(var(--cfd-radius) + 4px);
    background: #fff;
    box-shadow: var(--cfd-shadow);
}

.cfd-page-contact .cfd-modern-content .wpforms-container input,
.cfd-page-contact .cfd-modern-content .wpforms-container textarea,
.cfd-page-contact .cfd-modern-content .wpforms-container select {
    border: 1px solid #dce3de !important;
    border-radius: 12px !important;
    min-height: 48px;
    background: #fbfcfb !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cfd-page-contact .cfd-modern-content .wpforms-container textarea {
    min-height: 140px;
}

.cfd-page-contact .cfd-modern-content .wpforms-container input:focus,
.cfd-page-contact .cfd-modern-content .wpforms-container textarea:focus,
.cfd-page-contact .cfd-modern-content .wpforms-container select:focus {
    border-color: var(--cfd-accent) !important;
    box-shadow: 0 0 0 3px rgba(36,150,63,.11) !important;
}

.cfd-page-contact .cfd-modern-content .wpforms-submit {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 13px 26px !important;
    min-height: 48px !important;
    background: var(--cfd-accent) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.cfd-page-contact .cfd-modern-content iframe {
    width: 100%;
    min-height: 360px;
    border: 0 !important;
    border-radius: var(--cfd-radius);
    box-shadow: var(--cfd-shadow);
}

/* ---------- ANCIEN HERO MASQUE PAR JS ---------- */

.cfd-legacy-hero-hidden {
    display: none !important;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
    .cfd-hero-inner {
        width: min(calc(100% - 40px), 1180px);
        padding-top: 125px;
        padding-bottom: 48px;
    }

    .cfd-modern-content > * {
        max-width: calc(100% - 40px);
    }

    .cfd-modern-content > .alignfull {
        max-width: none;
    }
}

@media (max-width: 782px) {
    .cfd-hero {
        min-height: var(--cfd-hero-height-mobile, 320px);
    }

    .cfd-hero-inner {
        width: min(calc(100% - 32px), 1180px);
        padding-top: 105px;
        padding-bottom: 34px;
    }

    .cfd-eyebrow {
        font-size: 10px;
        margin-bottom: 9px;
    }

    .cfd-hero-title {
        font-size: clamp(38px, 12vw, 54px);
    }

    .cfd-hero-subtitle {
        font-size: 15px;
        margin-top: 14px !important;
    }

    .cfd-accent-line {
        width: 52px;
        height: 3px;
        margin-top: 14px;
    }

    .cfd-modern-content > * {
        max-width: calc(100% - 32px);
    }

    .cfd-modern-content > .alignfull {
        max-width: none;
    }

    .cfd-modern-content > .wp-block-group,
    .cfd-modern-content > .wp-block-columns,
    .cfd-modern-content > .wp-block-media-text {
        margin-top: 42px;
        margin-bottom: 42px;
    }

    .cfd-modern-content p,
    .cfd-modern-content li {
        font-size: 16px;
        line-height: 1.68;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfd-animations .cfd-reveal,
    .cfd-animations .cfd-hero-inner,
    .cfd-modern-content figure img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   PAGE D'ACCUEIL – MODERNISATION SANS CHANGER LA MISE EN PAGE
   Le hero existant est conservé : aucune image ou structure
   n'est remplacée par le module.
   ========================================================= */

.cfd-modern-home {
    --cfd-radius: 22px;
    --cfd-shadow: 0 18px 55px rgba(16, 24, 40, .09);
    --cfd-shadow-hover: 0 24px 65px rgba(16, 24, 40, .14);
    --cfd-text: #172027;
    --cfd-muted: #667085;
    --cfd-soft: #f5f8f5;
    --cfd-border: #e5ebe6;
}

/* Hero existant : on garde image, hauteur et placement.
   On modernise seulement les textes et le CTA. */
.cfd-modern-home .cfd-home-hero h1,
.cfd-modern-home .cfd-home-hero h2 {
    letter-spacing: -.035em;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0,0,0,.20);
}

.cfd-modern-home .cfd-home-hero a,
.cfd-modern-home .cfd-home-hero .wp-block-button__link,
.cfd-modern-home .cfd-home-hero button {
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    padding: 14px 28px !important;
    background: rgba(18,24,22,.38) !important;
    color: #fff !important;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: 0 12px 32px rgba(0,0,0,.13);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.cfd-modern-home .cfd-home-hero a:hover,
.cfd-modern-home .cfd-home-hero .wp-block-button__link:hover,
.cfd-modern-home .cfd-home-hero button:hover {
    transform: translateY(-2px);
    background: var(--cfd-accent, #24963f) !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.18);
}

/* Titres des sections */
.cfd-modern-home .cfd-home-section-title {
    position: relative;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.cfd-modern-home .cfd-home-section-title::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--cfd-accent, #24963f);
}

/* Statistiques 20 / 100% / 5 */
.cfd-modern-home .cfd-home-stats {
    position: relative;
    z-index: 5;
}

.cfd-modern-home .cfd-home-stat {
    border: 1px solid rgba(30,50,37,.08);
    border-radius: var(--cfd-radius);
    background: rgba(255,255,255,.96);
    box-shadow: var(--cfd-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cfd-modern-home .cfd-home-stat:hover {
    transform: translateY(-6px);
    box-shadow: var(--cfd-shadow-hover);
    border-color: rgba(36,150,63,.18);
}

.cfd-modern-home .cfd-home-stat .cfd-counter,
.cfd-modern-home .cfd-home-stat h2:first-child,
.cfd-modern-home .cfd-home-stat h3:first-child {
    color: var(--cfd-accent, #24963f);
    font-weight: 760;
    letter-spacing: -.055em;
}

/* À propos / blocs avec image */
.cfd-modern-home .cfd-home-about img,
.cfd-modern-home .cfd-home-team img {
    border-radius: var(--cfd-radius);
    box-shadow: 0 16px 50px rgba(19,30,23,.11);
    transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}

.cfd-modern-home .cfd-home-about img:hover,
.cfd-modern-home .cfd-home-team img:hover {
    transform: scale(1.018);
    box-shadow: 0 24px 62px rgba(19,30,23,.16);
}

/* Callout téléphone */
.cfd-modern-home .cfd-home-phone {
    border-radius: var(--cfd-radius);
    overflow: hidden;
    box-shadow: var(--cfd-shadow);
}

.cfd-modern-home .cfd-home-phone a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* Services : on garde les cartes existantes mais on les rend vivantes */
.cfd-modern-home .cfd-home-service-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--cfd-border);
    border-radius: var(--cfd-radius);
    background: #fff;
    box-shadow: 0 10px 34px rgba(16,24,40,.06);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.cfd-modern-home .cfd-home-service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--cfd-shadow-hover);
    border-color: rgba(36,150,63,.20);
}

.cfd-modern-home .cfd-home-service-card img {
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.cfd-modern-home .cfd-home-service-card:hover img {
    transform: scale(1.045);
}

.cfd-modern-home .cfd-home-service-card h3,
.cfd-modern-home .cfd-home-service-card h4 {
    color: var(--cfd-text);
    letter-spacing: -.02em;
}

/* Boutons hors hero */
.cfd-modern-home .cfd-home-modern-button,
.cfd-modern-home .cfd-home-modern-button .wp-block-button__link,
.cfd-modern-home .cfd-home-modern-button a {
    border-radius: 999px !important;
    transition: transform .23s ease, box-shadow .23s ease, background .23s ease;
}

.cfd-modern-home .cfd-home-modern-button:hover,
.cfd-modern-home .cfd-home-modern-button .wp-block-button__link:hover,
.cfd-modern-home .cfd-home-modern-button a:hover {
    transform: translateY(-2px);
}

/* Équipe */
.cfd-modern-home .cfd-home-team-card {
    border-radius: var(--cfd-radius);
    transition: transform .3s ease, box-shadow .3s ease;
}

.cfd-modern-home .cfd-home-team-card:hover {
    transform: translateY(-5px);
}

.cfd-modern-home .cfd-home-team-card img {
    box-shadow: 0 12px 36px rgba(16,24,40,.10);
}

/* Témoignages */
.cfd-modern-home .cfd-home-testimonial-card {
    height: 100%;
    position: relative;
    border: 1px solid var(--cfd-border);
    border-radius: var(--cfd-radius);
    background: #fff;
    box-shadow: 0 12px 38px rgba(16,24,40,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.cfd-modern-home .cfd-home-testimonial-card::before {
    content: "“";
    position: absolute;
    right: 18px;
    top: -10px;
    font-family: Georgia, serif;
    font-size: 82px;
    line-height: 1;
    color: rgba(36,150,63,.12);
    pointer-events: none;
}

.cfd-modern-home .cfd-home-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cfd-shadow-hover);
}

/* Bloc contact final */
.cfd-modern-home .cfd-home-contact {
    position: relative;
    border-radius: calc(var(--cfd-radius) + 4px);
}

.cfd-modern-home .cfd-home-contact .wpforms-container {
    border-radius: var(--cfd-radius);
    padding: clamp(22px, 3.5vw, 42px) !important;
    background: #fff;
    box-shadow: var(--cfd-shadow);
}

.cfd-modern-home .cfd-home-contact .wpforms-container input,
.cfd-modern-home .cfd-home-contact .wpforms-container textarea,
.cfd-modern-home .cfd-home-contact .wpforms-container select {
    border: 1px solid #dce4de !important;
    border-radius: 12px !important;
    background: #fbfcfb !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cfd-modern-home .cfd-home-contact .wpforms-container input:focus,
.cfd-modern-home .cfd-home-contact .wpforms-container textarea:focus,
.cfd-modern-home .cfd-home-contact .wpforms-container select:focus {
    border-color: var(--cfd-accent, #24963f) !important;
    box-shadow: 0 0 0 3px rgba(36,150,63,.11) !important;
}

.cfd-modern-home .cfd-home-contact .wpforms-submit {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--cfd-accent, #24963f) !important;
    color: #fff !important;
    min-height: 48px !important;
    padding: 12px 26px !important;
    font-weight: 700 !important;
    box-shadow: 0 9px 24px rgba(36,150,63,.19);
}

/* Animations homepage */
.cfd-modern-home.cfd-animations .cfd-home-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .72s cubic-bezier(.2,.75,.25,1),
        transform .72s cubic-bezier(.2,.75,.25,1);
    transition-delay: var(--cfd-home-delay, 0ms);
}

.cfd-modern-home.cfd-animations .cfd-home-reveal.cfd-visible {
    opacity: 1;
    transform: translateY(0);
}

.cfd-modern-home .cfd-home-hero .cfd-home-hero-animate {
    animation: cfdHomeHeroText .82s .08s both cubic-bezier(.2,.75,.25,1);
}

@keyframes cfdHomeHeroText {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-stat:hover,
    .cfd-modern-home .cfd-home-service-card:hover,
    .cfd-modern-home .cfd-home-testimonial-card:hover,
    .cfd-modern-home .cfd-home-team-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfd-modern-home.cfd-animations .cfd-home-reveal,
    .cfd-modern-home .cfd-home-hero .cfd-home-hero-animate,
    .cfd-modern-home .cfd-home-service-card,
    .cfd-modern-home .cfd-home-testimonial-card,
    .cfd-modern-home .cfd-home-team-card,
    .cfd-modern-home .cfd-home-about img,
    .cfd-modern-home .cfd-home-team img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   v1.2 — CORRECTIONS DE LISIBILITÉ ET TYPOGRAPHIE ACCUEIL
   ========================================================= */

/* Police moderne et cohérente, sans chargement externe. */
.cfd-modern-home main,
.cfd-modern-home .site-main,
.cfd-modern-home .site-content {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    color: #202a24;
}

.cfd-modern-home main h1,
.cfd-modern-home main h2,
.cfd-modern-home main h3,
.cfd-modern-home main h4,
.cfd-modern-home .site-main h1,
.cfd-modern-home .site-main h2,
.cfd-modern-home .site-main h3,
.cfd-modern-home .site-main h4 {
    font-family: inherit;
    font-weight: 650;
    letter-spacing: -.025em;
}

/* Le hero reste identique dans sa structure, mais avec une typo plus nette. */
.cfd-modern-home .cfd-home-hero h1,
.cfd-modern-home .cfd-home-hero h2 {
    font-weight: 560 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
}

/* CTA du hero : plus actuel et mieux identifiable. */
.cfd-modern-home .cfd-home-hero a,
.cfd-modern-home .cfd-home-hero .wp-block-button__link,
.cfd-modern-home .cfd-home-hero button {
    background: rgba(34, 45, 39, .55) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
}

/* Titres de section : le thème les mettait en très grandes capitales.
   On revient à une hiérarchie plus élégante et lisible. */
.cfd-modern-home .cfd-home-section-title {
    max-width: 100% !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(32px, 3.4vw, 48px) !important;
    line-height: 1.08 !important;
    font-weight: 650 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
}

/* Si le titre de section est centré dans le thème, le trait l'est aussi. */
.cfd-modern-home .cfd-home-services .cfd-home-section-title,
.cfd-modern-home .cfd-home-testimonials .cfd-home-section-title,
.cfd-modern-home .cfd-home-team .cfd-home-section-title {
    text-align: center !important;
}

.cfd-modern-home .cfd-home-services .cfd-home-section-title::after,
.cfd-modern-home .cfd-home-testimonials .cfd-home-section-title::after,
.cfd-modern-home .cfd-home-team .cfd-home-section-title::after {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- CHIFFRES 20 / 100 % / 5 ---------- */

/* L'ancien thème impose du blanc sur les textes.
   Nos cartes étant claires, on force explicitement un contraste sombre. */
.cfd-modern-home .cfd-home-stats {
    background: #f3f6f3 !important;
}

.cfd-modern-home .cfd-home-stat {
    background: #fff !important;
    border: 1px solid #e1e8e2 !important;
    box-shadow: 0 14px 40px rgba(23, 38, 28, .08) !important;
}

.cfd-modern-home .cfd-home-stat,
.cfd-modern-home .cfd-home-stat h1,
.cfd-modern-home .cfd-home-stat h2,
.cfd-modern-home .cfd-home-stat h3,
.cfd-modern-home .cfd-home-stat h4,
.cfd-modern-home .cfd-home-stat p,
.cfd-modern-home .cfd-home-stat span,
.cfd-modern-home .cfd-home-stat strong,
.cfd-modern-home .cfd-home-stat div {
    color: #253029 !important;
    text-shadow: none !important;
}

.cfd-modern-home .cfd-home-stat .cfd-counter,
.cfd-modern-home .cfd-home-stat h2:first-child,
.cfd-modern-home .cfd-home-stat h3:first-child {
    color: var(--cfd-accent, #24963f) !important;
    font-size: clamp(38px, 4vw, 58px) !important;
    font-weight: 760 !important;
    line-height: 1 !important;
}

.cfd-modern-home .cfd-home-stat h3,
.cfd-modern-home .cfd-home-stat h4 {
    font-size: clamp(18px, 1.7vw, 24px) !important;
    font-weight: 650 !important;
}

.cfd-modern-home .cfd-home-stat p {
    color: #69756e !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

/* ---------- SERVICES ---------- */

.cfd-modern-home .cfd-home-services {
    background: #f6f8f6 !important;
}

/*
 * IMPORTANT :
 * v1.1 appliquait "background:#fff" aux cartes et effaçait les photos
 * définies par le thème en background CSS. On annule cette règle.
 */
.cfd-modern-home .cfd-home-service-card {
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 42px rgba(16,24,40,.13) !important;
    isolation: isolate;
}

/* Annule uniquement le "background:#fff" de la v1.1 sans toucher à
   background-image / background-position / background-size du thème. */
.cfd-modern-home .cfd-home-service-card[style*="background"] {
    background-color: transparent !important;
}

.cfd-modern-home .cfd-home-service-card img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

/* On ne force PAS une couleur de texte globale sur les services :
   les cartes photo conservent les couleurs et overlays prévus par le thème. */
.cfd-modern-home .cfd-home-service-card h1,
.cfd-modern-home .cfd-home-service-card h2,
.cfd-modern-home .cfd-home-service-card h3,
.cfd-modern-home .cfd-home-service-card h4,
.cfd-modern-home .cfd-home-service-card p {
    text-shadow: 0 2px 15px rgba(0,0,0,.30);
}

.cfd-modern-home .cfd-home-service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 55px rgba(16,24,40,.18) !important;
}

/* Le lien "Découvrez nos services" redevient un vrai bouton moderne. */
.cfd-modern-home .cfd-home-services .cfd-home-modern-button,
.cfd-modern-home .cfd-home-services .cfd-home-modern-button a,
.cfd-modern-home .cfd-home-services .wp-block-button__link {
    color: #fff !important;
    background: var(--cfd-accent, #24963f) !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
}

/* ---------- TÉMOIGNAGES ---------- */

.cfd-modern-home .cfd-home-testimonials {
    background: #f4f6f4 !important;
}

.cfd-modern-home .cfd-home-testimonial-card {
    background: #fff !important;
    border: 1px solid #e3e8e4 !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 42px rgba(16,24,40,.07) !important;
}

.cfd-modern-home .cfd-home-testimonial-card,
.cfd-modern-home .cfd-home-testimonial-card p,
.cfd-modern-home .cfd-home-testimonial-card span,
.cfd-modern-home .cfd-home-testimonial-card div {
    color: #344039 !important;
}

.cfd-modern-home .cfd-home-testimonial-card h3,
.cfd-modern-home .cfd-home-testimonial-card h4 {
    color: #17231d !important;
    font-size: clamp(18px, 1.45vw, 22px) !important;
    line-height: 1.28 !important;
    font-weight: 680 !important;
    text-transform: none !important;
}

.cfd-modern-home .cfd-home-testimonial-card p {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
}

/* Évite le double effet de guillemets trop présent. */
.cfd-modern-home .cfd-home-testimonial-card::before {
    font-size: 66px !important;
    color: rgba(36,150,63,.10) !important;
}

/* ---------- TEXTE COURANT / ÉQUIPE ---------- */

.cfd-modern-home .cfd-home-about p,
.cfd-modern-home .cfd-home-team p,
.cfd-modern-home .cfd-home-contact p {
    color: #5b675f;
    line-height: 1.7;
}

.cfd-modern-home .cfd-home-team-card h4,
.cfd-modern-home .cfd-home-team-card h3 {
    font-weight: 680 !important;
    text-transform: none !important;
}

/* Boutons du reste de l'accueil : lisibles et cohérents. */
.cfd-modern-home .cfd-home-modern-button,
.cfd-modern-home .cfd-home-modern-button a,
.cfd-modern-home .cfd-home-modern-button .wp-block-button__link {
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Mobile : éviter les titres gigantesques et les cartes trop tassées. */
@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-section-title {
        font-size: clamp(29px, 9vw, 39px) !important;
    }

    .cfd-modern-home .cfd-home-stat .cfd-counter,
    .cfd-modern-home .cfd-home-stat h2:first-child,
    .cfd-modern-home .cfd-home-stat h3:first-child {
        font-size: 42px !important;
    }
}


/* =========================================================
   v1.3 — DESIGN SOBRE & MODERNE
   Aucun texte vert : le vert reste uniquement un accent graphique discret.
   ========================================================= */

.cfd-modern-home {
    --cfd-ink: #18211d;
    --cfd-ink-soft: #38443d;
    --cfd-muted-2: #6f7a73;
    --cfd-panel: #ffffff;
    --cfd-surface: #f3f4f2;
    --cfd-surface-2: #eceeeb;
    --cfd-line: #dfe4df;
    --cfd-charcoal: #1f2923;
}

/* Typographie générale plus calme et plus premium */
.cfd-modern-home main,
.cfd-modern-home .site-main,
.cfd-modern-home .site-content {
    color: var(--cfd-ink) !important;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif !important;
}

.cfd-modern-home main h1,
.cfd-modern-home main h2,
.cfd-modern-home main h3,
.cfd-modern-home main h4,
.cfd-modern-home .site-main h1,
.cfd-modern-home .site-main h2,
.cfd-modern-home .site-main h3,
.cfd-modern-home .site-main h4 {
    color: var(--cfd-ink) !important;
    font-weight: 620 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
}

/* Le hero garde ses textes blancs */
.cfd-modern-home .cfd-home-hero h1,
.cfd-modern-home .cfd-home-hero h2,
.cfd-modern-home .cfd-home-hero h3,
.cfd-modern-home .cfd-home-hero h4 {
    color: #fff !important;
}

/* Titres de section sans cartouche blanc */
.cfd-modern-home .cfd-home-section-title {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    color: var(--cfd-ink) !important;
    font-size: clamp(34px, 3.25vw, 50px) !important;
    font-weight: 610 !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
    padding: 0 !important;
}

/* Seul le petit trait reste vert */
.cfd-modern-home .cfd-home-section-title::after {
    width: 54px !important;
    height: 3px !important;
    background: var(--cfd-accent, #24963f) !important;
    margin-top: 16px !important;
}

/* -------------------- CHIFFRES -------------------- */

.cfd-modern-home .cfd-home-stats {
    background: var(--cfd-surface) !important;
    padding-top: 54px !important;
    padding-bottom: 54px !important;
}

.cfd-modern-home .cfd-home-stat {
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid var(--cfd-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 18px 34px !important;
}

.cfd-modern-home .cfd-home-stat:last-child {
    border-right: 0 !important;
}

.cfd-modern-home .cfd-home-stat:hover {
    transform: none !important;
    box-shadow: none !important;
}

.cfd-modern-home .cfd-home-stat,
.cfd-modern-home .cfd-home-stat h1,
.cfd-modern-home .cfd-home-stat h2,
.cfd-modern-home .cfd-home-stat h3,
.cfd-modern-home .cfd-home-stat h4,
.cfd-modern-home .cfd-home-stat p,
.cfd-modern-home .cfd-home-stat span,
.cfd-modern-home .cfd-home-stat strong,
.cfd-modern-home .cfd-home-stat div {
    color: var(--cfd-ink) !important;
}

/* plus aucun chiffre vert */
.cfd-modern-home .cfd-home-stat .cfd-counter,
.cfd-modern-home .cfd-home-stat h2:first-child,
.cfd-modern-home .cfd-home-stat h3:first-child {
    color: var(--cfd-ink) !important;
    font-size: clamp(44px, 4vw, 62px) !important;
    font-weight: 650 !important;
    letter-spacing: -.06em !important;
    line-height: 1 !important;
}

/* petit accent sous le chiffre plutôt que du texte vert */
.cfd-modern-home .cfd-home-stat .cfd-counter::after,
.cfd-modern-home .cfd-home-stat h2:first-child::after,
.cfd-modern-home .cfd-home-stat h3:first-child::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: var(--cfd-accent, #24963f);
}

.cfd-modern-home .cfd-home-stat h3,
.cfd-modern-home .cfd-home-stat h4 {
    font-size: clamp(19px, 1.45vw, 23px) !important;
    font-weight: 610 !important;
}

.cfd-modern-home .cfd-home-stat p {
    color: var(--cfd-muted-2) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

/* -------------------- SERVICES -------------------- */

.cfd-modern-home .cfd-home-services {
    background: #f7f7f6 !important;
    padding-top: 74px !important;
    padding-bottom: 80px !important;
}

.cfd-modern-home .cfd-home-services .cfd-home-section-title {
    color: var(--cfd-ink) !important;
}

/* cartes sobres : fond clair, texte foncé, icône foncée */
.cfd-modern-home .cfd-home-service-card {
    background: #fff !important;
    border: 1px solid var(--cfd-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(21, 31, 25, .055) !important;
    color: var(--cfd-ink) !important;
    padding: clamp(28px, 3vw, 42px) !important;
    min-height: 250px;
}

.cfd-modern-home .cfd-home-service-card:hover {
    transform: translateY(-4px) !important;
    border-color: #cfd6d0 !important;
    box-shadow: 0 18px 38px rgba(21, 31, 25, .09) !important;
}

.cfd-modern-home .cfd-home-service-card,
.cfd-modern-home .cfd-home-service-card h1,
.cfd-modern-home .cfd-home-service-card h2,
.cfd-modern-home .cfd-home-service-card h3,
.cfd-modern-home .cfd-home-service-card h4,
.cfd-modern-home .cfd-home-service-card p,
.cfd-modern-home .cfd-home-service-card span,
.cfd-modern-home .cfd-home-service-card div,
.cfd-modern-home .cfd-home-service-card i,
.cfd-modern-home .cfd-home-service-card svg {
    color: var(--cfd-ink) !important;
    fill: currentColor !important;
    text-shadow: none !important;
}

.cfd-modern-home .cfd-home-service-card h3,
.cfd-modern-home .cfd-home-service-card h4 {
    font-size: clamp(21px, 1.6vw, 27px) !important;
    font-weight: 610 !important;
    line-height: 1.18 !important;
    margin-top: 22px !important;
}

.cfd-modern-home .cfd-home-service-card p {
    color: #5d6962 !important;
    font-size: 15.5px !important;
    line-height: 1.6 !important;
}

/* les icônes ne sont plus perdues dans un fond gris */
.cfd-modern-home .cfd-home-service-card i,
.cfd-modern-home .cfd-home-service-card svg {
    opacity: .92 !important;
}

/* bouton services : anthracite, pas vert */
.cfd-modern-home .cfd-home-services .cfd-home-modern-button,
.cfd-modern-home .cfd-home-services .cfd-home-modern-button a,
.cfd-modern-home .cfd-home-services .wp-block-button__link {
    background: var(--cfd-charcoal) !important;
    color: #fff !important;
    border: 1px solid var(--cfd-charcoal) !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.cfd-modern-home .cfd-home-services .cfd-home-modern-button:hover,
.cfd-modern-home .cfd-home-services .cfd-home-modern-button a:hover,
.cfd-modern-home .cfd-home-services .wp-block-button__link:hover {
    background: #111813 !important;
    color: #fff !important;
}

/* -------------------- TÉMOIGNAGES -------------------- */

.cfd-modern-home .cfd-home-testimonials {
    background: var(--cfd-surface) !important;
    padding-top: 76px !important;
    padding-bottom: 84px !important;
}

.cfd-modern-home .cfd-home-testimonials .cfd-home-section-title {
    background: transparent !important;
    color: var(--cfd-ink) !important;
}

/* supprimer la barre grise parasite créée par l'ancien thème */
.cfd-modern-home .cfd-home-testimonials .cfd-home-section-title + hr,
.cfd-modern-home .cfd-home-testimonials hr {
    opacity: .25 !important;
    width: 64px !important;
    margin-top: 24px !important;
    margin-bottom: 44px !important;
}

.cfd-modern-home .cfd-home-testimonial-card {
    background: #fff !important;
    border: 1px solid var(--cfd-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(21,31,25,.055) !important;
    color: var(--cfd-ink) !important;
    padding: 30px 30px 28px !important;
}

.cfd-modern-home .cfd-home-testimonial-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 34px rgba(21,31,25,.085) !important;
}

.cfd-modern-home .cfd-home-testimonial-card h3,
.cfd-modern-home .cfd-home-testimonial-card h4 {
    color: var(--cfd-ink) !important;
    font-size: clamp(19px, 1.35vw, 22px) !important;
    font-weight: 610 !important;
    line-height: 1.3 !important;
}

.cfd-modern-home .cfd-home-testimonial-card p {
    color: #536058 !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
}

/* un seul guillemet graphique discret */
.cfd-modern-home .cfd-home-testimonial-card::before {
    content: "“" !important;
    right: 22px !important;
    top: 10px !important;
    font-size: 56px !important;
    color: #d9dfda !important;
}

/* -------------------- CONTACT -------------------- */

.cfd-modern-home .cfd-home-contact {
    background: #fff !important;
    color: var(--cfd-ink) !important;
    padding-top: 76px !important;
    padding-bottom: 84px !important;
}

.cfd-modern-home .cfd-home-contact h2,
.cfd-modern-home .cfd-home-contact h3,
.cfd-modern-home .cfd-home-contact h4 {
    color: var(--cfd-ink) !important;
    font-weight: 610 !important;
}

.cfd-modern-home .cfd-home-contact p {
    color: #5b675f !important;
}

.cfd-modern-home .cfd-home-contact .wpforms-container {
    border: 1px solid var(--cfd-line) !important;
    box-shadow: none !important;
    border-radius: 18px !important;
}

.cfd-modern-home .cfd-home-contact .wpforms-submit {
    background: var(--cfd-charcoal) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.cfd-modern-home .cfd-home-contact .wpforms-submit:hover {
    background: #101713 !important;
}

/* -------------------- AUTRES DÉTAILS -------------------- */

/* aucun lien de texte vert sur l'accueil */
.cfd-modern-home main a:not(.wp-block-button__link):not(.cfd-home-modern-button) {
    color: inherit;
}

/* vert uniquement comme accent graphique */
.cfd-modern-home main a:hover:not(.wp-block-button__link) {
    color: var(--cfd-ink) !important;
}

/* photos plus sobres */
.cfd-modern-home .cfd-home-about img,
.cfd-modern-home .cfd-home-team img {
    border-radius: 16px !important;
    box-shadow: 0 14px 34px rgba(19,30,23,.09) !important;
}

/* CTA hero sobre anthracite transparent */
.cfd-modern-home .cfd-home-hero a,
.cfd-modern-home .cfd-home-hero .wp-block-button__link,
.cfd-modern-home .cfd-home-hero button {
    background: rgba(31, 41, 35, .58) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.26) !important;
    box-shadow: none !important;
    font-weight: 650 !important;
}

.cfd-modern-home .cfd-home-hero a:hover,
.cfd-modern-home .cfd-home-hero .wp-block-button__link:hover,
.cfd-modern-home .cfd-home-hero button:hover {
    background: rgba(18, 25, 21, .82) !important;
    color: #fff !important;
}

/* responsive */
@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-stat {
        border-right: 0 !important;
        border-bottom: 1px solid var(--cfd-line) !important;
        padding: 28px 18px !important;
    }

    .cfd-modern-home .cfd-home-stat:last-child {
        border-bottom: 0 !important;
    }

    .cfd-modern-home .cfd-home-service-card {
        min-height: 0;
        padding: 28px 24px !important;
    }
}


/* =========================================================
   v1.4 — RETOUCHE LÉGÈRE
   On revient volontairement plus près du design d'origine :
   structure et ambiances conservées, finitions modernisées.
   ========================================================= */

/* AUCUN TEXTE VERT : vert réservé aux petits traits d'accent */
.cfd-modern-home main,
.cfd-modern-home main a,
.cfd-modern-home main h1,
.cfd-modern-home main h2,
.cfd-modern-home main h3,
.cfd-modern-home main h4,
.cfd-modern-home main h5,
.cfd-modern-home main h6,
.cfd-modern-home main p,
.cfd-modern-home main span,
.cfd-modern-home main strong {
    text-decoration-color: currentColor;
}

/* ---------------- STATISTIQUES : retour au bandeau gris d'origine ---------------- */

.cfd-modern-home .cfd-home-stats {
    background: #707070 !important;
    padding: 64px 0 !important;
}

/* Supprime le grand panneau blanc ajouté par les versions précédentes */
.cfd-modern-home .cfd-home-stats > .wp-block-group,
.cfd-modern-home .cfd-home-stats > .wp-block-columns,
.cfd-modern-home .cfd-home-stats .wp-block-columns,
.cfd-modern-home .cfd-home-stats .wp-block-group {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Colonnes sobres, séparées par un simple filet */
.cfd-modern-home .cfd-home-stat {
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,.27) !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px 34px !important;
}

.cfd-modern-home .cfd-home-stat:last-child {
    border-right: 0 !important;
}

.cfd-modern-home .cfd-home-stat,
.cfd-modern-home .cfd-home-stat h1,
.cfd-modern-home .cfd-home-stat h2,
.cfd-modern-home .cfd-home-stat h3,
.cfd-modern-home .cfd-home-stat h4,
.cfd-modern-home .cfd-home-stat p,
.cfd-modern-home .cfd-home-stat span,
.cfd-modern-home .cfd-home-stat strong,
.cfd-modern-home .cfd-home-stat div {
    color: #fff !important;
    text-shadow: none !important;
}

/* Les chiffres restent blancs, jamais verts */
.cfd-modern-home .cfd-home-stat .cfd-counter,
.cfd-modern-home .cfd-home-stat h2:first-child,
.cfd-modern-home .cfd-home-stat h3:first-child {
    color: #fff !important;
    font-size: clamp(44px, 4vw, 60px) !important;
    font-weight: 430 !important;
    letter-spacing: -.045em !important;
}

/* Supprime le trait sous chaque chiffre : trop décoratif ici */
.cfd-modern-home .cfd-home-stat .cfd-counter::after,
.cfd-modern-home .cfd-home-stat h2:first-child::after,
.cfd-modern-home .cfd-home-stat h3:first-child::after {
    display: none !important;
}

.cfd-modern-home .cfd-home-stat h3,
.cfd-modern-home .cfd-home-stat h4 {
    color: #fff !important;
    font-weight: 620 !important;
}

.cfd-modern-home .cfd-home-stat p {
    color: rgba(255,255,255,.92) !important;
}

/* ---------------- SERVICES : conserver l'esprit d'origine ---------------- */

.cfd-modern-home .cfd-home-services {
    background: #7b7b7b !important;
    padding-top: 66px !important;
    padding-bottom: 72px !important;
}

/* Pas de grand cartouche blanc autour du titre */
.cfd-modern-home .cfd-home-services .cfd-home-section-title {
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}

/* Cadres externes parasites / pointillés : supprimés */
.cfd-modern-home .cfd-home-service-wrap,
.cfd-modern-home .cfd-home-services .wp-block-column,
.cfd-modern-home .cfd-home-services .elementor-column,
.cfd-modern-home .cfd-home-services .uagb-column__wrap,
.cfd-modern-home .cfd-home-services .stk-block-column,
.cfd-modern-home .cfd-home-services [class*="column"] {
    outline: 0 !important;
    outline-style: none !important;
}

/*
 * Les wrappers autour d'une vraie tuile ne doivent pas avoir leur propre cadre.
 * On garde seulement la carte blanche intérieure.
 */
.cfd-modern-home .cfd-home-service-wrap {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Tuiles blanches uniformes */
.cfd-modern-home .cfd-home-service-card {
    width: 100% !important;
    height: 100% !important;
    min-height: 300px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.10) !important;
    padding: 34px 30px !important;
    color: #17201b !important;
}

.cfd-modern-home .cfd-home-service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 42px rgba(0,0,0,.15) !important;
}

.cfd-modern-home .cfd-home-service-card h3,
.cfd-modern-home .cfd-home-service-card h4 {
    color: #17201b !important;
    font-size: clamp(21px, 1.55vw, 26px) !important;
    font-weight: 620 !important;
    line-height: 1.18 !important;
    text-align: center !important;
}

.cfd-modern-home .cfd-home-service-card p {
    color: #5a655e !important;
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    text-align: center !important;
    max-width: 290px;
}

.cfd-modern-home .cfd-home-service-card i,
.cfd-modern-home .cfd-home-service-card svg {
    color: #111 !important;
    fill: currentColor !important;
}

/* ---------------- TÉMOIGNAGES ---------------- */

.cfd-modern-home .cfd-home-testimonials {
    background: #ececec !important;
    padding-top: 68px !important;
    padding-bottom: 76px !important;
}

.cfd-modern-home .cfd-home-testimonials .cfd-home-section-title {
    background: transparent !important;
    color: #102a46 !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Suppression de tous les cadres externes */
.cfd-modern-home .cfd-home-testimonial-wrap {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.cfd-modern-home .cfd-home-testimonial-card {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff !important;
    border: 1px solid #e3e6e3 !important;
    outline: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.07) !important;
    padding: 34px 30px 30px !important;
}

.cfd-modern-home .cfd-home-testimonial-card h3,
.cfd-modern-home .cfd-home-testimonial-card h4 {
    color: #101b17 !important;
    font-weight: 620 !important;
    line-height: 1.25 !important;
}

.cfd-modern-home .cfd-home-testimonial-card p {
    color: #4f5a54 !important;
    line-height: 1.62 !important;
}

/* Auteur repoussé en bas : toutes les cartes finissent au même niveau */
.cfd-modern-home .cfd-home-testimonial-card p:last-child,
.cfd-modern-home .cfd-home-testimonial-card > *:last-child {
    margin-top: auto !important;
}

/* Un seul guillemet discret */
.cfd-modern-home .cfd-home-testimonial-card::before {
    color: #dde2de !important;
    font-size: 54px !important;
}

/* ---------------- SUPPRESSION GÉNÉRALE DES CADRES PARASITES ---------------- */

/* Les petits rectangles externes visibles sur tes captures venaient des wrappers. */
.cfd-modern-home .cfd-home-services *:focus,
.cfd-modern-home .cfd-home-testimonials *:focus {
    outline: 0 !important;
}

/* Pas de border sur les parents directs de nos cartes */
.cfd-modern-home .cfd-home-service-card.parent,
.cfd-modern-home .cfd-home-testimonial-card.parent {
    border: 0 !important;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-stat {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.24) !important;
        padding: 28px 18px !important;
    }

    .cfd-modern-home .cfd-home-stat:last-child {
        border-bottom: 0 !important;
    }

    .cfd-modern-home .cfd-home-service-card,
    .cfd-modern-home .cfd-home-testimonial-card {
        height: auto !important;
        min-height: 0 !important;
    }
}


/* =========================================================
   v1.5 — IMAGE "NOTRE AVENTURE FAMILIALE"
   ========================================================= */

.cfd-page-lentreprise .cfd-family-image-column {
    min-height: 430px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: #ecefec !important;
    box-shadow: 0 16px 38px rgba(18, 28, 22, .10);
    padding: 0 !important;
    position: relative;
}

.cfd-page-lentreprise .cfd-family-image-column .cfd-family-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 430px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

@media (max-width: 782px) {
    .cfd-page-lentreprise .cfd-family-image-column,
    .cfd-page-lentreprise .cfd-family-image-column .cfd-family-image {
        min-height: 280px !important;
    }
}


/* =========================================================
   v1.6 — PAGE NOS SERVICES : MISE EN PAGE RECONSTRUITE
   ========================================================= */

.cfd-page-nos-services .cfd-modern-content {
    padding: 0 0 90px !important;
    background: #fff;
}

.cfd-page-nos-services .cfd-services-redesign {
    width: min(calc(100% - 64px), 1180px);
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 78px 0 10px;
}

.cfd-page-nos-services .cfd-service-source-hidden {
    display: none !important;
}

.cfd-page-nos-services .cfd-service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(44px, 6vw, 82px);
    align-items: center;
    margin: 0 0 96px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.cfd-page-nos-services .cfd-service-row:last-child {
    margin-bottom: 32px;
}

.cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-media {
    order: 2;
}

.cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-copy {
    order: 1;
}

.cfd-page-nos-services .cfd-service-media {
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #eef0ee;
    box-shadow: 0 18px 44px rgba(17, 29, 21, .10);
}

.cfd-page-nos-services .cfd-service-media img {
    display: block !important;
    width: 100% !important;
    height: 420px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.cfd-page-nos-services .cfd-service-row:hover .cfd-service-media img {
    transform: scale(1.018);
}

.cfd-page-nos-services .cfd-service-copy {
    min-width: 0;
    max-width: 560px;
}

.cfd-page-nos-services .cfd-service-eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .18em;
    font-weight: 750;
    color: #6d7770;
}

.cfd-page-nos-services .cfd-service-copy h2 {
    margin: 0 !important;
    color: #17201b !important;
    font-size: clamp(34px, 3.5vw, 52px) !important;
    line-height: 1.02 !important;
    font-weight: 590 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
}

.cfd-page-nos-services .cfd-service-copy h2::after {
    display: none !important;
}

.cfd-page-nos-services .cfd-service-line {
    display: block;
    width: 54px;
    height: 3px;
    margin: 18px 0 26px;
    border-radius: 99px;
    background: var(--cfd-accent, #24963f);
}

.cfd-page-nos-services .cfd-service-copy p {
    margin: 0 0 16px !important;
    color: #4f5b54 !important;
    font-size: 16.5px !important;
    line-height: 1.72 !important;
}

.cfd-page-nos-services .cfd-service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #202a24 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 680;
    box-shadow: none;
    transition: transform .22s ease, background .22s ease;
}

.cfd-page-nos-services .cfd-service-cta:hover {
    transform: translateY(-2px);
    background: #111713 !important;
    color: #fff !important;
}

/* Les anciens cadres / largeurs du builder ne doivent plus influencer le nouveau rendu. */
.cfd-page-nos-services.cfd-services-redesigned .cfd-modern-content > .wp-block-columns,
.cfd-page-nos-services.cfd-services-redesigned .cfd-modern-content > .wp-block-media-text,
.cfd-page-nos-services.cfd-services-redesigned .cfd-modern-content > .wp-block-group {
    border: 0 !important;
    box-shadow: none !important;
}

/* Header : blanc sur le hero, puis fond anthracite vitré si le thème le rend sticky. */
body.cfd-modern-page.cfd-past-hero .cfd-site-header-overlay,
body.cfd-modern-page.cfd-past-hero .site-header,
body.cfd-modern-page.cfd-past-hero #masthead,
body.cfd-modern-page.cfd-past-hero .header-main,
body.cfd-modern-page.cfd-past-hero .main-header {
    background: rgba(20, 27, 23, .94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0,0,0,.12) !important;
}

body.cfd-modern-page.cfd-past-hero .cfd-site-header-overlay nav > ul > li > a,
body.cfd-modern-page.cfd-past-hero .cfd-site-header-overlay nav .menu > li > a,
body.cfd-modern-page.cfd-past-hero .site-header nav a,
body.cfd-modern-page.cfd-past-hero #masthead nav a {
    color: #fff !important;
    text-shadow: none !important;
}

@media (max-width: 900px) {
    .cfd-page-nos-services .cfd-services-redesign {
        width: min(calc(100% - 40px), 1180px);
        padding-top: 54px;
    }

    .cfd-page-nos-services .cfd-service-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 68px;
    }

    .cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-media,
    .cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-copy {
        order: initial;
    }

    .cfd-page-nos-services .cfd-service-media img {
        height: clamp(280px, 58vw, 420px) !important;
    }

    .cfd-page-nos-services .cfd-service-copy {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .cfd-page-nos-services .cfd-services-redesign {
        width: calc(100% - 30px);
    }

    .cfd-page-nos-services .cfd-service-copy h2 {
        font-size: 34px !important;
    }

    .cfd-page-nos-services .cfd-service-copy p {
        font-size: 15.5px !important;
    }
}


/* =========================================================
   v1.7 — L'ENTREPRISE : RESTAURATION DE LA MISE EN PAGE D'ORIGINE
   ========================================================= */

/*
 * La page L’entreprise est volontairement exclue des styles de contenu
 * génériques du module. Sa composition WordPress d’origine reste intacte :
 * - Engagement et savoir-faire : image / texte en 50-50
 * - Nos offres spéciales : cover plein écran
 * - Notre aventure familiale : texte / image en 50-50
 *
 * Le module ne conserve que le hero moderne et le header.
 */

/* Annule d'éventuelles classes résiduelles d'une ancienne version. */
.cfd-page-lentreprise .cfd-family-image-column {
    min-height: unset !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: initial !important;
    position: static !important;
}

.cfd-page-lentreprise .cfd-family-image-column .cfd-family-image {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    object-fit: initial !important;
    object-position: initial !important;
    border-radius: 0 !important;
    margin: initial !important;
}

/*
 * Si l'ancien module avait laissé une classe d'animation sur des blocs,
 * on veille à ne jamais masquer le contenu de L’entreprise.
 */
.cfd-page-lentreprise .cfd-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


/* =========================================================
   v1.8 — NOS SERVICES : LARGEUR ET PROPORTIONS CORRIGÉES
   ========================================================= */

/*
 * Le conteneur du thème limite fortement la largeur de .cfd-modern-content.
 * On fait donc sortir uniquement notre nouvelle section Services de ce
 * conteneur, sans toucher au hero ni au reste du site.
 */
.cfd-page-nos-services .cfd-services-redesign {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(calc(100vw - 80px), 1240px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 82px 0 26px !important;
}

/* Chaque prestation devient une vraie section horizontale équilibrée. */
.cfd-page-nos-services .cfd-service-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
    column-gap: clamp(54px, 6vw, 92px) !important;
    align-items: center !important;
    margin: 0 0 112px !important;
    padding: 0 !important;
}

.cfd-page-nos-services .cfd-service-row.is-reverse {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
}

/* Image beaucoup plus présente : fini la petite vignette perdue dans la page. */
.cfd-page-nos-services .cfd-service-media {
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ecefec !important;
    box-shadow: 0 14px 38px rgba(17, 29, 21, .09) !important;
}

.cfd-page-nos-services .cfd-service-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
}

/* Texte : largeur lisible et hiérarchie plus sobre. */
.cfd-page-nos-services .cfd-service-copy {
    width: 100% !important;
    max-width: 520px !important;
    min-width: 0 !important;
    padding: 12px 0 !important;
}

.cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-copy {
    justify-self: end !important;
}

.cfd-page-nos-services .cfd-service-eyebrow {
    margin-bottom: 12px !important;
    color: #6d7770 !important;
    font-size: 11px !important;
    letter-spacing: .17em !important;
}

.cfd-page-nos-services .cfd-service-copy h2 {
    margin: 0 !important;
    color: #17201b !important;
    font-size: clamp(36px, 3.35vw, 52px) !important;
    line-height: 1.02 !important;
    font-weight: 580 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
}

.cfd-page-nos-services .cfd-service-copy p {
    max-width: 510px !important;
    color: #4d5952 !important;
    font-size: 17px !important;
    line-height: 1.72 !important;
}

/* Pas de carte blanche autour de la section. */
.cfd-page-nos-services .cfd-services-redesign,
.cfd-page-nos-services .cfd-service-row,
.cfd-page-nos-services .cfd-service-copy {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Tablette : garde encore deux colonnes tant que la largeur le permet. */
@media (max-width: 1050px) {
    .cfd-page-nos-services .cfd-services-redesign {
        width: calc(100vw - 48px) !important;
    }

    .cfd-page-nos-services .cfd-service-row,
    .cfd-page-nos-services .cfd-service-row.is-reverse {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: 42px !important;
        margin-bottom: 82px !important;
    }

    .cfd-page-nos-services .cfd-service-copy h2 {
        font-size: clamp(32px, 4vw, 44px) !important;
    }
}

/* Mobile : image puis texte, sans alternance confuse. */
@media (max-width: 782px) {
    .cfd-page-nos-services .cfd-services-redesign {
        left: 50% !important;
        width: calc(100vw - 30px) !important;
        padding-top: 52px !important;
    }

    .cfd-page-nos-services .cfd-service-row,
    .cfd-page-nos-services .cfd-service-row.is-reverse {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        margin-bottom: 66px !important;
    }

    .cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-media,
    .cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-copy {
        order: initial !important;
    }

    .cfd-page-nos-services .cfd-service-copy,
    .cfd-page-nos-services .cfd-service-row.is-reverse .cfd-service-copy {
        max-width: none !important;
        justify-self: stretch !important;
    }

    .cfd-page-nos-services .cfd-service-media {
        aspect-ratio: 16 / 11 !important;
    }

    .cfd-page-nos-services .cfd-service-copy h2 {
        font-size: 34px !important;
    }

    .cfd-page-nos-services .cfd-service-copy p {
        font-size: 15.8px !important;
        line-height: 1.65 !important;
    }
}


/* =========================================================
   v2.0 — NOS PARTENAIRES + BOUTONS SANS VERT
   ========================================================= */

/* Le hero Partenaires garde suffisamment d'espace sous le logo/menu. */
.cfd-page-nos-partenaires .cfd-hero {
    min-height: 400px !important;
}

.cfd-page-nos-partenaires .cfd-hero-inner {
    padding-top: 165px !important;
    padding-bottom: 54px !important;
}

/* Ancien contenu cassé masqué uniquement après reconstruction. */
.cfd-page-nos-partenaires .cfd-partners-source-hidden {
    display: none !important;
}

.cfd-page-nos-partenaires .cfd-modern-content {
    padding: 0 !important;
    text-align: left !important;
    background: #fff !important;
}

.cfd-page-nos-partenaires .cfd-partners-redesign {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 64px), 1180px);
    max-width: none !important;
    margin: 0 !important;
    padding: 82px 0 92px;
}

.cfd-page-nos-partenaires .cfd-partners-intro {
    max-width: 780px;
    margin: 0 auto 72px;
    text-align: center;
}

.cfd-page-nos-partenaires .cfd-partners-eyebrow {
    margin-bottom: 12px;
    color: #6d7770;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: .18em;
}

.cfd-page-nos-partenaires .cfd-partners-intro h2 {
    margin: 0 !important;
    color: #17201b !important;
    font-size: clamp(36px, 4vw, 56px) !important;
    line-height: 1.04 !important;
    font-weight: 580 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
}

.cfd-page-nos-partenaires .cfd-partners-intro h2::after {
    display: none !important;
}

.cfd-page-nos-partenaires .cfd-partners-line {
    display: block;
    width: 52px;
    height: 3px;
    margin: 18px auto 25px;
    border-radius: 99px;
    background: var(--cfd-accent, #24963f);
}

.cfd-page-nos-partenaires .cfd-partners-intro p {
    margin: 0 auto !important;
    max-width: 720px;
    color: #566159 !important;
    font-size: 17px !important;
    line-height: 1.72 !important;
}

.cfd-page-nos-partenaires .cfd-partners-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 13px 24px;
    border: 1px solid #202723;
    border-radius: 999px;
    background: #202723 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 680;
    box-shadow: none !important;
    transition: transform .22s ease, background .22s ease;
}

.cfd-page-nos-partenaires .cfd-partners-cta:hover {
    background: #111713 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.cfd-page-nos-partenaires .cfd-partners-logos-label {
    margin: 0 0 24px;
    color: #6a746e;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
}

.cfd-page-nos-partenaires .cfd-partners-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.cfd-page-nos-partenaires .cfd-partner-logo-card {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border: 1px solid #e4e8e5;
    border-radius: 16px;
    background: #fafbfa;
    box-shadow: none;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.cfd-page-nos-partenaires .cfd-partner-logo-card:hover {
    transform: translateY(-3px);
    border-color: #d4dad5;
    background: #fff;
}

.cfd-page-nos-partenaires .cfd-partner-logo-card img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 72px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .25s ease, opacity .25s ease;
}

.cfd-page-nos-partenaires .cfd-partner-logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ---------------------------------------------------------
   Aucun bouton vert dans le design du module.
   Le vert reste uniquement réservé aux petits traits d'accent.
   --------------------------------------------------------- */

body.cfd-modern-page .cfd-modern-content .wp-block-button__link,
body.cfd-modern-page .cfd-modern-content a.elementor-button,
body.cfd-modern-page .cfd-modern-content a[class*="button"]:not(.cfd-partners-cta):not(.cfd-service-cta),
body.cfd-modern-page .cfd-modern-content input[type="submit"],
body.cfd-modern-page .cfd-modern-content .wpforms-submit,
body.cfd-modern-home main .wp-block-button__link,
body.cfd-modern-home main a.elementor-button,
body.cfd-modern-home main .wpforms-submit,
.cfd-service-cta,
.cfd-partners-cta {
    background: #202723 !important;
    border-color: #202723 !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.cfd-modern-page .cfd-modern-content .wp-block-button__link:hover,
body.cfd-modern-page .cfd-modern-content a.elementor-button:hover,
body.cfd-modern-page .cfd-modern-content a[class*="button"]:hover,
body.cfd-modern-page .cfd-modern-content input[type="submit"]:hover,
body.cfd-modern-page .cfd-modern-content .wpforms-submit:hover,
body.cfd-modern-home main .wp-block-button__link:hover,
body.cfd-modern-home main a.elementor-button:hover,
body.cfd-modern-home main .wpforms-submit:hover,
.cfd-service-cta:hover,
.cfd-partners-cta:hover {
    background: #111713 !important;
    border-color: #111713 !important;
    color: #fff !important;
}

/* Le bouton du hero de l'accueil reste sombre/translucide. */
body.cfd-modern-home .cfd-home-hero .wp-block-button__link,
body.cfd-modern-home .cfd-home-hero a[class*="button"] {
    background: rgba(31, 39, 35, .62) !important;
    border-color: rgba(255,255,255,.25) !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    .cfd-page-nos-partenaires .cfd-partners-redesign {
        width: calc(100vw - 40px);
        padding-top: 60px;
        padding-bottom: 72px;
    }

    .cfd-page-nos-partenaires .cfd-partners-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .cfd-page-nos-partenaires .cfd-hero {
        min-height: 340px !important;
    }

    .cfd-page-nos-partenaires .cfd-hero-inner {
        padding-top: 120px !important;
        padding-bottom: 36px !important;
    }

    .cfd-page-nos-partenaires .cfd-partners-redesign {
        width: calc(100vw - 28px);
    }

    .cfd-page-nos-partenaires .cfd-partners-logos {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cfd-page-nos-partenaires .cfd-partner-logo-card {
        min-height: 125px;
    }
}


/* =========================================================
   v2.0.2 — CORRECTION DÉCALAGE HEADER / HERO
   ========================================================= */

/* Le header doit suivre la page et rester superposé au hero. */
.cfd-site-header-overlay {
    position: fixed !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* Fallback admin bar si la variable WordPress n'est pas fournie. */
body.admin-bar .cfd-site-header-overlay {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .cfd-site-header-overlay {
        top: 46px !important;
    }
}

/* On supprime l'espace blanc réservé par le header d'origine. */
.cfd-site-header-overlay-parent {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Sécurité supplémentaire sur les pages modernes. */
body.cfd-modern-page #page,
body.cfd-modern-page .site,
body.cfd-modern-page .site-content,
body.cfd-modern-page .site-main {
    margin-top: 0 !important;
}

/* Le hero doit rester collé en haut, sous la barre d'admin si présente. */
body.cfd-modern-page .cfd-hero {
    margin-top: 0 !important;
}


/* =========================================================
   v2.0.3 — SUPPRESSION DU BLANC AVANT LE HERO
   + RESPIRATION SUR L'ENTREPRISE
   ========================================================= */

/*
 * Le décalage est mesuré automatiquement en JavaScript.
 * On remonte uniquement le hero de la valeur réellement ajoutée par le thème.
 */
body.cfd-modern-page .cfd-hero {
    margin-top: calc(-1 * var(--cfd-auto-top-gap, 0px)) !important;
}

/* Neutraliser les espacements verticaux classiques du thème avant le contenu. */
body.cfd-modern-page .entry-content,
body.cfd-modern-page .page-content,
body.cfd-modern-page .content-area,
body.cfd-modern-page .site-content,
body.cfd-modern-page main.site-main,
body.cfd-modern-page article.page,
body.cfd-modern-page article.type-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/*
 * Page L'entreprise :
 * le premier grand bloc ne doit pas être collé au hero.
 * On garde la structure originale mais on crée une respiration nette.
 */
body.cfd-page-lentreprise .cfd-hero + * {
    margin-top: 44px !important;
}

/* Si le premier élément est un conteneur full-width dont la marge est neutralisée par le thème. */
body.cfd-page-lentreprise .cfd-hero + .wp-block-columns,
body.cfd-page-lentreprise .cfd-hero + .wp-block-group,
body.cfd-page-lentreprise .cfd-hero + .wp-block-media-text,
body.cfd-page-lentreprise .cfd-hero + section,
body.cfd-page-lentreprise .cfd-hero + div {
    margin-top: 44px !important;
}

@media (max-width: 782px) {
    body.cfd-page-lentreprise .cfd-hero + * {
        margin-top: 28px !important;
    }
}


/* =========================================================
   v2.0.4 — PAGE « EN IMAGE »
   Galerie lisible, moderne, sans cadres verts.
   ========================================================= */

.cfd-page-en-image .cfd-modern-content {
    padding: 68px 0 92px !important;
    background: #fff !important;
}

/* Le bloc galerie utilise vraiment la largeur disponible. */
.cfd-page-en-image .cfd-gallery-area {
    width: min(calc(100vw - 64px), 1180px) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Intro plus sobre */
.cfd-page-en-image .cfd-gallery-area > p:first-of-type,
.cfd-page-en-image .cfd-gallery-area p {
    color: #5a655f;
}

/* Filtres : anthracite uniquement, aucun vert. */
.cfd-page-en-image .cfd-gallery-filter {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 18px !important;
    border: 1px solid #d9dedb !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #17201b !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transform: none !important;
}

.cfd-page-en-image .cfd-gallery-filter:hover {
    background: #f1f3f1 !important;
    border-color: #cbd1cc !important;
    color: #111713 !important;
    transform: none !important;
}

.cfd-page-en-image .cfd-gallery-filter.active,
.cfd-page-en-image .cfd-gallery-filter.is-active,
.cfd-page-en-image .cfd-gallery-filter[aria-pressed="true"] {
    background: #202723 !important;
    border-color: #202723 !important;
    color: #fff !important;
}

/*
 * Annuler les styles génériques de bouton sur les éléments cliquables
 * qui entourent les photos. C'est ce qui créait les gros ronds verts.
 */
.cfd-page-en-image .cfd-gallery-item,
.cfd-page-en-image .cfd-gallery-item a,
.cfd-page-en-image .cfd-gallery-item button,
.cfd-page-en-image .cfd-gallery-item [role="button"] {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    border-radius: 18px !important;
    transform: none !important;
}

/* Une vraie grille, avec des vignettes suffisamment grandes. */
.cfd-page-en-image .cfd-gallery-grid {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 26px !important;
    align-items: stretch !important;
    margin-top: 28px !important;
}

.cfd-page-en-image .cfd-gallery-item {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    background: #f3f5f3 !important;
    border: 1px solid #e3e7e4 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 32px rgba(18, 28, 22, .07) !important;
    transition: transform .28s ease, box-shadow .28s ease !important;
}

.cfd-page-en-image .cfd-gallery-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 42px rgba(18, 28, 22, .11) !important;
}

/* Photos : lisibles, rectangulaires et homogènes. */
.cfd-page-en-image .cfd-gallery-thumb {
    display: block !important;
    width: 100% !important;
    height: 260px !important;
    min-width: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 17px !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: transform .45s cubic-bezier(.2,.7,.2,1) !important;
}

.cfd-page-en-image .cfd-gallery-item:hover .cfd-gallery-thumb {
    transform: scale(1.025) !important;
}

/* Écrase explicitement tout ancien rond/fond vert du thème. */
.cfd-page-en-image .cfd-gallery-area [style*="background"],
.cfd-page-en-image .cfd-gallery-item [style*="background"] {
    background-color: transparent !important;
}

/* Si le composant de galerie ajoute un masque/pseudo-bouton. */
.cfd-page-en-image .cfd-gallery-item::before,
.cfd-page-en-image .cfd-gallery-item::after,
.cfd-page-en-image .cfd-gallery-item a::before,
.cfd-page-en-image .cfd-gallery-item a::after {
    border-radius: 18px !important;
}

/* Sur cette page, les boutons de filtre ne doivent jamais hériter du vert générique. */
.cfd-page-en-image .cfd-modern-content button:not(.wpforms-submit),
.cfd-page-en-image .cfd-modern-content [role="button"] {
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .cfd-page-en-image .cfd-gallery-area {
        width: calc(100vw - 40px) !important;
    }

    .cfd-page-en-image .cfd-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .cfd-page-en-image .cfd-gallery-thumb {
        height: 230px !important;
    }
}

@media (max-width: 600px) {
    .cfd-page-en-image .cfd-modern-content {
        padding-top: 46px !important;
    }

    .cfd-page-en-image .cfd-gallery-area {
        width: calc(100vw - 28px) !important;
    }

    .cfd-page-en-image .cfd-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .cfd-page-en-image .cfd-gallery-thumb {
        height: 250px !important;
    }
}


/* =========================================================
   v2.0.5 — correction forte des vignettes « En image »
   Plus aucun vert ni forme ovale sur les miniatures.
   ========================================================= */

/* Grille légèrement plus large et aérée */
.cfd-page-en-image .cfd-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 28px !important;
}

/* La carte de vignette devient le seul contenant visuel */
.cfd-page-en-image .cfd-gallery-item {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 260px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f3f5f3 !important;
    border: 1px solid #e3e7e4 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 32px rgba(18, 28, 22, .07) !important;
}

/* Tous les wrappers entre la carte et l'image sont neutralisés */
.cfd-page-en-image .cfd-gallery-item .cfd-gallery-media-wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

/* On écrase encore plus fort tout style parasite sur les descendants */
.cfd-page-en-image .cfd-gallery-item .cfd-gallery-media-wrap *,
.cfd-page-en-image .cfd-gallery-item img {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* L'image doit remplir toute la vignette */
.cfd-page-en-image .cfd-gallery-thumb {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: inset(0 round 0) !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Si un composant impose des pseudo-couches vertes/ovales, on les supprime */
.cfd-page-en-image .cfd-gallery-item::before,
.cfd-page-en-image .cfd-gallery-item::after,
.cfd-page-en-image .cfd-gallery-item *::before,
.cfd-page-en-image .cfd-gallery-item *::after {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 900px) {
    .cfd-page-en-image .cfd-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cfd-page-en-image .cfd-gallery-item {
        min-height: 220px !important;
    }
}

@media (max-width: 600px) {
    .cfd-page-en-image .cfd-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .cfd-page-en-image .cfd-gallery-item {
        min-height: 240px !important;
    }
}


/* =========================================================
   v2.1 — point focal + garantie isolation/crépi
   ========================================================= */

/* Le point focal est injecté inline sur chaque hero. */
.cfd-hero {
    background-position: 50% 50%;
}

/* Mention de garantie : sobre, jamais verte, uniquement sur Isolation Performante. */
.cfd-page-nos-services .cfd-service-guarantee {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin: 0 0 24px;
    padding: 11px 15px;
    border: 1px solid #d7ddd8;
    border-radius: 12px;
    background: #f5f6f5;
    color: #17201b;
}
.cfd-page-nos-services .cfd-service-guarantee strong {
    color: #17201b !important;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: .01em;
}
.cfd-page-nos-services .cfd-service-guarantee span {
    color: #667169 !important;
    font-size: 12.5px;
    line-height: 1.35;
}


/* ---------- CONTACT : CARTE PLEINE LARGEUR ET CENTRÉE ---------- */

.cfd-page-contact .cfd-modern-content iframe[src*="google.com/maps"],
.cfd-page-contact .cfd-modern-content iframe[src*="maps.google"],
.cfd-page-contact .cfd-modern-content iframe[title*="map" i],
.cfd-page-contact .cfd-modern-content iframe[title*="carte" i] {
    display: block;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 420px;
    margin: 56px 0 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cfd-page-contact .cfd-modern-content .wp-block-embed:has(iframe[src*="google.com/maps"]),
.cfd-page-contact .cfd-modern-content .wp-block-embed:has(iframe[src*="maps.google"]),
.cfd-page-contact .cfd-modern-content .wp-block-group:has(iframe[src*="google.com/maps"]),
.cfd-page-contact .cfd-modern-content .wp-block-group:has(iframe[src*="maps.google"]),
.cfd-page-contact .cfd-modern-content .wp-block-columns:has(iframe[src*="google.com/maps"]),
.cfd-page-contact .cfd-modern-content .wp-block-columns:has(iframe[src*="maps.google"]),
.cfd-page-contact .cfd-modern-content p:has(iframe[src*="google.com/maps"]),
.cfd-page-contact .cfd-modern-content div:has(> iframe[src*="google.com/maps"]),
.cfd-page-contact .cfd-modern-content div:has(> iframe[src*="maps.google"]){
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 782px) {
    .cfd-page-contact .cfd-modern-content iframe[src*="google.com/maps"],
    .cfd-page-contact .cfd-modern-content iframe[src*="maps.google"],
    .cfd-page-contact .cfd-modern-content iframe[title*="map" i],
    .cfd-page-contact .cfd-modern-content iframe[title*="carte" i] {
        min-height: 340px;
        margin-top: 40px !important;
    }
}


/* =========================================================
   v2.1.2 — QUALITÉ DES BANDEAUX + TAMPON GARANTIE ACCUEIL
   ========================================================= */

/* L'ancienne mention de garantie dans la page Services n'est plus affichée. */
.cfd-page-nos-services .cfd-service-guarantee {
    display: none !important;
}

/* Le hero d'accueil sert de repère au tampon. */
.cfd-modern-home .cfd-home-hero {
    position: relative !important;
}

/* Tampon sobre sur la photo d'accueil, sans vert et sans texte supplémentaire. */
.cfd-modern-home .cfd-home-guarantee-stamp {
    position: absolute !important;
    right: clamp(28px, 5vw, 86px) !important;
    bottom: clamp(32px, 7vh, 76px) !important;
    z-index: 12 !important;
    width: clamp(128px, 10.5vw, 166px) !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    border: 2px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    background: rgba(20,27,23,.38) !important;
    box-shadow:
        inset 0 0 0 5px rgba(255,255,255,.18),
        0 12px 34px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff !important;
    font-family: inherit !important;
    font-size: clamp(12px, .95vw, 15px) !important;
    line-height: 1.28 !important;
    font-weight: 760 !important;
    letter-spacing: .025em !important;
    text-align: center !important;
    text-transform: none !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.35) !important;
    transform: rotate(-7deg) !important;
    pointer-events: none !important;
}

@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-guarantee-stamp {
        right: 18px !important;
        bottom: 24px !important;
        width: 116px !important;
        padding: 15px !important;
        font-size: 11px !important;
    }
}


/* =========================================================
   v2.1.3 — TAMPON ACCUEIL + CARTE CONTACT
   ========================================================= */

/* Le vrai conteneur photo du hero porte le tampon. */
.cfd-modern-home .cfd-home-stamp-host {
    position: relative !important;
}

/* Tampon : en bas à droite de la photo, jamais au-dessus du titre. */
.cfd-modern-home .cfd-home-guarantee-stamp {
    position: absolute !important;
    right: clamp(34px, 6vw, 100px) !important;
    bottom: clamp(34px, 7vh, 74px) !important;
    left: auto !important;
    top: auto !important;
    z-index: 20 !important;
    width: clamp(132px, 10vw, 158px) !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    border: 2px solid rgba(255,255,255,.96) !important;
    outline: 1px solid rgba(255,255,255,.38) !important;
    outline-offset: -7px !important;
    border-radius: 50% !important;
    background: rgba(25,30,27,.68) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.22) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: clamp(11px, .85vw, 14px) !important;
    line-height: 1.25 !important;
    font-weight: 760 !important;
    letter-spacing: .015em !important;
    text-align: center !important;
    text-transform: none !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.32) !important;
    transform: rotate(-6deg) !important;
    pointer-events: none !important;
}

/* La carte Contact est sortie de sa colonne puis affichée en vraie bande centrée. */
body.cfd-page-contact .cfd-contact-map-wide {
    position: relative !important;
    width: min(calc(100vw - 64px), 1180px) !important;
    max-width: 1180px !important;
    margin: 56px auto 0 !important;
    padding: 0 !important;
    clear: both !important;
}

body.cfd-page-contact .cfd-contact-map-wide iframe {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 430px !important;
    min-height: 430px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(16,24,40,.09) !important;
}

@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-guarantee-stamp {
        right: 18px !important;
        bottom: 22px !important;
        width: 112px !important;
        padding: 13px !important;
        font-size: 10.5px !important;
    }

    body.cfd-page-contact .cfd-contact-map-wide {
        width: calc(100vw - 28px) !important;
        margin-top: 38px !important;
    }

    body.cfd-page-contact .cfd-contact-map-wide iframe {
        height: 340px !important;
        min-height: 340px !important;
        border-radius: 14px !important;
    }
}


/* =========================================================
   v2.1.4 — MOBILE : ESPACE SUPPLÉMENTAIRE AVANT
   "NOTRE AVENTURE FAMILIALE" SUR L'ACCUEIL
   ========================================================= */

@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-about {
        margin-top: 36px !important;
        padding-top: 10px !important;
    }

    .cfd-modern-home .cfd-home-about .cfd-home-section-title,
    .cfd-modern-home .cfd-home-about h2:first-child,
    .cfd-modern-home .cfd-home-about h3:first-child {
        margin-top: 0 !important;
    }
}


/* =========================================================
   v2.1.5 — TAMPON GARANTIE : VERSION FINALE
   Inspiré du visuel validé : lisible, premium, discret.
   ========================================================= */

.cfd-modern-home .cfd-home-guarantee-stamp {
    right: clamp(30px, 4vw, 66px) !important;
    bottom: clamp(34px, 6vh, 58px) !important;
    width: clamp(138px, 8.4vw, 158px) !important;
    aspect-ratio: 1 / 1 !important;
    padding: 17px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 2px solid rgba(255,255,255,.96) !important;
    outline: 1px solid rgba(255,255,255,.58) !important;
    outline-offset: -7px !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.08), transparent 40%),
        rgba(20,24,22,.78) !important;
    box-shadow:
        0 10px 28px rgba(0,0,0,.20),
        inset 0 0 0 1px rgba(0,0,0,.18) !important;
    color: #fff !important;
    transform: none !important;
    text-shadow: 0 1px 5px rgba(0,0,0,.34) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-icon {
    width: 29px !important;
    height: 29px !important;
    display: block !important;
    flex: 0 0 29px !important;
    color: #fff !important;
    opacity: .96 !important;
}

.cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-text {
    display: block !important;
    color: #fff !important;
    font-size: clamp(12px, .78vw, 13.5px) !important;
    line-height: 1.23 !important;
    font-weight: 760 !important;
    letter-spacing: .005em !important;
    text-align: center !important;
}

.cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-rule {
    display: block !important;
    width: 24px !important;
    height: 1px !important;
    margin-top: 2px !important;
    background: rgba(255,255,255,.7) !important;
}

@media (max-width: 782px) {
    .cfd-modern-home .cfd-home-guarantee-stamp {
        right: 14px !important;
        bottom: 18px !important;
        width: 104px !important;
        padding: 12px 10px 10px !important;
        gap: 4px !important;
    }

    .cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-icon {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
    }

    .cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-text {
        font-size: 9.8px !important;
        line-height: 1.18 !important;
    }

    .cfd-modern-home .cfd-home-guarantee-stamp .cfd-guarantee-rule {
        width: 18px !important;
    }
}
