/* ===================================== */
/* NAUDET 1860 – VERSION PREMIUM PRO */
/* HEADER FIXE + RÉDUCTION AU SCROLL */
/* ===================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: #f3efe8;
    font-family: 'Playfair Display', serif;
    overflow-x: hidden;
}

/* ===================================== */
/* STRUCTURE CENTRALE */
/* ===================================== */

#maincontainer,
#bodycontainer {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    position: relative;
}

/* ===================================== */
/* HEADER FIXE PREMIUM */
/* ===================================== */

#headercontainer {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

/* Ombre élégante au scroll */
#headercontainer.scrolled {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

/* Compensation pour contenu */
#bodycontainer {
    padding-top: 190px;
}

/* ===================================== */
/* LOGO */
/* ===================================== */

#headerarea {
    padding: 45px 20px 20px 20px;
    text-align: center;
    transition: all 0.4s ease;
}

#headerlogo img {
    max-width: 230px;
    transition: all 0.4s ease;
}

/* Réduction au scroll */
#headercontainer.scrolled #headerarea {
    padding: 15px 20px 10px 20px;
}

#headercontainer.scrolled #headerlogo img {
    max-width: 160px;
}

/* ===================================== */
/* MENU PRINCIPAL */
/* ===================================== */

#headermenu {
    margin-top: 20px;
    transition: all 0.4s ease;
}

#hmenu {
    text-align: center;
}

#hmenu > li {
    display: inline-block;
    margin: 0 28px;
}

#hmenu > li > a.menu {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#hmenu > li > a.menu:hover {
    color: #8c6f4e;
}

/* Menu plus compact au scroll */
#headercontainer.scrolled #headermenu {
    margin-top: 8px;
}

/* ===================================== */
/* CONTENU */
/* ===================================== */

#bodyarea {
    padding: 40px 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================== */
/* TITRES PRODUITS */
/* ===================================== */

.productname a,
.viewtbl a,
.sectiontbarea a,
h2 a,
h3 a {
    color: #000 !important;
    text-decoration: none !important;
    font-weight: normal !important;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.productname a:hover,
h2 a:hover,
h3 a:hover {
    color: #8c6f4e !important;
}

/* ===================================== */
/* BOUTONS */
/* ===================================== */

.btnmain,
.btn-savoir-plus {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 28px;
    color: #000;
    background: #ffffff;
    border: 1.5px solid #8c6f4e;
    text-decoration: none;
    transition: all 0.35s ease;
}

.btnmain:hover,
.btn-savoir-plus:hover {
    background: #8c6f4e;
    color: #ffffff;
}

/* ===================================== */
/* FOOTER */
/* ===================================== */

#footercontainer {
    background: #e8dfd3;
    width: 100%;
}

#footercontainer > div {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

#fmenu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#fmenu li {
    width: 23%;
    margin-bottom: 20px;
    text-align: left;
}

#fmenu a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

#fmenu a:hover {
    color: #8c6f4e;
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media screen and (max-width: 1024px) {

    #bodycontainer {
        padding-top: 150px;
    }

    #hmenu > li {
        display: block;
        margin: 12px 0;
        text-align: center;
    }

    #fmenu {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #fmenu li {
        width: 100%;
        margin-bottom: 25px;
    }
}

/* ===================================== */
/* SUPPRESSION ÉLÉMENTS OXATIS INUTILES */
/* ===================================== */

.epv,
#ctl00_lblEpv,
ul:empty,
li:empty {
    display: none !important;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}