@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* --- Couleurs et Police --- */
:root {
  --primary-color: #003366; /* Bleu foncé */
  --secondary-color: #0056b3; /* Bleu moyen */
  --accent-color: #f8f9fa; /* Gris clair */
  --text-color: #333;
  --bg-color: #fff;
  --font-family: 'Montserrat', sans-serif;
}

/* --- Base --- */
body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden; /* Empêche le défilement horizontal */
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-weight: 700;
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Mise en page (Conteneurs et Grilles) --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-secondary:hover {
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* --- Bouton taille réduite pour les cartes --- */
.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 15px;
    border-width: 1px; /* Bordure un peu plus fine pour l'élégance */
}

.btn-outline {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}
.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-text {
  color: var(--secondary-color);
  padding: 0;
  text-decoration: underline;
}

.btn-video {
  margin: 20px auto;
  display: block;
}

/* --- Section Hero --- */
.hero {
  height: 80vh; /* Hauteur de 80% de la fenêtre */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before { /* Superposition pour la lisibilité du texte */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* --- Section Caractéristiques --- */
.features {
  padding: 60px 0;
  background-color: var(--accent-color);
}
.feature-box {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 5px solid transparent;
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-5px);
}
.feature-box-active {
  border-top: 5px solid var(--secondary-color);
}
.feature-box i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
.feature-box h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* --- Section Texte Central --- */
/* --- Section Texte Central --- */
.central-text {
    padding: 80px 0;
    color: var(--text-color); /* Utilise la couleur de texte par défaut, pas le bleu partout */
}

.central-text .intro-text {
    margin-bottom: 50px; /* Espace entre le titre et les colonnes */
}

.central-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.central-text .subtitle {
    font-size: 1.2rem;
    font-style: italic; /* Pour différencier le sous-titre */
    color: #666;
}

/* Grille pour les deux colonnes */
.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
    gap: 60px; /* Bel espace entre les deux colonnes */
    text-align: left; /* Assure que le texte est bien aligné à gauche */
}

.text-columns p {
    line-height: 1.8; /* Aère le texte pour une lecture facile */
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Le style des mots mis en valeur */
.text-highlight {
    color: var(--primary-color); /* Le bleu foncé */
    font-weight: 600; /* Gras */
}

/* --- Section Faire appel à evOrg --- */
.appel-evorg {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 50px;
}

/* Grille spécifique 2x2 */
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* L'espace entre les blocs */
}

/* Style de base des cartes */
.info-card {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between permet de pousser le bouton toujours tout en bas, 
       même si un texte est plus court qu'un autre */
    justify-content: space-between; 
}

.info-card h3 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Le petit trait de séparation sous le titre */
.info-card .separator {
    width: 40px;
    height: 1px;
    margin: 0 auto 30px auto;
}

.info-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1; /* Le texte prend l'espace disponible */
}

/* --- Variantes de couleurs --- */
.card-light {
    background-color: #f4f5f7; /* Gris très clair */
    color: var(--primary-color);
}
.card-light .separator {
    background-color: #ccc;
}

.card-dark {
    background-color: #0b5081; /* Bleu type "evOrg" */
    color: #fff;
}
.card-dark .separator {
    background-color: rgba(255, 255, 255, 0.4);
}

/* --- Bouton style "Pilule" (Pill) --- */
.btn-pill {
    background-color: #fff;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px; /* Bords très arrondis */
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    align-self: center; /* Centre le bouton horizontalement */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Légère ombre douce */
}

.btn-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Section Bandeau Contact --- */
.contact-banner {
    background-color: #0b5081; /* Le bleu evOrg */
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

.contact-banner h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff; /* Force la couleur blanche pour ce titre */
}

.contact-banner p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 300;
}

/* On ajuste légèrement notre bouton pilule pour ce bandeau */
.contact-banner .btn-pill {
    display: inline-block; /* Nécessaire pour le centrer correctement ici */
    padding: 12px 40px; /* Un peu plus large pour faire respirer le mot CONTACT */
    color: #333; /* Texte du bouton un peu plus foncé comme sur ton image */
}

.uppercase-btn {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Section Missions, Vision, Valeurs --- */
.core-values {
    padding: 80px 0;
    background-color: var(--bg-color); /* Fond blanc */
}

.value-card {
    display: flex;
    flex-direction: column;
}

/* Style des images "panoramiques" */
.value-card img {
    width: 100%;
    height: 140px; /* Force une hauteur identique pour toutes les images */
    object-fit: cover; /* Coupe l'image proprement si elle ne rentre pas, sans l'écraser */
    margin-bottom: 25px;
}

/* Titres centrés */
.value-card h3 {
    font-size: 2rem;
    color: var(--primary-color); /* Bleu foncé */
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
}

/* Contenu aligné à gauche */
.value-content {
    text-align: left;
    color: #555; /* Gris foncé pour la lisibilité */
}

.value-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Style de la liste à puces (Nos valeurs) */
.value-content ul {
    padding-left: 20px; /* Décale les puces vers la droite */
    margin-top: 0;
}

.value-content li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.05rem;
    color: #555;
}

