/*! 
 * Framework CSS Universel 
 * Version : 1.0.2
 * Description : Socle CSS multi-sites avec défilement standard et composants unifiés.
 */

:root {
    /* Variables de couleurs personnalisées pour Immo SXM */
    --primary: #FF1A1A;           
    --secondary: #2c3e50;         
    --bg-light: #f4f6f9;          
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-on-primary: #ffffff;   
    --font-family: Arial, sans-serif; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   BASE & DÉFILEMENT STANDARD
   ========================================================================== */
body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 900px; 
    margin: 0 auto;
    padding: 0 20px;
}

main.page-content {
    padding-top: 100px; 
    padding-bottom: 100px; 
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

/* ==========================================================================
   HEADER & FOOTER BAR (Fixés)
   ========================================================================== */
.app-bar {
    background-color: var(--primary);
    color: var(--text-on-primary);
    min-height: 60px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
}

.app-bar.fixed-top { 
    top: 0; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.app-bar.fixed-bottom { 
    bottom: 0; 
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1); 
}

.app-bar-content, .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    flex-wrap: wrap; 
}

.branding {
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-on-primary);
}

.contact-header {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   TYPOGRAPHIE & COMPOSANTS
   ========================================================================== */
.align-center { text-align: center; }
.text-light { font-weight: 300; }
.padding20 { padding: 20px; }
.padding30 { padding: 30px; }

.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.sub-leader {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

/* ==========================================================================
   LISTES ET SERVICES
   ========================================================================== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.service-item {
    background: #ffffff;
    border-left: 5px solid var(--primary);
    padding: 25px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ==========================================================================
   MEDIA QUERIES (Mobiles)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    .app-bar-content {
        flex-direction: column;
        justify-content: center;
        padding: 10px 0;
        gap: 5px;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    main.page-content {
        padding-top: 120px; 
    }
}