/*
===========================================
MAISONS CTL - STYLES SECTION ABOUT V1.1
Fichier: /public_html/css/components/about.css
Description: Styles spécifiques à la section "Qui sommes-nous".
             Section modifiée pour occuper toute la hauteur de l'écran (100vh)
             afin qu'une seule section soit visible à la fois.
Version: 1.1 - Section About plein écran
Date: Janvier 2025
===========================================
*/

/* ====== SECTION ABOUT - PLEIN ÉCRAN ====== */
#about {
    background-color: var(--color-secondary);
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

/* ====== CONTENEUR PRINCIPAL ====== */
#about .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ====== CONTENU ABOUT ====== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
}

/* ====== TITRE DE SECTION ====== */
#about h2 {
    margin-bottom: var(--spacing-xl);
}

/* ====== DESCRIPTION ====== */
.about-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ====== GRILLE DE STATISTIQUES ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    width: 100%;
    max-width: 1000px;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) var(--transition-ease);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* ====== NOMBRES DES STATS ====== */
.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

/* ====== LABELS DES STATS ====== */
.stat-label {
    color: var(--color-text-secondary);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

/* ====== RESPONSIVE TABLETTE ====== */
@media (max-width: 992px) {
    #about {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 0;
    }
    
    .about-content {
        padding: var(--spacing-lg);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* ====== RESPONSIVE MOBILE ====== */
@media (max-width: 768px) {
    #about {
        min-height: 100vh !important;
        height: 100vh !important;
        padding: 0;
    }
    
    #about .container {
        padding: 0 var(--spacing-md);
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .about-content {
        padding: var(--spacing-md);
    }
    
    .about-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .stats-grid {
        gap: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ====== RESPONSIVE MOBILE PETIT ====== */
@media (max-width: 480px) {
    #about {
        min-height: 100vh;
        padding: var(--spacing-md) 0;
    }
    
    .about-content {
        min-height: calc(100vh - 60px);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        padding-top: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-sm);
        background: transparent;
        box-shadow: none;
    }
    
    .stat-item:hover {
        transform: none;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* ====== ÉCRANS TRÈS PETITS (< 360px) ====== */
@media (max-width: 360px) {
    #about {
        min-height: 100vh;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

#about {
    border: 3px solid red;
}