/* --- Section Statistiques --- */
.stats-banner {
    background-color: #0b5081; /* Le même bleu evOrg */
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Gère l'alignement du petit "+ de" et du gros chiffre */
.stat-number-wrapper {
    display: flex;
    align-items: baseline; /* Aligne le texte sur la ligne du bas */
    justify-content: center;
    margin-bottom: 5px;
}

.stat-prefix {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.6); /* Blanc transparent pour l'effet gris/bleu clair */
    margin-right: 8px;
    font-weight: 300;
}

.stat-suffix {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 2px;
    font-weight: 300;
}

.stat-number {
    font-size: 4rem;
    font-weight: 400;
    color: #fff;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

/* --- Section Profil Fondateur --- */
.founder-profile {
    padding: 80px 0;
    background-color: #f9f9f9; /* Un fond très légèrement gris */
}

.founder-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.founder-name {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.founder-desc {
    font-size: 1.1rem;
    color: #666; /* Gris description */
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 80%; /* Pour ne pas être trop large sur grand écran */
    margin-left: auto;
    margin-right: auto;
}

/* --- Nouveau style réutilisable : Bouton Pilule Principal (Bleu) --- */
.btn-pill-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 35px; /* Un peu plus large */
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: inline-block; /* Pour le centrer avec text-center */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-pill-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- Section Modèle EQ-i 2.0 --- */
.eqi-model {
    padding: 40px 0; /* Un peu moins de padding que les autres pour garder l'effet compact */
    background-color: var(--bg-color); /* Fond blanc */
}

.eqi-title {
    font-size: 1.8rem;
    color: #333; /* Gris très foncé */
    font-weight: 500;
    margin-bottom: 10px;
}

.eqi-subtitle {
    font-size: 2.2rem;
    color: var(--primary-color); /* Le bleu foncé evOrg */
    font-weight: 600;
    margin-bottom: 40px;
}

/* --- Style de l'image EQ-i --- */
.eqi-link {
    display: inline-block; /* Le lien s'adapte à la taille de l'image, pas plus ! */
    margin: 0 auto; /* Pour être bien centré */
}

/* --- Style de l'image (légèrement modifié pour ne pas entrer en conflit) --- */
.eqi-image {
    max-width: 100%; /* S'assure qu'elle ne dépasse pas de l'écran */
    width: 550px; /* Taille réduite */
    height: auto;
    
    /* MODIFICATION : On enlève 'display: block' et 'margin: 0 auto' ici,
       car c'est le lien parent (.eqi-link) qui gère maintenant le centrage. */
    
    transition: opacity 0.3s ease; /* Animation douce */
    border-radius: 5px; /* Petit arrondi */
}

/* L'effet de survol (déjà correct, on le garde) */
.eqi-link:hover .eqi-image {
    opacity: 0.75;
}

/* --- Le Séparateur Personnalisé (Ligne + Cercle) --- */
.custom-separator {
    position: relative;
    width: 100%;
    max-width: 400px; /* Longueur de la ligne */
    height: 1px; /* Épaisseur de la ligne */
    background-color: #ddd; /* Couleur de la ligne (gris clair) */
    margin: 40px auto; /* Centre la ligne et met de l'espace au-dessus et en dessous */
}

/* Le petit cercle au milieu de la ligne */
.custom-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centre parfaitement le cercle */
    width: 12px;
    height: 12px;
    border-radius: 50%; /* Rend le carré rond */
    background-color: #fff; /* Fond du cercle pour cacher la ligne derrière */
    border: 1px solid #ddd; /* Bordure du cercle de la même couleur que la ligne */
}

/* --- Section Retours Clients --- */
.retour-client {
    padding: 80px 0;
    background-color: #fff; /* Fond blanc */
}

.retour-client h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 600;
}

/* Grille multi-colonnes */
/* --- Section Retours Clients --- */
.retour-client {
    padding: 80px 0;
    background-color: #fff;
}

.retour-client h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 600;
}

