/*
 * Styles Elementor uniquement (thème enfant Savoy).
 * Ce fichier est chargé seulement quand Elementor charge ses styles frontend.
 */

/* Home Banner: #banner_accueil
--------------------------------------------------------------- */
#banner_accueil {
    position: relative;
    isolation: isolate;
    background-color: rgba(0, 0, 0, 0.42) !important;
    background-blend-mode: multiply !important;
}

/* Overlay léger sans modifier la taille ni l'image de fond Elementor */
#banner_accueil::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.34);
}

/* Compat Elementor: certains layouts utilisent cet overlay natif */
#banner_accueil .elementor-background-overlay {
    background-color: #000000 !important;
    opacity: 0.42 !important;
}

/* Garde le contenu au-dessus de l'overlay */
#banner_accueil > .elementor-container,
#banner_accueil > .e-con,
#banner_accueil .elementor-widget-wrap,
#banner_accueil .e-con-inner {
    position: relative;
    z-index: 1;
}

/* H1 visible, plus gros, centré */
#banner_accueil h1,
#banner_accueil .elementor-heading-title {
    color: #ffffff !important;
    font-size: clamp(40px, 6vw, 76px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Texte sous le titre centré et lisible */
#banner_accueil .elementor-widget-text-editor,
#banner_accueil .elementor-widget-text-editor p,
#banner_accueil .elementor-widget-text-editor .elementor-widget-container,
#banner_accueil p {
    color: #ffffff !important;
    text-align: center !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Home: Bio Suisse block (same layout spirit as collection pages)
--------------------------------------------------------------- */
#biosuisse_accueil {
    margin: 34px 0 12px !important;
}

#biosuisse_accueil > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: clamp(16px, 2.8vw, 30px) !important;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, var(--rf-linen) 100%);
    box-shadow: var(--rf-shadow-card);
}

#biosuisse_accueil > .e-con-inner > .e-con {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    justify-self: stretch;
    align-self: stretch;
}

#biosuisse_accueil > .e-con-inner > .e-con:first-child {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(28, 28, 28, 0.08);
}

#biosuisse_accueil .elementor-widget-image,
#biosuisse_accueil .elementor-widget-image .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
}

#biosuisse_accueil .elementor-widget-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none !important;
}

#biosuisse_accueil > .e-con-inner > .e-con:last-child {
    color: var(--rf-text-strong);
}

#biosuisse_accueil .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 12px;
    color: var(--rf-wood-brown) !important;
    font-size: clamp(23px, 2.1vw, 31px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
    text-align: left !important;
    text-shadow: none;
}

#biosuisse_accueil .elementor-widget-text-editor p {
    margin: 0;
    color: var(--rf-text-secondary) !important;
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.68;
    text-align: left !important;
    text-shadow: none;
}

#biosuisse_accueil .elementor-widget-text-editor p + p {
    margin-top: 12px;
}

@media (max-width: 991px) {
    #biosuisse_accueil > .e-con-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px !important;
    }

    #biosuisse_accueil .elementor-widget-heading .elementor-heading-title {
        margin-bottom: 10px;
        font-size: clamp(22px, 6vw, 28px) !important;
    }

    #biosuisse_accueil .elementor-widget-text-editor p {
        font-size: 15px;
        line-height: 1.62;
    }
}

/* Home: Product categories cards (#cat_produits_accueil)
--------------------------------------------------------------- */
#cat_produits_accueil {
    gap: clamp(12px, 1.8vw, 22px);
}

#cat_produits_accueil > .e-con {
    min-width: 0;
}

#cat_produits_accueil .nm-banner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--rf-border-subtle);
    background: #ffffff;
    box-shadow: var(--rf-shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

#cat_produits_accueil .nm-banner-link {
    display: block;
    height: 100%;
}

#cat_produits_accueil .nm-banner-image {
    border-radius: 16px;
    transition: transform 0.55s ease;
    will-change: transform;
}

/* Dark readability layer on images */
#cat_produits_accueil .nm-banner-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 12%, rgba(0, 0, 0, 0.44) 100%);
}

#cat_produits_accueil .nm-banner-content-inner {
    padding: 20px;
}

