/* ============================================================
   Maison Biliward — Home B2B (v1)
   ============================================================ */

:root {
    --mb-brun:    #4C3228;
    --mb-dore:    #B28A4A;
    --mb-beige:   #fdfbf8;
    --mb-gris:    #6b5b52;
    --mb-gris-clair: #e8e0d8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
}

a { color: var(--mb-dore); text-decoration: none; }
a:hover { color: var(--mb-brun); }

/* ---- HEADER ---- */
.mb-header {
    background: #fff;
    border-bottom: 1px solid var(--mb-gris-clair);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mb-hero-logo {
    display: block;
    margin: 0 auto 16px;
    height: 150px;
    width: auto;
}

.mb-logo { height: 90px; }

.mb-nav-link {
    color: var(--mb-brun);
    font-weight: 500;
    padding: 8px 12px;
    font-size: 14px;
}

.mb-nav-link:hover {
    color: var(--mb-dore);
}

/* ---- HERO ---- */
.mb-hero {
    background: linear-gradient(135deg, var(--mb-beige) 0%, #f7f1ea 100%);
    padding: 60px 20px;
    text-align: center;
}

.mb-hero h1 {
    color: var(--mb-brun);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.mb-hero p {
    color: var(--mb-gris);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.mb-hero .mb-cibles {
    color: var(--mb-dore);
    font-weight: 600;
    margin: 16px 0 32px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.mb-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 6px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.mb-btn-primary {
    background: var(--mb-brun);
    color: #fff;
    border-color: var(--mb-brun);
}

.mb-btn-primary:hover {
    background: #3a2620;
    color: #fff;
}

.mb-btn-outline {
    background: transparent;
    color: var(--mb-brun);
    border-color: var(--mb-brun);
}

.mb-btn-outline:hover {
    background: var(--mb-brun);
    color: #fff;
}

.mb-btn-gold {
    background: var(--mb-dore);
    color: #fff;
    border-color: var(--mb-dore);
}

.mb-btn-gold:hover {
    background: #9c7a3f;
    color: #fff;
}

/* ---- SECTION ---- */
.mb-section {
    padding: 60px 20px;
}

.mb-section-title {
    text-align: center;
    color: var(--mb-brun);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.mb-section-sub {
    text-align: center;
    color: var(--mb-gris);
    margin-bottom: 40px;
}

/* ---- CATALOGUE ---- */
.mb-catalogue {
    background: var(--mb-beige);
}

.mb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.mb-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(76, 50, 40, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(76, 50, 40, 0.12);
}

.mb-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f5f5f5;
}

.mb-card-img-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--mb-gris-clair);
    font-size: 2rem;
}

.mb-card-body {
    padding: 14px;
}

.mb-card-title {
    color: var(--mb-brun);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mb-card-note {
    font-size: 0.75rem;
    color: var(--mb-gris);
    font-style: italic;
}

.mb-catalogue-cta {
    text-align: center;
    margin-top: 40px;
}

.mb-catalogue-cta .note {
    color: var(--mb-gris);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ---- NEWSLETTERS ---- */
.mb-newsletters {
    background: #fff;
}

.mb-news-card {
    background: var(--mb-beige);
    border-left: 4px solid var(--mb-dore);
    border-radius: 6px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.mb-news-card:hover {
    box-shadow: 0 4px 12px rgba(178, 138, 74, 0.15);
}

.mb-news-date {
    color: var(--mb-dore);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mb-news-title {
    color: var(--mb-brun);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 8px 0;
}

.mb-news-link {
    color: var(--mb-dore);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- CONTACT ---- */
.mb-contact {
    background: var(--mb-brun);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.mb-contact h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.mb-contact a {
    color: var(--mb-dore);
    font-weight: 600;
}

.mb-contact a:hover {
    color: #d4a862;
}

.mb-contact-item {
    display: inline-block;
    margin: 10px 20px;
    font-size: 1rem;
}

/* ---- FOOTER ---- */
.mb-footer {
    background: #2a1d16;
    color: #b8a99e;
    text-align: center;
    padding: 24px 20px;
    font-size: 0.85rem;
}

.mb-footer a {
    color: #d4a862;
    margin: 0 10px;
}

.mb-footer a:hover {
    color: #fff;
}

/* ---- DROPDOWN CONNEXION ---- */
.mb-dropdown {
    position: relative;
    display: inline-block;
}

.mb-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
    z-index: 101;
}

.mb-dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: var(--mb-brun);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--mb-gris-clair);
}

.mb-dropdown-content a:last-child {
    border-bottom: none;
}

.mb-dropdown-content a:hover {
    background: var(--mb-beige);
}

.mb-dropdown:hover .mb-dropdown-content {
    display: block;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .mb-header .container {
        flex-wrap: wrap;
    }
    
    .mb-nav-link {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .mb-hero {
        padding: 40px 16px;
    }
    
    .mb-btn {
        display: block;
        margin: 8px auto;
        max-width: 260px;
    }
    
    .mb-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    
    .mb-card-img,
    .mb-card-img-placeholder {
        height: 140px;
    }
}
