/* ========================================
   CATEGORIES-V4.CSS
   Styles consolidés pour pages catégories et catalogue
   
   Version : 4.0.0
   Date : 8 Décembre 2025
   
   CE FICHIER REMPLACE :
   - main-v2.css
   - categorie-v2.css
   - catalogue-v2.css
   ======================================== */

/* ============================================
   TABLE DES MATIÈRES
   ============================================
   1. VARIABLES CSS
   2. CONTENEUR PRINCIPAL
   3. BREADCRUMB
   4. TYPOGRAPHIE
   5. HERO CATALOGUE
   6. HERO CATÉGORIE
   7. NAVIGATION RAPIDE
   8. GRILLE CATALOGUE
   9. CARTES PRODUITS
   10. SECTIONS CATÉGORIE
   11. GRILLE SERVICES
   12. PRODUITS FEATURED
   13. SECTION ECO
   14. SECTION POURQUOI NOUS
   15. BOUTONS
   16. CTA FINAL
   17. BOUTON RETOUR EN HAUT
   18. UTILITIES
   19. RESPONSIVE TABLETTE
   20. RESPONSIVE MOBILE
   21. RESPONSIVE PETIT MOBILE
   ============================================ */

/* ============================================
   1. VARIABLES CSS
   ============================================ */

:root {
    --gs-primary: #c41e3a;
    --gs-primary-dark: #a01829;
    --gs-secondary: #2c3e50;
    --gs-text: #333;
    --gs-text-light: #666;
    --gs-border: #e0e0e0;
    --gs-bg-light: #f8f9fa;
    --gs-success: #2e7d32;
    --gs-spacing: 60px;
    --gs-radius: 8px;
    --gs-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --gs-shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --gs-transition: all 0.3s ease;
}

/* ============================================
   2. CONTENEUR PRINCIPAL
   ============================================ */

#conteneurprincipal {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

#conteneurprincipal * {
    box-sizing: border-box;
}

.gs-home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: #ffffff;
}

/* ============================================
   3. BREADCRUMB
   ============================================ */

.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: var(--gs-transition);
}

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

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

/* ============================================
   4. TYPOGRAPHIE
   ============================================ */

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gs-secondary);
    margin: 40px 0 20px 0;
    line-height: 1.2;
}

h2.gs-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gs-secondary);
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2.gs-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gs-primary);
    border-radius: 2px;
}

h3.gs-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gs-primary);
    margin: 30px 0 15px 0;
}

.gs-section-subtitle {
    font-size: 1.1rem;
    color: var(--gs-text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gs-intro {
    max-width: 900px;
    margin: 30px auto 40px auto;
    padding: 0 20px;
    background: #ffffff;
}

.gs-intro p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gs-text);
}

/* ============================================
   5. HERO CATALOGUE (Page tous nos produits)
   ============================================ */

.gs-catalog-hero {
    background: linear-gradient(135deg, var(--gs-primary) 0%, var(--gs-primary-dark) 100%);
    padding: 30px 20px;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.gs-catalog-hero h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gs-catalog-hero p {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 25px auto;
    color: white;
    line-height: 1.6;
}

.gs-catalog-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

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

.gs-catalog-stat i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.gs-catalog-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 4px;
    color: white;
}

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

/* ============================================
   6. HERO CATÉGORIE (Pages catégories 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;
}

.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;
}

/* ============================================
   7. NAVIGATION RAPIDE STICKY
   ============================================ */

.gs-quick-nav {
    background: white;
    padding: 20px;
    border-radius: var(--gs-radius);
    margin-bottom: 40px;
    box-shadow: var(--gs-shadow);
    position: sticky;
    top: 20px;
    z-index: 100;
    transition: var(--gs-transition);
}

.gs-quick-nav.sticky {
    box-shadow: var(--gs-shadow-hover);
}

.gs-quick-nav-header {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gs-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gs-quick-nav-header i {
    color: var(--gs-primary);
}

.gs-quick-nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gs-quick-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gs-bg-light);
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    color: var(--gs-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--gs-transition);
}

.gs-quick-nav-link:hover {
    background: var(--gs-primary);
    color: white;
    border-color: var(--gs-primary);
    transform: translateY(-2px);
    text-decoration: none;
}

.gs-badge {
    background: var(--gs-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.gs-quick-nav-link:hover .gs-badge {
    background: white;
    color: var(--gs-primary);
}

/* ============================================
   8. GRILLE CATALOGUE
   ============================================ */

.gs-category-section {
    margin-bottom: 70px;
    scroll-margin-top: 180px;
}

.gs-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gs-primary);
}

.gs-category-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--gs-secondary);
    margin: 0;
}

.gs-category-count {
    background: var(--gs-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.gs-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ============================================
   9. CARTES PRODUITS CATALOGUE
   ============================================ */

.gs-catalog-card {
    background: white;
    border-radius: var(--gs-radius);
    overflow: hidden;
    box-shadow: var(--gs-shadow);
    transition: var(--gs-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.gs-catalog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gs-bg-light);
}

.gs-catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--gs-transition);
}

.gs-catalog-card:hover .gs-catalog-card-image img {
    transform: scale(1.05);
}