#cat_produits_accueil .nm-banner-title {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(19px, 1.8vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.no-touch #cat_produits_accueil .nm-banner:hover,
#cat_produits_accueil .nm-banner:focus-within {
    transform: translateY(-4px);
    border-color: var(--rf-border-soft-hover);
    box-shadow: var(--rf-shadow-card-hover);
}

.no-touch #cat_produits_accueil .nm-banner:hover .nm-banner-image,
#cat_produits_accueil .nm-banner:focus-within .nm-banner-image {
    transform: scale(1.06);
}

@media (max-width: 991px) {
    #cat_produits_accueil .nm-banner,
    #cat_produits_accueil .nm-banner-image {
        border-radius: 14px;
    }
}

/* Home: Featured products (#produits_phares_accueil)
--------------------------------------------------------------- */
#produits_phares_accueil .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 12px;
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: clamp(30px, 2.8vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-product-wrap {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 14px !important;
    border: 1px solid var(--rf-wood-brown) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: var(--rf-shadow-card) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.no-touch #produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-product-wrap:hover {
    transform: translateY(-4px) !important;
    border-color: var(--rf-wood-brown) !important;
    box-shadow: var(--rf-shadow-card-hover) !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-thumbnail {
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px !important;
    background: var(--rf-surface-soft-2) !important;
    overflow: hidden !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-thumbnail a {
    display: block !important;
    height: 100% !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 8px;
}

/* Disable secondary hover image on featured products */
#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-thumbnail .nm-shop-hover-image {
    display: none !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 12px !important;
    min-height: 0 !important;
    width: 100% !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .woocommerce-loop-product__title,
#produits_phares_accueil .nm-product-slider .nm-products li.product .woocommerce-loop-product__title a {
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    text-align: center !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-title-price {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 86px !important;
    text-align: center !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .woocommerce-loop-product__title {
    margin: 0 !important;
    line-height: 1.3 !important;
    min-height: calc(1.3em * 2) !important;
    width: 100% !important;
    padding-right: 0 !important;
    text-align: center !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .woocommerce-loop-product__title a {
    display: -webkit-box !important;
    width: 100% !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-align: center !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .price {
    margin-top: 8px !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-actions {
    position: static !important;
    left: 0 !important;
    top: auto !important;
    opacity: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: auto !important;
    padding-top: 10px !important;
}

#produits_phares_accueil .nm-product-slider .nm-products.has-action-links li.product .price,
#produits_phares_accueil .nm-product-slider .nm-products li.product .price {
    opacity: 1 !important;
    visibility: visible !important;
}

#produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-actions .nm-view-product-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px !important;
    border: 1px solid var(--rf-wood-brown) !important;
    border-radius: 3px;
    background: var(--rf-wood-brown) !important;
    color: var(--rf-linen) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: 0 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.no-touch #produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-actions .nm-view-product-btn:hover {
    border-color: var(--rf-black-deep) !important;
    background: var(--rf-black-deep) !important;
    color: var(--rf-linen) !important;
    box-shadow: 0 8px 18px rgba(28, 28, 28, 0.16);
}

@media (max-width: 768px) {
    #produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-product-wrap {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    #produits_phares_accueil .nm-product-slider .nm-products li.product .nm-shop-loop-title-price {
        min-height: 80px !important;
    }
}

/* Keep slider arrows always visible (not only on hover) */
#produits_phares_accueil .nm-product-slider .slick-prev,
#produits_phares_accueil .nm-product-slider .slick-next {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Premium pagination dots */
#produits_phares_accueil .nm-product-slider .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px !important;
}

#produits_phares_accueil .nm-product-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 !important;
}

#produits_phares_accueil .nm-product-slider .slick-dots li button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(109, 78, 54, 0.45);
    border-radius: 999px;
    background: rgba(109, 78, 54, 0.12);
    text-indent: -9999px;
    overflow: hidden;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, width 0.2s ease;
}

#produits_phares_accueil .nm-product-slider .slick-dots li.slick-active button {
    width: 24px;
    border-color: var(--rf-wood-brown);
    background: var(--rf-wood-brown);
}