/* Grille à 4 colonnes */
.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left; /* Aligne le contenu à gauche dans chaque colonne */
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Le logo de l'entreprise (si séparé) */
.client-logo {
    height: 100px; /* Hauteur fixe pour que tous les logos soient alignés */
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Ton image fusionnée (Photo + Nom + Poste) */
.client-info-img {
    width: 100%; /* S'adapte parfaitement à la largeur de la colonne */
    height: auto;
    margin-bottom: 20px;
}

.client-testimonial {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* La vidéo */
.client-video-wrapper {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Petite ombre légère */
    margin-top: 10px;
}

.client-video {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Réactivité --- */
/* Sur tablette (écrans moyens) on passe à 2 colonnes */
@media (max-width: 992px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Sur mobile, on passe à 1 seule colonne et on centre le tout */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
    .client-card {
        align-items: center;
        text-align: center;
    }
    .client-info-img {
        max-width: 280px; /* Évite que l'image soit gigantesque sur mobile */
    }
}

.client-image {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    display: block;
}

/* Conteneur pour le profil du client (portrait, nom, titre) */
.client-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.client-portrait {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Portrait rond */
    object-fit: cover;
}

.client-details {
    flex-grow: 1;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.client-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Texte du témoignage */
.client-testimonial {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Style du lecteur vidéo */
.client-video-wrapper {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden; /* Pour que les coins soient arrondis */
}

.client-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Réactivité mobile */
@media (max-width: 992px) {
    .client-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}

/* --- Section Carte (Corrigée) --- */
.map-section {
    padding: 60px 0 80px 0; /* Espace en haut (60px) et gros espace en bas (80px) */
    background-color: #fff;
    /* Le trait séparateur intégral se place TOUT EN BAS, après les 80px d'espace */
    border-bottom: 1px solid #ddd; 
}

.map-wrapper {
    max-width: 1000px; /* Limite la largeur de la carte (ne touche pas les bords) */
    margin: 0 auto; /* Centre la carte horizontalement */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Petite ombre légère comme sur ton image */
}

.map-wrapper iframe {
    display: block; /* Supprime le petit espace blanc fantôme sous les iframes */
    width: 100%;
    height: 500px;
}

/* --- Section Contact --- */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

/* --- Formulaire (Colonne Gauche) --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espace entre tous les champs */
}

.form-row {
    display: flex;
    gap: 15px; /* Espace entre Nom et Email */
}

.form-row input {
    flex: 1; /* Les deux champs prennent la même largeur */
}

/* Style de base pour les champs de saisie */
.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0; /* Bordure très claire */
    border-radius: 2px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #333;
    outline: none; /* Enlève la bordure bleue par défaut des navigateurs */
    transition: border-color 0.3s ease;
}

/* Légère coloration de la bordure quand on clique sur le champ */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
}

/* Pour que les placeholders (textes d'exemple) soient bien gris */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

/* Le groupe Captcha */
.captcha-group {
    margin-top: 10px;
    margin-bottom: 5px;
}

.captcha-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.captcha-group input {
    width: 100%;
}

/* Bouton Envoyer spécifique au formulaire */
.btn-submit {
    align-self: flex-start; /* Aligne le bouton à gauche et non sur toute la largeur */
    padding: 12px 40px;
    border: none;
    border-radius: 2px;
}

/* --- Informations (Colonne Droite) --- */
.contact-info-container {
    padding-left: 20px; /* Petit décalage pour aérer */
}

.info-block {
    margin-bottom: 25px;
    line-height: 1.5;
}

.info-block p {
    margin: 0;
    font-size: 1.05rem;
    color: #555;
}

.highlight-text {
    color: var(--primary-color) !important; /* Force la couleur bleue */
    font-weight: 600;
}

.highlight-text a {
    color: var(--primary-color);
}

.contact-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-image {
    width: 100%;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- Réactivité Mobile pour le Formulaire --- */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Nom et Email passent l'un sous l'autre */
        gap: 15px;
    }
    .contact-info-container {
        padding-left: 0;
        margin-top: 40px; /* Espace entre le bouton Envoyer et le titre des infos */
    }
}
/* --- Effet de fondu au défilement (Scroll-Fade-In) --- */
.scroll-fade-in {

  /* transition: opacity 0.6s ease, transform 0.6s ease; */
}
.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Fenêtre contextuelle vidéo (Modal) --- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  position: relative;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
}

/* --- RÉACTIVITÉ (Media Queries) --- */

/* Tablettes (et petits écrans d'ordinateur) */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .flex-audit {
    flex-direction: column;
    text-align: center;
  }
  .audit-image {
    width: 100%;
  }
}

