html { font-size: 62.5%; }

:root {
    --current-color: #18181B;
    --primary-color: #86754D;
    --secondary-color: #ABAAA6;
    --bg-lowest-color: #FAF8EF;
}

h1, h2, h3, h4, h5, h6 { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* btn */
.btn-hover-bold:hover { font-weight: bold; }
.btn-animation-forward,
.btn-animation-forward .elementor-button-icon {
    transform: translateX(0);
    transition: transform 1s ease;
}
.btn-animation-forward:active,
.btn-animation-forward:focus,
.btn-animation-forward:hover {
    transform: translateX(10px);
    transition: transform 1s ease;
}
.btn-animation-forward:active .elementor-button-icon,
.btn-animation-forward:focus .elementor-button-icon,
.btn-animation-forward:hover .elementor-button-icon {
    transform: translateX(6px);
}
.btn-animation-forward .elementor-button-icon svg {
    width: 1.2rem;
}

/* Animation de reveal pour images (hors edition elementor backend) */
body:not(.elementor-editor-active) {
    .img-animation {
        overflow: hidden;
    }

    .img-animation img {
        clip-path: inset(0 0 100% 0);
        transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .img-animation.is-visible img {
        clip-path: inset(0 0 0% 0);
    }

    /* Optionnel : léger effet de scale en plus */
    .img-animation img {
        transform: scale(1.1);
        transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1),
                    transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .img-animation.is-visible img {
        transform: scale(1);
    }
}

/* Cookies */
#cookiesAcceptation {
    text-align: center;
}
#cookiesAcceptation .cmplz-status-accepted {
    margin-top: 1rem;
}
#cookiesAcceptation a { color: var(--primary-color); }
#cookiesAcceptation button.cmplz-revoke-custom {
    margin-bottom: 1rem;
    padding: 1.5rem 2rem !important;
    border: 1px solid var(--primary-color);
    background-color: var(--bg-lowest-color);
    color: var(--primary-color);
    font-weight: 600;
}
#cookiesAcceptation button.cmplz-revoke-custom:hover {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

header {
    position: relative;
    z-index: 3;
}
header.scrolled .headerWrap,
header:hover .headerWrap {
    background-color: rgba(255, 255, 355, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header .headerWrap #rightBlock { width: fit-content; }
header a.elementor-item, header #langSwitcher ul a { color: white; }

header:hover a, header.scrolled a {
    color: var(--current-color) !important;
}

header.scrolled .headerWrap #searchBtn a.elementor-button svg,
header:hover .headerWrap #searchBtn a.elementor-button svg { fill: var(--current-color) !important; }
header .headerWrap #searchBtn a.elementor-button:hover svg { fill: var(--primary-color) !important; }

/* header:hover a.elementor-item:hover,
header.scrolled .headerWrap a.elementor-item:hover,
header:hover a.elementor-item.highlighted {
    color: var(--primary-color) !important;
} */
 
header .elementor-nav-menu--main{
    height: 100%;
}
header .elementor-nav-menu--main .sub-menu.elementor-nav-menu--dropdown{
    top: calc(100% + 10px) !important;
    min-width: max-content !important;
    left: 0 !important;
    margin-left: -1rem !important;
}

header .elementor-nav-menu--main .sub-menu.elementor-nav-menu--dropdown a{
    padding: 1rem 1rem;
    border: none;
}
header .elementor-nav-menu--main .elementor-nav-menu > li.current-menu-ancestor > a,
header .elementor-nav-menu--main .elementor-nav-menu > li > a.highlighted,
header .elementor-nav-menu--main .elementor-nav-menu > li ul li > a.highlighted,
header .elementor-nav-menu--main .elementor-nav-menu > li:hover > a,
header .elementor-nav-menu--main .elementor-nav-menu > li ul li:hover > a,
header .elementor-nav-menu--main .elementor-nav-menu > li ul li > a.elementor-item-active{
    color: var(--primary-color);
    /* font-weight: 500; */
    -webkit-text-stroke: 1px var(--primary-color);
}

header .elementor-nav-menu--dropdown{
    font-size: 1.7rem;
}

header .current-menu-item a.elementor-item-active { color: white !important; }
header:hover a:hover, header.scrolled a:hover,
header:hover .current-menu-parent > a,
header.scrolled .current-menu-parent > a,
header .current-menu-parent > a,
header:hover .current-menu-item a.elementor-item-active, header.scrolled .current-menu-item a.elementor-item-active,
header:hover .current-menu-parent .current-menu-item a,
header.scrolled .current-menu-parent .current-menu-item a {
    color: var(--primary-color) !important;
}

header #logo svg { fill: white; }
header:hover #logo svg, header.scrolled #logo svg {
    fill: var(--current-color); 
}
header:hover #logo svg #symbol, header.scrolled #logo svg #symbol {
    fill: var(--primary-color) !important;
}
header #langSwitcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
header #langSwitcher ul a { }

/* #searchBlock { display: none; opacity: 0; }
header.openSearch .headerWrap { top: 100px !important; } */
/* #header {
    min-height: 450px;
    height: 45vh;
    max-height: 550px;
}
@media (min-width: 1024px) {
    #header {
        min-height: 550px;
        height: 50vh;
        max-height: 650px;
    }
}
@media (min-width: 1200px) {
    #header {
        min-height: 650px;
        height: 60vh;
        max-height: 750px;
   }
} */

@media (max-width: 767px) {
    #header {
        min-height: 450px;
        height: 45vh;
        max-height: 550px;
    }

    footer #menusFooter ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: anchor-center;
    }
    footer #realisation p {
        margin-block: 0 .5rem !important;
    }
}

