/* Global Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.header_section {
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0;
    justify-content: center;
}

.navbar-brand img {
    max-height: 60px; 
    height: auto;
    width: auto; 
    display: block;
    margin: 0 auto;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 15px;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    transition
}
.hero_image_section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #1f2d5a;
    z-index: 999;
}

section {
  scroll-margin-top: 100px; 
}

html {
  scroll-behavior: smooth;
}

.hero_image_section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero_image {
    width: 120%;    
    z-index: 2;
	transition: transform 0.5s ease-out;	
}

.hero_image_container {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-out, width 0.5s ease-out;
}

.header_section {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    opacity: 0;
    transform: translateY(-100%); 
}

.header_section.show {
    opacity: 1;
    transform: translateY(0); 
}

.heading_container h2 {
    font-size: 2.5rem;
    color: #222;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;	
}

.heading_container p {
	/*text-indent: 1.5em; */
    color: #555;
}

.who_section {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea; 
}

.who_section:nth-child(even) {
    background-color: #f8f9fa; 
}

.who_container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.who_container.reverse {
    flex-direction: row-reverse; 
}

.detail-box {
    flex: 0 0 50%; 
    text-align: left;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-box h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2d5a;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.detail-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.img-box {
    flex: 0 0 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

}

.img-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.img-box img:hover {
    transform: scale(1.05); 
}

@media (max-width: 768px) {
    .who_container {
        flex-direction: column;
        text-align: center;
    }

    .who_container.reverse {
        flex-direction: column;
    }

    .img-box {
        margin-bottom: 30px;
    }

    .detail-box {
        text-align: center;
    }

    .detail-box h2::before,
    .detail-box h2::after {
        display: none; 
    }
}

.steps_section {
    padding: 50px 0;
    background-color: #fff5e1; 
    text-align: center;
    position: relative;
}

.steps_container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: relative;
    z-index: 1;
}

.step_box {
    position: relative;
    text-align: center;
    z-index: 1;
}

.icon_circle {
    background-color: #e74c3c; 
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #ffffff; 
    font-size: 2rem; 
    border: 4px solid #ffffff; 
    transition: background-color 0.5s ease; 
}

.icon_circle.active {
    background-color: #27ae60; 
}

.steps_container .step_box p {
    font-size: 1.2rem;
    color: #333;
    margin-top: 10px;
}

.icon_circle img {
    width: 50px;
    height: 50px;
}

.step_box p {
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
}

.wave {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 2px; 
    background-color: #1f2d5a; 
    z-index: 0;
}

.do_section, .steps_section {
    opacity: 1;
    transition: opacity 0.8s ease-out;
    background-color: #f8f9fa; 
    text-align: center; 
}

.do_section.hide, .steps_section.hide {
    opacity: 0;
    pointer-events: none; 
}

.do_section .heading_container h2 {
 font-size: 3rem;
    color: #000; 
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 30px;
    position: relative;
    display: inline-block;
}

.do_section .heading_container h2::before,
.do_section .heading_container h2::after {
    content: ''; 
    position: absolute;
    top: 50%; 
    width: 50px; 
    height: 2px; 
    background-color: #f39c12; 
}


.do_section .heading_container h2::before {
    left: -70px; 
}

.do_section .heading_container h2::after {
    right: -70px;
}

.do_section .heading_container p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    max-width: 800px; 
    margin: 0 auto; 
    margin-bottom: 50px;
}

.do_section .container {
    margin-top: 50px; 
}


.wave {
    position: absolute;
    top: 180px; 
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 0;
}

.arrow_container {
    position: absolute;
    top: 180px; 
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 2;
}

.arrow {
    width: 20px;
    height: 20px;
    background-color: #f1c40f;
    clip-path: polygon(100% 50%, 0 100%, 0 0); 
    position: relative;
    animation: moveAlongPath 20s infinite;
    offset-path: path('M 50 150 Q 250 200 450 150 T 850 150 T 1150 150');
    offset-distance: 0%;
    offset-rotate: 180deg;
}

.expertise_flexbox {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap; 
    margin-top: 20px;
}

.expertise_block {
    flex: 1; 
    padding: 0 15px; 
    min-width: 200px; 
}

