/* Réinitialisation et variables */
:root {
    --primary-color: #1A365D; /* Bleu marine pro */
    --secondary-color: #2B6CB0;
    --accent-color: #ED8936; /* Orange pour les CTA */
    --text-color: #2D3748;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

/* En-tête et Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: var(--white);
    text-align: center;
    padding: 6rem 5%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #DD6B20;
}

/* Engagements Qualiopi */
.qualiopi-section {
    padding: 4rem 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.qualiopi-section h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.grid-qualiopi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card-qualiopi {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
}

.card-qualiopi h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 5rem 5%;
}

.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.service-card {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-service {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* À Propos */
.about-section {
    padding: 4rem 5%;
    background-color: var(--primary-color);
    color: var(--white);
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-member ul {
    margin-top: 1rem;
    list-style-position: inside;
}

/* Footer */
footer {
    background-color: #2D3748;
    color: var(--white);
    padding: 3rem 5% 1rem 5%;
    text-align: center;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-seo-links {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-seo-links a {
    color: #A0AEC0;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-seo-links a:hover {
    color: var(--white);
}

.copyright {
    font-size: 0.8rem;
    color: #718096;
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
}

/* Responsive (Mobiles) */
@media (max-width: 768px) {
    nav ul {
        display: none; /* À remplacer par un menu burger en production */
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
}