#insideVisuel {
    margin-top: 10rem;
    height: 230px;
}
@media (min-width: 769px) {
    #insideVisuel {
        margin-top: 0;
        height: 290px;
    }
}
@media (min-width: 1200px) {
    #insideVisuel {
        height: 400px;
    }
}
@media (min-width: 1640px) {
    #insideVisuel {
        height: 550px;
    }
}

/* Revendeurs */
.itemBlockRevendeur a { color: var(--current-color); }
.itemBlockRevendeur a:hover { color: var(--primary-color); }

/* Category page */
a.categoryPageProduct { color: var(--current-color); }
a.categoryPageProduct:hover { color: var(--primary-color); }
a.categoryPageProduct .categoryPageProductImg, a.designerPage .designerPageImg {
    overflow: hidden;
}
a.categoryPageProduct .categoryPageProductImg img, a.designerPage .designerPageImg img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transform: scale(1);
    /* transition: opacity 0.4s ease, transform 0.4s ease; */
    transition: opacity 0.4s ease;
}
.categoryPageProduct:hover .categoryPageProductImg img {
    /* transform: scale(1.15); */
    /* opacity: .8; */
}
.categoryPageProduct .categoryPageProductImg:before {
    position: absolute;
    content: "";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: white;
    transition: opacity .2s;
    inset: 0%;
}
.categoryPageProduct:hover .categoryPageProductImg:before {
    z-index: 1;
    opacity: .4;
}
/* a.categoryPageProduct .categoryPageProductImgs img {
    aspect-ratio: 1 / 1;
    object-fit: fill;
}

.categoryPageProduct {
    overflow: hidden;
}
.categoryPageProduct .hover-image {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: fill;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
    pointer-events: none;
}
.categoryPageProduct:hover .hover-image {
    opacity: 1;
    transform: scale(1);
} */

.product-categories {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.product-categories li a {
    padding: 0 1rem;
    color: var(--current-color);
    border-radius: 5px;
    text-decoration: none;
}
@media (min-width: 1024px) {
    .product-categories { gap: 2rem; }
    .product-categories li a { padding: 0 2rem; }
}
.product-categories li a:hover {
    color: var(--primary-color);
}



/* Product page */
.noMargin p { margin: 0; }

@media (min-width: 1024px) {
    .breakLine { word-spacing: 100vw; }
}
.woocommerce-breadcrumb span { padding-inline: .7rem; color: var(--secondary-color); }

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 15%;
}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: none;
}

/* Affichage des finitions de produits */
.product-finishes { display: flex; flex-direction: column; justify-content: space-between; }
.product-finishes .finish-category {
    gap: .8rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.product-finishes .finish-category:last-child { margin-bottom: 0; }

/* Grille des finitions */
.finish-items {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    font-size: 1.6rem;
}

.finish-item {
    text-align: center;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.finish-item:hover {
    transform: translateY(-5px);
}

/* Images circulaires */
.finish-image-wrapper {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.finish-item:hover .finish-image-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.finish-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.finish-label {
    margin: 0;
    max-width: 60px;
}
.finish-reference {
    margin-top: 0;
    font-size: 14px;
    font-weight: bold;
}

/* Responsive - Tablette
============================================ */
@media (max-width: 1024px) {
    .product-finishes {
        padding: 25px;
        margin: 30px 0;
    }
    
    .finish-items {
        gap: 25px;
    }
}

/* Responsive - Mobile
============================================ */
@media (max-width: 768px) {
    .product-finishes {
        padding: 20px;
        margin: 20px 0;
    }
    
    .product-finishes h3 {
        font-size: 20px;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
    }
    
    .finish-category h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .finish-items {
        gap: 20px;
        justify-content: center;
    }
    
    .finish-image-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .finish-label {
        font-size: 13px;
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .product-finishes {
        padding: 15px;
    }
    
    .product-finishes h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .finish-category h4 {
        font-size: 16px;
    }
    
    .finish-items {
        gap: 15px;
    }
    
    .finish-image-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .finish-label {
        font-size: 12px;
        max-width: 70px;
    }
}

/* Animation au chargement
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.finish-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.finish-item:nth-child(1) { animation-delay: 0.1s; }
.finish-item:nth-child(2) { animation-delay: 0.2s; }
.finish-item:nth-child(3) { animation-delay: 0.3s; }
.finish-item:nth-child(4) { animation-delay: 0.4s; }
.finish-item:nth-child(5) { animation-delay: 0.5s; }
.finish-item:nth-child(6) { animation-delay: 0.6s; }

/* Accessibilité
============================================ */
.finish-item:focus-within { outline: 2px solid var(--primary-color); outline-offset: 4px; border-radius: 4px; }

/* Pour les utilisateurs qui préfèrent moins d'animations */
@media (prefers-reduced-motion: reduce) {
    .finish-item {
        animation: none;
        opacity: 1;
    }
    
    .finish-item:hover {
        transform: none;
    }
    
    .finish-image-wrapper {
        transition: none;
    }
}


.form-newsletter{
    position: relative !important;
}

.form-newsletter .elementor-field-type-email input{
    padding-right: 70px !important;
}

.form-newsletter .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option{
    display: flex;
    align-items: flex-start;
}

.form-newsletter .elementor-field-type-acceptance .elementor-field-subgroup input{
    margin-top: 0;
}

.form-newsletter .elementor-field-type-acceptance .elementor-field-subgroup label{
    font-size: 1.3rem !important;
    line-height: 1.2em !important;
    display: block;
}

.form-newsletter .elementor-field-type-submit.elementor-column{
    position: unset !important;
}

.form-newsletter #btn-newsletter{
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    cursor: pointer;
}

.woocommerce div.product .woocommerce-product-gallery.images {
    margin-bottom: 2rem;
}
.photo-credits{
    font-size: 1.5rem !important;
}