.no-touch #produits_phares_accueil .nm-product-slider .slick-dots li button:hover {
    border-color: var(--rf-wood-brown);
    background: rgba(109, 78, 54, 0.25);
    transform: translateY(-1px);
}

/* Home: Engagement / Histoire / Points de vente
--------------------------------------------------------------- */
#engagement_histoire_pdv_accueil {
    background: linear-gradient(180deg, #ffffff 0%, var(--rf-linen) 100%) !important;
    border-top: 1px solid var(--rf-border-subtle);
    border-bottom: 1px solid var(--rf-border-subtle);
    padding: clamp(28px, 4vw, 54px) 0 !important;
}

#engagement_histoire_pdv_accueil > .e-con-boxed > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}

#engagement_histoire_pdv_accueil > .e-con-boxed > .e-con-inner > .e-con {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.no-touch #engagement_histoire_pdv_accueil > .e-con-boxed > .e-con-inner > .e-con:hover {
    transform: translateY(-4px);
    border-color: var(--rf-border-soft-hover);
    box-shadow: var(--rf-shadow-card-hover);
}

#engagement_histoire_pdv_accueil .elementor-widget-image {
    margin-bottom: 14px !important;
}

#engagement_histoire_pdv_accueil .elementor-widget-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--rf-border-subtle);
}

#engagement_histoire_pdv_accueil .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 10px;
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: clamp(22px, 1.8vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

#engagement_histoire_pdv_accueil .elementor-widget-text-editor {
    color: var(--rf-text-secondary);
    font-size: 16px;
    line-height: 1.65;
}

#engagement_histoire_pdv_accueil .elementor-widget-text-editor p {
    margin: 0;
}

#engagement_histoire_pdv_accueil .elementor-widget-button {
    margin-top: auto;
    padding-top: 14px;
}

#engagement_histoire_pdv_accueil .elementor-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px !important;
    border: 1px solid var(--rf-wood-brown) !important;
    border-radius: 3px;
    background: var(--rf-wood-brown) !important;
    color: var(--rf-linen) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.no-touch #engagement_histoire_pdv_accueil .elementor-button:hover,
#engagement_histoire_pdv_accueil .elementor-button:focus-visible {
    border-color: var(--rf-black-deep) !important;
    background: var(--rf-black-deep) !important;
    color: var(--rf-linen) !important;
    box-shadow: 0 8px 18px rgba(28, 28, 28, 0.14);
}

@media (max-width: 1024px) {
    #engagement_histoire_pdv_accueil > .e-con-boxed > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #engagement_histoire_pdv_accueil > .e-con-boxed > .e-con-inner {
        grid-template-columns: 1fr;
    }

    #engagement_histoire_pdv_accueil > .e-con-boxed > .e-con-inner > .e-con {
        padding: 12px;
        border-radius: 12px;
    }
}

/* Home: Latest articles
--------------------------------------------------------------- */
#derniers_articles_accueil {
    --da-gap: clamp(12px, 1.6vw, 20px);
    background: #ffffff !important;
    padding: clamp(28px, 4vw, 52px) 0 !important;
    margin-bottom: clamp(24px, 3vw, 44px) !important;
}

#derniers_articles_accueil .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 16px;
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: clamp(30px, 2.6vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center !important;
}

#derniers_articles_accueil .nm-posts > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--da-gap);
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    padding-right: 2px !important; /* Avoid right-edge clipping on subpixel rounding */
}

#derniers_articles_accueil .nm-posts > ul > li {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    flex: 0 0 calc((100% - (3 * var(--da-gap)) - 1px) / 4) !important;
    max-width: calc((100% - (3 * var(--da-gap)) - 1px) / 4) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure no parent wrapper clips the last card */
#derniers_articles_accueil .elementor-widget-nm-posts,
#derniers_articles_accueil .elementor-widget-nm-posts .elementor-widget-container,
#derniers_articles_accueil .nm-posts,
#derniers_articles_accueil .nm-blog-grid {
    overflow: visible !important;
}

