/* ============================================
   PEINTURE - SÉLECTEUR DE COULEURS
   Dépendances : core.css, components.css, product-base.css
   Taille : ~2 KB (au lieu de 6.5 KB)
   ============================================ */

/* ===================================================
   BUNDLE CARDS - PEINTURE SPÉCIFIQUE PRODUIT PEINTURE
   =================================================== */

.product-bundles {
    margin-bottom: 20px;
    width: 100%;
}

/* Utilise .card de components.css comme base */
.bundle-card {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: 12px;
    cursor: pointer;
}

.bundle-card:last-child {
    margin-bottom: 0;
}

.bundle-card.active {
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

.bundle-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bundle-radio {
    display: none;
}

.bundle-title-group {
    flex: 1;
    text-align: left;
}

.bundle-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
}

.bundle-subtitle {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-text-light);
    display: none;
}

.bundle-price-group {
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: right;
}

.bundle-price-old {
    display: none;
}

.bundle-price {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #1a1a1a;
}

.bundle-price-unit {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-text-light);
}

/* ========================
   Contenu du bundle 
========================*/

.bundle-card__content {
    display: none;
}

.bundle-card.active .bundle-card__content {
    display: block;
}

.bundle-color-selector {
    margin-bottom: var(--spacing-sm);
}

.bundle-color-selector:last-child {
    margin-bottom: 0;
}

.bundle-color-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.bundle-selected-color {
    font-weight: 400;
    color: var(--color-text-light);
}

.bundle-colors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bundle-color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.bundle-color:hover {
    transform: scale(1.1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.bundle-color.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

/* ==========================================
   MODAL FAQ PEINTURE (hérite de components.css)
   ========================================== */

.modal-faq-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Masquer scrollbar pour Chrome, Safari et Opera */
.modal-faq-content::-webkit-scrollbar {
    display: none;
}

/* Masquer scrollbar pour IE, Edge et Firefox */
.modal-faq-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Utilise .card de components.css */
.faq-item {
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: var(--glass-border-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: opacity 0.2s ease;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: transparent;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-weight: 400;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ==========================================
   MODAL PEINTURE UNIFIÉE - STYLE KATAGAMI
   ========================================== */

/* ==========================================
   MODAL OVERLAY
   ========================================== */

.modal-overlay-peinture-unified {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay-peinture-unified.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-peinture-unified {
    background: #ffffff;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    padding: 0;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Masquer scrollbar */
.modal-content-peinture-unified::-webkit-scrollbar {
    display: none;
}

.modal-content-peinture-unified {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-close-peinture-unified {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #1a1a1a;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s ease;
    z-index: 10001;
}

.modal-close-peinture-unified:hover {
    opacity: 0.6;
}

/* ==========================================
   MENU DE NAVIGATION STICKY
   ========================================== */

.modal-nav-peinture {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.modal-nav-btn-peinture {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(200, 200, 200, 0.3);
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-nav-btn-peinture:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(200, 200, 200, 0.4);
}

.modal-nav-btn-peinture.active {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   CONTENU DE LA MODAL
   ========================================== */

.modal-body-peinture {
    padding: 40px;
}

/* ==========================================
   SECTION EN SAVOIR +
   ========================================== */

.section-savoir-peinture {
    margin-bottom: 60px;
}

.modal-title-peinture {
    font-size: 2.3125rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: left;
}

.modal-title-peinture strong {
    font-weight: 700;
}

/* Bloc 3 icônes */
.icons-block-peinture {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.icon-item-peinture {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.icon-item-peinture img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-item-peinture p {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bloc 3 photos verticales */
.modal-section-benefits-peinture {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.modal-benefit-card-peinture {
    display: flex;
    flex-direction: column;
}

.modal-benefit-image-peinture {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    margin-bottom: 16px;
}

.modal-benefit-image-peinture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-benefit-overlay-peinture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-benefit-overlay-peinture h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-benefit-overlay-peinture p {
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
}

.modal-benefit-text-peinture {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.modal-benefit-text-peinture strong {
    font-weight: 700;
}

/* ==========================================
   SECTION FAQ
   ========================================== */

.section-faq-peinture {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.modal-title-peinture.centered-bold {
    font-weight: 700;
    text-align: center;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .modal-content-peinture-unified {
        max-width: 95%;
    }
    
    .modal-body-peinture {
        padding: 30px 20px;
    }
    
    .modal-nav-peinture {
        padding: 16px 20px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .modal-nav-btn-peinture {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .modal-title-peinture {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .icons-block-peinture {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .icon-item-peinture img {
        width: 48px;
        height: 48px;
    }
    
    .icon-item-peinture p {
        font-size: 0.75rem;
    }
    
    .modal-section-benefits-peinture {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-benefit-image-peinture {
        height: 350px;
    }
    
    .modal-benefit-overlay-peinture p {
        font-size: 20px;
    }
}