/* Mobiles (petits écrans) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  .hero {
    height: 70vh;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .grid-2, .grid-3, .grid-4, .grid-2x2 {
    grid-template-columns: 1fr;
  }
  .features, .blog, .offers, .news {
    padding: 50px 0;
  }
  .central-text h2 {
    font-size: 2rem;
  }
  .audit {
    padding: 50px 0;
  }
  .news-item {
    flex-direction: column;
    text-align: center;
  }
  .text-columns {
    grid-template-columns: 1fr; /* Passe à une seule colonne sur mobile */
    gap: 30px; /* Réduit l'espace entre les paragraphes */
  }
}
/* --- Nouvelle Section Hero Statique --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Prend 100% de la hauteur de l'écran */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Un léger dégradé ou fond noir transparent pour que le texte pète bien */
    background: rgba(0, 0, 0, 0.15); 
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.hero-main-title {
    font-family: 'Montserrat', sans-serif; /* La police élégante */
    font-size: 5rem; /* Ajuste selon tes préférences */
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 3.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Légère ombre pour détacher de la montagne */
}

/* --- Boutons de la section Hero --- */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-family); /* Reprend le Montserrat */
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 35px;
    border-radius: 4px; /* Coins légèrement arrondis comme sur ton image */
    transition: all 0.3s ease;
}

/* Bouton blanc */
.btn-white {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

/* Bouton transparent "Découvrir" */
.btn-transparent {
    background-color: transparent;
    color: #ffffff;
    padding: 15px 15px; /* Un peu moins de padding latéral pour ce style */
}

.btn-transparent:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(3px); /* Effet d'indication vers le bas naturel */
}

/* --- Réactivité Mobile pour la section Hero --- */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.8rem; /* Réduction du titre pour mobile */
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column; /* Garde les boutons l'un sous l'autre */
        gap: 1rem;
        align-items: center; /* Centre les boutons au lieu de les étirer */
    }
    
    .btn-hero {
        width: auto; /* Retire la largeur de 100% */
        min-width: 220px; /* Donne une jolie largeur uniforme aux deux boutons */
        justify-content: center;
    }
}

/* --- Section: Trois Réalités (Introduction) --- */
.trois-realites-section {
    padding: 120px 0 80px 0; /* Un grand espace au-dessus pour l'élégance */
    background-color: var(--bg-color); /* Fond blanc */
}

/* Le petit surtitre très espacé */
.overline-text {
    display: block;
    font-family: var(--font-family); /* Montserrat */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px; /* Écarte bien les lettres */
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

/* Le titre principal qui mélange deux couleurs */
.elegant-title {
    font-family: var(--font-family);
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 400; /* Police normale, pas trop grasse */
    margin-bottom: 40px;
}

.elegant-title .text-dark {
    color: #1a1a1a; /* Un noir profond (plus élégant que le noir pur) */
}

.elegant-title .text-blue {
    color: var(--primary-color); /* Ton bleu evOrg */
}

/* Le paragraphe descriptif en dessous */
.elegant-description {
    font-family: var(--font-family);
    font-size: 1.15rem;
    color: #666; /* Gris moyen pour que le titre reste la star */
    line-height: 1.6;
    max-width: 800px; /* Empêche le texte d'être trop large sur écran PC */
    margin: 0 auto; /* Centre le bloc de texte */
}

/* --- Réactivité Mobile pour cette section --- */
@media (max-width: 768px) {
    .trois-realites-section {
        padding: 70px 0 50px 0; /* On réduit les espaces sur mobile */
    }
    
    .overline-text {
        letter-spacing: 2px;
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .elegant-title {
        font-size: 2.2rem; /* Titre plus petit pour tenir sur l'écran */
        margin-bottom: 25px;
    }

    .elegant-description {
        font-size: 1rem;
        padding: 0 15px; /* Évite que le texte touche les bords du téléphone */
    }
}

/* Zone de citation : Hauteur fixe pour aligner les images */
.quote-wrapper {
    min-height: 80px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-quote {
    font-family: var(--font-family); /* Ou Montserrat en italique selon ta pref */
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.5;
    margin: 0;
    padding: 0 15px;
}

/* Cadre de l'image */
.card-image-wrapper {
    width: 100%;
    border-radius: 12px; /* Bords arrondis comme sur la maquette */
    overflow: hidden; /* Empêche l'image de dépasser des bords arrondis */
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Ombre douce élégante */
    /* Force un ratio vertical (portrait) pour toutes les images */
    aspect-ratio: 4 / 5; 
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre sans déformer l'image */
    transition: transform 0.6s ease; /* Animation fluide */
}

/* Animation de l'image au survol de la carte ! */
.service-card:hover .card-image {
    transform: scale(1.05); /* Zoom léger et élégant */
}

/* Contenu textuel sous l'image */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Pousse le lien vers le bas si besoin */
}

.card-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.card-title {
    font-family: var(--font-family);
    font-size: 1.8rem;
    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: 90%;
}

/* Lien "Explorer" */
.card-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto; /* Force le lien à rester en bas si le texte au-dessus est court */
    transition: color 0.3s ease;
}

.card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease; /* Animation de la flèche */
}

