/* ===== VARIABLES GLOBALES ===== */
:root {
  --primary-green: #10B981; /* Vert plus professionnel (Emerald) */
  --primary-blue: #3B82F6; /* Bleu plus professionnel (Blue-500) */
  --primary-black: #1F2937; /* Noir plus doux (Gray-800) */
  --bridgin-blue: #2E3192; /* Bleu Bridgin3 */
  --bridgin-green: #056839; /* Vert Bridgin3 */
  --secondary-gray: #6B7280; /* Gris secondaire (Gray-500) */
  --light-gray: #eff1f3; /* Gris très clair (Gray-50) */
  --good-gray: #fefefe;
  --footer-header-text: #f7f4f4;
  --white: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== RESET ET BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-right: 12px;
}
/* Version responsive du logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        margin-right: 0;
    }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #056839;
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: #059669; /* Vert plus foncé au survol */
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-blue {
  background-color: #2E3192; /* Bleu plus professionnel */
  color: var(--white);
}

.btn-blue:hover {
  background-color: #2563EB; /* Bleu plus foncé au survol */
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-black);
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-gray);
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== HEADER ET NAVIGATION ===== */
.header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--primary-black);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}
/* ===== MENU DÉROULANT ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-green);
    padding-left: 25px;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

/* Animation pour la flèche du menu déroulant */
.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Version responsive du menu déroulant */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding-left: 20px;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 8px 0;
        color: var(--secondary-gray);
    }
    
    .dropdown-menu li a:hover {
        background-color: transparent;
        padding-left: 0;
    }
    
    .dropdown-divider {
        display: none;
    }
}
.nav-cta {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 5px 10px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-cta:hover {
  background-color: #059669;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-black);
  margin: 3px 0;
  transition: var(--transition);
}

/* ===== SECTION AVANT HERO ===== */
.hero-before {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 0;
  text-align: center;
}

.hero-before-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 8px;
}

.btn-primary {
  background-color: #2E3192; /* Bleu plus professionnel */
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1a56db;
  transform: translateY(-2px);
}
/* ===== SECTIONs page d'accueil===== */
/* ===== SECTION HEROS ===== */
.heros {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: var(--white);
}

/* Conteneur pour la vidéo de fond */
.heros-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    padding: 120px 0;
}

/* Vidéo de fond */
.heros-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

/* Superposition de couleur pour la lisibilité du texte */
.heros-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 216, 159, 0.7) 0%, rgba(146, 170, 207, 0.7) 100%);
    z-index: 1;
}

/* Conteneur principal */
.containers {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Titre principal */
.heros-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out; 
}