.expertise_block ul {
    list-style: none; 
    padding: 0;
}

.expertise_block ul li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .expertise_flexbox {
        flex-direction: column; 
    }

    .expertise_block {
        margin-bottom: 20px; 
    }
}


.carousel-wrap .box {
    width: 400px; 
    height: 300px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.carousel-wrap .img-box img {
    width: 100%;  
    height: 100%; 
    object-fit: contain; 
    max-width: 100%; 
    max-height: 100%; 
    display: block;
    border-radius: 10px; 
}

.summary_container {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 20px;
}

.summary_item {
    flex: 1 1 23%; 
    text-align: center;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
}

.summary_item .img-box {
    width: 100%;
    height: 150px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    margin-bottom: 15px;
}

.summary_item .img-box img {
    max-width: 100%;
    max-height: 100%; 
    object-fit: contain; 
}

.summary_item p {
    font-size: 1.1rem;
    color: #333;
}

@media (max-width: 768px) {
    .summary_container {
        flex-direction: column; 
    }
}

.summary_item .box {
    background-color: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center;
}

.summary_item img {
    max-width: 100%; 
    height: auto;
}

.stats_container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-top: 30px;
}

.stats_box {
    flex: 1; 
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
    margin: 0 10px; 
}

.stats-detail h2 {
    font-size: 3rem;
    color: #f1c40f; 
    margin-bottom: 10px;
}

.stats-detail h5 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 0;
}

@media (max-width: 768px) {
    .stats_container {
        flex-direction: column;
    }

    .stats_box {
        margin-bottom: 20px;
        width: 100%;
    }
}

.footer_section {
    padding: 50px 0;
    color: #fff;
}

.footer_section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer_section p {
    font-size: 1rem;
    line-height: 1.6;
}

.footer_nav {
    list-style: none;
    padding: 0;
}

.footer_nav li {
    margin-bottom: 10px;
}

.footer_nav a {
    color: #fff;
    text-decoration: none;
}

.footer_nav a:hover {
    color: #f1c40f; 
    text-decoration: underline;
}

.social_icons a {
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.social_icons a:hover {
    color: #f1c40f; 
}

.footer_section .text-center {
    margin-top: 20px;
    font-size: 0.9rem;
}

.canvas_section {
    position: relative;
    width: 100%;
    height: 400px; 
    background-color: #ffffff; 
}

#interactiveCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.separator_canvas {
    width: 100vw; 
    height: 60px; 
    display: block;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: block !important;
    border: none !important;
  }
  .navbar-toggler-icon {
    background-image: var(--bs-toggler-icon-bg) !important;
  }
}

@media (max-width: 768px) {
  .hero_image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .do_section .heading_container h2::before,
  .do_section .heading_container h2::after {
    display: none !important;
  }


  .summary_container {
    flex-direction: column !important;
  }
  .summary_item {
    width: 100% !important;
    flex: none !important;
  }
}