/* Reset Savoy block-grid float system inside this section */
#derniers_articles_accueil .nm-posts > ul > li,
#derniers_articles_accueil .nm-posts > ul > li[class*="block-grid"],
#derniers_articles_accueil .nm-posts > ul > li:nth-child(n) {
    float: none !important;
    width: auto !important;
    clear: none !important;
    margin: 0 !important;
}

/* Hard reset for Savoy block-grid nth-child clear/width rules */
#derniers_articles_accueil .nm-posts ul.xsmall-block-grid-1.small-block-grid-1.medium-block-grid-3.large-block-grid-4 > li,
#derniers_articles_accueil .nm-posts ul.xsmall-block-grid-1.small-block-grid-1.medium-block-grid-3.large-block-grid-4 > li:nth-child(n),
#derniers_articles_accueil .nm-posts ul.xsmall-block-grid-1.small-block-grid-1.medium-block-grid-3.large-block-grid-4 > li:nth-child(odd),
#derniers_articles_accueil .nm-posts ul.xsmall-block-grid-1.small-block-grid-1.medium-block-grid-3.large-block-grid-4 > li:nth-child(even) {
    clear: none !important;
    width: auto !important;
    float: none !important;
}

/* Safety: hide unexpected empty placeholders */
#derniers_articles_accueil .nm-posts > ul > li:empty {
    display: none !important;
}

.no-touch #derniers_articles_accueil .nm-posts > ul > li:hover {
    transform: translateY(-4px);
    border-color: var(--rf-border-soft-hover);
    box-shadow: var(--rf-shadow-card-hover);
}

#derniers_articles_accueil .nm-post-thumbnail {
    margin-bottom: 12px !important;
    border-radius: 10px;
    overflow: hidden;
    background: var(--rf-surface-soft-2);
}

#derniers_articles_accueil .nm-post-thumbnail a {
    display: block;
}

#derniers_articles_accueil .nm-post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 50%;
}

#derniers_articles_accueil .nm-post-meta {
    margin-bottom: 8px;
}

#derniers_articles_accueil .nm-post-meta,
#derniers_articles_accueil .nm-post-title,
#derniers_articles_accueil .nm-post-title a {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    clip: auto !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}

#derniers_articles_accueil .nm-post-meta span {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 999px;
    background: #ffffff;
    color: var(--rf-text-secondary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

#derniers_articles_accueil .nm-post-title {
    margin: 0;
    color: var(--rf-wood-brown);
    font-family: "Lato", sans-serif !important;
    font-size: clamp(17px, 1.15vw, 20px);
    line-height: 1.32;
}

#derniers_articles_accueil .nm-post-title a {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

.no-touch #derniers_articles_accueil .nm-post-title a:hover {
    color: var(--rf-old-rose-light) !important;
}

@media (max-width: 1100px) {
    #derniers_articles_accueil .nm-posts > ul {
        flex-wrap: wrap !important;
        overflow: visible !important;
    }

    #derniers_articles_accueil .nm-posts > ul > li {
        flex: 0 0 calc((100% - var(--da-gap) - 1px) / 2) !important;
        max-width: calc((100% - var(--da-gap) - 1px) / 2) !important;
    }
}