/* Sous-titre */
.heros-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Section supplémentaire */
.heros-additional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Texte sur l'expertise */
.heros-expertise {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* Signature */
.heros-signature {
    align-self: flex-end;
    text-align: right;
}

/* Devise */
.heros-motto {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

/* Nom du CEO */
.heros-ceo {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Bouton d'appel à l'action */
.heros-cta {
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.heros-cta .btn {
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.heros-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Version responsive */
@media (max-width: 768px) {
    .heros {
        padding: 80px 0;
    }
    
    .heros-title {
        font-size: 2.5rem;
    }
    
    .heros-subtitle {
        font-size: 1.2rem;
    }
    
    .heros-expertise {
        font-size: 1rem;
    }
    
    .heros-motto {
        font-size: 0.9rem;
    }
    
    .heros-ceo {
        font-size: 0.8rem;
    }
    
    .heros-cta .btn {
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .heros {
        padding: 60px 0;
    }
    
    .heros-title {
        font-size: 2rem;
    }
    
    .heros-subtitle {
        font-size: 1rem;
    }
    
    .heros-additional {
        align-items: center;
        text-align: center;
    }
    
    .heros-signature {
        align-self: center;
        text-align: center;
    }
    
    .heros-expertise {
        font-size: 0.9rem;
    }
}
/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #056839 0%, #2E3192 100%);
    color: var(--white);
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
    animation: bgAnimation 20s ease infinite;
}

@keyframes bgAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
}

.hero-additional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-expertise {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.hero-signature {
    align-self: flex-end;
    text-align: right;
}

.hero-motto {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-ceo {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.hero-cta {
    margin-top: 30px;
}

.hero-cta .btn {
    background-color: #2E3192;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.9);
}

/* Animation pour le titre */
.hero-title {
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-expertise {
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-signature {
    animation: fadeIn 1s ease-out 0.9s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 1.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Version responsive du hero */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-expertise {
        font-size: 1rem;
    }
    
    .hero-motto {
        font-size: 0.9rem;
    }
    
    .hero-ceo {
        font-size: 0.8rem;
    }
    
    .hero-cta .btn {
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-additional {
        align-items: center;
        text-align: center;
    }
    
    .hero-signature {
        align-self: center;
        text-align: center;
    }
    
    .hero-expertise {
        font-size: 0.9rem;
    }
}
/* ===== BARRE DE RECHERCHE ===== */
/* ===== SECTION FILTRES ===== */

/* ===== CARDS ===== */
/* ===== CARDS ===== */
.card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
  transform: scaleX(1);
}

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

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-black);
  line-height: 1.3;
  position: relative;
  padding-bottom: 12px;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
}

.card-description {
  color: var(--secondary-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.card-features {
  margin-bottom: 20px;
}

.card-feature {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--secondary-gray);
}

.card-feature i {
  color: var(--primary-green);
  margin-right: 8px;
  font-size: 0.8rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-price {
  font-weight: 700;
  color: var(--primary-green);
  font-size: 1.2rem;
}

.card-price .currency {
  font-size: 0.9rem;
  font-weight: 400;
}

.card-duration {
  display: flex;
  align-items: center;
  color: var(--secondary-gray);
  font-size: 0.85rem;
}

.card-duration i {
  margin-right: 5px;
  color: var(--primary-blue);
}

.card-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* ===== GRID DE CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  
  
  gap: 30px;
  margin-top: 40px;
}

/* Animation d'apparition pour les cartes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.cards-grid .card:nth-child(1) { animation-delay: 0.1s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.2s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.3s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.4s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.5s; }
.cards-grid .card:nth-child(6) { animation-delay: 0.6s; }

/* Version responsive */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-price {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .card-image {
    height: 160px;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .card-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
}

/* ===== FORMULAIRES ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-black);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #056839;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  margin-right: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== TÉMOIGNAGES ===== */
.testimonials {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--secondary-gray);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-black);
}

.testimonial-position {
  color: var(--secondary-gray);
  font-size: 0.9rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-black);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--footer-header-text);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #eae7e7;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: #056839;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9298a2;
}

.footer-bottom-links {
  margin-top: 10px;
}

.footer-bottom-links a {
  color: #9ca3af;
  margin: 0 10px;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-green);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #374151;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: #056839;
}

/* ===== BARRE D'AIDE FLOTTANTE ===== */
.help-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.help-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #056839;
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}

.help-button:hover {
  background-color: #059669;
  transform: scale(1.1);
}

.help-options {
  position: absolute;
  bottom: 80px;
  right: 0;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  min-width: 250px;
  display: none;
}

.help-options.active {
  display: block;
}

.help-option {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.help-option:hover {
  background-color: var(--light-gray);
}

.help-option i {
  margin-right: 10px;
  color: #056839;
}

/* ===== STYLES POUR LE POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.popup-content {
  background-color: var(--light-gray);
  border-radius: 8px;
  max-width: 1200px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.popup-close-btn:hover {
  color: #000;
}

@media (max-width: 600px) {
  .popup-overlay {
    padding: 10px;
    align-items: flex-start;
  }

  .popup-content {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    max-height: 45vh;
    overflow-y: auto;
  }

  .popup-close-btn {
    top: 10px;
    right: 10px;
    font-size: 20px;
  }
}

/* ===== LIVRE 3D POUR FORMATIONS ===== */
.book-container {
  perspective: 1000px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 500px;
  position: relative;
}

.book {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

.book-page {
  position: absolute;
  width: 50%;
  height: 100%;
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  backface-visibility: hidden;
  overflow-y: auto;
}

.book-left {
  left: 0;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  transform-origin: right center;
}

.book-right {
  right: 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  transform-origin: left center;
}

.book-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.book-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.book-nav-btn {
  padding: 10px 15px;
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.book-nav-btn:hover {
  background-color: #059669;
}

.book-nav-btn:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-green);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary-green);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--white);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  margin-top: 0;
  color: #056839;
}

/* ===== GALERIE ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    padding: 20px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .search-filters {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .book-page {
    width: 100%;
  }
  
  .book-left {
    display: none;
  }
  
  .book-right {
    left: 0;
    border-radius: var(--border-radius);
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 21px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0%;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .popup-content {
    padding: 20px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding: 60px 0;
  }
}
/* ===== STYLES POUR LE POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.popup-content {
  background-color: var(--light-gray);
  border-radius: 8px;
  max-width: 1200px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.popup-close-btn:hover {
  color: #000;
}
/* ===== BARRE DE RECHERCHE ===== */
.search-bar {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  max-width: 900px;
  margin: 0 auto;
}

.search-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-black);
}