@media (max-width: 576px) {

  .steps_section .container {
    display: flex !important;
    flex-direction: column !important;
  }


  .steps_section .container > .steps_container {
    order: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .steps_section .container > svg.wave {
    order: 1 !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 16px !important;
  }


  .steps_section .steps_container .step_box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    margin: 8px 0 !important;
  }

  .steps_section .steps_container .step_box .icon_circle {
    flex: 0 0 auto !important;
    margin-right: 12px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .steps_section .steps_container .step_box p {
    order: 1 !important;
    margin: 0 !important;
    font-size: 1rem !important;
  }


  .steps_section svg.wave,
  .steps_section .wave {
    display: none !important;
  }

  .steps_section {
    background: transparent !important;
  }


  .steps_section .steps_container .step_box {
    display: inline-flex !important;
    align-items: center !important;
    margin: 8px auto !important;   
    width: auto !important;
  }

  .steps_section .steps_container .step_box p {
    display: inline-block !important;
    width: 11rem !important; 
    margin: 0 !important;
    text-align: left !important; 
    font-size: 1rem !important;
  }


  .steps_section .steps_container .step_box .icon_circle {
    margin: 0 8px 0 0 !important;   
    width: 50px !important;
    height: 50px !important;
  }

  .steps_section .steps_container .step_box .icon_circle i {
    font-size: 1.4rem !important;
    line-height: 50px !important;
  }
}

@media (max-width: 768px) {
  .hero_image {
    width: 100% !important;  
    height: auto !important;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .do_section .heading_container h2::before,
  .do_section .heading_container h2::after {
    display: none !important;
  }
}

@media (max-width: 768px) {

  .do_section .container .heading_container h2 {
    font-size: 1.6rem !important;  /* Reduced title size */
    margin: 30px 0 20px 0 !important; /* Added spacing above and below the title */
    text-align: center !important;
  }
}

/* Carousel Adjustments */
@media (max-width: 768px) {
  .carousel-wrap .owl-carousel .item {
    width: 100% !important;  /* Adjust item width */
    margin: 0 10px !important;  /* Margin between carousel items */
  }

  .carousel-wrap .owl-carousel img {
    width: 100% !important;  /* Make the images responsive */
    height: auto !important; /* Maintain aspect ratio */
  }

  .carousel-wrap {
    margin: 0 auto !important;  /* Center the carousel */
    padding: 0 15px !important;  /* Padding for better spacing */
    max-width: 100% !important;
  }
}

/* Who Section (Image on top, Text below) */
@media (max-width: 768px) {
  .who_section .who_container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .who_section .who_container .img-box {
    order: -1 !important; /* Image on top */
    margin-bottom: 15px !important;
  }

  .who_section .who_container .img-box img {
    width: 100% !important;
    height: auto !important;
  }

  .who_section .who_container .detail-box {
    order: 1 !important; /* Text below image */
    width: 100% !important;
  }
}

/* Additional Title Adjustments for Other Sections */
@media (max-width: 768px) {
  .who_section .who_container .detail-box h2 {
    font-size: 1.6rem !important; /* Reduce title size */
    text-align: center !important; /* Center titles */
    margin: 10px 0 !important; /* Reduce margins */
    padding: 0 10px !important; /* Padding to prevent text from touching the edges */
  }

  .who_section .who_container .detail-box p {
    font-size: 1rem !important; /* Adjust paragraph size */
    margin-bottom: 10px !important; /* Margin between paragraphs */
    padding: 0 10px !important; /* Padding to prevent text from touching the edges */
  }

  .who_section .who_container {
    padding: 0 15px !important; /* Prevent overflowing */
    box-sizing: border-box !important;
  }

  .who_section .who_container .img-box img {
    width: 100% !important;
    height: auto !important;
  }
}

/* Version mobile (<=991px) */
@media (max-width: 991px) {
  /* 1) Le menu est caché par défaut sur mobile */
  .navbar-collapse {
    display: none !important; /* Cache le menu par défaut */
  }

  /* 2) Afficher le menu hamburger */
  .navbar-toggler {
    display: block !important; /* Assure que le bouton hamburger soit visible */
  }

  /* 3) Afficher le menu (en cliquant sur le hamburger) */
  .navbar-collapse.show {
    display: block !important; /* Le menu devient visible quand on clique */
  }

  /* 4) Afficher le logo dès le départ sur mobile */
  .navbar-brand {
    display: block !important; /* S'assure que le logo est toujours visible sur mobile */
    margin: 10px 0 !important; /* Ajuste l'espacement autour du logo */
    text-align: center !important; /* Centrer le logo sur mobile */
  }

  /* 5) Animation pour le logo (si tu veux un effet d'apparition) */
  @keyframes logoAnimation {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-brand {
    animation: logoAnimation 1s ease-out;
  }

  /* 6) Le menu hamburger doit se déployer une fois que l'utilisateur défile */
  $(window).scroll(function() {
    if ($(this).scrollTop() > 50) {
      $(".navbar-collapse").fadeIn();  /* Menu visible après défilement */
    } else {
      $(".navbar-collapse").fadeOut(); /* Menu caché en haut de la page */
    }
  });
}


/* Bandeau bleu et ligne jaune */
.title-section {
    background-color: #1f2d5a; /* Bleu foncé */
    padding: 50px 0; /* Espacement autour du titre */
    text-align: center; /* Centrer le contenu */
}

/* Conteneur pour la ligne jaune et le titre */
.blue-banner {
    position: relative;
    padding: 20px;
}

/* Ligne jaune */
.yellow-line {
    border: 0;
    border-top: 3px solid #f39c12; /* Jaune */
    margin: 0 auto;
    width: 80%; /* La ligne occupe 80% de la largeur du conteneur */
    margin-bottom: 50px !important; /* Ajout d'un léger espace sous la ligne jaune */
}

/* Style du H1 */
h1 {
    font-size: 2.5rem;  /* Taille de police par défaut */
    font-weight: 700;   /* Poids de la police */
    color: #fff;       /* Couleur du texte en blanc pour ressortir sur le fond bleu */
    text-align: center; /* Centre le texte */
    margin-top: 40px;   /* Assurez-vous que le H1 a un bon espacement en haut */
    margin-bottom: 30px; /* Espacement sous le titre */
    line-height: 1.3;   /* Hauteur de ligne pour espacer les lignes */
    padding-top: 10px;  /* Un léger padding au-dessus du titre pour l'aérer */
}

/* Version Web */
@media (min-width: 992px) {
    h1 {
        font-size: 3.5rem; /* Taille plus grande sur les écrans larges */
        margin-top: 50px;  /* Espacement au-dessus du titre sur grand écran */
        margin-bottom: 50px; /* Plus d'espacement sous le h1 sur les écrans larges */
    }
}

/* Version Mobile */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;   /* Réduit la taille du titre sur mobile */
        margin-top: 40px;  /* Réduit l'espacement au-dessus */
        margin-bottom: 20px; /* Espacement sous le h1 */
        padding: 0 20px;   /* Ajoute un peu de padding pour ne pas toucher les bords sur mobile */
    }
}

/* Version Très Mobile (<=576px) */
@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;   /* Taille encore réduite pour les très petits écrans */
        margin-top: 30px;    /* Réduit encore l'espacement */
        margin-bottom: 15px; /* Espacement plus petit sous le h1 */
        padding: 0 15px;     /* Ajuste le padding */
    }
}


