/* index.css */
:root {
    --mjd-blue-dark: #00234b;
    --mjd-blue-main: #0056b3;
    --mjd-blue-light: #f0f7ff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- SECTION HERO AVEC IMAGE DE FOND --- */
.hero {
    position: relative;
    padding: 120px 5%;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Remplace 'hero-bg.jpg' par le chemin de ton image */
    background: url('fond-accueil.png') no-repeat center center/cover;
    color: white;
}

/* Le voile sombre pour garantir la lisibilité du texte */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 35, 75, 0.75); /* Bleu marine MJD avec 75% d'opacité */
    z-index: 1;
}

/* On force le contenu au-dessus du voile */
.hero > * {
    position: relative;
    z-index: 2;
}

.badge-intro {
    display: inline-block;
    padding: 6px 16px;
    background: var(--mjd-blue-main);
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    color: white;
    max-width: 900px;
    margin: 0 auto 25px auto;
    font-weight: 800;
}

.hero h1 span {
    color: #4facfe; /* Un bleu plus clair pour le contraste sur fond sombre */
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 45px auto;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Boutons adaptés au fond image */
.cta-primary {
    background: var(--mjd-blue-main);
    color: white !important;
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.cta-primary:hover {
    background: #0072ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    padding: 18px 35px;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.cta-secondary:hover {
    background: white;
    color: var(--mjd-blue-dark) !important;
}

/* --- LE RESTE RESTE INCHANGÉ --- */
.trust-bar {
    padding: 40px 5%;
    background: white;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.stat-item { flex: 1; min-width: 150px; text-align: center; }
.stat-item h3 { font-size: 32px; color: var(--mjd-blue-dark); margin: 0; font-weight: 800; }
.stat-item p { color: var(--text-muted); font-size: 14px; margin-top: 5px; font-weight: 600; text-transform: uppercase; }

.section-padding { padding: 80px 5%; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; color: var(--mjd-blue-dark); margin-bottom: 15px; }

.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.expertise-card { background: white; padding: 40px; border-radius: 12px; border: 1px solid #eee; transition: var(--transition); }
.expertise-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--mjd-blue-main); }
.expertise-card .icon { font-size: 40px; margin-bottom: 20px; display: block; }
.expertise-card h3 { font-size: 22px; color: var(--mjd-blue-dark); margin-bottom: 15px; }
.expertise-card p { color: var(--text-muted); line-height: 1.6; font-size: 15px; }

.seo-banner { background: var(--mjd-blue-dark); color: white; text-align: center; padding: 70px 5%; }
.seo-banner h2 { font-size: 32px; margin-bottom: 20px; }
.seo-banner p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

.testimonials { background: #fcfcfc; }
.testimonial-card { background: white; padding: 50px; border-radius: 15px; max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial-text { font-size: 19px; font-style: italic; color: var(--mjd-blue-dark); margin-bottom: 25px; line-height: 1.6; }
.testimonial-author { font-weight: 800; color: var(--mjd-blue-main); font-size: 16px; }

.footer { padding: 40px 5%; background: var(--mjd-blue-dark); color: white; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer a { color: white; text-decoration: none; font-size: 14px; opacity: 0.8; }