/* ============================================================
   1. RESET & BASES
   ============================================================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: #000;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* ============================================================
   2. NAVIGATION (NAVBAR & MEGA-MENU UNIFIÉS)
   ============================================================ */

/* Le contenant principal de la barre */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 9999;
    /* Fond plus transparent : on voit la photo hero derrière (flou frosté conservé) */
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    /* On supprime les bordures qui créent le trait entre les deux */
    border: none !important;
}

/* Menu transparent : ombres pour garder texte + icônes lisibles même sur une photo claire */
.navbar .main-link { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
.navbar .social-icon-fin { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55)); }
.navbar .logo img { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45)); }

/* Titre H1 lu par Google/IA mais invisible à l'écran (n'affecte pas le design) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0 0 0 0) !important;
    white-space: nowrap !important; border: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   PAGE CONTRAT / PROJETS SUR MESURE  (classes dédiées, sans
   impact sur le reste du site — mêmes couleurs & typo)
   ═══════════════════════════════════════════════════════════ */
/* Fond blanc (le body du site est noir par défaut) */
body#page-contrat,
body#page-projet { background: #ffffff; }
#page-contrat .main-content-wrapper,
#page-projet .main-content-wrapper { background-color: #ffffff; }
/* Fiche projet sans héro : on dégage la barre de menu fixe */
#page-projet .main-content-wrapper { padding-top: 100px; }
@media (max-width: 768px) { #page-projet .main-content-wrapper { padding-top: 80px; } }

.contrat-poles {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 40px 60px;
}
.contrat-pole {
    flex: 1 1 300px;
    max-width: 380px;
    border-left: 1px solid #e2e2e2;
    padding-left: 22px;
}
.contrat-pole-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C9A84C;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.6;
}
.contrat-pole-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    margin: 0;
}

.contrat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 60px 90px;
}
.contrat-card { display: block; text-decoration: none; color: inherit; }
.contrat-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f2f2f2;
}
.contrat-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.contrat-card:hover .contrat-card-img img { transform: scale(1.05); }
.contrat-card-body { padding: 16px 2px 0; }
.contrat-card-cat {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 6px;
}
.contrat-card-titre {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
}

/* ── Fiche projet ── */
.projet-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}
.projet-titre { margin-bottom: 30px; }
.projet-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 26px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 45px;
}
.projet-spec { display: flex; flex-direction: column; gap: 7px; }
.projet-spec-label {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #C9A84C;
}
.projet-spec-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 400;
}
.projet-texte .fiche-description { margin-bottom: 22px; }

.projet-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 40px 60px;
    align-items: start;
}
.projet-gitem { width: 100%; }
.projet-gitem img { width: 100%; height: auto; display: block; }