.contact-section {
	color: #e0e0e0;
}

.contact-card {
	background: rgba(20, 20, 40, 0.9);
	border-radius: 8px;
	border: 1px solid rgba(100, 100, 200, 0.3);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	width: 100%;
}

.contact-card h2 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: #a0a0ff;
	font-size: 1.8rem;
}

.form-label {
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	color: #cccccc;
	margin-bottom: 5px;
}

.label-icon {
	color: #a0a0ff;
	font-size: 1rem;
}

.custom-input {
	background: rgba(30, 30, 50, 0.8);
	border: 1px solid rgba(100, 100, 200, 0.4);
	color: #ffffff;
	border-radius: 4px;
	padding: 12px 18px;
	transition: all 0.3s ease;
}

.custom-input:focus {
	background: rgba(30, 30, 50, 0.9);
	border-color: #007bff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
	color: #ffffff;
}

.custom-input::placeholder {
	color: #888;
}

.btn-custom {
	background: linear-gradient(135deg, #007bff, #0056b3);
	border: none;
	color: white;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	padding: 12px 36px;
	border-radius: 4px;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.btn-custom:hover {
	background: linear-gradient(135deg, #0056b3, #003d7a);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Bandeau de confirmation */
.success-alert {
    display: none;
    width: 100%;
    padding: 15px;
    margin: 20px 0;
    background-color: #28a745;
    color: white;
    text-align: center;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.success-alert i {
    margin-right: 10px;
}

/* Animation pour l'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
}

/* Responsive et visibilité */
@media (max-width: 767.98px) {
	.success-alert {
		margin: 15px 0;
		padding: 10px;
	}
}

/* Spinner */
#buttonSpinner {
	margin-left: 8px;
}

/* Responsive */
@media (max-width: 767.98px) {
	.contact-card {
		padding: 20px !important;
	}
	.custom-input {
		padding: 10px 15px;
	}
	.btn-custom {
		padding: 10px 24px;
		width: 100%;
	}
	.label-icon {
		font-size: 0.9rem;
	}
}

.text-danger {
	font-weight: bold;
}

.d-none {
	display: none !important;
}

/* === Section spécifique === */
#choose_path {
    background-color: #0d1b2a; /* bleu foncé */
    color: #fff;
    padding: 60px 0;
    transition: all 0.5s ease;
}

/* === Cartes === */
#choose_path .card {
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.5s;
    cursor: pointer;
    background-color: #1b263b; /* bleu légèrement plus clair */
    color: #fff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hover général sur carte */
#choose_path .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Icônes circulaires avec glow au hover */
#choose_path .icon_circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #415a77;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

#choose_path .card:hover .icon_circle {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Titres et textes */
#choose_path .card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

#choose_path .card:hover .card-title {
    color: #ffd700; /* accent doré au hover */
}

#choose_path .card-text {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    padding: 0 10px;
}

/* Carte sélectionnée */
#choose_path .selected-card {
    position: relative;
    width: 100%; /* occupe toute la largeur du conteneur temporaire */
    max-width: 800px; /* largeur max pour rester cohérent */
    margin: 0 auto;
    transform: scale(1.05);
    transition: all 0.5s ease;
    z-index: 10;
}