.gs-catalog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.gs-catalog-card-placeholder i {
    font-size: 3rem;
    color: #ccc;
}

.gs-catalog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gs-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.gs-catalog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gs-catalog-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gs-secondary);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.gs-catalog-card-desc {
    font-size: 0.95rem;
    color: var(--gs-text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.gs-catalog-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.gs-catalog-card-features li {
    font-size: 0.9rem;
    color: var(--gs-text);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.gs-catalog-card-features i {
    color: var(--gs-success);
    font-size: 0.85rem;
    margin-top: 3px;
}

.gs-catalog-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gs-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--gs-transition);
    margin-top: auto;
}

.gs-catalog-card-btn:hover {
    background: var(--gs-primary-dark);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.gs-catalog-card-btn i {
    transition: var(--gs-transition);
}

.gs-catalog-card-btn:hover i {
    transform: translateX(3px);
}

/* ============================================
   10. SECTIONS CATÉGORIE
   ============================================ */

.gs-category-products {
    padding: 60px 0;
}

.gs-category-why {
    background: var(--gs-bg-light);
    padding: 60px 0;
}

/* ============================================
   11. GRILLE SERVICES
   ============================================ */

section {
    margin: var(--gs-spacing) 0;
    padding: var(--gs-spacing) 0;
}

section.gs-services {
    background: var(--gs-bg-light);
    padding: var(--gs-spacing) 20px;
    margin-left: -20px;
    margin-right: -20px;
}

section.gs-featured {
    background: #ffffff;
    padding: var(--gs-spacing) 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.gs-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.gs-service-card {
    background: white;
    padding: 30px;
    border-radius: var(--gs-radius);
    box-shadow: var(--gs-shadow);
    transition: var(--gs-transition);
    border-top: 3px solid var(--gs-primary);
}

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

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

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

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

.gs-service-desc a {
    color: var(--gs-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--gs-transition);
}

.gs-service-desc a:hover {
    border-bottom-color: var(--gs-primary);
}

/* ============================================
   12. PRODUITS FEATURED
   ============================================ */

.gs-featured-block {
    margin: 50px 0;
}

.gs-block-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: var(--gs-text-light);
}

.gs-featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.gs-featured-item {
    background: white;
    border-radius: var(--gs-radius);
    overflow: hidden;
    box-shadow: var(--gs-shadow);
    transition: var(--gs-transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.gs-featured-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--gs-shadow-hover);
    text-decoration: none;
}

.gs-featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gs-featured-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gs-secondary);
    margin: 15px 15px 10px 15px;
}

.gs-featured-item p {
    font-size: 0.9rem;
    color: var(--gs-text-light);
    line-height: 1.6;
    margin: 0 15px 15px 15px;
    flex-grow: 1;
}

/* ============================================
   13. SECTION ECO
   ============================================ */

section.gs-eco {
    background: #e8f5e9;
    padding: var(--gs-spacing) 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.gs-eco {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: var(--gs-spacing) 20px;
    border-radius: var(--gs-radius);
}

.gs-eco-header {
    text-align: center;
    margin-bottom: 40px;
}

.gs-eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gs-success);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.gs-eco-badge i {
    font-size: 1.3rem;
}

.gs-eco-intro {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gs-text);
}

.gs-eco-content {
    max-width: 1000px;
    margin: 0 auto;
}

.gs-eco-label {
    background: white;
    padding: 30px;
    border-radius: var(--gs-radius);
    margin-bottom: 30px;
    box-shadow: var(--gs-shadow);
}

.gs-eco-label h3 {
    font-size: 1.5rem;
    color: var(--gs-success);
    margin-bottom: 15px;
}

.gs-eco-label h3 i {
    margin-right: 10px;
}

.gs-eco-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.gs-eco-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.6;
    color: var(--gs-text);
}

.gs-eco-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--gs-success);
    font-weight: bold;
    font-size: 1.2rem;
}

.gs-eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.gs-eco-box {
    background: white;
    padding: 30px;
    border-radius: var(--gs-radius);
    box-shadow: var(--gs-shadow);
}

.gs-eco-box h3 {
    font-size: 1.3rem;
    color: var(--gs-success);
    margin-bottom: 20px;
}

.gs-eco-box h3 i {
    margin-right: 10px;
}

.gs-eco-box ul {
    list-style: none;
    padding: 0;
}

.gs-eco-box ul li {
    padding: 10px 0;
    line-height: 1.6;
    color: var(--gs-text);
    position: relative;
    padding-left: 25px;
}

.gs-eco-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gs-success);
    font-weight: bold;
}

.gs-eco-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   14. SECTION POURQUOI NOUS
   ============================================ */

section.gs-why-us {
    background: var(--gs-bg-light);
    padding: var(--gs-spacing) 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.gs-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.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);
}

/* ============================================
   15. BOUTONS
   ============================================ */

.gs-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gs-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--gs-transition);
    border: 2px solid var(--gs-primary);
}

