/**
 * ============================================================================
 * MAISONS CTL - Style de la page galerie "Nos Maisons" (VERSION SIMPLIFIÉE)
 * ============================================================================
 * 
 * Fichier : assets/css/photos.css
 * Version : 2.6.0
 * Date : 22 octobre 2025
 * 
 * DESCRIPTION :
 * Styles pour la galerie photo avec 2 sections hero + galerie simple
 * 
 * CHANGELOG VERSION 2.6.0 (22 octobre 2025) :
 * ------------------------------------------
 * ✅ SUPPRESSION : Tous les styles liés aux filtres (lignes 149-260)
 *    - .filtres-container
 *    - .filtres-header
 *    - .filtre-groupe
 *    - .filtre-btn
 *    - .btn-reset-filtres
 *    - .aucun-resultat
 * 
 * ✅ AJOUT : Styles pour .galerie-header (lignes 236-260)
 *    - En-tête simple de la galerie
 *    - Titre et description centrés
 * 
 * ✅ CONSERVATION : Toutes les corrections de la v2.5.0
 *    - Image hero moins sombre (opacité 0.15)
 *    - Titre forcé en blanc
 * 
 * HISTORIQUE DES VERSIONS :
 * - v2.6.0 : Suppression des filtres + ajout galerie-header
 * - v2.5.0 : Corrections hero + espacement filtres
 * - v2.4.0 : Version initiale avec 2 sections hero
 * 
 * NOTES POUR MAINTENANCE FUTURE :
 * --------------------------------
 * - Pour ajuster la luminosité du hero, modifier l'opacité ligne 33
 * - Pour l'espacement de la galerie, voir ligne 233
 * - Les breakpoints responsive : 1024px, 768px, 480px
 * - Si vous voulez réactiver les filtres, utilisez la version 2.5.0
 */

/* ============================================================================
   SECTION 1 : HERO "DÉCOUVREZ NOS RÉALISATIONS"
   Image de fond + 4 statistiques
   ============================================================================ */

.hero-realisations {
    position: relative;
    min-height: 1100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.15)), 
                      url('../images/CTL_Chaumont_1600x900.1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: white;
}

.hero-realisations-content {
    max-width: 1200px;
    text-align: center;
    width: 100%;
}

.hero-realisations-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-realisations-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

/* Statistiques */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.hero-stat-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* Bouton CTA */
.hero-cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.hero-cta-button:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
}

/* ============================================================================
   SECTION 2 : VOTRE MAISON SUR-MESURE
   Badges de confiance
   ============================================================================ */

.section-sur-mesure {
    padding: 80px 20px;
    background: #f8fafc;
}

.section-sur-mesure-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px;
}

.section-sur-mesure-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
}

.section-sur-mesure-cta-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

/* Badges de confiance */
.badges-confiance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-confiance {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge-confiance:hover {
    border-color: #3b82f6;
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.badge-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================================================
   SECTION 3 : GALERIE
   ============================================================================ */

.galerie-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* En-tête de la galerie */
.galerie-header {
    text-align: center;
    margin-bottom: 50px;
}

.galerie-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.galerie-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================================
   GRILLE DE PROJETS
   ============================================================================ */

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.projet-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.projet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.projet-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ============================================================================
   IMAGE ET OVERLAY
   ============================================================================ */

.projet-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.projet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projet-card:hover .projet-image {
    transform: scale(1.1);
}

.projet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projet-card:hover .projet-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 3rem;
    color: white;
}

/* ============================================================================
   INFORMATIONS DU PROJET
   ============================================================================ */

.projet-infos {
    padding: 20px;
}

.projet-nom {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.projet-ville {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0 0 15px 0;
}

.projet-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

.detail-item {
    font-size: 0.9rem;
    color: #555;
}

.detail-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* Tablette (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-realisations-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .badges-confiance {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .projets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .hero-realisations {
        min-height: 800px;
        padding: 60px 20px;
    }
    
    .hero-realisations-title {
        font-size: 2rem;
    }
    
    .hero-realisations-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
    
    .hero-cta-button {
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    .section-sur-mesure {
        padding: 60px 20px;
    }
    
    .section-sur-mesure-title {
        font-size: 1.8rem;
    }
    
    .badges-confiance {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .galerie-header h2 {
        font-size: 1.8rem;
    }
    
    .galerie-description {
        font-size: 1rem;
    }
    
    .projets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projet-image-wrapper {
        height: 200px;
    }
}

/* Très petit mobile (< 480px) */
@media (max-width: 480px) {
    .hero-realisations-title {
        font-size: 1.5rem;
    }
    
    .hero-stat-card {
        padding: 20px 15px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .badge-confiance {
        padding: 30px 20px;
    }
    
    .badge-icon {
        width: 60px;
        height: 60px;
    }
    
    .galerie-header h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   ANIMATIONS (optionnel - effet d'apparition)
   ============================================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats,
.badges-confiance {
    animation: fadeInUp 0.8s ease;
}

.projet-card {
    animation: fadeInUp 0.6s ease;
}

/* ============================================================================
   FIN DU FICHIER CSS
   ============================================================================ */
