/* ==========================================================================
   FICHIER STYLEAR.CSS - CORRECTIF FINAL POSITION LOGO/FR
   ========================================================================== */

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    text-align: right; 
    direction: rtl;
}

/* --- HEADER ORDINATEUR --- */
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    color: white !important;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Masquer le bouton FR mobile sur ordinateur */
.lang-switch-mobile {
    display: none;
}

/* Masquer le menu hamburger */
.menu-toggle {
    display: none !important;
}

/* --- RESPONSIVE MOBILE (ÉCRANS < 768px) --- */
@media (max-width: 768px) {
    .main-header .container {
        display: flex !important;
        /* On force la direction de gauche à droite uniquement pour le header mobile */
        flex-direction: row-reverse !important; 
        justify-content: space-between !important;
        padding: 10px 15px;
    }

    /* Le bouton FR (à gauche grâce au row-reverse sur un parent RTL) */
    .lang-switch-mobile {
        display: flex !important;
    }

    /* Le LOGO (à droite grâce au row-reverse sur un parent RTL) */
    .logo {
        display: block !important;
        margin: 0 !important;
    }

    .logo-img {
        height: 40px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-subtext {
        font-size: 0.7rem;
    }

    /* On cache la navigation */
    .main-nav {
        display: none !important;
    }
}

/* --- STYLE DU BOUTON FR --- */
.lang-link-fr-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffff;
    padding: 6px 12px;
    border-radius: 50px;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none !important;
    /* On s'assure que le contenu du bouton reste lisible de gauche à droite */
    direction: ltr !important; 
}

.lang-link-fr-box::before {
    content: "🇫🇷";
    font-size: 1.1rem;
}

/* Numéro de téléphone toujours en LTR */
.phone-number {
    direction: ltr;
    display: inline-block;
}

/* --- SECTION SERVICES (Comment puis-je vous aider ?) --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 20px 0;
}

.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Ombre légère */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px); /* Petit saut au survol */
    box-shadow: 0 15px 40px rgba(0, 86, 179, 0.1);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: #0056b3;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Style spécifique pour les émojis/icônes au début des titres */
.service-card h3::before {
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
}

/* --- AJUSTEMENT POUR LE TITRE DE LA SECTION --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #0056b3;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}