/* ========================================
   CATEGORIE-V2.CSS
   Styles spécifiques pages catégories
   Hero compact avec image de fond
   Compatible avec main-v2.css et catalogue-v2.css
   ======================================== */

/* === BREADCRUMB (identique à produit-v2.css) === */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    margin: 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--gs-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #999;
}

/* === HERO CATÉGORIE AVEC IMAGE === */
.gs-category-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.gs-category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(196, 30, 58, 0.9) 0%, 
        rgba(160, 24, 41, 0.85) 100%
    );
    display: flex;
    align-items: center;
    padding: 40px 20px;
}

.gs-category-hero h1 {
    font-size: 2.3rem;
    font-weight: bold;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.gs-category-intro {
    font-size: 1.1rem;
    color: white;
    opacity: 0.95;
    margin: 0 0 30px 0;
    line-height: 1.6;
    max-width: 700px;
}

/* Stats en ligne avec espace en bas */
.gs-category-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.gs-category-stat {
    text-align: center;
}

.gs-category-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.gs-category-stat .stat-label {
    display: block;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    font-weight: 500;
}

/* === SECTION PRODUITS === */
.gs-category-products {
    padding: 60px 0;
}

/* === SECTION POURQUOI === */
.gs-category-why {
    background: var(--gs-bg-light);
    padding: 60px 0;
}

/* Réutilisation des styles de main-v2.css */
.gs-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gs-why-card {
    background: white;
    padding: 30px;
    border-radius: var(--gs-radius);
    box-shadow: var(--gs-shadow);
    transition: var(--gs-transition);
    text-align: center;
}

.gs-why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gs-shadow-hover);
}

.gs-why-icon {
    font-size: 3rem;
    color: var(--gs-primary);
    margin-bottom: 20px;
}

.gs-why-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gs-secondary);
    margin-bottom: 15px;
}

.gs-why-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gs-text);
}

/* === CTA FINAL === */
.gs-category-cta {
    background: linear-gradient(135deg, var(--gs-primary) 0%, var(--gs-primary-dark) 100%);
    padding: 60px 0;
    color: white;
}

.gs-category-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.gs-category-cta h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin: 0 0 20px 0;
}

.gs-category-cta p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.7;
}

.gs-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gs-btn-white {
    background: white;
    color: var(--gs-primary);
    border-color: white;
}

.gs-btn-white:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--gs-primary);
    text-decoration: none;
}

.gs-category-cta-phone {
    font-size: 1.1rem;
    margin-top: 20px;
    opacity: 0.95;
}

.gs-category-cta-phone a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--gs-transition);
}

.gs-category-cta-phone a:hover {
    border-bottom-color: white;
}

.gs-category-cta-phone i {
    margin-right: 8px;
}

/* === RESPONSIVE === */

/* Tablettes */
@media (max-width: 992px) {
    .gs-category-hero {
        min-height: 300px;
    }
    
    .gs-category-hero h1 {
        font-size: 2rem;
    }
    
    .gs-category-intro {
        font-size: 1rem;
    }
    
    .gs-category-stats {
        gap: 30px;
    }
    
    .gs-category-stat .stat-number {
        font-size: 1.8rem;
    }
    
    .gs-why-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .gs-category-hero {
        min-height: 400px;
    }
    
    .gs-category-hero-overlay {
        padding: 30px 20px;
    }
    
    .gs-category-hero h1 {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }
    
    .gs-category-intro {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .gs-category-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
    .gs-category-stat .stat-number {
        font-size: 1.6rem;
    }
    
    .gs-category-stat .stat-label {
        font-size: 0.85rem;
    }
    
    .gs-category-products,
    .gs-category-why,
    .gs-category-cta {
        padding: 40px 0;
    }
    
    .gs-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gs-category-cta h2 {
        font-size: 1.8rem;
    }
    
    .gs-category-cta p {
        font-size: 1rem;
    }
    
    .gs-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gs-cta-buttons .gs-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Petits mobiles */
@media (max-width: 576px) {
    .gs-category-hero {
        min-height: 450px;
    }
    
    .gs-category-hero-overlay {
        padding: 25px 15px;
    }
    
    .gs-category-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .gs-category-intro {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .gs-category-stats {
        gap: 15px;
    }
    
    .gs-why-card {
        padding: 25px 20px;
    }
    
    .gs-why-icon {
        font-size: 2.5rem;
    }
    
    .gs-why-title {
        font-size: 1.2rem;
    }
    
    .gs-category-cta h2 {
        font-size: 1.5rem;
    }
    
    .gs-category-cta-phone {
        font-size: 1rem;
    }
}