@media (max-width: 767px) {
    #derniers_articles_accueil .nm-posts > ul {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    #derniers_articles_accueil .nm-posts > ul > li {
        flex: 1 1 auto !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider {
        margin: 0 !important;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-list {
        overflow: hidden !important;
        padding: 0 !important;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-track {
        display: flex !important;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide {
        height: auto !important;
        padding: 0 6px;
        box-sizing: border-box;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide > div {
        height: 100%;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide > div > li {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #derniers_articles_accueil .nm-post-thumbnail .nm-image-overlay {
        display: none !important;
    }

    /* Force text blocks visible inside Slick slides (override theme fade/animation rules) */
    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide .nm-post-meta,
    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide .nm-post-title,
    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide .nm-post-title a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: static !important;
        clip: auto !important;
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
        color: var(--rf-wood-brown) !important;
        text-align: left !important;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide .nm-post-meta {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    #derniers_articles_accueil .nm-posts > ul.slick-slider .slick-slide .nm-post-title {
        margin: 0 !important;
        line-height: 1.35 !important;
    }

    #derniers_articles_accueil .nm-post-title,
    #derniers_articles_accueil .nm-post-title a {
        display: block !important;
        white-space: normal !important;
        overflow: visible !important;
    }

}

/* Home: Text blocks with images (.textes_infos_accueil)
--------------------------------------------------------------- */
.textes_infos_accueil {
    background: #ffffff !important;
    padding: clamp(26px, 3.2vw, 44px) 0 !important;
}

.textes_infos_accueil > .e-con-inner {
    display: flex !important;
    flex-direction: column;
    gap: clamp(14px, 1.8vw, 22px);
}

.textes_infos_accueil > .e-con-inner > .e-con {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(14px, 1.8vw, 22px);
    padding: 14px;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-card);
}

.textes_infos_accueil .elementor-widget-image,
.textes_infos_accueil .elementor-widget-image .elementor-widget-container {
    width: 100% !important;
}

.textes_infos_accueil .elementor-widget-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 10px;
    border: 1px solid var(--rf-border-subtle);
}

.textes_infos_accueil .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 10px;
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.textes_infos_accueil .elementor-widget-text-editor,
.textes_infos_accueil .elementor-widget-text-editor p {
    margin: 0;
    color: var(--rf-text-secondary) !important;
    font-size: 16px;
    line-height: 1.65;
}

.textes_infos_accueil .e-con .e-con {
    min-width: 0;
}

@media (max-width: 991px) {
    .textes_infos_accueil > .e-con-inner > .e-con {
        grid-template-columns: 1fr;
    }
}

/* Home: FAQ section
--------------------------------------------------------------- */
.elementor-element-cf7d41c {
    background: transparent !important;
    padding: clamp(28px, 4vw, 54px) 0 !important;
}

.elementor-element-cf7d41c .elementor-divider {
    margin-bottom: 12px;
}

.elementor-element-cf7d41c .elementor-divider-separator {
    width: min(120px, 20vw) !important;
    border-top: 2px solid var(--rf-old-rose-light) !important;
    margin: 0 auto !important;
}

.elementor-element-cf7d41c .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 16px;
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: clamp(30px, 2.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center !important;
}

.elementor-element-cf7d41c .e-n-accordion {
    display: grid;
    gap: 10px;
    --n-accordion-animation-duration: 180ms;
}

.elementor-element-cf7d41c .e-n-accordion-item {
    overflow: hidden;
    border: 1px solid var(--rf-border-subtle);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.no-touch .elementor-element-cf7d41c .e-n-accordion-item:hover {
    border-color: var(--rf-border-soft-hover);
    box-shadow: var(--rf-shadow-card-hover);
    transform: translateY(-1px);
}

.elementor-element-cf7d41c .e-n-accordion-item[open] {
    border-color: var(--rf-wood-brown);
    box-shadow: 0 10px 24px rgba(28, 28, 28, 0.1);
}

.elementor-element-cf7d41c .e-n-accordion-item-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 60px;
    padding: 16px 18px;
    background: #ffffff;
    cursor: pointer;
}

.elementor-element-cf7d41c .e-n-accordion-item-title-header {
    min-width: 0;
}

.elementor-element-cf7d41c .e-n-accordion-item-title-text {
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 700;
    line-height: 1.3;
}

.elementor-element-cf7d41c .e-n-accordion-item-title-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--rf-wood-brown);
}

/* Replace default FA icons with cleaner custom +/- */
.elementor-element-cf7d41c .e-n-accordion-item-title-icon .e-opened,
.elementor-element-cf7d41c .e-n-accordion-item-title-icon .e-closed {
    display: none !important;
}

.elementor-element-cf7d41c .e-n-accordion-item-title-icon svg {
    display: none !important;
}

.elementor-element-cf7d41c .e-n-accordion-item-title-icon::before,
.elementor-element-cf7d41c .e-n-accordion-item-title-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.6px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.elementor-element-cf7d41c .e-n-accordion-item-title-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.elementor-element-cf7d41c .e-n-accordion-item[open] .e-n-accordion-item-title-icon::after {
    display: none;
}