/* Responsive Contrat / Projet */
@media (max-width: 1024px) {
    .contrat-grid { gap: 22px; padding: 20px 40px 80px; }
}
@media (max-width: 768px) {
    .contrat-poles { flex-direction: column; gap: 26px; padding: 24px 24px 40px; }
    .contrat-pole { max-width: none; }
    .contrat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 16px 16px 60px; }
    .contrat-card-titre { font-size: 0.82rem; }
    .contrat-card-cat { font-size: 0.56rem; }
    .projet-detail { padding: 40px 20px 30px; }
    .projet-specs { gap: 22px 40px; }
    .projet-gallery { grid-template-columns: 1fr; gap: 16px; padding: 6px 16px 40px; }
}
@media (max-width: 430px) {
    .contrat-grid { grid-template-columns: 1fr; }
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-center {
    display: flex;
    height: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Le lien principal (À PROPOS, PRODUITS...) */
.main-link {
    text-decoration: none;
    color: white !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    border: none !important; /* IMPORTANT : On enlève l'ancienne bordure */
}

/* LE TRAIT SOUS LE TEXTE (Pseudo-élément) */
.main-link::after {
    content: '';
    position: absolute;
    bottom: 35px; /* Position précise sous le mot */
    left: 20px;   /* Aligné sur le padding du texte */
    right: 20px;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-item:hover .main-link::after {
    transform: scaleX(1);
}

/* Sécurité : on force la suppression de tout trait parasite au survol */
.menu-item:hover .main-link {
    border-bottom: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* --- LE MÉGA MENU --- */
.mega-menu {
    position: fixed;
    top: 99px; /* Chevauchement d'un pixel pour effacer la jointure */
    left: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    border: none !important;
}

.menu-item:hover .mega-menu {
    max-height: 600px; 
}

/* ============================================================
   3. CONTENU DU MÉGA MENU (LIGNE PURE / HÉRITAGE)
   ============================================================ */
.mega-menu-content-premium {
    display: flex;
    justify-content: space-around;
    padding: 60px 10%;
    max-width: 100%;
}

.mega-section {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
.section-title-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-left: 8px;
    font-weight: 300;
    vertical-align: middle;
    transition: color 0.2s;
}
.section-title-link:hover { color: #C9A84C; }
.mega-col-heading-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
.mega-col-heading-link:hover { color: rgba(255,255,255,0.9); }

.category-grid {
    display: flex;
    gap: 40px;
}

.cat-list {
    list-style: none;
}

.cat-list li {
    margin-bottom: 15px;
}

/* Typographie fine style Luxe */
.cat-list li a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.cat-list li a:hover {
    color: #fff !important;
    padding-left: 5px;
}

/* ============================================================
   4. AUTRES SECTIONS (HÉROS, GRILLES, CONTACT)
   ============================================================ */
.hero {
    height: 100vh;
    width: 100%;
    background: url('images/hero-mobilier-luxe-ledixneuvieme.jpg') no-repeat center center / cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero de la PAGE D'ACCUEIL uniquement : même format que les autres heros
   (.hero-page) — moins allongé, surtout sur smartphone. N'affecte pas À propos. */
#page-accueil .hero {
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 450px;
    max-height: 85vh;
}

/* --- SECTION TEXTE (ACCUEIL & PAGES) --- */
.intro-collections, 
.description-section {
    padding: 100px 50px 60px 50px !important; /* 60px ici crée l'espace SOUS le texte */
    background-color: #ffffff;
    color: #000;
    text-align: center;
}

/* --- SECTION GRILLE (ON ENLÈVE LE MARGIN-BOTTOM ICI) --- */
.products-grid, 
.contact-section {
    padding: 20px 50px 100px 50px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
}

/* --- TYPO UNIFORME POUR LES TITRES --- */
.intro-collections h2, 
.description-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* --- TYPO UNIFORME POUR LE TEXTE --- */
.intro-collections p, 
.description-section .container p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 300;
    color: #333;
}

.grid-asymetrique-gauche, 
.grid-asymetrique-droite {
    display: grid;
    gap: 40px; /* RÉDUIT : On passe de 80px à 40px pour élargir les photos */
    max-width: 1600px; /* ON ÉLARGIT LA GRILLE GÉNÉRALE pour plus de confort */
    margin: 0 auto 100px;
    align-items: center;
}

.grid-asymetrique-gauche { grid-template-columns: 1.5fr 1fr; }
.grid-asymetrique-droite { grid-template-columns: 1fr 1.5fr; }

/* Carte Effet Flou */
.card-elegance:hover .image-box img {
    filter: blur(4px);
}

.info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Prend 100% de la largeur du parent (la photo) */
    background-color: rgba(200, 200, 200, 0.4); /* Gris clair semi-transparent — identique aux pages collection (PC) */
    padding: 20px 0;
    text-align: center;
    
    /* Animation */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.card-elegance:hover .info-overlay {
    opacity: 1;
    transform: translateY(0);
}
.info-overlay h3 {
    font-size: 0.9rem;
    color: #000;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.info-overlay .category {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}
/* Mobile : même gris que les pages collection (un peu plus dense) */
@media (max-width: 768px) {
    .info-overlay { background-color: rgba(200, 200, 200, 0.6); }
}

/* Icônes de droite */
.nav-right {
    display: flex;
    gap: 20px;
}

.social-icon-fin {
    width: 20px;
    stroke: white;
}
.hero-page {
    width: 100%;
    aspect-ratio: 3 / 2;   /* hauteur ≈ 2/3 de la largeur (moins rogné qu'avant) */
    min-height: 450px;     /* garde une bonne hauteur sur smartphone */
    max-height: 85vh;      /* ne dépasse jamais l'écran sur ordinateur */
    background: #1a1a1a url('images/hero-collection-canapes-ledixneuvieme.jpg') no-repeat center center;
    background-size: cover; /* L'image remplit le bloc sans se déformer */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 140px 80px 50px; /* Laisse de la place pour le menu noir */
    position: relative;
}
.products-grid .image-box {
    width: 100%;
    height: 600px; /* ON PASSE DE 400 À 600 : Le meuble sera bien plus imposant */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* ON ENLÈVE LE PADDING pour laisser le meuble respirer jusqu'au bord */
}

.products-grid .image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease, filter 0.6s ease;
    mix-blend-mode: multiply;
    filter: none;
}
.description-section {
    padding: 100px 50px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    /* AJOUTE CETTE LIGNE : */
   margin-bottom: 0; 
}
.description-section h2 {
    font-size: 1.6rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 500;
}
.description-section .container {
    max-width: 800px; /* Le texte reste serré et élégant */
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.products-grid {
    width: 100%;
    background-color: #ffffff !important; /* Supprime les bandes noires sur les côtés */
   padding: 20px 0 60px 0;
    margin: 0;
}
/* --- GRILLE ASYMÉTRIQUE MAITRISÉE --- */

.grid-asymetrique-gauche { 
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Une grande à gauche, une petite à droite */
    gap: 60px; 
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 50px;
    align-items: center; /* Aligne les meubles sur la même ligne horizontale */
}

.grid-asymetrique-droite { 
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Une petite à gauche, une grande à droite */
    gap: 60px; 
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 50px;
    align-items: center;
}
.card-elegance .image-box {
    width: 100%;
    height: 500px; /* FORCE LA FINESSE : Tes meubles ne dépasseront jamais 350px de haut */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.card-elegance .image-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease, filter 0.6s ease;
    mix-blend-mode: multiply;
    filter: none;
}
.card-elegance {
    display: inline-block; /* La carte ne prend que la place de son contenu */
    width: auto;
    position: relative;
    margin: 0 auto; /* Centre le bloc dans sa colonne de 60% ou 40% */
}

.image-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px; /* On garde la grande taille */
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

.image-box img {
    height: 100%;
    width: auto; /* L'image définit la largeur réelle du bloc */
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* On cible UNIQUEMENT l'image pour le flou */
.card-elegance:hover .image-box img {
    filter: blur(4px);
}
.card-elegance {
    display: inline-block; /* La carte ne prend que la place de son contenu */
    width: auto;
    position: relative;
    margin: 0 auto; /* Centre le bloc dans sa colonne de 60% ou 40% */
}
/* ============================================================
   RÉGLAGES MOBILES (Écrans < 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* 1. Navbar & Logo */
    .navbar {
        height: 70px;
        padding: 0 20px;
    }
    .logo img { height: 60px; }

    /* 2. Icône Burger */
    .mobile-menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 10000;
    }
    .mobile-menu-icon span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: white;
        transition: 0.3s;
    }

    /* 3. Transformation du Nav Center en Menu Mobile */
    .nav-center {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        display: flex !important; /* On force le display flex */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Caché à droite par défaut */
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
    }

    /* Quand on clique (classe ajoutée au body) */
    body.menu-open .nav-center {
        transform: translateX(0);
    }
    
    /* Animation du Burger en X */
    body.menu-open .mobile-menu-icon span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    body.menu-open .mobile-menu-icon span:nth-child(2) { opacity: 0; }
    body.menu-open .mobile-menu-icon span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .menu-item {
        margin: 15px 0;
        height: auto;
    }
    .main-link {
        font-size: 1.2rem; /* Plus gros pour le doigt */
    }

    /* 4. Grille & Produits (Rappel responsive) */
    .grid-asymetrique-gauche, .grid-asymetrique-droite {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 15px;
    }
    .image-box { height: 400px !important; }
    .info-overlay { opacity: 1; transform: translateY(0); }
}

/* Cacher l'icône burger sur ordinateur */
@media (min-width: 769px) {
    .mobile-menu-icon { display: none; }
}
/* --- CONFIGURATION UNIQUE POUR LES PAGES PRODUITS --- */

/* --- CONFIGURATION UNIQUE POUR TOUTES LES PAGES DE GAMMES --- */

/* Cible toutes les pages dont l'ID commence par "page-" (sauf accueil et contact) */
[id^="page-"]:not(#page-accueil):not(#page-contact) .image-box {
    height: 450px !important; 
}

[id^="page-"]:not(#page-accueil):not(#page-contact) .products-grid {
    padding-top: 40px !important;
}

[id^="page-"]:not(#page-accueil):not(#page-contact):not([id*="-heritage"]) .products-grid {
    background-color: #ffffff !important;
}

[id^="page-"]:not(#page-accueil):not(#page-contact) .grid-asymetrique-gauche, 
[id^="page-"]:not(#page-accueil):not(#page-contact) .grid-asymetrique-droite {
    grid-template-columns: 1fr 1fr !important; 
    margin-bottom: 40px;
}


/* ============================================================
   --- STYLE HÉRITAGE : SYMÉTRIE & MOULURES CONTINUES ---
   ============================================================ */


/* 1. Le Wrapper — motif monogramme doré discret (deux couches décalées, grande tuile) */
[id*="-heritage"] .main-content-wrapper {
    background-color: #ffffff !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%23C9A84C' opacity='0.07'%3E%3Cellipse cx='110' cy='91' rx='6' ry='14'/%3E%3Cellipse cx='110' cy='129' rx='6' ry='14'/%3E%3Cellipse cx='91' cy='110' rx='14' ry='6'/%3E%3Cellipse cx='129' cy='110' rx='14' ry='6'/%3E%3C/g%3E%3Ccircle cx='110' cy='110' r='5' fill='%23C9A84C' opacity='0.10'/%3E%3Cg fill='%23C9A84C' opacity='0.04'%3E%3Cpolygon points='110,4 114,12 110,20 106,12'/%3E%3Cpolygon points='110,200 114,208 110,216 106,208'/%3E%3Cpolygon points='4,110 12,114 20,110 12,106'/%3E%3Cpolygon points='200,110 208,114 216,110 208,106'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%23C9A84C' opacity='0.07'%3E%3Cellipse cx='110' cy='91' rx='6' ry='14'/%3E%3Cellipse cx='110' cy='129' rx='6' ry='14'/%3E%3Cellipse cx='91' cy='110' rx='14' ry='6'/%3E%3Cellipse cx='129' cy='110' rx='14' ry='6'/%3E%3C/g%3E%3Ccircle cx='110' cy='110' r='5' fill='%23C9A84C' opacity='0.10'/%3E%3Cg fill='%23C9A84C' opacity='0.04'%3E%3Cpolygon points='110,4 114,12 110,20 106,12'/%3E%3Cpolygon points='110,200 114,208 110,216 106,208'/%3E%3Cpolygon points='4,110 12,114 20,110 12,106'/%3E%3Cpolygon points='200,110 208,114 216,110 208,106'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: 220px 220px !important;
    background-position: 0 0, 110px 110px !important;
    background-repeat: repeat !important;
    background-attachment: scroll !important;
    width: 100%;
}

/* 2. Suppression des traits et réglage de l'écart */
[id*="-heritage"] .description-section {
    background-color: transparent !important;
    padding: 60px 0 20px 0 !important; /* On réduit l'espace du bas (20px) */
    border: none !important;
}

[id*="-heritage"] .products-grid {
    background-color: transparent !important;
    max-width: 85% !important; /* Un peu plus large pour les photos */
    margin: 0 auto !important;
    padding-top: 0 !important; /* On colle la grille à la description */
    border: none !important;
}

/* 3. Nettoyage des colonnes (Supprime les traits entre photos) */
[id*="-heritage"] .grid-asymetrique-gauche, 
[id*="-heritage"] .grid-asymetrique-droite {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    border: none !important; /* Supprime les traits */
    margin-bottom: 50px !important;
}

/* 4. Boîtes d'images transparentes — le motif passe à travers */
[id*="-heritage"] .image-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 500px !important;
}
/* Heritage : le canvas eraseWhite gère la transparence — pas de multiply */
[id*="-heritage"] .image-box img,
[id*="-heritage"] .products-grid .image-box img,
[id*="-heritage"] .card-elegance .image-box img {
    mix-blend-mode: normal;
    filter: none;
}
/* Survol : rétablir le flou sur les pages catégorie Héritage (canapé, chaise, table…) */
[id*="-heritage"] .card-elegance:hover .image-box img {
    filter: blur(4px);
}


/* 5. Si tu as encore un trait vertical au milieu, on le neutralise ici */
[id*="-heritage"] .grid-asymetrique-gauche::before,
[id*="-heritage"] .grid-asymetrique-droite::before {
    display: none !important;
}

/* 6. Protection : on s'assure que la Ligne Pure n'est pas impactée */
[id*="-pure"] .main-content-wrapper {
    background-image: none !important;
    background-color: #ffffff !important;
}

/* On peut même ajouter une sécurité pour les sections de la ligne Pure */
[id*="-pure"] .description-section, 
[id*="-pure"] .products-grid {
    background-color: #ffffff !important;
    padding-left: 50px !important; /* On garde les marges standards, pas les 180px de l'Héritage */
    padding-right: 50px !important;
}
/* ============================================================
   SPECIFIQUE PAGE CONTACT
   ============================================================ */

/* 1. Photo du haut pour contact */
#page-contact .hero-page {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/fond-contact.jpg') no-repeat center center / cover !important;
    height: 50vh;
}

/* 2. Mise en page Côte à Côte */
#page-contact .contact-section-container {
    background-color: #fff;
    padding: 100px 50px;
    color: #000;
}

#page-contact .contact-wrapper {
    display: flex; /* Active le côte à côte */
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px; /* Espace entre texte et carte */
    align-items: flex-start;
}