/* Conteneur temporaire pour centrer la carte sélectionnée */
#temp-selected-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Bouton “Changer de profil” */
#choose_path .btn-outline-light.change-profile {
    border-width: 2px;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

#choose_path .btn-outline-light.change-profile:hover {
    background-color: #ffd700;
    color: #1b263b;
}

/* Responsive : mobile stack vertical */
@media (max-width: 768px) {
    #choose_path .card {
        min-height: 280px;
        margin-bottom: 20px;
    }

    #choose_path .selected-card {
        max-width: 100%;
        transform: scale(1);
    }
}


/* Texte sous vague dorée */

#about {
    padding-top: 60px; /* espace entre la vague et le texte */
}

@media (max-width: 768px) {
    #about {
        padding-top: 40px;
    }
}

.profile-explanation .heading_container {
	/*text-indent: 1.5em;  largeur de l'alinéa */
  text-align: left;
  padding-left: 15px; /* Ajuste selon ton design */
}



/* Section compétences */
.competences_section {
  background: #1e2b59; /* le même bleu foncé que les cards */
  color: #fff; /* texte en blanc */
}

.competences_section .heading_container h2 {
  color: #fff; /* forcer les titres en blanc */
}



/* Container des étapes */
.steps_container2 {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Chaque bloc (texte + bulle) */
.step_box2 {
  flex: 1;
  min-width: 180px;
  margin: 20px 10px;
}

.step_box2 p {
  margin-bottom: 15px;
  font-size: 15px;
  font-weight: 700; /* en gras */
  color: #333;
  line-height: 1.4;
}

/* Bulles */
.icon_circle2 {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Section avec bandeau bleu */
.steps_section2 {
  position: relative;
  padding: 60px 0 80px 0;
  overflow: hidden;
}

/* Fond bleu qui commence à la moitié des bulles */
.steps_section2::before {
  content: "";
  position: absolute;
  top: calc(50% + 45px); /* 45px = moitié des bulles (90px/2) */
  left: 0;
  width: 100%;
  height: 50%;
  background: #1e2b59;
  z-index: 1;
}

/* Wave en bas */
.wave2 {
  position: relative;
  z-index: 2;
}


/* ===== Section des bulles (TPE/PME) ===== */
.steps_section_tpe {
  position: relative;
  padding: 80px 0 100px;
  background: #f8f9fa;
  overflow: hidden;
}

/* Fond bleu partiel (comme dans votre exemple) */
.steps_section_tpe::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;  
  z-index: 1;
}

/* Container des bulles */
.steps_container_tpe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 20px 20px 20px;
}

/* Ligne de séparation discrète sous les bulles */
.steps_container_tpe::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #007BFF, transparent);
  z-index: 2;  
}


/* Style des bulles */
.step_box_tpe {
  text-align: center;
  padding: 20px 10px;
  margin-bottom: 40px; /* Espace pour la ligne de séparation */
}

.step_box_tpe p {
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  min-height: 60px; /* Pour aligner les bulles */
}