.gs-btn:hover {
    background: var(--gs-primary-dark);
    border-color: var(--gs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    color: white;
    text-decoration: none;
}

.gs-btn i {
    margin-right: 8px;
}

.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-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ============================================
   16. CTA FINAL
   ============================================ */

.gs-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: var(--gs-spacing) 20px;
    margin: var(--gs-spacing) -20px 0 -20px;
    text-align: center;
}

.gs-cta h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
}

.gs-cta h2::after {
    background: white;
}

.gs-cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gs-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Catégorie */
.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-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;
}

/* ============================================
   17. BOUTON RETOUR EN HAUT
   ============================================ */

.gs-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gs-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: var(--gs-transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.gs-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.gs-back-to-top:hover {
    background: var(--gs-primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

.gs-back-to-top i {
    font-size: 1.2rem;
}

/* ============================================
   18. UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.txtcenter {
    text-align: center;
}

/* ============================================
   19. RESPONSIVE TABLETTE (max 992px)
   ============================================ */

@media (max-width: 1200px) {
    .gs-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gs-featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --gs-spacing: 40px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2.gs-section-title {
        font-size: 1.8rem;
    }
    
    .gs-catalog-hero h1 {
        font-size: 2rem;
    }
    
    .gs-catalog-hero p {
        font-size: 1rem;
    }
    
    .gs-catalog-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gs-catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .gs-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .gs-category-header h2 {
        font-size: 1.8rem;
    }
    
    .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;
    }
    
    .gs-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   20. RESPONSIVE MOBILE (max 768px)
   ============================================ */

@media (max-width: 768px) {
    :root {
        --gs-spacing: 30px;
    }
    
    h1 {
        font-size: 1.8rem;
        margin: 30px 0 15px 0;
    }
    
    h2.gs-section-title {
        font-size: 1.6rem;
    }
    
    h3.gs-subtitle {
        font-size: 1.3rem;
    }
    
    .gs-intro p {
        font-size: 1rem;
    }
    
    .gs-section-subtitle {
        font-size: 1rem;
    }
    
    /* Hero Catalogue */
    .gs-catalog-hero {
        padding: 25px 20px;
    }
    
    .gs-catalog-hero h1 {
        font-size: 1.7rem;
    }
    
    .gs-catalog-hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .gs-catalog-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-top: 20px;
    }
    
    .gs-catalog-stat i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .gs-catalog-stat .stat-number {
        font-size: 1.8rem;
        margin-bottom: 3px;
    }
    
    .gs-catalog-stat .stat-label {
        font-size: 0.85rem;
    }
    
    .gs-catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gs-quick-nav {
        position: static;
    }
    
    .gs-category-header h2 {
        font-size: 1.6rem;
    }
    
    /* Hero Catégorie */
    .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;
    }
    
    /* Grilles */
    .gs-services-grid {
        grid-template-columns: 1fr;
    }
    
    .gs-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .gs-why-grid,
    .gs-eco-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gs-service-card,
    .gs-eco-box,
    .gs-why-card {
        padding: 20px;
    }
    
    .gs-service-icon,
    .gs-why-icon {
        font-size: 2rem;
    }
    
    .gs-service-title,
    .gs-why-title {
        font-size: 1.2rem;
    }
    
    .gs-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .gs-cta h2 {
        font-size: 1.6em;
    }
    
    .gs-cta p {
        font-size: 1rem;
    }
    
    .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;
    }
    
    section.gs-services,
    .gs-eco,
    .gs-cta {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .gs-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   21. RESPONSIVE PETIT MOBILE (max 576px)
   ============================================ */

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2.gs-section-title {
        font-size: 1.4rem;
    }
    
    .gs-home-container {
        padding: 0 15px;
    }
    
    /* Hero Catalogue */
    .gs-catalog-hero {
        padding: 20px 15px;
    }
    
    .gs-catalog-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .gs-catalog-hero p {
        font-size: 0.9rem;
    }
    
    .gs-catalog-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gs-catalog-stat {
        padding: 10px 0;
    }
    
    .gs-catalog-card-content {
        padding: 20px;
    }
    
    .gs-category-header h2 {
        font-size: 1.4rem;
    }
    
    .gs-quick-nav {
        padding: 15px;
    }
    
    .gs-quick-nav-header {
        font-size: 1rem;
    }
    
    /* Hero Catégorie */
    .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;
    }
    
    .gs-featured-item img {
        height: 180px;
    }
    
    .gs-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gs-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   FIN DU FICHIER CATEGORIES-V4.CSS
   ============================================ */
/**
 * ADDITION À CATEGORIES-V4.CSS
 * Styles supplémentaires extraits de categorie-template-v4.php
 * 
 * À AJOUTER À LA FIN DE /css/categories-v4.css
 * 
 * @date 9 Décembre 2025
 */

/* ============================================
   HEADER DE SECTION AVEC COMPTEUR
   ============================================ */
.gs-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.gs-section-header .gs-section-title {
    margin-bottom: 0;
}

.gs-products-count {
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   STYLE POUR CATÉGORIE VIDE
   ============================================ */
.gs-empty-category {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.gs-empty-category i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.gs-empty-category p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.gs-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.gs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
    color: #fff;
}

/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */
.gs-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.gs-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.gs-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}