/* =========================================
   STYLE PAGE CATALOGUE (SHOWROOM)
   ========================================= */

/* --- MENU (HEADER) OVERRIDE --- */
ttb-header header {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
    padding: 20px 30px; box-sizing: border-box;
    transition: all 0.4s ease-in-out;
}
ttb-header header.scrolled {
    background-color: #2b0202 !important; 
    padding: 10px 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
}

/* --- PARTICULES --- */
#particles-catalogue {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10; pointer-events: none;
}

/* --- SLIDER CATALOGUE --- */
.hero-slider.catalogue-slider {
    position: relative;
    height: 65vh; /* Hauteur idéale pour un catalogue (pas plein écran) */
    width: 100%;
    overflow: hidden;
    background-color: #050505;
}

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 0 20px; box-sizing: border-box; z-index: 0;
}
.slide.active { opacity: 1; z-index: 1; }

.slide-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -1;
    animation: zoomSlow 20s linear infinite alternate;
}
@keyframes zoomSlow { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

.slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), #050505);
    z-index: 1;
}

.slide-content { position: relative; z-index: 3; padding-top: 60px; }

.slide-title {
    font-size: 3.5rem; color: white; text-transform: uppercase; font-weight: 900; margin-bottom: 10px;
    opacity: 0; transform: translateY(30px);
}
.slide.active .slide-title { animation: fadeUp 1s 0.5s forwards; }

.slide-subtitle {
    color: #ccc; font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
    opacity: 0; transform: translateY(30px); display: block;
}
.slide.active .slide-subtitle { animation: fadeUp 1s 0.7s forwards; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.slider-dots-container { position: absolute; bottom: 30px; width: 100%; display: flex; justify-content: center; z-index: 10; }
.slider-dots { display: flex; gap: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ttb-gold); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--ttb-gold); transform: scale(1.3); }

/* IMAGES DE FOND DES SLIDES */
#cat-slide-1 .slide-bg { background-image: url('../images/import-1.png'); }
#cat-slide-2 .slide-bg { background-image: url('../images/app-slide.png'); }

/* --- BOUTONS APP STORE (SLIDER) --- */
.app-buttons { display: flex; gap: 20px; margin-top: 20px; justify-content: center; }
.btn-store {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 25px; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 10px;
    color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600;
    transition: 0.3s; cursor: not-allowed; opacity: 0.7;
}
.btn-store i { font-size: 1.5rem; }
.btn-store:hover { background: rgba(255,255,255,0.2); border-color: #fff; opacity: 1; }
.coming-soon { font-size: 0.9rem; color: #ccc; font-style: italic; margin-top: 15px; }

/* --- RECHERCHE WHAOU (SEARCH BAR) --- */
.search-wrapper {
    position: relative; width: 100%; max-width: 600px; margin: 0 auto 40px;
    z-index: 5; display: flex; align-items: center;
}
.search-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 20px 12px 45px;
    color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}
.search-input:focus {
    background: #000;
    border-color: var(--ttb-gold);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.15);
}
.search-icon {
    position: absolute; left: 18px;
    color: #666; font-size: 1rem;
    pointer-events: none; transition: 0.3s;
}
.search-input:focus + .search-icon { color: var(--ttb-gold); transform: scale(1.1); }
.search-input::placeholder { color: rgba(255,255,255,0.3); font-style: italic; }

/* --- MARQUES (PARTENAIRES) --- */
.brands-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 20px 0;
    position: relative;
    /* Effet de fondu sur les bords gauche et droite */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.brands-track {
    display: flex; align-items: center; gap: 50px; width: max-content;
    animation: scrollBrands 35s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }

.brand-item {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px; padding: 15px 25px; height: 80px; min-width: 150px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(10px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(100%) opacity(0.6); cursor: pointer;
}
.brand-item:hover {
    filter: grayscale(0%) opacity(1); border-color: var(--ttb-gold);
    transform: translateY(-5px); box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}
.brand-item img { max-height: 100%; max-width: 100%; object-fit: contain; }

@keyframes scrollBrands {
    to { transform: translateX(calc(-50% - 25px)); }
}

/* --- CONTENEUR LARGE (FULL WIDTH) --- */
.catalogue-container {
    max-width: 1600px; /* Plus large que le standard */
    width: 95%; margin: 0 auto; padding: 0 20px;
    box-sizing: border-box;
}

/* --- NOUVEAU LAYOUT (SIDEBAR DROITE) --- */
.catalogue-layout {
    display: flex; gap: 30px; align-items: flex-start;
    position: relative;
}

.catalogue-main {
    flex: 1; /* Prend tout l'espace restant */
}

.catalogue-sidebar {
    width: 240px; flex-shrink: 0; /* Plus fin (était 300px) */
    position: sticky; top: 100px; /* Sticky au scroll */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideInRight 0.8s ease-out;
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.sidebar-title {
    color: var(--ttb-gold); font-size: 1.1rem; font-weight: 800; text-transform: uppercase;
    margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; gap: 10px;
}

/* HEADER SIDEBAR MOBILE (Caché sur Desktop) */
.sidebar-header-mobile { display: none; }

/* BOUTON FILTRE MOBILE (Caché sur Desktop) */
.mobile-filter-btn {
    display: none;
    align-items: center; gap: 10px;
    background: var(--ttb-gold); color: #000;
    border: none; padding: 12px 25px; border-radius: 50px;
    font-family: 'Montserrat', sans-serif; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
    margin-bottom: 20px; cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
    transition: 0.3s;
}

/* CHECKBOX WHAOU STYLE */
.filter-group { display: flex; flex-direction: column; gap: 12px; }

.custom-checkbox {
    display: flex; align-items: center; gap: 12px;
    cursor: pointer; position: relative;
    padding: 8px 12px; border-radius: 8px;
    transition: 0.3s;
}
.custom-checkbox:hover { background: rgba(255,255,255,0.05); }

.custom-checkbox input { display: none; } /* Cache la checkbox native */

.checkmark {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s; position: relative;
}

.checkmark::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 0.7rem; color: #000;
    transform: scale(0); transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* État Coché */
.custom-checkbox input:checked + .checkmark {
    background: var(--ttb-gold); border-color: var(--ttb-gold);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}
.custom-checkbox input:checked + .checkmark::after { transform: scale(1); }

.filter-label { color: #ccc; font-size: 0.9rem; font-weight: 500; transition: 0.3s; flex: 1; }
.custom-checkbox input:checked ~ .filter-label { color: #fff; font-weight: 700; }

.filter-count {
    font-size: 0.75rem; color: #666; background: rgba(0,0,0,0.3);
    padding: 2px 8px; border-radius: 10px; transition: 0.3s;
}
.custom-checkbox input:checked ~ .filter-count { background: var(--ttb-gold); color: #000; font-weight: bold; }

/* --- GRILLE CATALOGUE --- */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, calc(50% - 15px)), 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

/* --- AUCUN RÉSULTAT (EMPTY STATE) --- */
.no-results {
    grid-column: 1 / -1; /* Prend toute la largeur */
    text-align: center; padding: 60px 20px;
    display: none; flex-direction: column; align-items: center;
    animation: fadeInUp 0.5s ease forwards;
}
.no-results.active { display: flex; }
.no-results i { font-size: 4rem; color: var(--ttb-gold); margin-bottom: 20px; opacity: 0.5; }
.no-results p { color: #ccc; font-size: 1.2rem; }

/* --- CARTE PRODUIT (DESIGN WHAOU) --- */
.cat-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    opacity: 1; transform: scale(1); /* Pour l'animation de filtre */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cat-card:hover {
    border-color: var(--ttb-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    z-index: 2;
}

/* Image */
.cat-img-wrapper {
    height: 220px; width: 100%;
    overflow: hidden; position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; /* Indique que c'est cliquable */
}
.cat-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none; /* L'inspecteur sélectionnera le DIV wrapper, pas l'image ! */
}
.cat-card:hover .cat-img-wrapper img { transform: scale(1.15); }

/* Badge Catégorie */
.cat-badge {
    position: absolute; top: 15px; right: 15px;
    background: rgba(0,0,0,0.8); color: var(--ttb-gold);
    padding: 5px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    border: 1px solid var(--ttb-gold); z-index: 2;
}

/* BADGE NOUVEAU (PRODUITS RÉCENTS) */
.cat-badge.new {
    right: auto; left: 70px; /* Positionné à gauche, après les boutons actions */
    background: var(--primary-red); color: #fff; border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    animation: pulseNew 2s infinite;
}
@keyframes pulseNew { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ACTIONS UTILISATEUR (PANIER & FAV) */
.card-actions {
    position: absolute; top: 15px; left: 15px; z-index: 20;
    display: flex; flex-direction: column; gap: 10px;
}
.btn-action {
    width: 40px; height: 40px;
    background: rgba(0, 0, 0, 0.7) !important; /* Force le fond sombre */
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff !important; /* Force l'icône en blanc */
    font-size: 1.1rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-action:hover {
    background: #fff !important; 
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #fff;
}
.cart-action:hover { color: var(--ttb-gold) !important; border-color: var(--ttb-gold); }
.fav-action:hover { color: var(--primary-red) !important; border-color: var(--primary-red); }

.fav-action.active {
    background: var(--primary-red); color: #fff; border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    animation: popHeart 0.4s ease forwards;
}
@keyframes popHeart { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* Contenu */
.cat-content { 
    padding: 25px; text-align: center; position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-icon {
    font-size: 1.5rem; color: #666; margin-bottom: 15px; transition: 0.3s;
}
.cat-card:hover .cat-icon { color: var(--ttb-gold); transform: scale(1.2); }

.cat-title {
    color: #fff; font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
    margin: 0 0 10px 0; letter-spacing: 0.5px; transition: 0.3s;
}
.cat-card:hover .cat-title { color: var(--ttb-gold); }

.cat-desc { font-size: 0.85rem; color: #999; margin-bottom: 20px; line-height: 1.5; }

/* Bouton "Découvrir" qui apparaît */
.cat-btn {
    display: inline-block; padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 30px;
    color: #fff; font-size: 0.8rem; text-transform: uppercase; font-weight: 600;
    transition: 0.3s; background: transparent;
    margin-top: auto;
    align-self: center;
}
.cat-card:hover .cat-btn { background: var(--ttb-gold); color: #000; border-color: var(--ttb-gold); }

/* Animation Filtres */
.cat-card.hide { display: none; }
.cat-card.show { animation: fadeInCard 0.5s ease forwards; }
@keyframes fadeInCard { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* --- MODAL APERÇU (LIGHTBOX) --- */
.cat-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.cat-modal.show { opacity: 1; visibility: visible; }

/* Fond Catégorie Flouté (Ambiance) */
.cat-modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: blur(8px) brightness(0.4); transform: scale(1.1); /* Scale pour éviter bords flous */
    z-index: 1; transition: background-image 0.5s ease;
}

/* Conteneur Principal (Carte Glassmorphism) */
.cat-modal-container {
    position: relative; z-index: 2;
    width: 95%; max-width: 1400px; min-height: 650px; /* Agrandissement global */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.cat-modal.show .cat-modal-container { transform: translateY(0) scale(1); }

.cat-modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; transition: 0.3s; /* Au-dessus de tout (Info & Zoom) */
    pointer-events: auto;
}
.cat-modal-close:hover { background: var(--ttb-gold); color: #000; transform: rotate(90deg); }

/* Layout Grille */
.cat-modal-content-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; width: 100%;
}

/* Partie Visuelle (Gauche) */
.cat-modal-visual {
    position: relative; display: flex; align-items: center; justify-content: center;
    padding: 0; /* Zéro padding pour maximiser l'image */
    height: 100%; width: 100%;
    perspective: 1000px; /* Pour effet 3D */
    overflow: hidden; /* CORRECTION : Empêche l'image zoomée de dépasser sur le texte */
}
/* Cercle lumineux derrière le produit */
.visual-circle {
    position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, var(--ttb-gold) 0%, transparent 70%);
    opacity: 0.1; border-radius: 50%; filter: blur(40px);
    animation: pulseGlow 5s infinite alternate;
}
@keyframes pulseGlow { 0% { transform: scale(0.8); opacity: 0.1; } 100% { transform: scale(1.2); opacity: 0.2; } }

/* Wrapper pour l'animation flottante (sépare du Tilt) */
.img-floater {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
}
.cat-modal.show .img-floater {
    animation: floatImg 6s ease-in-out infinite;
}

/* Wrapper 3D (Tilt) */
#tilt-wrapper {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    transform-style: preserve-3d; /* Important pour la 3D */
}

.cat-modal-visual img {
    max-width: 100%; max-height: 100%; /* Force l'image à remplir le bloc */
    width: auto; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
    transition: transform 0.3s ease-out; /* Fluidité du zoom */
    cursor: grab;
    pointer-events: auto; /* Assure que la souris est détectée pour le Tilt */
}
.cat-modal-visual img:active { cursor: grabbing; }

@keyframes floatImg { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Partie Infos (Droite) */
.cat-modal-info {
    padding: 60px 50px; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
    position: relative; z-index: 10; /* SÉCURITÉ : Le texte reste toujours au-dessus */
}

.cat-modal-badge {
    display: inline-block; padding: 8px 20px;
    background: rgba(255, 204, 0, 0.1); border: 1px solid var(--ttb-gold);
    color: var(--ttb-gold); font-size: 0.8rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px; border-radius: 50px;
    margin-bottom: 20px;
}

.cat-modal-info h2 {
    font-size: 3rem; line-height: 1.1; color: #fff; margin: 0 0 30px 0;
    text-transform: uppercase; font-weight: 900;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cat-modal-desc {
    font-size: 1.1rem; color: #ccc; line-height: 1.6; margin-bottom: 40px;
    border-left: 3px solid var(--ttb-gold); padding-left: 20px;
}

.cat-modal-specs {
    display: flex; gap: 20px; margin-bottom: 40px;
}
.spec-item {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 10px;
    font-size: 0.9rem; color: #fff; font-weight: 600;
}
.spec-item i { color: var(--ttb-gold); }

/* --- TABLEAU FICHE TECHNIQUE (WHAOU DESIGN) --- */
.specs-table-container { 
    margin-bottom: 30px; 
    animation: fadeInUp 0.5s ease-out; 
}

.specs-box {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.specs-title {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.1), transparent);
    color: var(--ttb-gold);
    padding: 12px 20px;
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; gap: 10px;
}

.specs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(255, 204, 0, 0.03); }

.spec-label {
    padding: 12px 20px;
    color: #888;
    font-weight: 500;
    width: 45%;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-value {
    padding: 12px 20px;
    color: #fff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif; /* Police plus technique pour les valeurs */
}

.cat-modal-footer { display: flex; align-items: center; gap: 20px; }
.price-hint { color: #666; font-style: italic; font-size: 0.9rem; }

/* Bouton Partager */
.btn-share {
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; font-size: 1.1rem;
}
.btn-share:hover { background: var(--ttb-gold); color: #000; border-color: var(--ttb-gold); transform: translateY(-3px); }

/* --- BARRE D'OUTILS ZOOM (RETOUR) --- */
.img-controls {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 20px;
    background: rgba(0, 0, 0, 0.8); /* Fond sombre translucide */
    backdrop-filter: blur(10px);
    padding: 12px 30px; border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2000; /* Très haut pour être au-dessus de l'image */
    opacity: 1; /* Visible sans animation pour éviter les bugs */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.img-controls button {
    background: transparent; border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--ttb-gold); /* Icône Jaune/Or */
    width: 45px; height: 45px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.3s; font-size: 1.2rem;
}
.img-controls button:hover {
    background: var(--ttb-gold); color: #000; border-color: var(--ttb-gold);
    transform: translateY(-3px) scale(1.1); 
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

/* --- RESPONSIVE MOBILE & TABLETTE --- */
@media (max-width: 992px) {
    /* SLIDER CATALOGUE TABLETTE */
    .hero-slider.catalogue-slider { height: 50vh; min-height: 280px; }
    .slide-title { font-size: 2.2rem; }
    .slide-subtitle { font-size: 1rem; letter-spacing: 1.5px; }

    .cat-modal-content-grid { grid-template-columns: 1fr; overflow-y: auto; max-height: 90vh; }
    .cat-modal-visual { padding: 40px 20px 0; height: 300px; }
    .cat-modal-visual img { max-width: 80%; transform: rotate(0); }
    .cat-modal-info { padding: 30px; }
    .cat-modal-info h2 { font-size: 2rem; }
    .cat-modal-specs { flex-wrap: wrap; }

    .catalogue-layout { flex-direction: column; }

    /* Bouton Filtre Visible */
    .mobile-filter-btn { display: inline-flex; }

    /* Sidebar Off-Canvas (Cachée par défaut) */
    .catalogue-sidebar {
        position: fixed; top: 0; left: 0;
        width: 280px; height: 100vh;
        background: #111; z-index: 10000;
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 30px 20px; margin: 0; border-radius: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        border-right: 1px solid var(--ttb-gold);
        overflow-y: auto;
        /* Caché via transform : le border ne déborde jamais sur le bord gauche */
        transform: translateX(-100%) !important;
        opacity: 1 !important;
    }
    .catalogue-sidebar.mobile-open { transform: translateX(0) !important; }

    /* Header Sidebar Mobile */
    .sidebar-header-mobile {
        display: flex; justify-content: space-between; align-items: center;
        margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px;
    }
    .sidebar-header-mobile h3 { color: var(--ttb-gold); margin: 0; font-size: 1.2rem; text-transform: uppercase; }
    .sidebar-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

    /* Overlay Sombre */
    .sidebar-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
        z-index: 9999; opacity: 0; visibility: hidden; transition: 0.3s;
    }
    .sidebar-overlay.active { opacity: 1; visibility: visible; }
    
    .catalogue-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .cat-img-wrapper { height: 150px; }
    .cat-body { padding: 12px; }
    .cat-title { font-size: 0.85rem; margin-bottom: 6px; }
    .cat-desc { font-size: 0.75rem; margin-bottom: 12px; line-clamp: 2; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .cat-btn { padding: 7px 14px; font-size: 0.7rem; }
    .cat-modal-img-container { height: 35vh; }
    .cat-modal-info h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    /* SLIDER CATALOGUE MOBILE */
    .hero-slider.catalogue-slider { height: 45vh; min-height: 260px; }
    .slide-title { font-size: 1.7rem; margin-bottom: 6px; }
    .slide-subtitle { font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 6px; }
    .slide-content { padding-top: 40px; }

    .app-buttons { gap: 10px; }
    .btn-store { padding: 10px 15px; }
}

@media (max-width: 480px) {
    /* SLIDER CATALOGUE PETIT MOBILE */
    .hero-slider.catalogue-slider { height: 40vh; min-height: 220px; }
    .slide-title { font-size: 1.25rem; line-height: 1.2; letter-spacing: 0; }
    .slide-subtitle { font-size: 0.72rem; letter-spacing: 0.5px; }
    .slide-content { padding-top: 30px; }
    .slider-dots-container { bottom: 12px; }
    .dot { width: 8px; height: 8px; }
    .app-buttons { flex-direction: column; align-items: center; }
    .btn-store { width: 80%; justify-content: center; }

    .catalogue-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-img-wrapper { height: 130px; }
    .cat-badge { font-size: 0.6rem; padding: 3px 8px; }
}

@media (max-width: 375px) {
    .hero-slider.catalogue-slider { height: 38vh; min-height: 200px; }
    .slide-title { font-size: 1.1rem; }
    .catalogue-grid { gap: 8px; }
    .cat-img-wrapper { height: 110px; }
}