/* Cercles verts avec icônes */
.icon_circle_tpe {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  background: linear-gradient(135deg, #27ae60, #2ecc71); /* Dégradé vert pour la profondeur */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 6px 12px rgba(46, 204, 113, 0.2); /* Ombre douce */
  transition: transform 0.3s ease;
  border: 2px solid white; /* Bordure blanche pour le contraste */
}

.step_box_tpe:hover .icon_circle_tpe {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(46, 204, 113, 0.3);
}

/* Dégradé bleu clair en bas de section (remplace le fond bleu partiel) */
.steps_section_tpe::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(30, 43, 89, 0.05), #1e2b59);
  z-index: 1;
}

/* Wave dorée */
.wave_tpe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
}

.wave_tpe path {
  stroke: #f1c40f;
  fill: transparent;
  stroke-width: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .steps_container_tpe {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .steps_container_tpe {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .icon_circle_tpe {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
  }

  .step_box_tpe p {
    font-size: 0.9rem;
    min-height: 50px;
  }
}
/* ===== Section des paragraphes et étapes ===== */
.heading_container_tpe {
	font-size: 1.2rem;
  text-align: left;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  /*text-indent: 1.5em; /* largeur de l'alinéa */
}

.heading_container_tpe p {
	font-size: 1.2rem;
  margin-bottom: 20px;  
  line-height: 1.5;
  text-align: left;
  /*text-indent: 1.5em;  largeur de l'alinéa */
}

/* Flèche animée entre paragraphes (centrée) */
.arrow_down_tpe {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.arrow_down_tpe span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid #007BFF;
  border-right: 3px solid #007BFF;
  transform: rotate(45deg);
  animation: bounce_tpe 1.5s infinite;
}

@keyframes bounce_tpe {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(10px); }
  60% { transform: rotate(45deg) translateY(5px); }
}

/* ===== Étapes avec flèches et cadres ===== */
.profile-explanation .step_box_tpe {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding-left: 30px; /* Espace pour la ligne verticale */
  border-left: 2px solid #007BFF; /* Ligne verticale continue */
}

/* Titre de l'étape */
.step_title_tpe {
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
  position: relative;
}

/* Flèche horizontale avant le titre */
.step_title_tpe::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 2px;
  background-color: #007BFF;
}

/* Conteneur du texte explicatif */
.arrow_container_tpe {
  width: calc(100% - 30px);
  margin-left: 20px; /* Aligné avec la ligne verticale */
}

/* Texte explicatif dans un cadre */
.step_text_tpe {
  margin: 0;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-weight: normal;
  color: #555;
  line-height: 1.5;
  position: relative;
}

/* Flèche horizontale vers le cadre */
.step_text_tpe::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 20px;
  width: 15px;
  height: 2px;
  background-color: #007BFF;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .profile-explanation .step_box_tpe {
    padding-left: 15px;
  }

  .step_text_tpe {
    margin-left: 10px;
    max-width: 90%;
  }

  .step_title_tpe {
    font-size: 14px;
  }

  .arrow_container_tpe {
    width: calc(100% - 15px);
  }
}


/* Container principal */
#parcours_commissaires {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
}

/* Container des étapes */
#parcours_commissaires .steps_container_tpe {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

/* Chaque étape */
#parcours_commissaires .step_box_tpe {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  position: relative;
  text-align: center;
}

/* Cercle icône avec animation fill depuis le centre */
#parcours_commissaires .icon_circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #f1c40f; /* doré sobre */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  font-size: 28px;
  color: #333333;
  position: relative;
  overflow: hidden;
}

#parcours_commissaires .icon_circle::before {
  content: '';
  position: absolute;
  width: 0%;
  height: 0%;
  background-color: #3498db; /* bleu */  
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: 0;
}

#parcours_commissaires .icon_circle i {
  position: relative;
  z-index: 1; /* icône toujours au-dessus */
  color: #333333;
  transition: color 0.5s ease;
}

#parcours_commissaires .step_box_tpe:hover .icon_circle::before {
  width: 140%;
  height: 140%;
}

#parcours_commissaires .step_box_tpe:hover .icon_circle i {
  color: #ffffff;
}

/* Titre de l’étape */
#parcours_commissaires .step_box_tpe p:first-of-type {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  margin-bottom: 10px;
}

/* Ligne de connexion verticale */
#parcours_commissaires .step_box_tpe::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 40px;
  background-color: #f1c40f;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

