:root {
    --primary-green: #0D5C3A;
    --dark-green: #083B25;
    --light-green: #E8F5E9;
    --accent-orange: #FF6B35;
    --hover-orange: #E55A2B;
    --light-bg: #F8F9FA;
    --text-dark: #000000;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Image de fond en filigrane (watermark) semi-transparent sur tout le site */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    max-width: 650px;
    max-height: 650px;
    background-image: url("../images/shama.c68847d6c578.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.06;                    /* Transparence très douce (8%) pour ne pas gêner la lecture */
    pointer-events: none;             /* Permet de cliquer à travers l'image sans bloquer l'utilisateur */
    z-index: 0;                       /* Reste derrière tout le contenu du site */
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.certificat {
    height: 100px; /* Hauteur identique pour tous */
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificat img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Affiche l'image entière sans rognage */
}

.partenaire {
    height: 50px; /* Hauteur identique pour tous */
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partenaire img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Affiche l'image entière sans rognage */
}

@media (min-width: 992px) {
    .navbar-logo {
        height: 85px;
    }
}

.footbar-logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

@media (min-width: 992px) { 
    .footbar-logo {
        height: 100px; 
    }
}

/* Classes Utilitaires */
.bg-primary-green { background-color: var(--primary-green) !important; }
.bg-dark-green { background-color: var(--dark-green) !important; }
.text-primary-green { color: var(--primary-green) !important; }
.text-accent-orange { color: var(--accent-orange) !important; }

/* ------------------------------------------
    MICRO-INTERACTIONS & BOUTONS
    ------------------------------------------ */
.btn-orange, .btn-linkedin, .btn-outline-green {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-orange {
    background-color: var(--accent-orange);
    color: #ffffff;
    font-weight: 600;
    border: 2px solid var(--accent-orange);
    padding: 12px 28px;
    border-radius: 6px;
}
.btn-orange:hover {
    background-color: var(--hover-orange);
    border-color: var(--hover-orange);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-outline-green {
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
}
.btn-outline-green:hover {
    background-color: var(--primary-green);
    color: #ffffff;
}

.btn-linkedin {
    background-color: #0A66C2;
    color: #ffffff;
    font-weight: 500;
    border-radius: 6px;
    padding: 10px 20px;
}
.btn-linkedin:hover {
    background-color: #084e96;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

/* Effet de brillance (Shine) sur les boutons principaux */
.btn-orange::before, .btn-linkedin::before, .btn-outline-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-orange:hover::before, .btn-linkedin:hover::before, .btn-outline-green:hover::before {
    left: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-green);
    color: #ffffff;
    font-size: 0.85rem;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-green) !important;
}
.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    color: #ffffff;
    padding: 90px 0 70px 0;
    position: relative;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Transitions fluides globales et élévation au survol */
.service-card, .seminar-card, .video-card, .testimonial-card, .btn {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.service-card:hover, .seminar-card:hover, .video-card:hover, .testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12) !important;
}

/* Cartes de Services */
.service-card {
    border: none;
    border-radius: 10px;
    background: #ffffff;
    border-top: 5px solid var(--primary-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}
.service-card:hover {
    border-top-color: var(--accent-orange);
}
.service-icon {
    width: 65px;
    height: 65px;
    background-color: var(--light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background-color: var(--accent-orange);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}
.service-number {
    position: absolute;
    top: 25px;
    right: 27px;
    color: #01421d;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

/* Section Fondateur */
.founder-img-box {
    position: relative;
    padding: 10px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-bottom: 5px solid var(--accent-orange);
}
.founder-placeholder {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* Section Séminaires (Cartes & Carrousel) */
.seminar-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    background: #ffffff;
    height: 100%;
}
.seminar-img-box {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.seminar-img-box i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.85;
    transition: transform 0.4s ease;
}
.seminar-card:hover .seminar-img-box i {
    transform: translate(-50%, -50%) scale(1.25) rotate(8deg);
}
.seminar-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
}
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* Section Vidéos */
.video-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background: #ffffff;
    height: 100%;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Section Témoignages */
.testimonial-card {
    border: none;
    border-radius: 12px;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-bottom: 4px solid var(--primary-green);
    height: 100%;
}
.testimonial-stars {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

/* Keyframe Animations */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: floatAnimation 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}
.pulse-badge {
    animation: pulseGlow 2s infinite;
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: #e0e0e0;
}
.footer-link {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: var(--accent-orange);
}
.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-btn:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-3px);
}

/*  CTA */

.cta {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    background: var(--accent-orange);
    color: white;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.cta .eyebrow {
    justify-content: center;
    color: white;
}

.cta .eyebrow::before {
    display: none;
}

.cta h2 {
    color: white;
    font-size: clamp(35px, 5vw, 55px);
}

.cta p {
    max-width: 650px;
    margin: 22px auto 30px;
    color: rgba(255,255,255,.9);
}


.cta-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -190px;
    top: -230px;
    border: 70px solid rgba(255,255,255,.1);
    border-radius: 50%;
}

/* STATISTIQUE */
/* Style pour les cercles de statistiques */
.stat-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    
    /* Couleurs adaptées à votre charte */
    background-color: var(--primary-green);
    border: 10px solid var(--light-bg);
    
    /* Centrage du contenu avec Flexbox */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    
    /* Ombre et transition pour un bel effet */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet de survol (optionnel mais recommandé) */
.stat-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
    border-color: #ffffff;
}

/* Ajustement de la typographie à l'intérieur du cercle */
.stat-circle h1 {
    font-size: 2.8rem;
    line-height: 1;
}

.stat-circle p {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.stat {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    /*background: var(--primary-green);*/
    color: white;
}

/* Voile sombre de fond */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Couleur du voile : ici noir à 75% d'opacité, ou utilisez rgba(8, 59, 37, 0.85) pour votre vert foncé */
    background-color: rgba(0, 0, 0, 0.75); 
    z-index: 2; /* Doit être supérieur au z-index: 1 de l'image */
}

.separateur-conteneur {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 30px 0;
  gap: 25px;
}

.separateur-conteneur::before,
.separateur-conteneur::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid var(--primary-green);
}


