/* ============================================
   GRAPHISCANN - PAGE HOME (ACCUEIL)
   
   Version : 1.0.1
   Date : 31 Décembre 2025
   
   Styles spécifiques à la page d'accueil
   - Hero Carousel fixes
   - Introduction
   - Services Grid
   - Featured Products
   - Eco Section
   - Why Us
   - CTA Final
   ============================================ */

/* ========================================
   0. HERO CAROUSEL FIXES
   ======================================== */

/* Forcer le texte du hero en blanc */
.hero-carousel__title {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-carousel__subtitle {
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-carousel__content {
    color: #ffffff;
}

.hero-carousel__content h2,
.hero-carousel__content p {
    color: #ffffff !important;
}

/* ========================================
   1. INTRODUCTION
   ======================================== */

.gs-home-intro {
    padding: 50px 0;
    background: #fff;
}

.gs-home-intro h1 {
    font-size: var(--gs-h1-size, 2rem);
    font-weight: var(--gs-fw-heading, 700);
    color: var(--gs-text-dark, #2c3e50);
    margin: 0 0 25px 0;
}

.gs-home-intro .gs-lead {
    font-size: var(--gs-text-lead, 1.125rem);
    line-height: var(--gs-lh-normal, 1.7);
    color: var(--gs-text, #333);
    max-width: 1000px;
    margin: 0 auto;
}

.gs-home-intro .gs-lead strong {
    color: var(--gs-primary, #c41e3a);
}

/* ========================================
   2. SECTION TITLES
   ======================================== */

.gs-section-title {
    font-size: var(--gs-h2-size, 1.5rem);
    font-weight: var(--gs-fw-heading, 600);
    color: var(--gs-text-dark, #2c3e50);
    text-align: center;
    margin: 0 0 15px 0;
}

.gs-section-title-decorated {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.gs-section-title-decorated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gs-primary, #c41e3a);
    border-radius: 2px;
}

.gs-section-subtitle {
    font-size: var(--gs-text-lead, 1.125rem);
    color: var(--gs-text-muted, #666);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* ========================================
   3. SERVICES GRID
   ======================================== */

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

.gs-service-card {
    background: #fff;
    border-radius: var(--gs-radius-lg, 12px);
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gs-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.gs-service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gs-primary, #c41e3a) 0%, var(--gs-primary-dark, #a01829) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.gs-service-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.gs-service-card h3 {
    font-size: var(--gs-h4-size, 1.125rem);
    font-weight: var(--gs-fw-heading, 600);
    color: var(--gs-text-dark, #2c3e50);
    margin: 0 0 15px 0;
    min-height: 50px;
}

.gs-service-card p {
    font-size: var(--gs-text-base, 0.9375rem);
    line-height: var(--gs-lh-normal, 1.6);
    color: var(--gs-text-muted, #666);
    margin: 0;
}

.gs-service-card p a {
    color: var(--gs-primary, #c41e3a);
    text-decoration: none;
}

.gs-service-card p a:hover {
    text-decoration: underline;
}

/* ========================================
   4. FEATURED PRODUCTS
   ======================================== */

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

.gs-featured-block:last-child {
    margin-bottom: 0;
}

.gs-subtitle {
    font-size: var(--gs-h3-size, 1.25rem);
    font-weight: var(--gs-fw-heading, 600);
    color: var(--gs-primary, #c41e3a);
    margin: 0 0 10px 0;
}

.gs-block-intro {
    font-size: var(--gs-text-base, 0.9375rem);
    color: var(--gs-text-muted, #666);
    margin: 0 0 25px 0;
    max-width: 800px;
}

.gs-block-intro strong {
    color: var(--gs-text-dark, #333);
}

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

.gs-featured-item {
    display: block;
    background: #fff;
    border-radius: var(--gs-radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.gs-featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gs-featured-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gs-featured-item:hover img {
    transform: scale(1.05);
}

.gs-featured-item h4 {
    font-size: var(--gs-text-base, 0.9375rem);
    font-weight: var(--gs-fw-heading, 600);
    color: var(--gs-text-dark, #2c3e50);
    margin: 15px 15px 10px 15px;
}

.gs-featured-item p {
    font-size: var(--gs-text-small, 0.8125rem);
    line-height: var(--gs-lh-normal, 1.5);
    color: var(--gs-text-muted, #666);
    margin: 0 15px 15px 15px;
}

/* ========================================
   5. ECO SECTION
   ======================================== */

.gs-eco-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 60px 0;
}

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

.gs-eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2e7d32;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: var(--gs-text-small, 0.8125rem);
    font-weight: 600;
    margin-bottom: 20px;
}

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

.gs-eco-intro {
    font-size: var(--gs-text-lead, 1.125rem);
    color: #333;
    max-width: 800px;
    margin: 20px auto 0 auto;
}

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

.gs-eco-label {
    background: #fff;
    border-radius: var(--gs-radius-lg, 12px);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gs-eco-label h3 {
    font-size: var(--gs-h4-size, 1.125rem);
    color: #2e7d32;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gs-eco-label p {
    color: #666;
    margin-bottom: 15px;
}

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

.gs-eco-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #444;
}

.gs-eco-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

.gs-eco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.gs-eco-box {
    background: #fff;
    border-radius: var(--gs-radius-lg, 12px);
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gs-eco-box h3 {
    font-size: var(--gs-h4-size, 1.125rem);
    color: #2e7d32;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gs-eco-box ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: #444;
}

.gs-eco-box li {
    margin-bottom: 8px;
}

.gs-eco-cta {
    text-align: center;
}

.gs-btn-eco {
    background: #2e7d32;
    color: #fff;
    border: none;
}

.gs-btn-eco:hover {
    background: #1b5e20;
    color: #fff;
}

/* ========================================
   6. WHY US SECTION
   ======================================== */

.gs-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gs-why-card {
    background: #fff;
    border-radius: var(--gs-radius-lg, 12px);
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gs-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.gs-why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gs-primary, #c41e3a) 0%, var(--gs-primary-dark, #a01829) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.gs-why-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.gs-why-card h3 {
    font-size: var(--gs-h4-size, 1.125rem);
    font-weight: var(--gs-fw-heading, 600);
    color: var(--gs-text-dark, #2c3e50);
    margin: 0 0 15px 0;
}

.gs-why-card p {
    font-size: var(--gs-text-base, 0.9375rem);
    line-height: var(--gs-lh-normal, 1.6);
    color: var(--gs-text-muted, #666);
    margin: 0;
}

.gs-why-card p strong {
    color: var(--gs-text-dark, #333);
}

/* ========================================
   7. CTA FINAL
   ======================================== */

.gs-home-cta {
    background: linear-gradient(135deg, var(--gs-primary, #c41e3a) 0%, var(--gs-primary-dark, #a01829) 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.gs-home-cta h2 {
    font-size: var(--gs-h1-size, 2rem);
    font-weight: var(--gs-fw-heading, 700);
    margin: 0 0 20px 0;
    color: #fff;
}

.gs-home-cta p {
    font-size: var(--gs-text-lead, 1.125rem);
    max-width: 600px;
    margin: 0 auto 35px auto;
    opacity: 0.95;
    color: #fff;
}

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

/* Boutons */
.gs-btn-white {
    background: #fff;
    color: var(--gs-primary, #c41e3a);
}

.gs-btn-white:hover {
    background: var(--gs-secondary, #2c3e50);
    color: #fff;
    transform: translateY(-3px);
}

.gs-btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.gs-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ========================================
   8. UTILITAIRES
   ======================================== */

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

.gs-lead {
    font-size: var(--gs-text-lead, 1.125rem);
    line-height: var(--gs-lh-normal, 1.6);
}

/* ========================================
   9. RESPONSIVE
   ======================================== */

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

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

@media (max-width: 768px) {
    .gs-home-intro {
        padding: 40px 20px;
    }
    
    .gs-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gs-featured-item img {
        height: 150px;
    }
    
    .gs-service-card h3 {
        min-height: auto;
    }
    
    .gs-home-cta {
        padding: 60px 20px;
    }
}

@media (max-width: 576px) {
    .gs-services-grid {
        grid-template-columns: 1fr;
    }
    
    .gs-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .gs-why-grid {
        grid-template-columns: 1fr;
    }
    
    .gs-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gs-cta-buttons .gs-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .gs-featured-item img {
        height: 200px;
    }
}