#page-contact .contact-info {
    flex: 1; /* Prend 50% */
    text-align: left;
}

#page-contact .contact-map {
    flex: 1.2; /* La carte est un peu plus large que le texte */
}

#page-contact .info-block {
    margin-top: 40px;
}

#page-contact h2 {
    letter-spacing: 4px;
    margin-bottom: 20px;
}

/* Responsive : On empile sur mobile */
@media (max-width: 900px) {
    #page-contact .contact-wrapper {
        flex-direction: column;
    }
}
/* --- STYLE SPECIFIQUE CONTACT SANS FOND NOIR --- */

#page-contact .contact-section-container {
    padding-top: 140px !important; /* Crée l'espace pour la navbar noire */
    background-color: #fff;
}

#page-contact .contact-header-simple {
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 50px;
}

#page-contact .contact-header-simple h1 {
    font-size: 2.5rem;
    color: #000;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}


/* ============================================================
   PIED DE PAGE (FOOTER)
   ============================================================ */
/* ============================================================
   FOOTER FINAL - SANS LIGNES - RESPONSIVE
   ============================================================ */

.main-footer {
    background: #000;
    color: #fff;
    padding: 80px 50px 40px;
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* On enlève la bordure ici si tu n'en veux pas */
    border: none !important; 
}

.footer-logo img {
    height: 100px; /* Taille signature, pas trop imposante */
    width: auto;
}

.footer-column.contact-info {
    flex: 2; /* Donne plus de place à l'adresse */
    padding-left: 40px;
}

/* C'EST ICI QU'ON ÉCARTE LES MENUS */
.footer-column {
    flex: 1;
    min-width: 200px; /* Force l'espace pour que HOME et CONTRAT ne se touchent pas */
}

.footer-column h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-column address,
.footer-links li a {
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* Numéros de téléphone cliquables : apparence identique au texte (pas de bleu/souligné) */
.footer-column address a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column address a:hover { color: #ffffff; }

.footer-links {
    list-style: none;
    padding: 0;
}

/* LA BARRE DU BAS SANS LIGNE */
.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    display: flex;
    justify-content: flex-end;
    border-top: none !important; /* SUPPRIME LA LIGNE QUE TU VOIS SUR TA PHOTO */
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

/* --- RESPONSIVE : ADAPTATION MOBILE --- */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column; /* Empile les éléments */
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-column {
        margin: 0;
        width: 100%;
    }

    .footer-bottom {
        justify-content: center; /* Centre les réseaux sociaux sur mobile */
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}
/* Cache la ligne de séparation dans le footer sur toutes les pages */
.footer-divider {
    display: none !important;
}

/* On s'assure que le footer-container n'a pas non plus de bordure */
.footer-container {
    border-bottom: none !important;
}
/* On cible spécifiquement les colonnes de navigation pour les pousser à droite */
.footer-column.footer-nav:first-of-type {
    margin-left: auto !important; /* Cela pousse les menus vers la droite */
}

/* On ajuste l'espace entre les deux colonnes de liens */
.footer-column.footer-nav {
    flex: 0 0 200px !important; /* On fixe leur largeur pour qu'elles restent compactes */
    margin-right: 0;
}
#page-accueil .intro-collections {
    /* Le 3ème chiffre (100px) est l'espace SOUS le texte */
    padding: 100px 20px 100px 20px !important; 
}
#page-accueil .intro-collections .container-small {
    margin-bottom: 80px; /* Pousse les photos encore plus bas */
}
#page-accueil .dual-collections {
    display: flex;
    justify-content: center;
    gap: 40px; /* Espace entre les deux photos */
    max-width: 1300px; /* Empêche les photos d'être trop larges */
    margin: 0 auto 100px; /* Centre le bloc et crée de l'espace avant le footer */
}
#page-accueil .collection-card {
    flex: 1;
    max-width: 400px; /* Largeur max par photo */
}

#page-accueil .collection-image {
    height: 400px; /* Ajuste cette valeur pour réduire ou agrandir la photo */
    overflow: hidden;
    position: relative;
}

#page-accueil .collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit la boîte sans déformer l'image */
}
@media (max-width: 900px) {
    #page-accueil .dual-collections {
        flex-direction: column; /* Empile les photos sur téléphone */
        align-items: center;
        gap: 30px;
    }

    #page-accueil .collection-image {
        height: 400px; /* Plus petit sur mobile pour moins scroller */
        width: 100%;
    }
}




/* ============================================================
   📱 VERSION SMARTPHONE (< 768px) - MENU ACCORDÉON TEXTE
   ============================================================ */
/* ============================================================
   📱 VERSION SMARTPHONE (< 768px) - CLONE MINOTTI
   ============================================================ */