/* Styles CSS associables */
.program-container {
  background: linear-gradient(135deg, #eaf5ed 0%, #d8eae0 100%);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #2b2b2b;
  max-width: 1200px;
  margin: 0 auto;
}

.program-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff6b2b 0%, #f15a24 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.program-block {
  margin-bottom: 1.8rem;
}

.program-title {
  color: #e53917;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.program-container p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  color: #333333;
}

.program-list {
  list-style: none;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.program-list li {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  color: #333333;
}

.program-list li::before {
  content: "o";
  position: absolute;
  left: -1.3rem;
  color: #e53917;
  font-size: 0.9rem;
  font-weight: bold;
}


/* =========================================================
   CARROUSEL PROJETS - VERSION PREMIUM
   ========================================================= */

.projets-carousel {
    position: relative;
    width: 100%;
}


/* Fenêtre du carrousel */
.projets-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0 30px;
}


/* Effet de fondu à gauche */
.projets-viewport::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 90px;

    background: linear-gradient(
        to right,
        rgb(255, 255, 255),
        rgba(255,255,255,0)
    );

    z-index: 10;
    pointer-events: none;
}


/* Effet de fondu à droite */
.projets-viewport::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 90px;

    background: linear-gradient(
        to left,
        rgba(255,255,255,1),
        rgba(255,255,255,0)
    );

    z-index: 10;
    pointer-events: none;
}


/* Ligne horizontale */
.projets-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 24px;

    width: max-content;

    will-change: transform;

    transform: translate3d(0, 0, 0);
}


/* Chaque carte */
.projet-slide {
    flex: 0 0 380px;
    width: 380px;
}


/* Carte */
.projet-slide .seminar-card {
    width: 100%;
    height: 100%;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Petit effet au survol */
.projet-slide .seminar-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.13) !important;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.projets-control {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-green);
    color: white;

    font-size: 16px;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Position bouton précédent */
.projets-prev {
    left: 5px;
}


/* Position bouton suivant */
.projets-next {
    right: 5px;
}


/* Hover */
.projets-control:hover {
    background: var(--accent-orange);

    transform:
        translateY(-50%)
        scale(1.08);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.22);
}


/* Active */
.projets-control:active {
    transform:
        translateY(-50%)
        scale(0.95);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 991px) {

    .projets-carousel {
        padding-left: 45px;
        padding-right: 45px;
    }

    .projet-slide {
        flex-basis: 330px;
        width: 330px;
    }

    .projets-track {
        gap: 20px;
    }

    .projets-viewport::before,
    .projets-viewport::after {
        width: 60px;
    }

    .projets-control {
        width: 44px;
        height: 44px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .projets-carousel {
        padding-left: 35px;
        padding-right: 35px;
    }

    .projet-slide {
        flex-basis: 290px;
        width: 290px;
    }

    .projets-track {
        gap: 16px;
    }

    .projets-control {
        width: 38px;
        height: 38px;

        font-size: 13px;
    }

    .projets-prev {
        left: 2px;
    }

    .projets-next {
        right: 2px;
    }

    .projets-viewport::before,
    .projets-viewport::after {
        width: 40px;
    }
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .projet-slide .seminar-card,
    .projets-control {
        transition: none;
    }
}