#parcours_commissaires .step_box_tpe:last-child::after {
  display: none;
}

/* Responsive : colonne sur écrans étroits */
@media screen and (max-width: 900px) {
  #parcours_commissaires .steps_container_tpe {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  #parcours_commissaires .step_box_tpe {
    width: 80%;
  }

  /* Lignes horizontales pour mobile */
  #parcours_commissaires .step_box_tpe::after {
    width: 40px;
    height: 2px;
    bottom: auto;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
  }

  #parcours_commissaires .step_box_tpe:last-child::after {
    display: none;
  }
}

/* Très petits écrans */
@media screen and (max-width: 500px) {
  #parcours_commissaires .step_box_tpe {
    width: 100%;
  }

  #parcours_commissaires .icon_circle {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  #parcours_commissaires .step_box_tpe p:first-of-type {
    font-size: 14px;
  }
}

/* Vague dorée */
#parcours_commissaires .wave_tpe {
  margin-top: 50px;
}



/* Bouton contact dédié aux commissaires de justice */
.btn_contact_commissaires {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #f1c40f; /* doré discret */
  color: #f1c40f;
  background-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover : fond doré et texte blanc */
.btn_contact_commissaires:hover {
  background-color: #0B5712;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
}

/* Responsive : petits écrans */
@media screen and (max-width: 500px) {
  .btn_contact_commissaires {
    padding: 10px 22px;
    font-size: 14px;
  }
}



/* Section des étapes commissaires */
.steps_section_commissaires {
  position: relative;
  padding: 100px 20px 40px;
  background-color: #f8f9fa;
  overflow: hidden;
}

/* Section des étapes commissaires */
.steps_section_commissaires2 {
  position: relative;
  padding: 100px 20px 40px;
  background-color: #f8f9fa;
  overflow: hidden;
}

/* Bandeau bleu derrière les bulles */
.steps_section_commissaires::before {
  content: "";
  position: absolute;
  top: 45%; /* commence au milieu des bulles */
  left: 0;
  width: 100%;
  height: 65%; /* couvre les bulles verticalement */
  background-color: #1b365d; /* bleu */
  z-index: 1;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

/* Bandeau bleu derrière les bulles */
.steps_section_commissaires2::before {
  content: "";
  position: absolute;
  top: 10%; /* commence au milieu des bulles */
  left: 0;
  width: 100%;
  height: 100%; /* couvre les bulles verticalement */
  background-color: #1b365d; /* bleu */
  z-index: 1;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

/* Container des bulles centré et largeur 60% */
.steps_container_commissaires {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  width: 60%;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* au-dessus du bandeau bleu */
}

/* Chaque bulle */
.step_box_commissaires {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}

/* Cercle icône */
.icon_circle_commissaires {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #28a745; /* vert pro */
  border: 3px solid #ffffff; /* contour blanc */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  font-size: 32px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Titre des bulles en blanc */
.step_title_commissaires {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  margin-top: 6px;
}

/* Vague dorée juste en dessous des bulles */
.wave_commissaires {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  z-index: 3;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .steps_container_commissaires {
    flex-direction: column;
    align-items: center;
    width: 80%;
    gap: 50px;
  }
}

@media screen and (max-width: 500px) {
  .step_box_commissaires {
    width: 100%;
  }

  .icon_circle_commissaires {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .step_title_commissaires {
    font-size: 14px;
  }
}


/* Wrapper centré + espace en dessous */
.contact_button_wrapper {
  text-align: center;
  margin-top: 20px;  /* espace au-dessus */
  margin-bottom: 40px; /* espace en dessous */
}

/* Bouton */
.btn_contact_commissaires {
  display: inline-block;
  background-color: #1b365d;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn_contact_commissaires:hover {
  background-color: #163055;
  color: #ffffff;
}



.alert-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2e7d32; /* vert professionnel */
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.alert-banner p {
  margin: 0;
  font-size: 1rem;
}

.btn-banner {
  background-color: #ffffff;
  color: #2e7d32;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.btn-banner:hover {
  background-color: #c8e6c9;
  color: #1b5e20;
}



/* ================================
   SECTION COLLECTIVITES
   ================================ */
.ce-collectivites-section {
  padding: 60px 20px;
  background: #f5f9ff; /* léger bleu/gris pour rappeler le secteur public */
}

.ce-collectivites-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================
   TITRE & INTRO
   ================================ */
.ce-heading {
  text-align: center;
  margin-bottom: 50px;
}

.ce-heading h2 {
  font-size: 2rem;
  color: #1a365d; /* bleu institutionnel */
  font-weight: 700;
  margin-bottom: 15px;
}

.ce-heading p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ================================
   GRID DES CARTES
   ================================ */
.ce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.ce-card {
  background: #fff;
  border: 1px solid #dde6f1;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ce-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.ce-card-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.ce-icon {
  background: #1a365d;
  color: #fff;
  font-size: 1.2rem;
  padding: 10px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
}

.ce-card h4 {
  font-size: 1.15rem;
  color: #1a365d;
  margin: 0;
}

.ce-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ================================
   BLOC EBIOS
   ================================ */
.ce-ebios {
  margin-top: 60px;
  padding: 30px;
  border-left: 4px solid #1a365d;
  background: #e9f1fb;
  border-radius: 8px;
}

.ce-ebios h3 {
  font-size: 1.3rem;
  color: #1a365d;
  margin-bottom: 15px;
  font-weight: 600;
}

.ce-ebios-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ce-ebios-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  position: relative;
  font-size: 0.95rem;
  color: #333;
}

.ce-ebios-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1a365d;
  font-weight: bold;
}



.heading_container_tpe2 p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #2c3e50;
  margin-bottom: 25px;
}

/* Flèche animée */
.arrow_down_tpe2 {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}
.arrow_down_tpe2 span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-left: 3px solid #007acc;
  border-bottom: 3px solid #007acc;
  transform: rotate(-45deg);
  animation: bounceDown 1.5s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(8px) rotate(-45deg); }
}

