/* Variables & Reset CSS */
:root {
    --primary-color: #d11218; /* Rouge "Corporate" similaire à l'univers des bases de données */
    --secondary-color: #2c2c2c; /* Gris très foncé presque noir */
    --light-bg: #f7f9fa; /* Fond gris clair pour délimiter les sections */
    --text-color: #555555;
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Utilitaires globaux */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.bg-light { 
    background-color: var(--light-bg); 
}
.section-title { 
    text-align: center; 
    margin-bottom: 2.5rem; 
    color: var(--secondary-color); 
    font-size: 2.2rem; 
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo h1 { 
    color: var(--secondary-color); 
    font-size: 1.8rem;
}
.logo span { 
    color: var(--primary-color); 
}
.main-menu ul { 
    list-style: none; 
    display: flex; 
    gap: 25px; 
}
.main-menu ul li a { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: var(--secondary-color); 
}
.main-menu ul li a:hover { 
    color: var(--primary-color); 
}
.header-actions { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    cursor: pointer;
}
.lang-switch { 
    font-weight: bold; 
    font-size: 0.9rem; 
}

/* --- HERO SECTION --- */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('ims.jpeg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}
.hero h2 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    line-height: 1.2;
}
.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
}

/* --- SECTION ABOUT & STATS --- */
.about { 
    padding: 5rem 0; 
    display: flex; 
    gap: 40px; 
    flex-wrap: wrap; 
    align-items: center; 
}
.about-text { 
    flex: 1; 
    min-width: 300px; 
}
.about-text h3 { 
    color: var(--secondary-color); 
    font-size: 2rem; 
    margin-bottom: 15px; 
}
.stats-grid { 
    flex: 1; 
    display: flex; 
    gap: 20px; 
    justify-content: space-around; 
    min-width: 300px;
}
.stat-item { 
    text-align: center; 
}
.stat-number { 
    display: block; 
    font-size: 3rem; 
    font-weight: bold; 
    color: var(--primary-color); 
}
.stat-label { 
    font-size: 0.95rem; 
    font-weight: 600; 
    text-transform: uppercase; 
}

/* --- SECTION SERVICES --- */
.services { 
    padding: 5rem 0; 
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}
/* Effet dynamique au survol des cartes */
.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-color); 
}
.service-card i { 
    font-size: 3rem; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}
.service-card h4 { 
    margin-bottom: 15px; 
    color: var(--secondary-color); 
    font-size: 1.3rem; 
}

/* --- SECTION TÉMOIGNAGES --- */
.testimonials { 
    padding: 5rem 0; 
}
.testimo-grid { 
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap; 
}
.testimo-card {
    flex: 1;
    min-width: 300px;
    background: var(--light-bg);
    padding: 40px;
    border-left: 5px solid var(--primary-color);
    font-style: italic;
    border-radius: 4px;
}
.testimo-card p { 
    font-size: 1.1rem; 
}
.testimo-card h5 { 
    margin-top: 20px; 
    color: var(--primary-color); 
    font-style: normal; 
    font-size: 1rem;
}

/* --- FOOTER --- */
footer { 
    background: var(--secondary-color); 
    color: #ccc; 
    padding-top: 5rem; 
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}
.footer-col h4 { 
    margin-bottom: 25px; 
    color: var(--white); 
    font-size: 1.2rem; 
}
.footer-col ul { 
    list-style: none; 
}
.footer-col ul li { 
    margin-bottom: 12px; 
}
.footer-col ul li a:hover { 
    color: var(--primary-color); 
}
.footer-col p { 
    margin-bottom: 10px; 
}
.social-icons a { 
    color: #ccc; 
    font-size: 1.5rem; 
    margin-right: 15px; 
    transition: 0.3s;
}
.social-icons a:hover { 
    color: var(--primary-color); 
}
.footer-bottom { 
    text-align: center; 
    padding: 20px; 
    background: #1a1a1a; 
    font-size: 0.9rem; 
}

/* --- RESPONSIVE DESIGN (Mobiles / Tablettes) --- */
@media (max-width: 850px) {
    .main-menu, .header-actions { 
        display: none; /* Remplacer par un menu "hamburger" en Javascript par la suite */
    }
    .hero h2 { 
        font-size: 2.2rem; 
    }
    .about { 
        flex-direction: column; 
        text-align: center;
    }
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 0;
}


.text-yellow {
    color: #FFD700; /* J'utilise un jaune doré (Gold), beaucoup plus lisible et élégant qu'un jaune pur sur un fond sombre */
}