/* Style général de la page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    color: #333;
}
/* --- STYLES DES LOGOS --- */

/* --- STYLES DES LOGOS --- */

/* 1. Zone des logos dans l'en-tête commun (les deux logos côte à côte) */
.header-logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espace entre les deux logos */
    margin-bottom: 15px;
}

.header-logos-container img {
    height: 55px;
    width: auto;
    border-radius: 8px;
    background-color: white; /* Fond blanc sous le logo s'il est transparent */
    padding: 5px; /* Petit espace interne */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
    height: 55px; /* Hauteur ajustée pour que l'en-tête reste élégant */
    width: auto;
    border-radius: 8px; /* Léger arrondi pour le style */
}

/* Un petit séparateur vertical discret entre les deux logos */
.logo-separateur {
    width: 2px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.header-logo img {
    height: 60px; /* Ajustez la hauteur selon votre logo */
    width: auto;
}

/* 2. Logos spécifiques dans les bannières de page */
.banner-logo {
    margin-bottom: 20px;
}

.banner-logo img {
    height: 80px; /* Un peu plus grand dans la bannière */
    width: auto;
    background-color: white; /* Fond blanc temporaire pour que le logo générique ressorte */
    padding: 10px;
    border-radius: 50%; /* Arrondi */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* En-tête (Le haut du site) */
header {
    background-color: #1a252f;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 5px 0 0 0;
    opacity: 0.8;
}

/* Grille pour présenter nos deux domaines d'activité */
.domaines-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    flex-wrap: wrap;
}

/* Cartes pour chaque domaine (Smart Builds & Asmes) */
.carte {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 350px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.carte:hover {
    transform: translateY(-5px);
}

/* Style des photos dans les cartes */
.carte img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Contenu textuel à l'intérieur des cartes */
.carte-corps {
    padding: 20px;
    text-align: center;
}

.carte-corps h2 {
    margin-top: 0;
    color: #1a252f;
}

.carte-corps p {
    color: #666;
    line-height: 1.5;
}
/* Style du menu de navigation */
.navigation {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.navigation a {
    color: #a0aec0; /* Couleur grise pour les liens secondaires */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Style au survol de la souris */
.navigation a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Style pour la page sur laquelle on se trouve (bouton actif) */
.navigation a.actif {
    color: white;
    background-color: #3182ce; /* Un joli bleu moderne */
}
/* Style du Pied de page (Footer) */
footer {
    background-color: #1a252f; /* Même couleur sombre que l'en-tête */
    color: #a0aec0;
    padding: 50px 20px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-colonne {
    flex: 1;
    min-width: 250px;
}

.footer-colonne h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #3182ce; /* Petite ligne bleue sous les titres */
    padding-bottom: 8px;
    display: inline-block;
}

.footer-colonne p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-colonne ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-colonne ul li {
    margin-bottom: 10px;
}

.footer-colonne ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-colonne ul li a:hover {
    color: white;
}

/* Partie inférieure avec les droits d'auteur */
.footer-bas {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
}
/* --- NOUVEAUX STYLES POUR LES PAGES SPÉCIFIQUES --- */

/* Grande bannière en haut des pages */
.page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

/* Photo de fond spécifique pour Smart Builds */
.bg-builds {
    background-image: linear-gradient(rgba(26, 37, 47, 0.75), rgba(26, 37, 47, 0.75)), 
                      url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1200&q=80');
}

.banner-contenu h2 {
    font-size: 3rem;
    margin: 0;
}

.banner-contenu p {
    font-size: 1.2rem;
    margin-top: 10px;
    max-width: 600px;
    opacity: 0.9;
}

/* Conteneur principal de la page */
.page-contenu {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-titre {
    text-align: center;
    margin-bottom: 50px;
}

.section-titre h2 {
    color: #1a252f;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-titre p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grille des services (une liste en ligne) */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Cartes de services larges */
.service-carte {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-image {
    width: 35%;
    min-width: 250px;
    background-size: cover;
    background-position: center;
}

.service-texte {
    padding: 30px;
    width: 65%;
}

.service-texte h3 {
    color: #1a252f;
    margin-top: 0;
    font-size: 1.4rem;
    border-left: 4px solid #3182ce;
    padding-left: 10px;
}

.service-texte p {
    color: #555;
    line-height: 1.6;
}

/* Rendre les cartes mobiles (s'empilent sur petit écran) */
@media (max-width: 768px) {
    .service-carte {
        flex-direction: column;
    }
    .service-image {
        width: 100%;
        height: 200px;
    }
    .service-texte {
        width: 100%;
    }
}
/* Photo de fond spécifique pour ASMES */
.bg-asmes {
    background-image: linear-gradient(rgba(26, 37, 47, 0.75), rgba(26, 37, 47, 0.75)), 
                      url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80');
}
/* --- SECTION FORMULAIRE DE CONTACT --- */
.contact-section {
    background-color: #f7fafc;
    padding: 60px 20px;
    border-top: 1px solid #e2e8f0;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
    color: #2d3748;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Effet au clic sur les champs */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

/* Bouton d'envoi */
.btn-submit {
    background-color: #1a252f;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.btn-submit:hover {
    background-color: #3182ce; /* Devient bleu Smart Builds au survol */
}

.btn-submit:active {
    transform: scale(0.98);
}	
/* Photo de fond spécifique pour la page Groupe */
.bg-groupe {
    background-image: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.8)), 
                      url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1200&q=80');
}


/* ==========================================================================
   MODIFICATION DU HAUT (HEADER) ET DU BAS (FOOTER)
   ========================================================================== */

/* 1. LE HAUT DE PAGE (HEADER / BARRE DE NAVIGATION) */
header, .header, .navbar, .top-bar {
    background-color: #1e3a8a !important; /* Passe du noir au Bleu Roi */
    border-bottom: 3px solid #dc2626 !important; /* Ligne de séparation Rouge Vif */
}

/* Couleur du texte et des liens dans le menu du haut */
header a, .navbar a, .navigation a {
    color: #ffffff !important; /* Écrit en blanc pour ressortir sur le bleu */
}

/* Effet au survol des liens du menu */
header a:hover, .navbar a:hover, .navigation a:hover {
    color: #dc2626 !important; /* Devient rouge au survol */
}


/* 2. LE BAS DE PAGE (FOOTER) */
footer, .footer, .bottom-bar {
    background-color: #1e3a8a !important; /* Passe du noir au Bleu Roi */
    border-top: 3px solid #dc2626 !important; /* Ligne de séparation supérieure Rouge Vif */
    color: #ffffff !important; /* Texte du bas écrit en blanc */
}

/* Liens dans le pied de page */
footer a, .footer a {
    color: #ffffff !important;
}
footer a:hover, .footer a:hover {
    color: #dc2626 !important; /* Liens du bas deviennent rouges au survol */
}
.grille-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.carte-image img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Recadre proprement sans déformer */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.carte-image img:hover {
    transform: scale(1.05); /* Effet zoom au survol */
}

.carte-image p {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
.bloc-contact-telephone {
    margin: 20px 0;
    padding: 15px;
    background-color: #1a1a1a; /* Fond sombre pour faire ressortir le texte blanc */
    border-left: 4px solid #0056b3;
    border-radius: 6px;
}

.bloc-contact-telephone h3 {
    color: #ffffff; /* Titre en blanc */
    margin-bottom: 15px;
}

.ligne-telephone {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ligne-telephone:last-child {
    margin-bottom: 0;
}

/* Couleur blanche pour les libellés (Service Client, Direction Technique) */
.label-tel {
    font-weight: bold;
    min-width: 180px;
    color: #ffffff; 
}

/* Couleur blanche pour les numéros cliquables */
.lien-tel {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.lien-tel:hover {
    text-decoration: underline;
    opacity: 0.8; /* Légère transparence au survol */
}
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}