/* --- Réinitialisation Globale --- */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.5; 
    color: #333; 
    margin: 0; 
    padding: 0; 
    background-color: #fcfcfc;
}

/* --- Padding Uniforme et Compact pour toutes les sections --- */
.expertise-container, 
.engagement-section, 
.values-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px; /* Réduit pour éliminer les blancs */
    padding-bottom: 30px;
}

/* Hero Section Container - Even more compact */
.hero {
    display: flex;
    background-color: #05163d; 
    color: white;
    min-height: 200px; /* Reduced to 300px for a tighter fit */
    align-items: center;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 30px 40px; /* Reduced top/bottom padding */
    max-width: 600px;
}

.label {
    display: flex;
    align-items: center;
    color: #e74c3c;
    font-size: 0.8rem; /* Smaller label text */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.label::before {
    content: "";
    width: 25px;
    height: 2px;
    background-color: #e74c3c;
    margin-right: 10px;
}

/* Reduced Title Size */
.hero-content h1 {
    font-size: 1.8rem; /* Significantly smaller title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    color: #d1d5db;
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 0.95rem; /* Slightly smaller text for readability */
}

.hero-btn {
    background-color: #c0392b;
    color: white;
    padding: 10px 20px; /* More compact button */
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}

.hero-image-wrapper {
    flex: 1;
    height: 100%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    background-color: #fff;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section globale plus étroite */
.expertise-section { padding: 30px 20px; background-color: #f8f9fb; }
.expertise-container { display: flex; max-width: 1000px; margin: 0 auto; gap: 30px; align-items: flex-start; }

/* Texte gauche plus petit */
.expertise-header { flex: 1; }
.label { color: #c0392b; font-weight: bold; font-size: 0.75rem; text-transform: uppercase; }
.expertise-header h2 { font-size: 1.6rem; color: #05163d; margin: 10px 0; line-height: 1.2; }
.expertise-header p { color: #555; line-height: 1.4; font-size: 0.9rem; }

/* Cartes plus compactes */
.expertise-grid { flex: 1.5; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* --- Style de la Carte et Animation --- */
.feature-card { 
    background: white; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    
    /* Ajout de la transition pour un effet fluide */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.feature-card i { font-size: 1.5rem; color: #05163d; margin-bottom: 10px; }
.feature-card h3 { color: #05163d; margin-bottom: 8px; font-size: 1rem; }
.feature-card .red-line { width: 25px; height: 2px; background: #c0392b; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 0.85rem; line-height: 1.3; }

/* --- État Hover (lorsqu'on passe la souris) --- */
.feature-card:hover {
    transform: translateY(-5px); /* La carte monte légèrement de 5px */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* L'ombre s'élargit pour donner du relief */
}



.engagement-section {
    padding: 40px 20px;
}

.engagement-container {
    background-color: #05163d;
    color: white;
    border-radius: 15px;
    padding: 50px;
    display: flex;
    align-items: center;
    /* On utilise une image en arrière-plan pour le côté droit */
    background-image: linear-gradient(to right, #05163d 10%, transparent), url('pages/aboutus2.webp');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.engagement-text { max-width: 550px; }

.quote-icon { font-size: 2rem; color: #c0392b; display: block; margin-bottom: 10px; }

.label { color: #c0392b; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.engagement-text h2 { font-size: 1.8rem; margin: 15px 0 30px 0; line-height: 1.3; }

.engagement-badges { display: flex; gap: 20px; }

.badge { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }

.icon-circle { 
    background: rgba(255, 255, 255, 0.1); 
    width: 40px; height: 40px; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
}



.mission-section { 
    padding: 10px 20px; 
    background-color: #fcfcfd;
    width: 100%;
}

.mission-container { 
    max-width: 800px; 
    margin: 0 auto; /* C'est ce qui centre le bloc horizontalement */
    text-align: center; /* C'est ce qui centre le texte à l'intérieur */
}

.label { 
    display: block; /* Force le label à être sur sa propre ligne */
    color: #c0392b; 
    font-weight: bold; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    margin-bottom: 10px;
}

.mission-container h1 { 
    font-size: 2rem; 
    color: #05163d; 
    margin: 0 0 20px 0; 
}

.mission-container p { 
    color: #4a5568; 
    margin-bottom: 40px; 
}

/* Lignes et icône centrées */
.mission-divider { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 20px; 
}

.line { 
    height: 1px; 
    background-color: #cbd5e0; 
    width: 300px; /* Longueur fixe des lignes pour un centrage net */
}

.mission-icon { 
    width: 60px; 
    height: 60px; 
    background: white; 
    border: 2px solid #e2e8f0; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    color: #05163d; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}

/* Centrage global de la section */
.values-section { 
    text-align: center; 
    padding: 20px 20px; 
}

/* Centrage du conteneur des cartes */
.values-container { 
    display: flex; 
    justify-content: center; /* Centre les cartes horizontalement */
    gap: 20px; 
    margin-top: 30px; 
    flex-wrap: wrap; /* Permet le passage à la ligne sur mobile */
}

/* Style et Animation des cartes */
.value-card { 
    background: white; 
    padding: 30px 20px; 
    border-radius: 12px; 
    width: 180px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation fluide */
}

/* Animation au survol */
.value-card:hover {
    transform: translateY(-10px); /* La carte monte légèrement */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* L'ombre s'intensifie */
}

/* Force le titre sur une seule ligne */
.value-card h3 { 
    color: #05163d; 
    font-size: 1rem; 
    margin: 15px 0 10px 0;
    white-space: nowrap; /* Empêche le retour à la ligne */
    overflow: hidden;    /* Gère le dépassement */
    text-overflow: ellipsis; /* Ajoute "..." si vraiment trop long */
}

.icon-box { 
    background: #05163d; 
    color: white; 
    width: 50px; 
    height: 50px; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto; /* Centre l'icône dans la carte */
    font-size: 1.5rem; 
}

.red-bar { 
    width: 25px; 
    height: 3px; 
    background: #c0392b; 
    margin: 0 auto 15px; /* Centre la barre rouge */
}

.value-card p { 
    color: #666; 
    font-size: 0.85rem; 
    line-height: 1.4; 
}









.about .contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.social-lang {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--accent-red);
}

/* Language Switcher Elements */
.lang-switcher {
    position: relative;
    margin-left: 10px;
}

.lang-btn {
    background: none;
    border: 1px solid #CBD5E1;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 120px;
}

.lang-dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
}

.lang-dropdown a:hover, .lang-dropdown a.active {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    font-weight: bold;
}

.lang-dropdown.show {
    display: block;
}

/* --- Main Site Navigation --- */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid #F1F5F9;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}






/* --- Optimisation Mobile --- */
@media (max-width: 768px) {
    /* 1. Force toutes les sections à prendre 100% de la largeur */
    .expertise-container, 
    .engagement-container, 
    .values-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }

    /* 2. Hero Section : Empiler le contenu */
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-wrapper {
        clip-path: none; /* Supprime le découpage sur mobile */
        height: 250px;
        width: 100%;
    }

    /* 3. Expertise : Passer en 1 colonne */
    .expertise-container {
        flex-direction: column;
    }
    .expertise-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        width: 100%;
    }

    /* 4. Engagement : Empiler le contenu */
    .engagement-container {
        flex-direction: column;
        padding: 20px;
        background-image: none; /* Plus lisible sans image de fond sur mobile */
    }
    .engagement-badges {
        flex-direction: column;
        gap: 15px;
    }

    /* 5. Values : Cartes en 1 colonne */
    .values-container {
        flex-direction: column;
        align-items: center;
    }
    .value-card {
        width: 90%; /* Occupe presque toute la largeur */
    }

    /* 6. Contact Section : Empiler les colonnes */
    .luxury-contact-container {
        display: flex;
        flex-direction: column;
    }
    .contact-map-column {
        height: 300px; /* Fixe une hauteur pour la map sur mobile */
        margin-top: 20px;
    }
}