.filter-select {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: #056839;
}

.search-button {
  width: 100%;
  padding: 15px;
  background-color: #2E3192; /* Bleu plus professionnel */
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-button:hover {
  background-color: #2563EB;
}

/* ===== SECTION MÉTHODOLOGIE ===== */
.methodology-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.methodology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
}

.methodology-diagram {
    margin-top: 50px;
    position: relative;
    display: flex;
    justify-content: center;
}

.main-steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    gap: 30px;
}

.main-step {
    flex: 1;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.main-step:hover::before {
    transform: scaleX(1);
}

.main-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-header {
    background: var(--bridgin-green);
    color: var(--white);
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--white);
    border-radius: 50%;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 65px;
}

.step-content {
    padding: 35px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.step-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 1rem;
    color: var(--secondary-gray);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.step-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.main-step:hover .step-content ul li {
    color: var(--primary-black);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-step {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.main-step:nth-child(1) { animation-delay: 0.2s; }
.main-step:nth-child(2) { animation-delay: 0.4s; }
.main-step:nth-child(3) { animation-delay: 0.6s; }

/* Version responsive */
@media (max-width: 1024px) {
    .main-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .main-step {
        width: 80%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .methodology-section {
        padding: 60px 0;
    }
    
    .main-step {
        width: 90%;
    }
    
    .step-header {
        padding: 20px 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-header h3 {
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: 25px 20px 20px;
    }
    
    .step-content ul li {
        font-size: 0.95rem;
        margin-bottom: 15px;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .step-header {
        padding: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-header h3 {
        font-size: 1.1rem;
    }
    
    .step-content {
        padding: 20px 15px 15px;
    }
    
    .step-content ul li {
        font-size: 0.9rem;
        padding-left: 22px;
        margin-bottom: 12px;
    }
    
    .step-content ul li::before {
        font-size: 1rem;
    }
}
/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2c7fb8, #31a354);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c7fb8, #31a354);
    border-radius: 2px;
}

.testimonial-horizontal {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 900px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 calc(50% - 15px);
    margin: 0 15px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 100%;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(44, 127, 184, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c7fb8, #31a354);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px;
}

.author-position {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    color: #2c7fb8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-nav button:hover {
    background: linear-gradient(135deg, #2c7fb8, #31a354);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(44, 127, 184, 0.2);
}

.testimonial-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonial-nav button:disabled:hover {
    background: white;
    color: #2c7fb8;
    border-color: #e0e0e0;
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 calc(50% - 10px);
        margin: 0 10px;
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 80%;
        margin: 0 10%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .testimonial-nav {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-item {
        flex: 0 0 90%;
        margin: 0 5%;
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .testimonial-nav button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}