.elementor-element-cf7d41c .e-n-accordion-item[open] .e-n-accordion-item-title {
    background: rgba(247, 239, 229, 0.5);
}

.elementor-element-cf7d41c .e-n-accordion-item > [role="region"] {
    padding: 0 18px 16px;
    background: #ffffff;
}

.elementor-element-cf7d41c .e-n-accordion-item .elementor-widget-text-editor,
.elementor-element-cf7d41c .e-n-accordion-item .elementor-widget-text-editor p {
    margin: 0;
    color: var(--rf-text-secondary) !important;
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .elementor-element-cf7d41c .e-n-accordion-item-title {
        min-height: 54px;
        padding: 14px;
    }

    .elementor-element-cf7d41c .e-n-accordion-item > [role="region"] {
        padding: 0 14px 14px;
    }
}

/* Home: Reassurance strip (v2 redesign)
--------------------------------------------------------------- */
#reassurance_accueil {
    padding: clamp(14px, 2vw, 24px) 0 8px !important;
    background: #ffffff !important;
}

#reassurance_accueil > .elementor-element-c4cb92b {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

#reassurance_accueil .elementor-element-c4cb92b {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.2vw, 16px);
    align-items: stretch;
    justify-items: stretch;
}

#reassurance_accueil .elementor-element-c4cb92b > .e-con {
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

#reassurance_accueil .elementor-element-c4cb92b > .e-con > .e-con-inner {
    height: 100%;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    display: block !important;
}

#reassurance_accueil .elementor-icon-box-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    min-height: 124px;
    padding: 16px 12px;
    border: 1px solid rgba(109, 78, 54, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(28, 28, 28, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.no-touch #reassurance_accueil .elementor-icon-box-wrapper:hover {
    transform: translateY(-3px);
    border-color: rgba(109, 78, 54, 0.32);
    box-shadow: 0 10px 20px rgba(28, 28, 28, 0.09);
}

#reassurance_accueil .elementor-icon-box-icon .elementor-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rf-wood-brown);
    color: var(--rf-linen);
}

#reassurance_accueil .elementor-icon-box-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#reassurance_accueil .elementor-icon-box-description {
    margin: 0 !important;
    color: var(--rf-wood-brown) !important;
    font-family: "Lato", sans-serif !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

@media (max-width: 1100px) {
    #reassurance_accueil .elementor-element-c4cb92b {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #reassurance_accueil .elementor-element-c4cb92b {
        display: block !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b > .e-con {
        width: auto !important;
        max-width: none !important;
        margin: 0 6px !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider {
        margin: 0 -6px !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-list {
        overflow: hidden !important;
        padding: 0 2px !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-track {
        display: flex !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-slide {
        height: auto !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-slide > div {
        height: 100%;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-slide > div > .e-con {
        height: 100% !important;
        display: block !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-prev,
    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-next {
        width: 32px;
        height: 32px;
        z-index: 3;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 0;
        line-height: 0;
        color: transparent;
        border: 1px solid rgba(109, 78, 54, 0.34);
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(28, 28, 28, 0.12);
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-prev {
        left: -8px;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-next {
        right: -8px;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-prev::before,
    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-next::before {
        display: block;
        font-family: inherit;
        line-height: 1;
        color: var(--rf-wood-brown);
        font-size: 18px;
        opacity: 1;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-prev::before {
        content: "\2039";
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-next::before {
        content: "\203A";
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-dots {
        position: static;
        display: flex !important;
        justify-content: center;
        gap: 8px;
        margin-top: 12px !important;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-dots li {
        width: auto;
        height: auto;
        margin: 0;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-dots li button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 1px solid rgba(109, 78, 54, 0.4);
        border-radius: 999px;
        background: rgba(109, 78, 54, 0.12);
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-dots li button::before {
        content: none;
    }

    #reassurance_accueil .elementor-element-c4cb92b.slick-slider .slick-dots li.slick-active button {
        width: 20px;
        background: var(--rf-wood-brown);
        border-color: var(--rf-wood-brown);
    }

    #reassurance_accueil .elementor-icon-box-wrapper {
        min-height: 108px;
        padding: 14px 10px;
    }
}