/* --- Step boxes --- */
.step_box_tpe2 {
  background: #ffffff;
  border-left: 6px solid #007acc;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step_box_tpe2:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.step_title_tpe2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #007acc;
  margin-bottom: 15px;
  position: relative;
}
.step_title_tpe2::before {
  content: "➤";
  color: #f1c40f;
  margin-right: 8px;
}

/* Container avec les flèches latérales */
.arrow_container_tpe2 {
  position: relative;
  padding-left: 20px;
  border-left: 2px dashed #dcdde1;
}
.arrow_vertical_tpe2 {
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #007acc, transparent);
}
.arrow_horizontal_tpe2 {
  position: absolute;
  top: 12px;
  left: -2px;
  width: 16px;
  height: 2px;
  background: #007acc;
}

.step_text_tpe2 {
  font-size: 0.95rem;
  color: #34495e;
  margin-bottom: 12px;
  line-height: 1.6;
}



/* Responsive */
@media (max-width: 768px) {
  .step_box_tpe2 {
    padding: 20px;
  }
  .step_title_tpe2 {
    font-size: 1.05rem;
  }
}


.enterprise_services_section_dark {
  background: #0d1b2a; /* sombre, élégant, pro */
  color: #e1e4e8;
  padding: 80px 0;
  font-family: "Roboto", sans-serif;
}

.heading_container_dark {
  text-align: center;
  margin-bottom: 60px;
}

.heading_container_dark h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 20px;
}

.heading_container_dark p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #c9d1d9;
}

.services_grid_dark {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service_card_dark {
  background: #161b22;
  border-left: 4px solid #7b5fc5; /* accent doré */
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service_card_dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.service_card_dark h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #f0f6fc;
}

.service_card_dark p {
  font-size: 1rem;
  color: #c9d1d9;
  line-height: 1.5;
}

.contact_button_wrapper_dark {
  text-align: center;
  margin-top: 50px;
}

.btn_contact_dark {
  display: inline-block;
  background: #7b5fc5; /* doré */
  color: #0d1117;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn_contact_dark:hover {
  background: #ffcb54;
  color: #0d1117;
  transform: translateY(-2px);
}

/* Désactive les cartes "en construction" */
.path-option.disabled {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.ribbon {
  position: absolute;
  top: 15px;
  right: -35px;
  transform: rotate(45deg);
  background: #ffc107; 
  color: #212529;      
  padding: 15px 40px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