/* Animation du lien au survol */
.card-link:hover {
    color: var(--secondary-color);
}

.card-link:hover i {
    transform: translateX(5px); /* La flèche avance légèrement */
}

/* --- Réactivité Mobile et Tablette --- */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur iPad/Tablettes */
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur Mobile */
        gap: 60px; /* On aère plus entre les blocs sur mobile */
    }
    
    .quote-wrapper {
        min-height: auto; /* On libère la contrainte de hauteur sur mobile */
    }
    
    .card-image-wrapper {
        max-width: 400px; /* Évite que l'image soit géante sur un grand téléphone */
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Section: Profil Expert (Image + Texte) --- */
.expert-profile-section {
    padding: 100px 0;
    background-color: #f5f4f0; /* Fond légèrement teinté pour contraster avec le blanc */
}

.expert-grid {
    display: grid;
    /* 40% pour l'image, 60% pour le texte */
    grid-template-columns: 4fr 6fr; 
    gap: 60px;
    align-items: center; /* Centre verticalement l'image par rapport au texte */
}

/* --- Style de l'image --- */
.expert-image {
    width: 80%;
    height: auto;
    border-radius: 12px; /* Coins arrondis élégants */
    padding: 15px;
    background-color: rgb(237, 237, 237);
    display: block;
}

/* --- Style du contenu --- */
.expert-content-col {
    display: flex;
    flex-direction: column;
}

/* On ajuste légèrement la taille du titre pour cette section */
.expert-title {
    font-size: 2.5rem; /* Un peu plus petit que le titre central précédent */
    margin-bottom: 25px;
}

.expert-description {
    font-family: var(--font-family);
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7; /* Très aéré pour une lecture agréable */
    margin-bottom: 40px;
    max-width: 90%; /* Évite les lignes trop longues */
}

/* --- Ligne des Statistiques --- */
.expert-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Petite ligne de séparation subtile */
    padding-top: 30px;
}

.stat-block {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-family);
    font-size: 1.8rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-family);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    font-weight: 600;
}

/* --- Réactivité Tablette et Mobile --- */
@media (max-width: 992px) {
    .expert-grid {
        /* On passe à une seule colonne : image en haut, texte en bas */
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .expert-image-col {
        max-width: 500px; /* Limite la taille de l'image sur iPad/Mobile */
        margin: 0 auto; /* Centre l'image */
    }
    
    .expert-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .expert-profile-section {
        padding: 70px 0;
    }

    .expert-title {
        font-size: 2rem;
    }

    .expert-stats {
        /* Sur mobile, les stats passent l'une sous l'autre au lieu d'être écrasées */
        grid-template-columns: 1fr; 
        gap: 30px;
        text-align: center; /* Centre les stats pour faire plus joli sur mobile */
    }
}

/* --- Section: Bandeau Call To Action (Forêt) --- */
.cta-banner-section {
    position: relative;
    padding: 140px 0; /* Grand espace pour bien voir l'image de fond */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Le voile noir semi-transparent */
.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45); /* Assombrit l'image à 45% */
    z-index: 1;
}

/* Le conteneur du texte qui passe par-dessus le voile */
.cta-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-family: var(--font-family);
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Ombre pour détacher le texte */
}

.cta-description {
    font-family: var(--font-family);
    font-size: 1.15rem;
    color: #f4f4f4; /* Blanc légèrement cassé pour la douceur */
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- Variante de couleur pour le bouton --- */
/* On utilise une couleur similaire à celle de ton image */
.btn-blue {
    background-color: #2b6b8c; 
    color: #ffffff;
    border: none;
    padding: 15px 35px;
}

.btn-blue:hover {
    background-color: #1e4e66; /* Un bleu légèrement plus foncé au survol */
    transform: translateY(-2px);
    color: #ffffff;
}

/* --- Réactivité Mobile --- */
@media (max-width: 768px) {
    .cta-banner-section {
        padding: 90px 0; /* On réduit la hauteur sur mobile */
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1rem;
        padding: 0 15px; /* Évite que le texte touche les bords */
    }
    
    .cta-content-wrapper .btn-blue {
        width: auto;
        min-width: 220px;
    }
}