/* On importe une police d'écriture professionnelle et moderne (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Nos couleurs sur-mesure (Version Premium Sombre) */
:root {
    --bleu-ardoise: #34495e;     /* Pour les cartes/blocs */
    --bleu-fonce: #2c3e50;       /* Pour les sections alternées */
    --bleu-tres-fonce: #1a252f;  /* Pour le fond principal du site */
    --vert-emeraude: #27ae60;    /* Touche terrain/santé */
    --ocre: #d35400;             /* Touche humaine */
    --blanc: #ffffff;            /* Pour les titres */
    --texte-clair: #ecf0f1;      /* Pour les paragraphes */
    --texte-diminue: #bdc3c7;    /* Pour les petits textes (copyright) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Le fond de tout le site devient Bleu Très Foncé */
body {
    background-color: var(--bleu-tres-fonce);
    color: var(--texte-clair);
    line-height: 1.6;
}

/* 1. L'EN-TÊTE (HERO) ET L'IMAGE DE FOND */
.hero {
    /* On utilise ton image locale "fond.jpg" */
    /* Le linear-gradient sert de "filtre" pour que le texte reste bien lisible */
    background: linear-gradient(rgba(26, 37, 47, 0.7), rgba(26, 37, 47, 0.8)), 
                url('fond.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanc);
    padding: 0 20px;
}

.contenu-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--blanc);
}

.contenu-hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--vert-emeraude);
    line-height: 1.4;
}

.bouton-cta {
    background-color: var(--ocre);
    color: var(--blanc);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 15px;
}

.bouton-cta:hover {
    background-color: #e67e22;
}

/* 2. RÉGLAGES COMMUNS DES SECTIONS */
.conteneur {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--blanc); /* Les titres passent en blanc */
}

/* 3. SECTION INTRO & AVANTAGES */
.intro-texte {
    font-size: 1.1rem;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}

/* 4. SECTION SERVICES (Fond Bleu Foncé pour alterner) */
.section-grise {
    background-color: var(--bleu-fonce);
}

.grille-services {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Les cartes (Fond Bleu Ardoise pour ressortir) */
.carte-service {
    background: var(--bleu-ardoise);
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Ombre plus marquée pour le mode sombre */
    border-top: 4px solid var(--vert-emeraude);
}

.carte-service h3 {
    color: var(--blanc);
    margin-bottom: 15px;
}

/* 5. PIED DE PAGE (CONTACT) */
footer {
    background-color: var(--bleu-tres-fonce);
    color: var(--texte-clair);
    text-align: center;
    border-top: 1px solid var(--bleu-ardoise); /* Petite ligne de séparation */
}

footer h2 {
    color: var(--blanc);
}

.infos-contact p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.infos-contact a {
    color: var(--vert-emeraude);
    text-decoration: none;
    transition: color 0.3s;
}

.infos-contact a:hover {
    color: var(--blanc);
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--texte-diminue);
}