@media (max-width: 768px) {
    /* Header Fixe Noir */
    .navbar {
        height: 80px; padding: 0 20px;
        position: fixed !important; top: 0; left: 0; width: 100%;
        display: flex !important; justify-content: space-between !important; align-items: center !important;
        background: rgba(0, 0, 0, 0.65) !important; z-index: 10001;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }

    .nav-left { order: 1; display: flex !important; }
    .logo img { height: 50px !important; width: auto !important; }

    .nav-right { order: 2; margin-left: auto !important; margin-right: 15px !important; display: flex !important; gap: 15px !important; align-items: center; }
    .social-icon-fin { width: 22px !important; height: 22px !important; }

    /* Burger Menu */
    .mobile-menu-icon { order: 3; display: flex !important; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; cursor: pointer; z-index: 10002; }
    .mobile-menu-icon span { width: 100%; height: 2px; background-color: white !important; display: block; transition: 0.3s; }
    body.menu-open .mobile-menu-icon span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    body.menu-open .mobile-menu-icon span:nth-child(2) { opacity: 0; }
    body.menu-open .mobile-menu-icon span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Le Fond du menu ouvert */
  .nav-center {
        display: flex !important; 
        flex-direction: column !important;
        justify-content: flex-start !important; /* LIGNE MAGIQUE : Pousse tout vers le haut */
        position: fixed !important; top: 80px !important; left: 0 !important;
        width: 100vw !important; height: calc(100vh - 80px) !important;
        background: #000 !important; 
        padding: 20px 0 0 0 !important; /* Un peu d'air au-dessus de Produits */
        overflow-y: auto !important; z-index: 9999;
        transform: translateX(100%); transition: transform 0.5s ease;
    }
    body.menu-open .nav-center { transform: translateX(0); }

    /* Liens principaux (Produits, Contrat...) */
   .menu-item { 
     width: 100% !important; 
     border-bottom: 1px solid #222 !important; 
     display: flex !important; 
     flex-direction: column !important; 
     height: auto !important; 
     flex: 0 0 auto !important; /* Empêche le menu de s'écraser */
     margin: 0 !important; 
   }    
   .main-link {
    font-size: 1rem !important; font-weight: 300 !important; color: #fff !important; letter-spacing: 2px !important;
    text-align: left !important; padding: 25px 20px !important; 
    display: flex !important; justify-content: space-between !important; align-items: center !important; 
    width: 100% !important; border: none !important;
    height: auto !important; /* <-- LA CORRECTION EST ICI */
}
    .main-link::after { display: none !important; } /* Nettoie le trait PC */
/* On désactive l'effet "trait" du PC pour le transformer en simple texte (+ et -) */
.has-submenu > .main-link::after { 
    content: '+'; 
    position: static !important; /* Enlève la position qui faisait bugger */
    height: auto !important; /* Enlève l'épaisseur du trait */
    background: transparent !important; /* Rend le fond invisible */
    transform: none !important; /* Annule l'animation du PC */
    font-size: 1.5rem; 
    color: #888; 
    font-weight: 300; 
    display: block !important; 
}
.menu-item.active > .main-link::after { 
    content: '-'; 
    color: #fff; 
}
    /* ======= FOND GRIS POUR PRODUITS ======= */
.mega-menu { 
    display: none !important; 
    position: static !important; 
    background: #1a1a1a !important; 
    width: 100% !important; 
    height: auto !important; /* <-- LA CORRECTION EST ICI */
    max-height: none !important; 
    border: none !important; 
    overflow: visible !important; /* <-- LA CORRECTION EST ICI */
}   
 .menu-item.active .mega-menu { display: block !important; }
    .mega-menu-content-premium { display: flex !important; flex-direction: column !important; padding: 0 !important; }

    /* Photos Minotti (Titre en HAUT, Photo en BAS) */
    .mobile-minotti-showcase { display: flex !important; gap: 15px; padding: 25px 20px; border-bottom: 1px solid #333; }
    .mobile-showcase-item { flex: 1; text-align: left; }
    .showcase-title { display: block; color: #fff; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 10px; font-weight: 400; text-transform: uppercase; }
/* On supprime la hauteur fixe pour laisser l'image respirer */
.mobile-showcase-item img { 
    width: 100%; 
    height: auto !important; /* La hauteur s'adapte automatiquement */
    object-fit: contain !important; /* Empêche le navigateur de couper la photo */
    border-radius: 2px; 
    opacity: 0.8; 
    display: block;
}

    /* Accordéons "LIGNE PURE" et "LIGNE HÉRITAGE" */
    .accordion-section { border-bottom: 1px solid #333 !important; }
    .accordion-section:last-child { border-bottom: none !important; }
    .section-title {
        font-size: 0.95rem !important; font-weight: 300 !important; color: #ccc !important; letter-spacing: 2px;
        padding: 20px !important; margin: 0 !important; border: none !important;
        display: flex !important; justify-content: space-between !important; align-items: center !important; cursor: pointer;
    }
    
    /* Supprime le délai 300ms sur iOS pour les éléments cliquables */
    .section-title,
    .has-submenu > .main-link,
    .mobile-menu-icon { touch-action: manipulation; }

    /* Lien de navigation dans le titre d'accordéon */
    .section-title-navlink { color: #ccc !important; text-decoration: none !important; flex: 1 !important; }
    .section-title-navlink:hover { color: #fff !important; }
    /* Indicateur + / - */
    .accordion-toggle { font-size: 1.5rem !important; color: #666 !important; font-weight: 300 !important; pointer-events: none !important; user-select: none !important; }
    .accordion-toggle::after { content: '+'; }
    .accordion-section.active .accordion-toggle { color: #fff !important; }
    .accordion-section.active .accordion-toggle::after { content: '−'; }

    /* Sous-menus (Canapés, Fauteuils...) cachés par défaut */
    .category-grid { display: none !important; padding: 0 20px 20px 20px !important; }
    .accordion-section.active .category-grid { display: block !important; }
    .cat-list { column-count: 1 !important; display: block !important; }
    .cat-list li a { font-size: 0.85rem !important; font-weight: 300 !important; color: #aaa !important; padding: 12px 0 !important; display: block !important; border-bottom: 1px solid #2a2a2a !important; }
    .cat-list li:last-child a { border-bottom: none !important; }
    /* --- FORCE UNE SEULE PHOTO PAR LIGNE SUR MOBILE --- */
    .grid-asymetrique-gauche, 
    .grid-asymetrique-droite,
    [id*="-heritage"] .grid-asymetrique-gauche, 
    [id*="-heritage"] .grid-asymetrique-droite {
        display: flex !important;
        flex-direction: column !important; /* Empile les éléments verticalement */
        align-items: center !important;
        gap: 40px !important; /* Espace entre les meubles */
        padding: 0 20px !important;
    }

    /* On ajuste la taille de la boîte pour qu'elle prenne toute la largeur */
    .card-elegance {
        width: 100% !important;
        max-width: 100% !important;
    }

    .image-box {
        width: 100% !important;
        height: 300px !important; /* Hauteur ajustée pour mobile */
    }
    /* ============================================================
   📱 FOOTER MOBILE
   ============================================================ */
    .main-footer {
        padding: 60px 25px 30px !important;
        text-align: center !important;
        background: #000;
    }

    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important; /* Espace équilibré entre les blocs */
    }

    /* Le Logo */
    .footer-logo img {
        height: 60px !important; /* Taille plus élégante sur mobile */
        margin-bottom: 10px;
    }

    /* Bloc Adresse & Contact */
    .footer-column.contact-info {
        padding-left: 0 !important;
        width: 100% !important;
    }

    .footer-column h3 {
        font-size: 0.8rem !important;
        letter-spacing: 3px !important;
        margin-bottom: 20px !important;
        color: #fff;
    }

    /* Resserrage du texte (Adresse, t., email) */
    .footer-column address, 
    .footer-links li a {
        font-size: 0.85rem !important;
        line-height: 1.6 !important; /* On resserre l'espace entre les lignes */
        color: rgba(255, 255, 255, 0.6) !important;
        font-style: normal;
        margin-bottom: 0px !important;
    }

    /* Le bloc de liens (HOME, À PROPOS...) */
    .footer-column.footer-nav,
    .footer-column.footer-nav:first-of-type {
        flex: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap; /* On met les liens côte à côte pour gagner de la place */
        justify-content: center;
        gap: 15px 25px; /* Espace entre les mots */
        padding: 0;
    }

    .footer-links li {
        margin: 0 !important;
    }

    .footer-links li a {
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 1px;
    }

    /* Réseaux Sociaux en bas */
    .footer-bottom {
        margin-top: 40px !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        justify-content: center !important;
    }

    .footer-socials {
        gap: 30px !important;
    }

    /* Cacher le contenu desktop sur mobile */
    .mega-desktop-content { display: none !important; }

    /* Touch targets min 44px (WCAG 2.5.5) */
    .cat-list li a {
        padding: 14px 0 !important;
    }

    /* Motif héritage : taille adaptée mobile */
    [id*="-heritage"] .main-content-wrapper {
        background-size: 150px 150px !important;
        background-position: 0 0, 75px 75px !important;
    }

    /* Parallax désactivé sur mobile (bug iOS Safari) */
    .hero-apropos-premium {
        background-attachment: scroll;
    }

    /* Contact : paddings mobiles */
    #page-contact .contact-section-container {
        padding: 90px 20px 40px !important;
    }
    #page-contact .contact-header-simple {
        padding: 0 20px !important;
    }
}

/* ============================================================
   📟 VERSION TABLETTE (769px – 1024px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar { padding: 0 25px; }
    .main-link { padding: 0 12px; font-size: 0.7rem; }

    .intro-collections,
    .description-section {
        padding: 70px 30px 50px !important;
    }

    .products-grid,
    .contact-section {
        padding: 20px 30px 60px !important;
    }

    .grid-asymetrique-gauche,
    .grid-asymetrique-droite {
        gap: 30px !important;
        padding: 0 25px !important;
    }

    .image-box { height: 400px !important; }
    .card-elegance .image-box { height: 350px !important; }

    /* Motif héritage : taille adaptée tablette */
    [id*="-heritage"] .main-content-wrapper {
        background-size: 185px 185px !important;
        background-position: 0 0, 92px 92px !important;
    }
    [id*="-heritage"] .products-grid {
        max-width: 100% !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    #page-contact .contact-section-container { padding: 100px 30px 60px !important; }
    #page-contact .contact-header-simple { padding: 0 30px !important; }
    #page-contact .contact-wrapper { gap: 40px !important; }

    .main-footer { padding: 60px 30px 40px; }
    .hero-page { padding: 120px 40px 40px; }

    /* Parallax désactivé sur tablette */
    .hero-apropos-premium { background-attachment: scroll; }

    #page-accueil .dual-collections { gap: 20px; }
    #page-accueil .collection-image { height: 350px; }
}


/* ============================================================
   FORMULAIRE DE CONTACT
   ============================================================ */
.contact-form {
    margin-top: 50px;
}
.contact-form .form-group {
    margin-bottom: 25px;
}
.contact-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #000;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #000;
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form .btn-submit {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 50px;
    background: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid #000;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.contact-form .btn-submit:hover {
    background: #fff;
    color: #000;
}
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.form-message.success { background: #f0faf0; color: #2e7d32; border-left: 3px solid #2e7d32; }
.form-message.error   { background: #fff0f0; color: #c62828; border-left: 3px solid #c62828; }

/* ============================================================
   💻 VERSION ORDINATEUR (> 768px) - PROTÉGÉE ET INTACTE
   ============================================================ */
@media (min-width: 769px) {
    /* Cacher les éléments mobiles */
    .mobile-menu-icon,
    .mega-mobile-content { display: none !important; }

    /* Méga-menu desktop */
    .mega-menu {
        position: fixed !important;
        top: 100px !important;
        left: 0 !important;
        width: 100vw !important;
        display: none !important;
        background: rgba(10, 10, 10, 0.97) !important;
        backdrop-filter: blur(12px) !important;
        border-top: 1px solid rgba(255,255,255,0.08) !important;
    }
    .menu-item:hover .mega-menu { display: block !important; }

    /* Layout B&B Italia : liens | image | liens */
    .mega-desktop-content {
        display: flex !important;
        align-items: stretch !important;
        gap: 0 !important;
        max-width: 1300px !important;
        margin: 0 auto !important;
        padding: 55px 60px 65px !important;
        gap: 60px !important;
    }

    /* Colonnes de liens */
    .mega-col-links {
        flex: 1 !important;
    }
    .mega-col-heading {
        font-size: 0.65rem !important;
        font-weight: 700 !important;
        letter-spacing: 4px !important;
        color: rgba(255,255,255,0.35) !important;
        text-transform: uppercase !important;
        margin-bottom: 30px !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    .mega-col-grid {
        display: flex !important;
        gap: 30px !important;
    }
    .mega-col-grid ul {
        list-style: none !important;
        padding: 0 !important;
        flex: 1 !important;
    }
    .mega-col-grid ul li {
        margin-bottom: 0 !important;
    }
    .mega-col-grid ul li a {
        display: block !important;
        font-size: 0.92rem !important;
        font-weight: 300 !important;
        color: rgba(255,255,255,0.65) !important;
        letter-spacing: 1px !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        transition: color 0.2s, padding-left 0.2s !important;
        text-decoration: none !important;
    }
    .mega-col-grid ul li a:hover {
        color: #fff !important;
        padding-left: 8px !important;
    }

    /* Zone image centrale — taille fixe, photos rognées */
    .mega-img-zone {
        flex: 0 0 280px !important;
        width: 280px !important;
        height: 380px !important;
        align-self: center !important;
        overflow: hidden !important;
        background: #111 !important;
        box-shadow:
            0 0 0 1px rgba(201, 168, 76, 0.38),        /* filet doré discret — luxe sobre */
            0 28px 64px -16px rgba(0, 0, 0, 0.85),      /* ombre portée profonde et douce */
            0 10px 24px rgba(0, 0, 0, 0.45) !important; /* ombre de contact rapprochée */
        position: relative !important;
        z-index: 1 !important;
    }
    .mega-img-active {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        opacity: 1 !important;
        transition: opacity 0.22s ease !important;
    }
}
/* --- STYLE SPECIFIQUE POUR LES TITRES SUR PHOTOS ACCUEIL --- */

.collection-card {
    position: relative; /* Permet au titre de se placer PAR-DESSUS */
    overflow: hidden;
}

.collection-overlay {
    position: absolute; /* Force le texte à monter sur l'image */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Voile sombre pour lire le texte blanc */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff !important;
    text-align: center;
    z-index: 10;
}

.collection-overlay h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    white-space: nowrap;
}

.collection-overlay p {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #fff !important;
}

.cta-line {
    margin-top: 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    color: #fff !important;
}
/* Image spécifique pour le haut de la page À Propos */
#page-apropos .hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/atelier-ebenisterie-ligne-apollon-monastir.jpg') no-repeat center center / cover !important;
}
/* --- NOUVEAU HERO À PROPOS AVEC IMAGE ARTISAN --- */
.hero-apropos-premium {
    position: relative;
    width: 100%;
    height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    /* Héro À propos — surchargé en PHP par images/apropos/hero.* (voir apropos.php) */
    background-image: url('images/apropos/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    margin-top: 100px; 
    overflow: hidden;
    background-color: #1a1a1a; /* Fond de secours si l'image ne charge pas */
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Un peu de noir pour le contraste */
    z-index: 1;
}

.hero-apropos-premium .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-apropos-premium h1 {
    color: #ffffff !important;
    font-size: 1.8rem;
    letter-spacing: 6px;
    font-weight: 300;
    text-transform: uppercase;
}

/* Style pour les images de description */
.about-image img {
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Ombre légère pour le luxe */
}
/* Cible uniquement la section hero de la page À propos */
#page-apropos .hero-apropos {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pousse le texte vers le bas */
    padding-bottom: 50px;      /* Marge de sécurité en bas */
    min-height: 500px;         /* Ajustez selon la hauteur de votre image */
}

/* Cible le titre à l'intérieur de cette section */
#page-apropos .hero-content h1 {
    font-size: 1.8rem;         /* Taille réduite pour l'élégance */
    text-align: center;
    margin: 0;
}
/* ============================================================
   FICHE PRODUIT
   ============================================================ */
.fiche-wrapper {
    background: #fff;
    color: #000;
    min-height: 100vh;
    padding: 140px 80px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.fiche-breadcrumb {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 60px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.fiche-breadcrumb a { color: #666; transition: color 0.3s; }
.fiche-breadcrumb a:hover { color: #000; }
.fiche-breadcrumb span:last-child { color: #000; font-weight: 500; }

.fiche-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* ======= COLONNE GAUCHE : CAROUSEL ======= */
.fiche-left {
    flex: 0 0 55%;
    position: sticky;
    top: 120px;
}

/* Scène principale */
.carousel-stage {
    position: relative;
    background: #f7f7f7;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    padding: 30px;
}

/* Flèches */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.85); }
.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }

/* Miniatures */
.carousel-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.carousel-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    padding: 0;
    background: #f7f7f7;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s;
    flex-shrink: 0;
}
.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
}
.carousel-thumb.active,
.carousel-thumb:hover {
    border-color: #000;
}

/* ======= COLONNE DROITE : INFOS ======= */
.fiche-right {
    flex: 1;
    padding-top: 10px;
}

.fiche-gamme-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 24px;
}
.fiche-gamme-pure      { background: #000; color: #fff; }
.fiche-gamme-heritage  { background: #8b7355; color: #fff; }

.fiche-nom {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #000;
}

.fiche-sous-titre {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.fiche-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.fiche-description {
    font-size: 0.92rem;
    line-height: 1.9;
    color: #444;
    font-weight: 300;
    margin-bottom: 40px;
}

/* Specs */
.fiche-specs { display: flex; flex-direction: column; gap: 28px; margin-bottom: 50px; }

.fiche-spec-block h3 {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}
.fiche-spec-block ul {
    list-style: none;
    padding: 0;
}
.fiche-spec-block ul li {
    font-size: 0.85rem;
    font-weight: 300;
    color: #555;
    line-height: 2;
    padding-left: 12px;
    position: relative;
}
.fiche-spec-block ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #bbb;
}
.fiche-spec-block p {
    font-size: 0.85rem;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
}
.fiche-prix {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.fiche-prix-note {
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
}

/* Boutons */
.fiche-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-devis {
    display: block;
    text-align: center;
    padding: 18px 40px;
    background: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid #000;
    transition: background 0.3s, color 0.3s;
}
.btn-devis:hover { background: #fff; color: #000; }

.btn-retour {
    display: block;
    text-align: center;
    padding: 14px 40px;
    color: #666;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #ccc;
    transition: border-color 0.3s, color 0.3s;
}
.btn-retour:hover { border-color: #000; color: #000; }

/* ======= RESPONSIVE FICHE PRODUIT ======= */
@media (max-width: 900px) {
    .fiche-wrapper { padding: 100px 20px 60px; }
    .fiche-content { flex-direction: column; gap: 40px; }
    .fiche-left { position: static; flex: none; width: 100%; }
    .fiche-right { width: 100%; }
    .fiche-nom { font-size: 1.5rem; }
    .carousel-thumb { width: 60px; height: 60px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .fiche-wrapper { padding: 120px 40px 80px; }
    .fiche-content { gap: 50px; }
    .fiche-nom { font-size: 1.6rem; }
}

/* ============================================================
   NOUVELLE FICHE PRODUIT (fp-)
   ============================================================ */

/* ── Héro ── */
.fp-hero {
    width: 100%;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 140px 40px 60px;
}
.fp-hero-body {
    text-align: center;
    z-index: 1;
}
.fp-hero-cat {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}
.fp-hero-nom {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    margin: 0;
    line-height: 1.05;
}
.fp-hero-breadcrumb {
    position: absolute;
    bottom: 28px;
    left: 40px;
    display: flex;
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}
.fp-hero-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.fp-hero-breadcrumb a:hover { color: #fff; }
.fp-hero-breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── Sous-navigation sticky ── */
.fp-subnav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 56px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.fp-subnav-links {
    display: flex;
    gap: 0;
    height: 100%;
}
.fp-subnav-link {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    padding: 0 22px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.fp-subnav-link:hover,
.fp-subnav-link.active {
    color: #111;
    border-bottom-color: #111;
}
.fp-subnav-contact {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    padding: 7px 18px;
    transition: border-color 0.2s, color 0.2s;
}
.fp-subnav-contact:hover { border-color: #000; color: #000; }

/* ── Sections communes ── */
.fp-section { background: #fff; }
.fp-section-heading {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    margin: 0 0 60px;
    padding-top: 80px;
}

/* ── Vue d'ensemble ── */
.fp-overview {
    padding-bottom: 80px;
}
.fp-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.fp-overview-img-wrap {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}
.fp-overview-img {
    width: 100%;
    max-height: 680px;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.fp-overview-img-wrap:hover .fp-overview-img { transform: scale(1.03); }
.fp-overview-text {
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fp-overview-gamme-tag {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 12px;
    display: inline-block;
    margin-bottom: 24px;
    width: fit-content;
}
.fp-tag-eterna   { background: #000; color: #fff; }
.fp-tag-heritage { background: #7a5c2e; color: #fff; }
.fp-overview-nom {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.2;
}
.fp-overview-sous-titre {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 30px;
}
.fp-overview-sep {
    border: none;
    border-top: 1px solid #eee;
    margin: 0 0 28px;
}
.fp-overview-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.85;
    margin: 0 0 40px;
}
.fp-btn-primary {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    transition: background 0.25s, color 0.25s;
    align-self: flex-start;
}
.fp-btn-primary:hover { background: #C9A84C; color: #fff; }
.fp-btn-secondary {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    text-decoration: none;
    border: 1px solid #ddd;
    padding: 13px 28px;
    transition: border-color 0.2s, color 0.2s;
}
.fp-btn-secondary:hover { border-color: #000; color: #000; }

/* ── Galerie ── */
.fp-gallery {
    background: #f5f5f5;
    padding-bottom: 70px;
}
.fp-gallery-wrap { position: relative; }
.fp-gallery-stage {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fp-gslide {
    display: none;
    width: 100%;
    text-align: center;
}
.fp-gslide.active { display: flex; align-items: center; justify-content: center; }
.fp-gslide img {
    max-width: 100%;
    max-height: 620px;
    object-fit: contain;
    animation: fp-fadein 0.35s ease;
}
@keyframes fp-fadein { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

.fp-garrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid #ccc;
    color: #333;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.fp-garrow:hover { border-color: #000; background: #000; color: #fff; }
.fp-garrow-prev { left: 20px; }
.fp-garrow-next { right: 20px; }

.fp-gallery-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0 70px;
}
.fp-gcounter {
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
}
.fp-gallery-dots { display: flex; gap: 8px; }
.fp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid #aaa;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.fp-dot.active { background: #111; border-color: #111; }

/* ── Caractéristiques techniques ── */
.fp-specs { padding-bottom: 100px; }
.fp-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}
.fp-specs-bloc {
    padding: 50px 50px 50px;
    border-right: 1px solid #eee;
}
.fp-specs-bloc:last-child { border-right: none; }
.fp-specs-sub {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #bbb;
    margin: 0 0 30px;
    font-weight: 600;
}
.fp-dims-svg {
    width: 100%;
    max-width: 240px;
    display: block;
    margin: 0 auto 20px;
}
.fp-dims-value {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 1px;
    margin: 0 0 8px;
    text-align: center;
}
.fp-dims-note {
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
    margin: 0;
}
.fp-mat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.fp-mat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.82rem;
    color: #444;
    line-height: 1.6;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}
.fp-mat-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C9A84C;
    flex-shrink: 0;
    margin-top: 7px;
}
.fp-finitions-note {
    padding: 20px;
    background: #fafafa;
    border-left: 2px solid #C9A84C;
}
.fp-finitions-note p {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}
.fp-prix {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.fp-prix-note {
    font-size: 0.72rem;
    color: #aaa;
    font-style: italic;
    margin: 0 0 30px;
}
.fp-specs-tarif { background: #fafafa; }
.fp-specs-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Produits apparentés ── */
.fp-apparentes {
    background: #fff;
    padding-bottom: 100px;
    border-top: 1px solid #eee;
}
.fp-apparentes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
}
.fp-ap-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.fp-ap-card:hover { opacity: 0.82; }
.fp-ap-img {
    background: #f5f5f5;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}
.fp-ap-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}
.fp-ap-card:hover .fp-ap-img img { transform: scale(1.05); }
.fp-ap-info h3 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #222;
    margin: 0 0 5px;
    font-weight: 500;
}
.fp-ap-info p {
    font-size: 0.7rem;
    color: #aaa;
    margin: 0;
}

/* ── Heritage fiche : pattern discret ── */
#page-fiche-heritage .fp-overview { background: transparent; }
#page-fiche-heritage .fp-gallery  { background: rgba(245,240,230,0.4); }
#page-fiche-heritage .fp-btn-primary { background: #7a5c2e; }
#page-fiche-heritage .fp-btn-primary:hover { background: #C9A84C; }
#page-fiche-heritage .fp-mat-bullet { background: #C9A84C; }
#page-fiche-heritage .fp-subnav-link.active { border-bottom-color: #7a5c2e; color: #7a5c2e; }

/* ── Responsive tablette ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .fp-hero { min-height: 55vh; padding: 120px 30px 50px; }
    .fp-subnav { padding: 0 30px; }
    .fp-subnav-link { padding: 0 14px; font-size: 0.62rem; }
    .fp-overview-grid { grid-template-columns: 1fr 1fr; }
    .fp-overview-text { padding: 50px 40px; }
    .fp-specs-grid { grid-template-columns: 1fr 1fr; }
    .fp-specs-bloc:nth-child(2) { border-right: none; }
    .fp-specs-bloc:nth-child(3) { border-top: 1px solid #eee; grid-column: span 2; }
    .fp-apparentes-grid { grid-template-columns: repeat(2, 1fr); padding: 0 30px; }
    .fp-gallery-stage { min-height: 450px; }
}

/* ── Responsive mobile ── */
@media (max-width: 768px) {
    .fp-hero {
        min-height: 55vh;
        padding: 100px 20px 50px;
        align-items: flex-start;
    }
    .fp-hero-body { text-align: left; }
    .fp-hero-nom { font-size: 2rem; letter-spacing: 3px; }
    .fp-hero-breadcrumb { left: 20px; font-size: 0.58rem; flex-wrap: wrap; gap: 4px; }

    .fp-subnav {
        padding: 0 15px;
        height: auto;
        overflow-x: auto;
        flex-direction: column;
        align-items: flex-start;
        height: 48px;
    }
    .fp-subnav-links { flex-wrap: nowrap; white-space: nowrap; }
    .fp-subnav-link { padding: 0 12px; font-size: 0.6rem; }
    .fp-subnav-right { display: none; }

    .fp-section-heading { padding-top: 50px; margin-bottom: 30px; }

    .fp-overview-grid { grid-template-columns: 1fr; }
    .fp-overview-img-wrap { min-height: 300px; }
    .fp-overview-text { padding: 30px 20px; }
    .fp-overview-nom { font-size: 1.5rem; }
    .fp-overview-desc { font-size: 0.85rem; }

    .fp-gallery-stage { min-height: 300px; }
    .fp-gslide img { max-height: 350px; }
    .fp-garrow { width: 38px; height: 38px; font-size: 1rem; }
    .fp-garrow-prev { left: 5px; }
    .fp-garrow-next { right: 5px; }
    .fp-gallery-bar { padding: 0 15px; }

    .fp-specs-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 20px;
    }
    .fp-specs-bloc { border-right: none !important; border-bottom: 1px solid #eee; padding: 35px 0; }
    .fp-specs-bloc:last-child { border-bottom: none; }

    .fp-apparentes-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 0 15px; }
    .fp-ap-img { height: 180px; }

    .fp-btn-primary, .fp-btn-secondary { padding: 12px 22px; font-size: 0.65rem; }
}

/* ============================================================
   PAGES COLLECTION ETERNA & HÉRITAGE
   ============================================================ */

/* Fond blanc sur toute la page (body est noir par défaut) */
#page-collection-eterna .main-content-wrapper {
    background-color: #ffffff;
}

/* Pages fiche produit : fond blanc pur, pas de motif */
body#page-fiche-eterna,
body#page-fiche-heritage {
    background: #ffffff !important;
}
body#page-fiche-heritage .main-content-wrapper {
    background-image: none !important;
    background-color: #ffffff !important;
}

/* Héros */
#page-collection-eterna .hero-page {
    background-image: url('images/mobilier-moderne-design-contemporain-ligne-pure.jpg');
}
#page-collection-heritage .hero-page {
    background-image: url('images/mobilier-style-classique-ebenisterie-ligne-heritage.jpg');
}

/* Tagline sous le héros */
.collection-tagline {
    text-align: center;
    padding: 55px 40px 40px;
    border-bottom: 1px solid #ebebeb;
}
.collection-tagline .tagline-label {
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C9A84C;
    margin: 0 0 14px;
}
.collection-tagline .tagline-desc {
    font-size: 0.98rem;
    color: #666;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Navigation catégories horizontale */
.collection-cat-nav {
    padding: 22px 60px;
    border-bottom: 1px solid #ebebeb;
}
.collection-cat-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 35px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}
.collection-cat-nav li a {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.collection-cat-nav li a:hover { color: #C9A84C; }

/* Grille produits asymétrique */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 35px 25px;
    padding: 70px 80px 90px;
    max-width: 1500px;
    margin: 0 auto;
}

/* Tailles des cartes (cycle 5 : xl+lg = 12 cols, md+md+md = 12 cols) */
.prod-xl { grid-column: span 7; }
.prod-lg { grid-column: span 5; }
.prod-md { grid-column: span 4; }

/* Carte produit */
.collection-product {
    display: block;
    text-decoration: none;
    color: inherit;
}
.collection-product-img {
    width: 100%;
    background: #fff;
    overflow: hidden;
    position: relative;
}
.prod-xl .collection-product-img { height: 560px; }
.prod-lg .collection-product-img { height: 560px; }
.prod-md .collection-product-img { height: 400px; }

.collection-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
    display: block;
    mix-blend-mode: multiply;
    filter: none;
}
.collection-product:hover .collection-product-img img { transform: scale(1.04); filter: blur(4px); }

.collection-product-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(200, 200, 200, 0.6);
    padding: 18px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: 2;
}
.collection-product:hover .collection-product-caption {
    opacity: 1;
    transform: translateY(0);
}
.collection-product-caption h3 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 5px;
    font-weight: 700;
}
.collection-product-caption p {
    font-size: 0.7rem;
    color: #555;
    margin: 0;
    letter-spacing: 1px;
}

/* Héritage — produits sur fond blanc légèrement surélevés pour ressortir du motif */
#page-collection-heritage .collection-product-img {
    background: transparent !important;
    box-shadow: none !important;
}
#page-collection-heritage .collection-product-img img {
    mix-blend-mode: normal;
    filter: none;
}
#page-collection-heritage .collection-tagline {
    border-bottom-color: rgba(201,168,76,0.2);
    background: transparent;
}
#page-collection-heritage .collection-cat-nav {
    border-bottom-color: rgba(201,168,76,0.2);
    background: transparent;
}
#page-collection-heritage .collection-cat-nav li a { color: #4a3820; }
#page-collection-heritage .collection-cat-nav li a:hover { color: #C9A84C; }
#page-collection-heritage .collection-product-caption h3 { color: #3a2c18; }
#page-collection-heritage .collection-tagline .tagline-desc { color: #5a4a30; }

/* Survol PC : appliquer le flou aussi sur Héritage (surcharge le filter:none permanent) */
#page-collection-heritage .collection-product:hover .collection-product-img img { filter: blur(4px); }

/* Survol PC : rectangle gris plus léger (le mobile garde 0.6) */
@media (min-width: 769px) {
    .collection-product-caption { background-color: rgba(200, 200, 200, 0.4); }
}

/* Mobile */
@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 20px 15px 40px !important;
    }
    .prod-xl, .prod-lg, .prod-md { grid-column: span 1 !important; }
    .prod-xl .collection-product-img,
    .prod-lg .collection-product-img,
    .prod-md .collection-product-img { height: 450px !important; }
    .collection-product-caption { opacity: 1 !important; transform: translateY(0) !important; background-color: rgba(200, 200, 200, 0.95) !important; padding: 20px 0 !important; }
    .collection-product-caption h3 { font-size: 0.9rem !important; }
    .collection-cat-nav {
        padding: 14px 15px !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .collection-cat-nav ul {
        flex-wrap: nowrap !important;
        gap: 0 22px !important;
        justify-content: flex-start !important;
        padding-bottom: 4px;
    }
    .collection-tagline {
        padding: 30px 20px 25px !important;
    }
    .collection-tagline .tagline-desc {
        font-size: 0.88rem !important;
    }
}

/* Tablette */
@media (min-width: 769px) and (max-width: 1024px) {
    .collection-grid {
        gap: 20px !important;
        padding: 50px 30px 70px !important;
    }
    .prod-xl .collection-product-img { height: 420px !important; }
    .prod-lg .collection-product-img { height: 420px !important; }
    .prod-md .collection-product-img { height: 300px !important; }
    .collection-cat-nav { padding: 20px 30px !important; }
}

/* ============================================================
   FICHE PRODUIT — REDESIGN (classes fiche-*)
   ============================================================ */

/* ── HÉRO PRODUIT ── */
.fiche-hero {
    background: #ffffff;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fiche-hero-img {
    width: 100%;
    height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fiche-hero-img img {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    filter: none;
}

/* ── FIL D'ARIANE ── */
.fiche-breadcrumb {
    background: rgb(200, 200, 200);
    padding: 24px 60px;
    margin-bottom: 0;
}
.fiche-bc-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.fiche-bc-nav a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.fiche-bc-nav a:hover { color: #000; }
.fiche-bc-sep  { color: #555; }
.fiche-bc-current { color: #666; font-weight: 400; }

/* ── LAYOUT DEUX COLONNES ── */
.fiche-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 60px;
    gap: 80px;
}

/* ── SIDEBAR ── */
.fiche-sidebar {
    width: 230px;
    flex-shrink: 0;
    position: sticky;
    top: 40px;
    padding: 60px 0;
}
.fiche-nom {
    font-family: 'Playfair Display', 'IM Fell English', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    margin: 0 0 30px;
    line-height: 1.2;
    text-transform: uppercase;
}
.fiche-sidenav {
    border-top: 1.5px solid #111;
}
.fiche-snav-link {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #d8d8d8;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.63rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.fiche-snav-link:hover { color: #111; padding-left: 6px; }
.fiche-snav-link.active { color: #111; font-weight: 700; border-bottom-color: #111; }
[id*="-heritage"] .fiche-snav-link.active { color: #7a5c2e; border-bottom-color: #7a5c2e; }

.fiche-sidebar-cta { margin-top: 36px; }
.fiche-btn-devis {
    display: block;
    padding: 12px 18px;
    background: #111;
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
}
.fiche-btn-devis:hover { background: #333; }
[id*="-heritage"] .fiche-btn-devis { background: #7a5c2e; }
[id*="-heritage"] .fiche-btn-devis:hover { background: #5a3c0e; }

/* ── CORPS DROIT ── */
.fiche-body {
    flex: 1;
    min-width: 0;
    padding: 60px 0;
}

/* ── SECTIONS ── */
.fiche-section {
    padding: 55px 0;
    border-top: 1px solid #e8e8e8;
}
.fiche-section-first {
    border-top: none;
    padding-top: 0;
}
.fiche-section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 600;
    margin: 0 0 24px;
}

/* ── DESIGN ── */
.fiche-gamme-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border: 1px solid currentColor;
    margin-bottom: 14px;
}
.fiche-tag-eterna   { color: #333; border-color: #333; }
.fiche-tag-heritage { color: #7a5c2e; border-color: #7a5c2e; }

.fiche-sous-titre {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    margin: 6px 0 14px;
}
.fiche-sep {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 18px 0;
}
.fiche-description {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    line-height: 1.85;
    color: #444;
    max-width: 620px;
}
.fiche-prix-label {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
}

/* ── GALERIE ── */
.fiche-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.fiche-gitem-main {
    grid-column: span 3;
}
.fiche-gitem img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    background: #ffffff;
    mix-blend-mode: multiply;
}
.fiche-gitem-main img {
    height: 520px;
    object-fit: contain;
    background: #ffffff;
    mix-blend-mode: multiply;
}

/* ── SPECS & DIMENSIONS ── */
.fiche-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.fiche-spec-bloc { margin-bottom: 30px; }
.fiche-specs-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.9;
    margin-top: 14px;
    white-space: pre-line;
}
.fiche-dims-na {
    color: #bbb !important;
    font-style: italic;
}
.fiche-dims-na span { font-size: 0.7rem; }
.fiche-spec-titre {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebebeb;
}
.fiche-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fiche-spec-list li {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: #444;
    padding: 7px 0;
    border-bottom: 1px dotted #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fiche-spec-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #bbb;
    border-radius: 50%;
    flex-shrink: 0;
}
.fiche-dims-note {
    font-family: 'Lato', sans-serif;
    font-size: 0.76rem;
    color: #aaa;
    font-style: italic;
    margin-top: 10px;
}
.fiche-dims-svg {
    width: 100%;
    max-width: 230px;
    display: block;
    margin: 0 auto 18px;
}
.fiche-dims-value {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #333;
    font-weight: 600;
}

/* ── FINITIONS & REVÊTEMENT ── */
.fiche-finitions-group { margin-bottom: 44px; }
.fiche-finitions-sous {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebebeb;
}
.fiche-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.fiche-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.fiche-swatch-img {
    width: 130px;
    height: 130px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
}
.fiche-swatch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.fiche-swatch:hover .fiche-swatch-img img { transform: scale(1.06); }
.fiche-swatch-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    text-align: center;
    max-width: 130px;
}

/* ── PRODUITS APPARENTÉS ── */
.fiche-apparentes {
    padding: 80px 60px;
    border-top: 1px solid #e8e8e8;
    max-width: 1380px;
    margin: 0 auto;
}
.fiche-apparentes-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    text-align: center;
    margin: 0 0 40px;
}
.fiche-apparentes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.fiche-ap-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.fiche-ap-img {
    overflow: hidden;
    margin-bottom: 10px;
    background: #ffffff;
    aspect-ratio: 4 / 3;
}
.fiche-ap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
}
.fiche-ap-card:hover .fiche-ap-img img { transform: scale(1.04); }
.fiche-ap-info strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 3px;
}
.fiche-ap-info span {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    color: #999;
    font-style: italic;
}

/* ── RESPONSIVE v1 (legacy) ── */
@media (max-width: 1100px) {
    .fiche-layout { padding: 0 30px; gap: 50px; }
}

@media (max-width: 768px) {
    .fiche-hero-img { height: 60vh; }
    .fiche-hero-img img { max-height: 60vh; }
    .fiche-breadcrumb { padding: 11px 20px; }
    .fiche-bc-nav { font-size: 0.58rem; flex-wrap: wrap; }
    .fiche-nom { font-size: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════
   FICHE PRODUIT — MISE EN PAGE V2
   ══════════════════════════════════════════════════════════════ */

/* ── INTRO : SIDEBAR STATIQUE + SECTION DESIGN ── */
.fiche-intro {
    display: flex;
    align-items: flex-start;
    background: #fff;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* Override v1 : sidebar statique (non sticky) */
.fiche-sidebar {
    position: static;
    top: auto;
    width: 260px;
    flex-shrink: 0;
    padding: 70px 0;
}

/* Section Design — description uniquement */
.fiche-design-body {
    flex: 1;
    min-width: 0;
    padding: 70px 0 70px 70px;
    border-left: 1px solid #e8e8e8;
}

/* ── TITRE H2 : typographie identique aux autres pages ── */
.fiche-h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 40px;
}

/* ── SECTIONS PLEINE LARGEUR ── */
.fiche-full-section {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid #e8e8e8;
    width: 100%;
    box-sizing: border-box;
}

.fiche-full-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* Force fond blanc sur pages Heritage */
body[id*="heritage"] .fiche-full-section,
body[id*="heritage"] .fiche-intro {
    background: #fff !important;
}

/* ── GALERIE V2 (pleine largeur, image principale plus grande) ── */
.fiche-gitem-main img {
    height: 620px;
    object-fit: contain;
    background: #ffffff;
}

/* ── PRODUITS APPARENTÉS : override v1 max-width/padding ── */
.fiche-apparentes {
    max-width: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e8e8e8;
}

/* ── RESPONSIVE V2 ── */
@media (max-width: 1100px) {
    .fiche-intro,
    .fiche-full-inner { padding-left: 30px; padding-right: 30px; }
    .fiche-sidebar { width: 200px; }
    .fiche-design-body { padding-left: 50px; }
}

@media (max-width: 768px) {
    .fiche-intro { flex-direction: column; padding: 0 20px; }
    .fiche-sidebar { width: 100%; padding: 30px 0 0; }
    .fiche-sidebar-cta { display: none; }
    .fiche-design-body {
        border-left: none;
        border-top: 1px solid #e8e8e8;
        padding: 30px 0;
    }
    .fiche-full-section { padding: 50px 0; }
    .fiche-full-inner { padding: 0 20px; }
    .fiche-h2 { font-size: 1.2rem; letter-spacing: 2px; }
    .fiche-gallery { grid-template-columns: 1fr; }
    .fiche-gitem-main { grid-column: span 1; }
    .fiche-gitem-main img { height: 320px; }
    .fiche-gitem img { height: 220px; }
    .fiche-specs-grid { grid-template-columns: 1fr; gap: 30px; }
    .fiche-swatch-img { width: 90px; height: 90px; }
    .fiche-apparentes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .fiche-h2 { font-size: 1rem; }
    .fiche-apparentes-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .fiche-swatch-img { width: 80px; height: 80px; }
}

/* ===== Uniformisation MOBILE : photo + rectangle gris identiques sur
   les pages catégorie (chaise, fauteuil…) ET les pages collection
   (Eterna & Héritage). Ne touche ni au PC ni au motif Héritage. ===== */
@media (max-width: 768px) {
    /* Catégorie : forcer le MÊME conteneur que la collection (pleine largeur + contain) */
    [id^="page-"]:not(#page-accueil):not(#page-contact) .card-elegance {
        display: block !important;
        width: 100% !important;
    }
    [id^="page-"]:not(#page-accueil):not(#page-contact) .card-elegance .image-box {
        width: 100% !important;
        height: 450px !important;
    }
    [id^="page-"]:not(#page-accueil):not(#page-contact) .card-elegance .image-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    /* Collection : même hauteur + même mode d'image */
    .prod-xl .collection-product-img,
    .prod-lg .collection-product-img,
    .prod-md .collection-product-img { height: 450px !important; }
    .collection-product-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    /* Rectangle gris identique : un peu transparent, taille moyenne */
    .info-overlay,
    .collection-product-caption {
        background-color: rgba(200, 200, 200, 0.6) !important;
        padding: 14px 0 !important;
    }
}

/* ===== Section Nouveautés (accueil) : fond blanc pour fondre les photos
   produit (fond blanc + mix-blend multiply) et assurer la continuité
   avec les cartes collections au-dessus. ===== */
.nouveautes { background-color: #ffffff; }

/* ═══════════════════════════════════════════════════════════════════
   RGPD — BANDEAU COOKIES · CONSENTEMENT CARTE · LIENS LÉGAUX · PAGES LÉGALES
   Classes 100 % nouvelles : aucun élément existant du site n'est modifié.
   Charte respectée : noir, or #C9A84C, Montserrat.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Bandeau de consentement ── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201, 168, 76, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    padding: 22px 40px;
    box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    max-width: 1300px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cookie-banner-title {
    font-size: 0.66rem; letter-spacing: 3px; text-transform: uppercase;
    color: #C9A84C; font-weight: 700; margin: 0 0 8px;
}
.cookie-banner-desc {
    font-size: 0.82rem; line-height: 1.7; font-weight: 300; margin: 0; max-width: 800px;
}
.cookie-banner-desc a { color: #C9A84C; text-decoration: underline; }
.cookie-banner-desc a:hover { color: #d9bb63; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* Les deux boutons ont la MÊME taille et la même place (exigence CNIL) */
.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.66rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
    padding: 13px 28px; cursor: pointer; border: 1px solid;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}
.cookie-btn-refuse { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.45); }
.cookie-btn-refuse:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }
.cookie-btn-accept { background: #C9A84C; color: #000000; border-color: #C9A84C; }
.cookie-btn-accept:hover { background: #d9bb63; border-color: #d9bb63; }

/* ── Consentement carte (page Contact) ── */
.map-consent {
    background: #f4f4f4; border: 1px solid #e4e4e4;
    padding: 48px 30px; text-align: center;
    font-family: 'Montserrat', sans-serif;
}
.map-consent-title {
    font-size: 0.66rem; letter-spacing: 3px; text-transform: uppercase;
    color: #C9A84C; font-weight: 700; margin: 0 0 12px;
}
.map-consent-desc {
    font-size: 0.85rem; color: #666; font-weight: 300; line-height: 1.7;
    margin: 0 auto 24px; max-width: 430px;
}
.map-consent-link {
    display: block; margin-top: 18px;
    font-size: 0.7rem; letter-spacing: 1px; color: #999; text-decoration: none;
}
.map-consent-link:hover { color: #C9A84C; }
#map-container iframe { display: block; }

/* ── Liens légaux du pied de page ── */
.footer-legal {
    max-width: 1200px; margin: 28px auto 0; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 10px 26px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem; letter-spacing: 1px;
}
.footer-legal a, .footer-legal-copy { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer-legal a { transition: color 0.3s ease; cursor: pointer; }
.footer-legal a:hover { color: #C9A84C; }

/* ── Pages légales (mentions légales, politique de confidentialité) ── */
body#page-legal { background: #ffffff; }
#page-legal .main-content-wrapper { background-color: #ffffff; padding-top: 100px; }
.legal-page {
    max-width: 900px; margin: 0 auto; padding: 60px 40px 90px;
    font-family: 'Montserrat', sans-serif;
}
.legal-page h1 {
    font-size: 1.6rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: #000; margin: 0 0 10px; line-height: 1.4;
}
.legal-maj { font-size: 0.7rem; letter-spacing: 1px; color: #999; margin: 0 0 45px; }
.legal-page h2 {
    font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
    color: #C9A84C; font-weight: 700; margin: 42px 0 14px;
}
.legal-page p, .legal-page li {
    font-size: 0.9rem; line-height: 1.9; color: #444; font-weight: 300;
}
.legal-page ul { padding-left: 20px; margin: 0 0 12px; }
.legal-page a { color: #C9A84C; }

/* ── Responsive RGPD ── */
@media (max-width: 768px) {
    .cookie-banner { padding: 18px 16px 20px; }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; }
    .cookie-banner-desc { font-size: 0.78rem; }
    .cookie-banner-actions { gap: 10px; }
    .cookie-btn { flex: 1; padding: 13px 8px; font-size: 0.6rem; letter-spacing: 1.2px; }
    .footer-legal { gap: 8px 16px; font-size: 0.64rem; }
    .map-consent { padding: 36px 18px; }
    .legal-page { padding: 40px 20px 60px; }
    .legal-page h1 { font-size: 1.2rem; letter-spacing: 2px; }
    #page-legal .main-content-wrapper { padding-top: 80px; }
}

/* ═══ FIX MOBILE — pages catégorie : produit PLEINE LARGEUR, identique aux
   pages collection. Neutralise les anciennes règles (padding cumulé 50+20px,
   align-items:center, colonnes) avec une spécificité supérieure. ═══ */
@media (max-width: 768px) {
    /* Marge latérale identique à .collection-grid (15px) + annule le max-width:85%
       des pages Héritage → produit pleine largeur sur mobile aussi */
    [id^="page-"]:not(#page-accueil):not(#page-contact) .products-grid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    /* 1 produit par ligne, ÉTIRÉ sur toute la largeur (stretch, pas center) */
    [id^="page-"]:not(#page-accueil):not(#page-contact) .grid-asymetrique-gauche,
    [id^="page-"]:not(#page-accueil):not(#page-contact) .grid-asymetrique-droite {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 24px !important;
        padding: 0 !important;
    }
    /* Carte pleine largeur */
    [id^="page-"]:not(#page-accueil):not(#page-contact) .card-elegance {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    /* Conteneur photo : pleine largeur, même hauteur que la collection (450px) */
    [id^="page-"]:not(#page-accueil):not(#page-contact) .card-elegance .image-box {
        width: 100% !important;
        height: 450px !important;
    }
    /* Photo : remplit le conteneur, comme la collection */
    [id^="page-"]:not(#page-accueil):not(#page-contact) .card-elegance .image-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

