/* --- 1. Variables et Réinitialisation de Base MIB --- */
:root {
    --primary-color: #00B7EB; /* Rouge Brique/Impression - Chaleureux, Dynamique */
    --secondary-color: #EC008C; /* Vert Écologie/Groupe - Ancrage VFVB */
    --accent-color: #FFD500; /* Ambre/Jaune - Luminosité, Accents */
    --text-color: #333;
    --light-bg: #f5f5f5; /* Fond très clair et légèrement coloré */
    --white: #fff;
    --max-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif; /* Police avec plus de cachet pour l'imprimerie */
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3 {
    margin-bottom: 0.5em;
    color: var(--primary-color);
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    text-align: center;
}

hr {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border: none;
    margin: 15px auto 50px auto;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}


/* --- 2. Header et Navigation --- */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

#main-nav a {
    margin-left: 25px;
    color: var(--text-color);
    font-weight: 500;
}

.nav-contact {
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    color: var(--primary-color) !important;
}

.nav-contact:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
}


/* --- 3. Section Hero (Accueil) --- */
.hero {
    background-color: var(--primary-color); 
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(#00b8ebef, #00B7EB), url('placeholder-print-bg.jpg'); /* Image de fond type papier ou encre */
    background-size: cover;
}

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 0.2em;
    color: var(--white);
}

.hero .slogan {
    font-size: 1.8em;
    font-weight: 300;
    color: #ffcdd2;
    margin-bottom: 10px;
}

.hero .tagline {
    font-size: 1.1em;
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-button {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--secondary-color);
}


/* --- 4. Section Savoir-Faire (Services Clés) --- */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    background: var(--white);
    border-top: 4px solid var(--primary-color);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.service-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- 5. Section Tarifs & Accessibilité --- */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
}

.price-table {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-table h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background-color: #fce4ec; /* Rosé très léger */
    color: var(--primary-color);
}

.price-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-table .full-width {
    grid-column: 1 / -1; /* Prend toute la largeur si le grid le permet */
}

.note-tarifs {
    margin-top: 20px;
    font-style: italic;
    font-size: 0.9em;
    text-align: center;
}

/* --- 6. Section Réalisations --- */
.grid-realisations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.realisation-card {
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-icon i {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.defi-soluce {
    font-size: 0.95em;
    margin: 15px 0;
}

.defi-soluce strong {
    color: var(--primary-color);
}

.resultat {
    font-weight: bold;
    color: var(--secondary-color);
    font-style: italic;
}

.social-feed-mib {
    text-align: center;
    padding: 30px;
    background: #fce4ec; /* Couleur de fond pour les réseaux */
    border-radius: 8px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin: 0 15px;
    color: var(--primary-color);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* --- 7. Section Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2em;
}

.note-groupe {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    color: #666;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.cta-button-form {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

.cta-button-form:hover {
    background: var(--accent-color);
}


/* --- 8. Footer --- */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9em;
}

footer a {
    color: var(--white);
    text-decoration: underline;
    margin: 0 10px;
}
footer a:hover {
    color: var(--accent-color);
}

/* --- 9. Media Queries (Mobile First) --- */

@media (max-width: 900px) {
    /* Navigation Mobile */
    .nav-content { padding: 10px 20px; }
    
    #main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 0;
        left: 0;
        background: var(--white);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
    #main-nav.active { display: flex; }
    #main-nav a {
        margin: 5px 20px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    .menu-toggle { display: block; }
    
    /* Sections Grille */
    .hero h1 { font-size: 2.5em; }
    .hero .slogan { font-size: 1.4em; }
    .section-padding { padding: 50px 0; }
    
    .grid-services, .tariffs-grid, .grid-realisations, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .price-table.full-width {
        grid-column: 1 / 1; 
    }

    .contact-info, .contact-form {
        text-align: center;
    }
    .contact-info p {
        text-align: left;
        margin: 0 auto;
        max-width: 300px;
    }
}