/* --- FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --navy-blue: #2B3A4A; /* Le bleu profond de ton logo */
    --accent-blue: #3A6A8F; /* Un bleu légèrement plus clair pour les interactions */
    --bg-light: #F8F9FA; /* Un gris très clair, plus doux que le blanc pur */
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #E2E8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--navy-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
}

.bg-white {
    background-color: var(--white);
}

/* --- HEADER & NAV --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px; /* Ajuste selon la taille réelle de ton image */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-blue);
}

/* --- BOUTONS --- */
.btn-primary {
    display: inline-block;
    background-color: var(--navy-blue);
    color: var(--white) !important;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px; /* Coins presque carrés pour le côté institutionnel */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--navy-blue);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--navy-blue);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 2px solid var(--navy-blue);
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

/* --- HERO SECTION (Bloc 1) --- */
.hero-section {
    padding: 180px 0 120px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E9ECEF 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}


/* --- SECTIONS TEXTE & IMAGE --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.split-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-blue);
}

.split-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* --- IMAGES INTEGREES --- */
.hero-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(43, 58, 74, 0.15);
    object-fit: cover;
}

.split-image-element {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.split-image-element:hover {
    transform: translateY(-3px);
}

.service-icon {
    width: 70px; /* Taille légèrement augmentée pour les images */
    height: 70px;
    margin-bottom: 25px;
}

.service-icon img {
    width: 100%;
    height: auto;
}

/* --- SERVICES GRID --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--navy-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(43, 58, 74, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--navy-blue);
    font-weight: bold;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #A0AEC0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #A0AEC0;
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN (Mobiles & Tablettes) --- */
@media (max-width: 992px) {
    .hero-grid, .split-section, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 140px 0 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
        
    .nav-links {
        display: none; /* À remplacer par un menu hamburger en JS plus tard */
    }
}
