/*
===========================================
MAISONS CTL - STYLES SECTION PLANS V1.0
Fichier: /public_html/css/components/plans.css
Description: Styles spécifiques à la section Plans et Permis.
             Gère la mise en page avec image et texte côte à côte,
             et l'adaptation responsive.
Version: 1.0 - Section Plans responsive
Date: Janvier 2025
===========================================
*/

/* ====== SECTION PLANS ET PERMIS ====== */
#plans-permis {
    padding-top: 80px !important;
    padding-bottom: 250px !important;
    scroll-margin-top: 90px;
}

/* ====== CONTENU AVEC IMAGE ====== */
.plans-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* ====== PARTIE TEXTE ====== */
.plans-text {
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

/* ====== ICÔNE PLANS ====== */
.plans-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* ====== DESCRIPTION PLANS ====== */
.plans-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ====== PARTIE IMAGE ====== */
.plans-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.plans-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .plans-content-with-image {
        gap: 40px;
    }
    
    .plans-text {
        padding: 30px;
    }
    
    .plans-photo {
        height: 300px;
    }
}

@media (max-width: 768px) {
    #plans-permis {
        padding-top: 60px !important;
        padding-bottom: 150px !important;
    }
    
    .plans-content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Image en premier sur mobile */
    .plans-image {
        order: -1;
    }
    
    .plans-text {
        padding: 25px;
    }
    
    .plans-photo {
        height: 250px;
    }
    
    .plans-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .plans-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    #plans-permis {
        padding-bottom: 100px !important;
    }
    
    .plans-content-with-image {
        gap: 20px;
    }
    
    .plans-text {
        padding: 20px;
    }
    
    .plans-photo {
        height: 200px;
    }
}