.hero-content-wrapper p {
    color: white;
}

/* ==========================================================================
   NOUVELLE SECTION SERVICES (Style Cartes Thématiques)
   ========================================================================== */

.services-cards-section {
    padding: 80px 0 100px 0;
    background-color: var(--bg-color); /* S'assure que le fond correspond à la page */
}

/* Grille du haut (3 cartes) */
.cards-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px; /* Espace avant la carte 04 */
}

/* --- Thèmes de couleurs (Variables pour automatiser bordures/badges/textes) --- */
.theme-teal {
    --theme-main: #007c88; /* Bleu-vert */
    --theme-border: #d4e3e3;
    --theme-bg: #f8fcfb;
}
.theme-blue {
    --theme-main: #2b557d; /* Bleu foncé */
    --theme-border: #d7e0ea;
    --theme-bg: #f8fafc;
}
.theme-green {
    --theme-main: #387642; /* Vert nature */
    --theme-border: #dce7db;
    --theme-bg: #f9fbf9;
}
.theme-gold {
    --theme-main: #c49124; /* Doré / Ocre */
    --theme-border: #ebd9b3;
    --theme-bg: #fcfbf6;
}

/* --- Structure commune des cartes --- */
.service-card {
    background-color: var(--theme-bg);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .service-card-horizontal:hover {
    transform: translateY(-5px); /* Léger soulèvement au survol */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Citation en haut de carte */
.quote-wrapper {
    min-height: 80px; /* Alignement parfait même si les citations n'ont pas la même taille */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

/* Gestion de l'image et du badge */
.card-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    aspect-ratio: 1 / 1; /* Force un format carré pour un rendu uniforme */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Zoom léger de l'image au survol de la carte globale */
.service-card:hover .card-image, 
.service-card-horizontal:hover .card-image {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 20px; /* Un tout petit peu plus décalé du bord pour respirer comme sur la maquette */
    left: 20px;
    width: 48px; /* Légèrement plus grand pour aérer le chiffre */
    height: 48px;
    background-color: var(--theme-main);
    color: #fff;
    border-radius: 50%;
    
    /* Centrage Flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Correction de la police et de l'alignement */
    font-family: var(--font-family); /* On repasse sur le Montserrat */
    font-size: 1.4rem;
    font-weight: 400; /* Plus fin et élégant */
    line-height: 1; /* Annule l'interligne par défaut qui pousse le texte vers le bas */
    padding-top: 2px; /* Ajustement optique spécifique pour recentrer les chiffres au pixel près */
    
    /* Esthétique */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Un liseré blanc beaucoup plus fin et subtil */
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Textes de la carte */
.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

.card-meta {
    font-family: var(--font-family);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-main);
    font-weight: 700;
    margin-bottom: 12px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 95%;
}

/* Le lien "Explorer" délicat */
.card-link {
    font-size: 0.85rem;
    color: var(--theme-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto; /* Pousse le lien tout en bas */
    border-bottom: 1px solid var(--theme-main);
    padding-bottom: 3px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover {
    opacity: 0.7;
}

.card-link:hover i {
    transform: translateX(4px); /* Petite animation de la flèche */
}


/* ==========================================================================
   CARTE HORIZONTALE (Coaching 04)
   ========================================================================== */

.service-card-horizontal {
    background-color: var(--theme-bg);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1.2fr 2fr; /* L'image prend moins de place que le texte */
    gap: 40px;
    align-items: stretch;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-horizontal .card-image-wrapper {
    margin-bottom: 0;
    aspect-ratio: auto; /* Annule le ratio 1:1 pour remplir l'espace */
    height: 100%;
}

.horizontal-content {
    padding: 30px 40px 30px 0; /* Aère le contenu sur la droite */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.horizontal-content .card-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Le sous-titre couleur Ocre sur la carte 04 */
.gold-subtitle {
    color: var(--theme-main);
    font-size: 1.6rem;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.horizontal-content .card-desc {
    max-width: 100%; /* Retire la contrainte de largeur */
    margin-bottom: 25px;
}

.horizontal-content .card-link {
    margin-top: 0;
}


/* ==========================================================================
   RESPONSIVITÉ (Tablettes & Mobiles)
   ========================================================================== */

/* Tablettes (iPad et écrans moyens) */
@media (max-width: 1024px) {
    .cards-grid-top {
        grid-template-columns: repeat(2, 1fr); /* Passe à 2 colonnes */
    }
    .service-card-horizontal {
        grid-template-columns: 1fr 1.2fr;
        gap: 30px;
    }
    .horizontal-content {
        padding: 20px 20px 20px 0;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .cards-grid-top {
        grid-template-columns: 1fr; /* 1 seule colonne */
    }
    
    .quote-wrapper {
        min-height: auto; /* Libère la contrainte sur mobile */
    }

    .service-card-horizontal {
        grid-template-columns: 1fr; /* La carte horizontale devient verticale */
        text-align: center;
        padding: 25px;
        gap: 20px;
    }

    .service-card-horizontal .card-image-wrapper {
        aspect-ratio: 4 / 3; /* Redonne un ratio agréable sur mobile */
    }

    .horizontal-content {
        padding: 0;
        align-items: center; /* Centre le contenu sur mobile */
    }

    .horizontal-content .card-title {
        font-size: 1.8rem;
    }

    .gold-subtitle {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   SECTION "POURQUOI EVORG" (Éditorial)
   ========================================================================== */

.why-evorg-section {
    padding: 100px 0;
    background-color: #f4f5f7; /* Gris très clair identique à la maquette */
}

/* --- En-tête (Titre + Intro) --- */
.why-header {
    max-width: 50%; /* Limite le texte à la colonne de gauche sur grand écran */
    margin-bottom: 70px; /* Grand espace avant la grille */
}

.why-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 500;
}

.title-dark {
    color: #1a1a1a; /* Noir profond */
}

.title-blue {
    color: #5b87a1; /* Le bleu-gris de la maquette */
    font-weight: 400; /* Légèrement plus fin pour contraster */
}

.why-intro {
    font-family: var(--font-family); /* Montserrat */
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    padding-right: 20px; /* Évite que le texte ne colle trop à la colonne virtuelle de droite */
}

/* --- Grille des arguments --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
    column-gap: 60px; /* Espacement horizontal entre les colonnes */
    row-gap: 50px; /* Espacement vertical entre les lignes */
}

/* Élément individuel */
.why-item {
    /* La bordure supérieure crée la ligne séparatrice de la maquette */
    border-top: 1px solid #d1d9e0; 
    padding-top: 30px; /* Espace entre la ligne et le numéro */
    display: flex;
    flex-direction: column;
}

/* Numéros de style "chapitre" */
.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #a8becd; /* Bleu-gris très clair */
    line-height: 1;
    margin-bottom: 15px;
    font-weight: 400;
}

/* Titre de l'argument */
.why-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* Texte de l'argument */
.why-item-desc {
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVITÉ (Tablettes & Mobiles)
   ========================================================================== */

/* Tablettes (iPad) */
@media (max-width: 992px) {
    .why-header {
        max-width: 80%; /* Élargit le texte introductif */
    }
    .why-title {
        font-size: 3rem;
    }
    .why-grid {
        column-gap: 40px;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .why-evorg-section {
        padding: 60px 0;
    }
    .why-header {
        max-width: 100%; /* Prend toute la largeur */
        margin-bottom: 50px;
    }
    .why-title {
        font-size: 2.4rem;
    }
    .why-grid {
        grid-template-columns: 1fr; /* Passe sur une seule colonne */
        row-gap: 40px;
    }
    .why-intro {
        padding-right: 0;
    }
}